[NTG-context] Interaction between overlay and typing?
I'm almost there: \definetyping[SQL][option=color,numbering=line] \defineoverlay[ifsqoverlay][\overlayfigure{IfSQ-overlay.pdf}] \starttext \setuppapersize[A4,landscape][a4,landscape] \setupbackgrounds[page][overlay=ifsqoverlay] \typefile[SQL][]{details.pls} \stoptext Gets me the landscape, A4, numbered output. It does not get me the overlay. Some interaction between verbatim and overlay? I also do not see any coloration. G ___ 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] Interaction between overlay and typing?
Am 06.06.2009 um 16:59 schrieb Gerben Wierda: I'm almost there: \setupcolors[state=start] \definetyping[SQL][option=color,numbering=line] %% linenumbering did not work in MkIV method=language \defineoverlay[ifsqoverlay][\overlayfigure{IfSQ-overlay.pdf}] \starttext \setuppapersize[A4,landscape][a4,landscape] \setupbackgrounds[page][overlay=ifsqoverlay] background=ifsqoverlay \typefile[SQL][]{details.pls} \stoptext Gets me the landscape, A4, numbered output. It does not get me the overlay. Some interaction between verbatim and overlay? I also do not see any coloration. 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] Interaction between overlay and typing?
On 6 Jun 2009, at 18:13, Wolfgang Schuster wrote: Am 06.06.2009 um 16:59 schrieb Gerben Wierda: I'm almost there: \setupcolors[state=start] Gives me colors for SQL, but not very useful ones. I'll have to look into that more. \definetyping[SQL][option=color,numbering=line] %% linenumbering did not work in MkIV method=language What do you mean? Does this somehow get me good coloration? \defineoverlay[ifsqoverlay][\overlayfigure{IfSQ-overlay.pdf}] \starttext \setuppapersize[A4,landscape][a4,landscape] \setupbackgrounds[page][overlay=ifsqoverlay] background=ifsqoverlay Yes, in the meantime I guessed this too. Hans' instruction was erroneous. (I would give something for decent ConTeXt documentation. This has taken me hours fiddling around and guessing on the basis of sources, just for something that simple as a background image) G \typefile[SQL][]{details.pls} \stoptext Gets me the landscape, A4, numbered output. It does not get me the overlay. Some interaction between verbatim and overlay? I also do not see any coloration. 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 ___ ___ 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] Interaction between overlay and typing?
Am 06.06.2009 um 18:25 schrieb Gerben Wierda: What do you mean? Does this somehow get me good coloration? Forget this, you can get different colors by redefining these settings: \definecolor [colorprettyone] [r=.9, g=.0, b=.0] % red \definecolor [colorprettytwo] [r=.0, g=.8, b=.0] % green \definecolor [colorprettythree] [r=.0, g=.0, b=.9] % blue \definecolor [colorprettyfour] [r=.8, g=.8, b=.6] % yellow 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 ___