Hi all, I have problems to put two banners on each page of a document except the first page. I tried the following that was shown perfetly, but only on one page. What am I doing wrong or is there a better way to show a banner on the top and on the bottom of a page? Thanks for your help Wolfgang Murth \useexternalfigure[headpict][images/hintergrund_kopf.png] \useexternalfigure[footpict][images/hintergrund_fuss.png] \definelayer[imgtopbot] [width=\paperwidth, height=\paperheight, x=0cm, y=0cm, frame=off ] \setlayerframed[imgtopbot][voffset=0.5cm,frame=off] {\externalfigure[headpict]} \setlayerframed[imgtopbot][voffset=26.5cm,frame=off] {\externalfigure[footpict]} \setupbackgrounds[page][background=imgtopbot,state=repeat]
Hello Wolfgang,
\definelayer[...][...,state=continue,...]
I tried that before I posted my question but that didn't work. See below a minimal sample. I am using ConTeXt ver: 2009.10.02 13:14 MKIV and also tried it with ConTeXt ver: 2009.11.02 21:31 MKIV. best regards Wolfgang Murth % Minimal Sample \language[de] \mainlanguage[de] \setuplayout[ header=0.5cm, footer=1cm, width=16.5cm, height=22.7cm, topspace=3.8cm, leftmargindistance=2mm ] \startstandardmakeup \raggedcenter \vskip 0cm \definedfont[Bold sa 2]\setstrut \strut This is the titlepage\\ \vfill \stopstandardmakeup \starttext \useexternalfigure[headpict][cow.pdf][height=2cm] \useexternalfigure[footpict][cow.pdf][height=2cm] \definelayer[imgtopbot] [width=\paperwidth, height=\paperheight, x=0cm, y=0cm, frame=off, state=continue ] \setlayerframed[imgtopbot][voffset=0.5cm,frame=off] {\externalfigure[headpict]} \setlayerframed[imgtopbot][voffset=26.5cm,frame=off] {\externalfigure[footpict]} \setupbackgrounds[page][background=imgtopbot] \chapter{first} \dorecurse{10}{\input tufte } \chapter{second} \dorecurse{10}{\input davis } \chapter{third} \dorecurse{10}{\input zapf } \chapter{fourth} \dorecurse{10}{\input bryson } \stoptext
Hi all, I've adapted the example from strc-lst.mkiv: \setuplist[section][alternative=MyListItem] \definelistplacement[MyListItem][none]#1#2#3% {\framed{(#1) (#2) (#3)}} \starttext \showframe \placecontent \dorecurse{12}{\section{Test}} \stoptext But I want the list items to break after the 5th section, like with alternative=d. How to manage this? In fact I've a setup like: \setuplist [section] [alternative=c] \setuplist [subsection] [alternative=d,margin=3em,headnumber=no] \starttext \showframe \placecontent \dorecurse{7}{\section{Test alpha}\section{Test beta} \dorecurse{8}{\subsection{A very long and stupid section title}}} \stoptext and want the subsections in the list break with the end oft the dotted line, therefore I tried to customize the list placement. Perhaps someone is willing to provide a solution … Thanks in advance. Andreas
Hello Hans! If referencing to the same line, the line will be displayed twice. I tried Wolfgangs patch: http://archive.contextgarden.net/message/20091018.091419.18877aa9.en.html but it did not help. \starttext \startlinenumbering \someline[a]We thrive in information--thick worlds because of our marvelous and everyday ca-pacity to select, …\someline[b] \stoplinenumbering \inline[a] or \inline[b] \stoptext Greetings Andreas
Andreas Harder wrote:
Hello Hans!
If referencing to the same line, the line will be displayed twice. I tried Wolfgangs patch: http://archive.contextgarden.net/message/20091018.091419.18877aa9..en.html http://archive.contextgarden.net/message/20091018.091419.18877aa9.en.html but it did not help.
\starttext \startlinenumbering \someline[a]We thrive in information--thick worlds because of our marvelous and everyday ca-pacity to select, …\someline[b] \stoplinenumbering
\inline[a] or \inline[b] \stoptext
should work ok in beta ----------------------------------------------------------------- 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 -----------------------------------------------------------------
participants (4)
-
Andreas Harder
-
Hans Hagen
-
Wolfgang Murth
-
Wolfgang Schuster