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] \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]} \setuppagenumbering[state=stop] \starttext Bla Bla \page Bla Bla \page Bla \stoptext Can anybody find the possible mistake I did? Thanks. Daniel
On 30 Sep 2010 11:49:52 +0200
"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.
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
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"
On 30 Sep 2010 11:49:52 +0200 "Daniel Grycman"
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 __________________________________________________________________________ _________
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
On Thu, 30 Sep 2010 19:42:34 +0200
Wolfgang Schuster
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
It works in MKIV, but I don't what it does in MKII.
Daniel
On 01.10.10 09:51, "R. Bastian"
On Thu, 30 Sep 2010 19:42:34 +0200 Wolfgang Schuster
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 __________________________________________________________________________ _________
Am 01.10.2010 09:51, schrieb R. Bastian:
On Thu, 30 Sep 2010 19:42:34 +0200 Wolfgang Schuster
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
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
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
Am 01.10.2010 12:08, schrieb Steffen Wolfrum:
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
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":
Mh, I wasn't aware that such an entry exists. Anyhow, my comment was not meant as offence. In the past I also asked questions that I could have easily answered myself. So take it as it was meant, take it with humour :-) Peter
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 ___________________________________________________________________________________
On Oct 1, 2010, at 5:00 AM, Peter Rolf
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
participants (7)
-
Aditya Mahajan
-
Daniel Grycman
-
luigi scarso
-
Peter Rolf
-
R. Bastian
-
Steffen Wolfrum
-
Wolfgang Schuster