Re: [NTG-context] Two layer in a document
On Thu, 30 Sep 2010 19:42:34 +0200 Wolfgang Schuster schuster.wolfg...@googlemail.com scribit: Am 30.09.2010 um 11:49 schrieb Daniel Grycman: Hi list, I am typesetting a template for internal documentation. In the header of the document I want to put two different figure. One on the left side and the other on the right side. When I compile the source the output shows only the figure on the left side. [...] One layer is enough for both pictures, try also to make it more readable next time. \definelayer[logo][width=\paperwidth,height=\paperheight,state=repeat] \setupbackgrounds[page][background={foreground,logo}] \setlayer [logo] [preset=righttop, hoffset=1cm] {\externalfigure[label][height=4cm,3.5cm]} \setlayer [logo] [preset=lefttop, hoffset=1.3cm, voffset=1.4cm] {\externalfigure[wortmarke][height=0.3cm,width=6.5cm]} \starttext \dorecurse{20}{\input knuth\par} \stoptext Wolfgang Does this work in Mk II ? ___ -- René Bastian www.pythoneon.org www.musiques-rb.org ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Two layer in a document
It works in MKIV, but I don't what it does in MKII. Daniel On 01.10.10 09:51, R. Bastian rbast...@free.fr wrote: On Thu, 30 Sep 2010 19:42:34 +0200 Wolfgang Schuster schuster.wolfg...@googlemail.com scribit: Am 30.09.2010 um 11:49 schrieb Daniel Grycman: Hi list, I am typesetting a template for internal documentation. In the header of the document I want to put two different figure. One on the left side and the other on the right side. When I compile the source the output shows only the figure on the left side. [...] One layer is enough for both pictures, try also to make it more readable next time. \definelayer[logo][width=\paperwidth,height=\paperheight,state=repeat] \setupbackgrounds[page][background={foreground,logo}] \setlayer [logo] [preset=righttop, hoffset=1cm] {\externalfigure[label][height=4cm,3.5cm]} \setlayer [logo] [preset=lefttop, hoffset=1.3cm, voffset=1.4cm] {\externalfigure[wortmarke][height=0.3cm,width=6.5cm]} \starttext \dorecurse{20}{\input knuth\par} \stoptext Wolfgang Does this work in Mk II ? ___ -- René Bastian www.pythoneon.org www.musiques-rb.org __ _ 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 : http://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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Two layer in a document
Am 01.10.2010 09:51, schrieb R. Bastian: On Thu, 30 Sep 2010 19:42:34 +0200 Wolfgang Schuster schuster.wolfg...@googlemail.com scribit: Am 30.09.2010 um 11:49 schrieb Daniel Grycman: Hi list, I am typesetting a template for internal documentation. In the header of the document I want to put two different figure. One on the left side and the other on the right side. When I compile the source the output shows only the figure on the left side. [...] One layer is enough for both pictures, try also to make it more readable next time. \definelayer[logo][width=\paperwidth,height=\paperheight,state=repeat] \setupbackgrounds[page][background={foreground,logo}] \setlayer [logo] [preset=righttop, hoffset=1cm] {\externalfigure[label][height=4cm,3.5cm]} \setlayer [logo] [preset=lefttop, hoffset=1.3cm, voffset=1.4cm] {\externalfigure[wortmarke][height=0.3cm,width=6.5cm]} \starttext \dorecurse{20}{\input knuth\par} \stoptext Wolfgang Does this work in Mk II ? You can set your mind at rest and test it yourself. The 'nuke_my_computer_by_running_context' module is no longer part of the official distribution ;-) Best wishes, Peter ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Two layer in a document
Am 01.10.2010 um 11:00 schrieb Peter Rolf: Am 01.10.2010 09:51, schrieb R. Bastian: On Thu, 30 Sep 2010 19:42:34 +0200 Wolfgang Schuster schuster.wolfg...@googlemail.com scribit: Am 30.09.2010 um 11:49 schrieb Daniel Grycman: Hi list, I am typesetting a template for internal documentation. In the header of the document I want to put two different figure. One on the left side and the other on the right side. When I compile the source the output shows only the figure on the left side. [...] One layer is enough for both pictures, try also to make it more readable next time. \definelayer[logo][width=\paperwidth,height=\paperheight,state=repeat] \setupbackgrounds[page][background={foreground,logo}] \setlayer [logo] [preset=righttop, hoffset=1cm] {\externalfigure[label][height=4cm,3.5cm]} \setlayer [logo] [preset=lefttop, hoffset=1.3cm, voffset=1.4cm] {\externalfigure[wortmarke][height=0.3cm,width=6.5cm]} \starttext \dorecurse{20}{\input knuth\par} \stoptext Wolfgang Does this work in Mk II ? You can set your mind at rest and test it yourself. The 'nuke_my_computer_by_running_context' module is no longer part of the official distribution ;-) Best wishes, Peter ... added to goodies from the mailing list: http://wiki.contextgarden.net/Humour Steffen ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Two layer in a document
The 'nuke_my_computer_by_running_context' module is no longer part of the official distribution ;-) I must admit that I had some 'burn_my_computer_by_running_context' beta releases under windows7 with luatex compiled by me (fat burst of laughters here) on my EeePC T101. -- luigi ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Two layer in a document
On Oct 1, 2010, at 5:00 AM, Peter Rolf indi...@gmx.net wrote: Does this work in Mk II ? You can set your mind at rest and test it yourself. The 'nuke_my_computer_by_running_context' module is no longer part of the official distribution ;-) Does that mean that my filter module will never become part of the official distribution :(( 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Two layer in a document
On 30 Sep 2010 11:49:52 +0200 Daniel Grycman daniel.gryc...@rub.de scribit: Hi list, I am typesetting a template for internal documentation. In the header of the document I want to put two different figure. One on the left side and the other on the right side. When I compile the source the output shows only the figure on the left side. To place 2 figures I use \startcombination[1*2] cf. Context - an excursion chap. 10 Figures. -- René Bastian www.pythoneon.org www.musiques-rb.org ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Two layer in a document
I think \startcombination is only functional in the \starttext \stoptext-enviroment. The figures are just layers used in the header of the document. Are there any other options? Daniel On 30.09.10 14:26, R. Bastian rbast...@free.fr wrote: On 30 Sep 2010 11:49:52 +0200 Daniel Grycman daniel.gryc...@rub.de scribit: Hi list, I am typesetting a template for internal documentation. In the header of the document I want to put two different figure. One on the left side and the other on the right side. When I compile the source the output shows only the figure on the left side. To place 2 figures I use \startcombination[1*2] cf. Context - an excursion chap. 10 Figures. -- René Bastian www.pythoneon.org www.musiques-rb.org __ _ 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 : http://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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Two layer in a document
Am 30.09.2010 um 11:49 schrieb Daniel Grycman: Hi list, I am typesetting a template for internal documentation. In the header of the document I want to put two different figure. One on the left side and the other on the right side. When I compile the source the output shows only the figure on the left side. \enableregime[utf-8] \mainlanguage[de] \setupcolors [state=start] \setupoutput[pdftex] \setuppapersize[A4][A4] \usemodule [simplefonts,r,tikz,edtsnc,chart] \setmainfont [rubscalatz] \setsansfont [rubflama] \setuphead [chapter][number=no, style=bold, textcommand=\ss] \setuphead [section][number=no, style=bold, textcommand=\ss] \setuphead [subsection][number=no] \setuphead [subsubsection][number=no] \setuplayout [top=0cm,rightmargin=2.3cm,footer=1.0cm,header=5cm,topspace=0mm,height=29.9 577cm,width=16.25cm,leftmargindistance=0cm,rightmargindistance=0cm] \setupbackgrounds[footer][background=color,backgroundcolor=gray] \setupbackgrounds[text][rightmargin][background=color,backgroundcolor=gray] \setupbackgrounds[header][rightmargin][background=color,backgroundcolor=gra y] None of these settings is necessary for a minimal example, leave them out next time. \definelayer[logo][width=\paperwidth,height=\paperheight,state=repeat] \setupbackgrounds[page][righttop][background={foreground,logo}] \setlayer[logo][preset=righttop,hoffset=1cm,state=start] {\externalfigure[label][height=4cm,3.5cm]} \definelayer[marke][width=6.5cm,height=0.3cm,state=repeat] \setupbackgrounds[page][lefttop][background={foreground,marke}] \setlayer[marke][preset=lefttop,hoffset=1.3cm,voffset=1.4cm,state=repeat] {\externalfigure[wortmarke][height=0.3cm,width=6.5cm]} One layer is enough for both pictures, try also to make it more readable next time. \definelayer[logo][width=\paperwidth,height=\paperheight,state=repeat] \setupbackgrounds[page][background={foreground,logo}] \setlayer [logo] [preset=righttop, hoffset=1cm] {\externalfigure[label][height=4cm,3.5cm]} \setlayer [logo] [preset=lefttop, hoffset=1.3cm, voffset=1.4cm] {\externalfigure[wortmarke][height=0.3cm,width=6.5cm]} \starttext \dorecurse{20}{\input knuth\par} \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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___