ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Two layer in a document
@ 2010-09-30  9:49 Daniel Grycman
  2010-09-30 12:26 ` R. Bastian
  2010-09-30 17:42 ` Wolfgang Schuster
  0 siblings, 2 replies; 11+ messages in thread
From: Daniel Grycman @ 2010-09-30  9:49 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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




___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2010-10-01 16:19 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-30  9:49 Two layer in a document Daniel Grycman
2010-09-30 12:26 ` R. Bastian
2010-09-30 13:16   ` Daniel Grycman
2010-09-30 17:42 ` Wolfgang Schuster
2010-10-01  7:51   ` R. Bastian
2010-10-01  8:02     ` Daniel Grycman
2010-10-01  9:00     ` Peter Rolf
2010-10-01 10:08       ` Steffen Wolfrum
2010-10-01 10:44         ` Peter Rolf
2010-10-01 12:54       ` luigi scarso
2010-10-01 16:19       ` Aditya Mahajan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).