Re: [NTG-context] problem with alignment
Le 10 octobre à 15:08:25 Hans Hagen [EMAIL PROTECTED] écrit notamment: | Jean Magnan de Bornier wrote: | Hi all, | Playing with right alignments this morning, I discovered that | | \setupalign | [left] | | ipsum in elit | | Duis placerat | | nec augue | | | puts text *on the right*, while | | \setupalign | [right] | | ipsum in elit | | Duis placerat | | nec augue | | | puts text *on the left*. | raggedleft -) | use flushright or flushleft if you like that more Thanks Hans and Wolfgang; should not this be documented in the context manual, as it is a really strange behavior to an average user? -- Jean ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] problem with alignment
Jean Magnan de Bornier wrote: Thanks Hans and Wolfgang; should not this be documented in the context manual, as it is a really strange behavior to an average user? http://wiki.contextgarden.net/FAQ (question five or six, iirc) Cheers, taco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Stepping through PDF-Layers
2007/10/10, Hans Hagen [EMAIL PROTECTED]: Wolfgang Schuster wrote: Hi, I want to animate layers in a pdf like we can do at the moment with fieldstacks to show always the next picture after the click on a button. \usemodule[pre-60] and look into s-pre-6* to see how to enable it Hi Hans, this is what I was looking for, I adapted now my example and it works fine. The next thing is to change the macro for my own needs but I can do this later when I will integrate it into my macro, I wanted to know at the moment of I can use layers as a replacement for fieldstacks and the solution was yes. \usemodule[pre-60] \setupcolors[state=start] \setupinteraction[state=start,click=off] \setupbackgrounds[text][background=] \starttext \StartLocalSteps \framed [width=2cm, height=2cm, offset=overlay, background=invoke] {\dorecurse{4} {\StartLocalStep \ifcase\recurselevel\or\red\or\green\or\blue\or\yellow\fi \hrule height 5mm width\hsize\relax \StopLocalStep}} \StopLocalSteps \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] problem with alignment
Le 11 octobre à 08:59:30 Taco Hoekwater [EMAIL PROTECTED] écrit notamment: | Jean Magnan de Bornier wrote: | | Thanks Hans and Wolfgang; should not this be documented in the context | manual, as it is a really strange behavior to an average user? | http://wiki.contextgarden.net/FAQ (question five or six, iirc) | Cheers, taco [...] Thanks a lot Taco; I had missed that page -- Jean ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] need help with creating a grid with context
2007/10/10, Mojca Miklavec [EMAIL PROTECTED]: On 10/10/07, Wolfgang Schuster wrote: 2007/10/10, Mojca Miklavec: On 10/10/07, MASON Peter J wrote: Hope to create a regular (1cm spacing) grid on page, of bullets. Ultimately over the whole page. Why not using MetaPost? \starttext \startMPcode % or \startMPpage for i=0 upto 10: for j=0 upto 20: fill fullcircle scaled 1mm shifted ((i,j) scaled 1cm); endfor; endfor; \stopMPcode \stoptext Mojca Because TeX is faster in this situation and it takes more time to write the Metapost code in external file, process this file, convert it into a PDF file and include it into the document etc. I know what I say because this was one of the reasons why the sgf module place the field within TeX and not with Metapost, a matter of speed and you can reuse the objects. OK, that's a good point, and I fully agree with it. It's only that I would probably use something like that for really simple, short, one-page documents, where I would be concerned about the speed I need to come to a solution, not with the speed of document processing - half a second more or less. This was in my case also a one page document but I created over hundret full page graphics (needed for fieldstacks) and it is a real problem in this case, the other problem for this solution was, I had to pass dozen graphic position to Metapost and it was easier to do the whole work within TeX and use Metapost only to create the needed graphics one and reuse them. With the route tex - .plt file - gnuplot - tex (metafun) - metapost (- mpto or \sometxt) - pdf, which I frequently use, the situation is much much worse, but it's still acceptable. ConTeXt became at least 10 times faster during the last three or four years. (Or at least that's my impression.) I don't use gnuplot and I think a lua driven Tikz should solve this in the future, calculate the graphs with lua definition and draw the graphics with TeX macros. You should also replace the fullcircle with drawdot in your example, drawdot renders better on screen and looks better. Thanks. I always use fill fullcircle for some reason. Perhaps I should changle my habit :) Sorry, my fault. What I meant was the difference between draw point and drawpoint point where the first should be replaced in this situation with the later, fullcircle produce nice circles and Donald Knuth took care about this. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] need help with creating a grid with context
2007/10/10, Peter Rolf [EMAIL PROTECTED]: Hi Peter, MASON Peter J schrieb: I'm trying to layout a grid of bullets. The results isn't the expected one. Perhaps someone could offer help here? Thanks. Here's the sort of thing I'm doing \setuplayout[leftmargin=0pt, leftmargindistance=0pt, backspace=0pt, rightmargin=0pt, rightmargindistance=0pt, cutspace=0pt, width=middle, topspace=0pt, header=0pt, headerdistance=0pt, footer=0pt, footerdistance=0pt, bottomspace=0pt, height=middle] %\showlayout \starttext \setuppositioning[unit=cm] \startpositioning \newcount\Row \Row= 0 \loop { ^^ \newcount\Col ^^ \Col = 0 \loop \position(\Col, \Row) {$\bullet$} \ifnum\Col 14 \advance\Col by 1 \repeat } ^^ \ifnum\Row 36 \advance\Row by 1 \repeat \stoppositioning \stoptext You introduce spurious spaces (line break sometimes adds a space) in you loops. See http://tug.ctan.org/tex-archive/info/texbytopic/ if you want to learn more about it. \starttext \setuppositioning[unit=cm] \startpositioning \newcount\Row \newcount\Col \Row=0 \dorecurse{36} {\Col=0 \dorecurse{14} {\position(\Col,\Row){$\bullet$} \advance\Col by 1 }% \advance\Row by 1 } \stoppositioning \stoptext Remove the comment sign behind the inner loop and see what happens. Also see http://wiki.contextgarden.net/System_Macros/Loops_and_Recursion for the nicer ConTeXt loop macros. Best wishes, Peter Hi, there is smarter and better solution than loop for doing this work, you can use leaders. I prefer myself xledaers in this example (alternative b). \defineoverlay[PageGrid][\PageGrid] \setupbackgrounds[page][background=PageGrid,offset=5mm] \starttext % alternative a: \def\PageGrid {\setbox\scratchbox\hbox to\dimexpr\paperwidth-1cm\relax {\leaders\hbox to 1cm{\hss$\bullet$\hss}\hfill}% \vbox to\dimexpr\paperheight-1cm\relax {\leaders\vbox to 1cm{\vss\box\scratchbox\vss}\vfill}} \page[empty] % alternative b: \def\PageGrid {\setbox\scratchbox\hbox to\dimexpr\paperwidth-1cm\relax {\xleaders\hbox to 1cm{\hss$\bullet$\hss}\hfill}% \vbox to\dimexpr\paperheight-1cm\relax {\xleaders\vbox to 1cm{\vss\box\scratchbox\vss}\vfill}} \page[empty] % alternative c: \def\PageGrid {\setbox\scratchbox\hbox to\dimexpr\paperwidth-1cm\relax {\cleaders\hbox to 1cm{\hss$\bullet$\hss}\hfill}% \vbox to\dimexpr\paperheight-1cm\relax {\cleaders\vbox to 1cm{\vss\box\scratchbox\vss}\vfill}} \page[empty] \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Feature request for backgrounds
Hi Hans, can you provide a backgroundimage key for localframed (ot use it in framed) and fastlocalframed (to use it in \setupbackgrounds) to create something like: \setupexternalfigures[location=global] \setupcolors[state=start] \starttext \defineoverlay [Wallpaper] [\backgroundimage{1}{\paperwidth}{\paperheight}{\externalfigure[cow]}] \setupbackgrounds [page] [background={color,Wallpaper}, backgroundcolor=orange] \startstandardmakeup \stopstandardmakeup \stoptext I want to write the above example in the following way, \setupbackgrounds [page] [background={color,image}, backgroundcolor=orange, backgroundimage=cow] The same mechanism should be also possible for \framed. It should be possible to enable a image and a backgroundcolor at the same time to have a fallback mechanism for the case there is no image available or I want a colored background behind the image. I have also a few wishes for \backgroundimage command in core-box, is it possible let the graphics start in the left top corner and crop it only at the ride side and at the bottom like the default bahaviour in html. Shouldn't the \scratchbox in the \nextboxwd test be a \nextbox. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Feature request for backgrounds
Wolfgang Schuster wrote: Hi Hans, can you provide a backgroundimage key for localframed (ot use it in framed) and fastlocalframed (to use it in \setupbackgrounds) to create something like: \setupexternalfigures[location=global] \setupcolors[state=start] \starttext \defineoverlay [Wallpaper] [\backgroundimage{1}{\paperwidth}{\paperheight}{\externalfigure[cow]}] \setupbackgrounds [page] [background={color,Wallpaper}, backgroundcolor=orange] \startstandardmakeup \stopstandardmakeup \stoptext I want to write the above example in the following way, \setupbackgrounds [page] [background={color,image}, backgroundcolor=orange, backgroundimage=cow] The same mechanism should be also possible for \framed. It should be possible to enable a image and a backgroundcolor at the same time to have a fallback mechanism for the case there is no image available or I want a colored background behind the image. - you can use background anc backgroundcolor at the same time - you can have multiple backgrounds \defineoverlay[one][\overlayfigure{name}] \defineoverlay[two][abcdef] \setupbackgrounds[page][background={one,two}] \setupbackgrounds[page][background={one,foreground,two}] etc I have also a few wishes for \backgroundimage command in core-box, is it possible let the graphics start in the left top corner and crop it only at the ride side and at the bottom like the default bahaviour in html. i think that there is some code in the x-fo file for that Shouldn't the \scratchbox in the \nextboxwd test be a \nextbox. where? - 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 - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Feature request for backgrounds
2007/10/11, Hans Hagen [EMAIL PROTECTED]: Wolfgang Schuster wrote: Hi Hans, can you provide a backgroundimage key for localframed (ot use it in framed) and fastlocalframed (to use it in \setupbackgrounds) to create something like: \setupexternalfigures[location=global] \setupcolors[state=start] \starttext \defineoverlay [Wallpaper] [\backgroundimage{1}{\paperwidth}{\paperheight}{\externalfigure[cow]}] \setupbackgrounds [page] [background={color,Wallpaper}, backgroundcolor=orange] \startstandardmakeup \stopstandardmakeup \stoptext I want to write the above example in the following way, \setupbackgrounds [page] [background={color,image}, backgroundcolor=orange, backgroundimage=cow] The same mechanism should be also possible for \framed. It should be possible to enable a image and a backgroundcolor at the same time to have a fallback mechanism for the case there is no image available or I want a colored background behind the image. - you can use background anc backgroundcolor at the same time - you can have multiple backgrounds I know and I used a backgroundcolor and a background simultaneously in my posted example but what I want is a interface in localframed without the overlay solution, the background should also repeated horizontal and vertical and not streched in both directions. \defineoverlay[one][\overlayfigure{name}] \defineoverlay[two][abcdef] \setupbackgrounds[page][background={one,two}] \setupbackgrounds[page][background={one,foreground,two}] etc I have also a few wishes for \backgroundimage command in core-box, is it possible let the graphics start in the left top corner and crop it only at the ride side and at the bottom like the default bahaviour in html. i think that there is some code in the x-fo file for that Shouldn't the \scratchbox in the \nextboxwd test be a \nextbox. where? I meant in the \backgroundimage definition defined in core-box, bottom of the file). \def\backgroundimage#1#2#3% repeat hsize vsize {\bgroup \dowithnextbox {\ifcase#1\relax % just one \else \scratchdimen#2\divide\scratchdimen\nextboxwd\count0\scratchdimen\advance\count0\plusone \scratchdimen#3\divide\scratchdimen\nextboxht\count2\scratchdimen\advance\count2\plusone % to be considered, probably methods \ifcase#1\or % x and y \setbox\nextbox\hbox{\dorecurse{\count0}{\copy\nextbox}}% \setbox\nextbox\vbox{\dorecurse{\count2}{\copy\nextbox\endgraf}}% \or % x \setbox\nextbox\hbox{\dorecurse{\count0}{\copy\nextbox}}% \or % y \setbox\nextbox\vbox{\dorecurse{\count2}{\copy\nextbox\endgraf}}% \fi \fi \ifdim\nextboxwd#2\relax \setbox\nextbox\hbox to #2{\hss\flushnextbox\hss}% \setbox\scratchbox\hbox{\expanded{\clip[\c!width=#2,\c!height=\the\nextboxht]{\box\scratchbox}}}% ^^^ ^^^ \fi \ifdim\nextboxht#3\relax \setbox\nextbox\vbox to #3{\vss\flushnextbox\vss}% \setbox\nextbox\hbox{\expanded{\clip[\c!width=\the\nextboxwd,\c!height=#3]{\flushnextbox}}}% \fi \flushnextbox \egroup}% \hbox} I want to use this to provide the user in the second version of the go module a command to use graphics as board backgrounds where he can use at the moment only colors. I know I could wrap this myself into a macro but I hoped I can this without own code and pass only the figure name and the backgroundcolor to the setup command for page backgrounds or the frame background. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] 'TeX capacity exceeded' problem
Dear all, Finally, luatools is working(gwTeX, Mac OSX 10.4). Following the instruction given by Thomas, I succeeded to run 'luatools --generate' but I got an error when I run 'luatools --ini --compile --verbose cont-en'. There is a memory problem for the languages. Following the suggestion, I add a line 'trie_size = 40' at the end of texmf.cnf in the folder /usr/local/gwTeX/texmf.cnf. After that 'luatools --ini --compile --verbose cont-en' is running without error and the format file is created in the folder /tmp/ luatex-cache/context/... I test it using a simple file like \starttext some texts \startlua a = 1.5 b = 1.8 c = a*b tex.print(c) \stoplua \stoptext and it was working nicely. But when I tested a sample file in the wiki, \usetypescript[palatino] \setupbodyfont[palatino,12pt] \starttext effe fietsen 2: \input tufte $\sqrt{2}$ \eogonek \sc effe fietsen 2: \input tufte $\sqrt{2}$ \eogonek \stoptext I got a fatal error. Here are some lines in log file. . (/usr/local/gwTeX/texmf.pkgs/tex/context/base/type-siz.tex) (/usr/ local/gwTeX/texmf.pkgs/tex/context/base/type-otf.tex) (/usr/local/ gwTeX/texmf.pkgs/tex/context/base/type-tmf.tex) (/usr/local/gwTeX/ texmf.pkgs/tex/context/base/type-siz.tex ! TeX capacity exceeded, sorry [parameter stack size=60]. \donormalizedbodyfontsize #1.#2#3#4\to #5- \edef #5{#1\ifcase \fontdigits \o... \docommand ...\scratchdimen \to \tempbodyfontsize \setevalue {\??ft \fontcla... \next7 #1,-\docommand {#1} \doprocesscommaitem argument \relax text, script,scriptscript,x,xx,big,small \doprocesscommalist ...aitem \gobbleoneargument #1 ,]\relax \global \advance ... argument ...acommand [\fontsizelist ]\docommand \copyparameters [\??ft \fo... ... l.22 \stoptypescript node memory in use: 1601 words out of 100604 (98904 untouched) currently available: 1:3, 2:9, 3:3, 4:7, 6:4, 8:2 nodes ! == Fatal error occurred, no output PDF file produced! Would you please tell me what is wrong here? Thank you. Best regards, Dalyoung ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] 'TeX capacity exceeded' problem
Jeong Dalyoung wrote: Dear all, Finally, luatools is working(gwTeX, Mac OSX 10.4). Following the instruction given by Thomas, I succeeded to run 'luatools --generate' but I got an error when I run 'luatools --ini --compile --verbose cont-en'. There is a memory problem for the languages. Following the suggestion, I add a line 'trie_size = 40' at the end of texmf.cnf in the folder /usr/local/gwTeX/texmf.cnf. After that 'luatools --ini --compile --verbose cont-en' is running without error and the format file is created in the folder /tmp/ luatex-cache/context/... I test it using a simple file like \starttext some texts \startlua a = 1.5 b = 1.8 c = a*b tex.print(c) \stoplua \stoptext and it was working nicely. problems like this will go away with the next release, since mkiv will load patterns at runtime (smaller format, faster loading of format, faster generation of format, neglectable load time of patterns at runtime) .. (/usr/local/gwTeX/texmf.pkgs/tex/context/base/type-siz.tex) (/usr/ local/gwTeX/texmf.pkgs/tex/context/base/type-otf.tex) (/usr/local/ gwTeX/texmf.pkgs/tex/context/base/type-tmf.tex) (/usr/local/gwTeX/ texmf.pkgs/tex/context/base/type-siz.tex ! TeX capacity exceeded, sorry [parameter stack size=60]. strange ... looks like the config file is not read (generated by luatools) 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 - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Feature request for backgrounds
Wolfgang Schuster wrote: I know and I used a backgroundcolor and a background simultaneously in my posted example but what I want is a interface in localframed without the overlay solution, the background should also repeated horizontal and vertical and not streched in both directions. \defineoverlay[image][\backgroundimage1\overlaywidth\overlayheight{\externalfigure[\framedparameter{backgroundimage}]}] \framed[width=15cm,height=25cm,backgroundimage=cow.pdf,background=image]{test} - 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 - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] LuaTeX on Mac OS X
Dear Joeng, dear Thomas, Thank you so much for your message and your invaluable help. Indeed thanks to Thomas' instructions, after correcting a few details, I could install LuaTeX and typeset the file test-1.tex with the command texexec --lua test-1.tex However, the execution stops with this error message: everyjob \the \everyloadluacode \the \everyfinalizeluacode \the \everyjob but after ignoring such messages with the command r (meaning run without complaining...) I get the expected PDF file. Since this is not yet a clean and thoroughly working installation, I have not yet tried to put the install informations on the Wiki. Later next week I'll try to re-install everything anew and see whether I have well understood what is needed to run LuaTeX on MacOS X. Best regards: OK On 11 oct. 2007, at 17:22, Jeong Dalyoung wrote: Dear Otared, Finally, luatools is working in my system. I reinstalled gwTeX and followed Thomas' instruction. Also I got an advice from Lutz. She said that use the latest Luatex and stable version of Context. Hence I installed stable version of the ConTeXt. I also saved environment variables in a file .luatex and run it after open the terminal using 'source .luatex' After that luatools is working properly. As I wrote in the list, I need to add a line 'trie_size=40' in texmf.cnf I tested a short file and it was working properly. However, I have an error when I compile a sample file in the wiki. I don't know why. I hope that someone answer to that question. Since I did it, you will do it. Maybe you already run luatools properly. Thank you. Best regards, Dalyoung ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] LuaTeX on Mac OS X
Otared Kavian wrote: Dear Joeng, dear Thomas, Thank you so much for your message and your invaluable help. Indeed thanks to Thomas' instructions, after correcting a few details, I could install LuaTeX and typeset the file test-1.tex with the command texexec --lua test-1.tex --luatex However, the execution stops with this error message: everyjob \the \everyloadluacode \the \everyfinalizeluacode \the \everyjob looks like pdftex is called 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 - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Feature request for backgrounds
On Thu, 11 Oct 2007, Hans Hagen wrote: Wolfgang Schuster wrote: I know and I used a backgroundcolor and a background simultaneously in my posted example but what I want is a interface in localframed without the overlay solution, the background should also repeated horizontal and vertical and not streched in both directions. \defineoverlay[image][\backgroundimage1\overlaywidth\overlayheight{\externalfigure[\framedparameter{backgroundimage}]}] \framed[width=15cm,height=25cm,backgroundimage=cow.pdf,background=image]{test} Wow, I never thought of this before. This is a really nice way to generate and use key-value pairs on the fly. Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___