Re: [NTG-context] empty page before chapter and part
Thanks, works perfectly. ES 2010/12/11 Wolfgang Schuster schuster.wolfg...@googlemail.com: Am 11.12.2010 um 17:58 schrieb Emanuele Sacco: Hi all. With the following code the second and eighth pages of the document are not empty as it would like. Thanks in advance \setuppapersize[A4][A4] \setuplayout [location=doublesided, header=5mm, headerdistance=15mm, footerdistance=0mm, textwidth=14cm] \setuppagenumbering [alternative=doublesided, location=marginedge, way=bytext, partnumber=no] \setupheadertexts[][part][chapter][] You can replace this block \setupbackgrounds[state=repeat] \setupbackgrounds[header][text][background=whatever] \defineoverlay[whatever][{\framed[width=\overlaywidth,height=\overlayheight,frame=off,bottomframe=on]{}}] \couplepage[chapter][before={\defineoverlay[whatever][]}] \setuphead[chapter][before={\pagetype[chapter]}] with \setupheader[text][after=\hrule] % \thinrule Now you can suppress the line on an empty page before the chapter start with \setuphead [chapter] [page={yes,header,right}] 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 ___ -- Al mondo ci sono 10 tipi di persone: quelli che conoscono il sistema binario e quelli che non lo conoscono. ___ 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] empty page before chapter and part
I'm using MKII. 2010/12/11 Emanuele Sacco emanuelesa...@gmail.com: Hi all. With the following code the second and eighth pages of the document are not empty as it would like. Thanks in advance \setuppapersize[A4][A4] \setuplayout [location=doublesided, header=5mm, headerdistance=15mm, footerdistance=0mm, textwidth=14cm] \setuppagenumbering [alternative=doublesided, location=marginedge, way=bytext, partnumber=no] \setupheadertexts[][part][chapter][] \setupbackgrounds[state=repeat] \setupbackgrounds[header][text][background=whatever] \defineoverlay[whatever][{\framed[width=\overlaywidth,height=\overlayheight,frame=off,bottomframe=on]{}}] \couplepage[chapter][before={\defineoverlay[whatever][]}] \setuphead[chapter][before={\pagetype[chapter]}] \setuphead[part] [placehead=yes, before={\pagetype[chapter]\startstandardmakeup[align={middle,lohi}]\switchtobodyfont[20pt]}, after=\stopstandardmakeup, align=middle, prefix=no, resetnumber=no] \setuphead[chapter] [header=empty] \starttext \completecontent \part{Parte} \chapter{Capitolo} \section{Sezione} \input knuth \subsection{Sottosezione} \input knuth \input tufte \section{Altra sezione} \input knuth \input tufte \input knuth \input tufte \input knuth \input tufte \chapter{Altro Capitolo} \input knuth \input tufte \input knuth \input tufte \input knuth \input tufte \input tufte \input knuth \input tufte \input knuth \input tufte \stoptext Emanulele -- Al mondo ci sono 10 tipi di persone: quelli che conoscono il sistema binario e quelli che non lo conoscono. ___ 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] empty page before chapter and part
Am 11.12.2010 um 17:58 schrieb Emanuele Sacco: Hi all. With the following code the second and eighth pages of the document are not empty as it would like. Thanks in advance \setuppapersize[A4][A4] \setuplayout [location=doublesided, header=5mm, headerdistance=15mm, footerdistance=0mm, textwidth=14cm] \setuppagenumbering [alternative=doublesided, location=marginedge, way=bytext, partnumber=no] \setupheadertexts[][part][chapter][] You can replace this block \setupbackgrounds[state=repeat] \setupbackgrounds[header][text][background=whatever] \defineoverlay[whatever][{\framed[width=\overlaywidth,height=\overlayheight,frame=off,bottomframe=on]{}}] \couplepage[chapter][before={\defineoverlay[whatever][]}] \setuphead[chapter][before={\pagetype[chapter]}] with \setupheader[text][after=\hrule] % \thinrule Now you can suppress the line on an empty page before the chapter start with \setuphead [chapter] [page={yes,header,right}] 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 ___