Dear all, Consider this minimal example: \defineframedtext[container][width=local, corner=round, frame=off, rightframe=on ] \starttext \startcontainer test \stopcontainer \stoptext Substantially I copied it from cont-eni. It seems that it doesn't work. On my system I have no frame at all. ? Best -a- Andrea Valle DAMS - Facoltà di Scienze della Formazione Università degli Studi di Torino http://www.semiotiche.it/andrea andrea.valle@unito.it
On 1/9/07, andrea valle
Dear all,
Consider this minimal example:
\defineframedtext[container][width=local, corner=round, frame=off, rightframe=on ]
Yes, I have already noticed that (but I don't consider it a bug; maybe is it ?)
Substantially I copied it from cont-eni. It seems that it doesn't work. hmm, cont-eni I can't find it in my distro.
(Grazie Luigi.) If it's not a bug in any case it doesn't work as described in the manual cont-eni.pdf, pp. 261-262 (sorry, I wasn't meaning the source but the manual). Best -a- On 9 Jan 2007, at 12:39, luigi scarso wrote:
On 1/9/07, andrea valle
wrote: Dear all,
Consider this minimal example:
\defineframedtext[container][width=local, corner=round, frame=off, rightframe=on ]
Yes, I have already noticed that (but I don't consider it a bug; maybe is it ?)
Substantially I copied it from cont-eni. It seems that it doesn't work. hmm, cont-eni I can't find it in my distro.
ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Andrea Valle DAMS - Facoltà di Scienze della Formazione Università degli Studi di Torino http://www.semiotiche.it/andrea andrea.valle@unito.it
On 1/9/07, andrea valle
(Grazie Luigi.)
If it's not a bug in any case it doesn't work as described in the manual cont-eni.pdf, pp. 261-262 (sorry, I wasn't meaning the source but the manual). ah yes, too much involved with modules.pdf ........
This works as expected here (cfr pag 261-262 (real page 264-265)): \setupcolors[state=start] \setupframedtexts [background=screen, frame=off, rightframe=on, framecolor=darkgreen, rulethickness=3pt] \starttext \startframedtext WWWWWWWWWWW \stopframedtext \stoptext In my experience, corner=round is only "full-frame" Hints: 1) metapost 2)pgf 3) pdf-trans luigi
luigi scarso wrote:
On 1/9/07, andrea valle
wrote: (Grazie Luigi.)
If it's not a bug in any case it doesn't work as described in the manual cont-eni.pdf, pp. 261-262 (sorry, I wasn't meaning the source but the manual).
ah yes, too much involved with modules.pdf ........
This works as expected here (cfr pag 261-262 (real page 264-265)): \setupcolors[state=start] \setupframedtexts [background=screen, frame=off, rightframe=on, framecolor=darkgreen, rulethickness=3pt]
\starttext \startframedtext WWWWWWWWWWW \stopframedtext \stoptext In my experience, corner=round is only "full-frame" Hints: 1) metapost 2)pgf 3) pdf-trans
grep for % a lot of weird corners in core-rul ... Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Inside last core-rule.tex (it doesn't appears in core-modu.pdf) % \startTEXpage % \dontleavehmode\framed % [corner=0,frame=on,framecolor=green, % background=color,backgroundcolor=yellow]{\tttf TEST \twodigits\recurselevel}% % \vskip1em % \dontleavehmode\dostepwiserecurse {1} {4}{1}{\framed % [corner=\recurselevel,frame=on,framecolor=green, % background=color,backgroundcolor=yellow]{\tttf TEST \twodigits\recurselevel}% % \quad} % \vskip1em % \dontleavehmode\dostepwiserecurse {5} {8}{1}{\framed % [corner=\recurselevel,frame=on,framecolor=green, % background=color,backgroundcolor=yellow]{\tttf TEST \twodigits\recurselevel}% % \quad} % \vskip1em % \dontleavehmode\dostepwiserecurse {1} {4}{1}{\framed % [corner=\recurselevel,frame=on,framecolor=green]{\tttf TEST \twodigits\recurselevel}% % \quad} % \vskip1em % \dontleavehmode\dostepwiserecurse {5} {8}{1}{\framed % [corner=\recurselevel,frame=on,framecolor=green]{\tttf TEST \twodigits\recurselevel}% % \quad} % \vskip1em % \dontleavehmode\dostepwiserecurse {9}{12}{1}{\framed % [corner=\recurselevel,frame=on,framecolor=green]{\tttf TEST \twodigits\recurselevel}% % \quad} % \vskip1em % \dontleavehmode\dostepwiserecurse{13}{16}{1}{\framed % [corner=\recurselevel,frame=on,framecolor=green]{\tttf TEST \twodigits\recurselevel}% % \quad} % \vskip1em % \dontleavehmode\dostepwiserecurse{17}{20}{1}{\framed % [corner=\recurselevel,frame=on,framecolor=green]{\tttf TEST \twodigits\recurselevel}% % \quad} % \vskip1em % \dontleavehmode\dostepwiserecurse{21}{24}{1}{\framed % [corner=\recurselevel,frame=on,framecolor=green]{\tttf TEST \twodigits\recurselevel}% % \quad} % \vskip1em % \dontleavehmode\dostepwiserecurse{25}{28}{1}{\framed % [corner=\recurselevel,frame=on,framecolor=green]{\tttf TEST \twodigits\recurselevel}% % \quad} % \stopTEXpage luigi
Hi to all, (thanks for pointing to the sources but I understand better proto-Indoeuropean than TeX...:) In any case, I discovered that the secret lies in: rulethickness=3pt non rulethickness no rule at all Best -a- On 10 Jan 2007, at 08:46, luigi scarso wrote:
Inside last core-rule.tex (it doesn't appears in core-modu.pdf) % \startTEXpage % \dontleavehmode\framed % [corner=0,frame=on,framecolor=green, % background=color,backgroundcolor=yellow]{\tttf TEST \twodigits\recurselevel}% % \vskip1em % \dontleavehmode\dostepwiserecurse {1} {4}{1}{\framed % [corner=\recurselevel,frame=on,framecolor=green, % background=color,backgroundcolor=yellow]{\tttf TEST \twodigits\recurselevel}% % \quad} % \vskip1em % \dontleavehmode\dostepwiserecurse {5} {8}{1}{\framed % [corner=\recurselevel,frame=on,framecolor=green, % background=color,backgroundcolor=yellow]{\tttf TEST \twodigits\recurselevel}% % \quad} % \vskip1em % \dontleavehmode\dostepwiserecurse {1} {4}{1}{\framed % [corner=\recurselevel,frame=on,framecolor=green]{\tttf TEST \twodigits\recurselevel}% % \quad} % \vskip1em % \dontleavehmode\dostepwiserecurse {5} {8}{1}{\framed % [corner=\recurselevel,frame=on,framecolor=green]{\tttf TEST \twodigits\recurselevel}% % \quad} % \vskip1em % \dontleavehmode\dostepwiserecurse {9}{12}{1}{\framed % [corner=\recurselevel,frame=on,framecolor=green]{\tttf TEST \twodigits\recurselevel}% % \quad} % \vskip1em % \dontleavehmode\dostepwiserecurse{13}{16}{1}{\framed % [corner=\recurselevel,frame=on,framecolor=green]{\tttf TEST \twodigits\recurselevel}% % \quad} % \vskip1em % \dontleavehmode\dostepwiserecurse{17}{20}{1}{\framed % [corner=\recurselevel,frame=on,framecolor=green]{\tttf TEST \twodigits\recurselevel}% % \quad} % \vskip1em % \dontleavehmode\dostepwiserecurse{21}{24}{1}{\framed % [corner=\recurselevel,frame=on,framecolor=green]{\tttf TEST \twodigits\recurselevel}% % \quad} % \vskip1em % \dontleavehmode\dostepwiserecurse{25}{28}{1}{\framed % [corner=\recurselevel,frame=on,framecolor=green]{\tttf TEST \twodigits\recurselevel}% % \quad} % \stopTEXpage
luigi _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Andrea Valle DAMS - Facoltà di Scienze della Formazione Università degli Studi di Torino http://www.semiotiche.it/andrea andrea.valle@unito.it
On Wed, 10 Jan 2007, luigi scarso wrote:
Inside last core-rule.tex
Interesting.... wikified at http://wiki.contextgarden.net/Framed#Rounded_Coreners Aditya
Aditya Mahajan wrote:
On Wed, 10 Jan 2007, luigi scarso wrote:
Inside last core-rule.tex
Interesting.... wikified at http://wiki.contextgarden.net/Framed#Rounded_Coreners
this is the kind of stuff we needed it for % % \setupTABLE [y] [first][background=color,backgroundcolor=blue,frame=off,bottomframe=on,topframe=on,framecolor=white] % \setupTABLE [first][first][backgroundcorner=2,corner=10,frame=on] % \setupTABLE [last] [first][backgroundcorner=4,corner=12,frame=on] % % \setupTABLE [row] [each] [background=color,backgroundcolor=blue,frame=on,framecolor=white] % \setupTABLE [first][2] [corner=8] % \setupTABLE [last] [2] [corner=5] % \setupTABLE [first][last] [corner=7] % \setupTABLE [last] [last] [corner=6] % % \startTEXpage % \bTABLE[frame=off,align=middle] % \bTR \bTD one \eTD \bTD two \eTD \bTD three \eTD \eTR % \bTR \bTD first \eTD \bTD second \eTD \bTD third \eTD \eTR % \bTR \bTD alpha \eTD \bTD beta \eTD \bTD gamma \eTD \eTR % \eTABLE % \stopTEXpage % % \setupTABLE [first] [two][corner=2] % special case % \setupTABLE [last] [two][corner=4] % special case % % \startTEXpage % \bTABLE[frame=off,align=middle] % \bTR \bTD one \eTD \bTD two \eTD \bTD three \eTD \eTR % \bTR \bTD first \eTD \bTD second \eTD \bTD third \eTD \eTR % \eTABLE % \stopTEXpage ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (4)
-
Aditya Mahajan
-
andrea valle
-
Hans Hagen
-
luigi scarso