Hi,

I have a document which is partitioned into parts. Each part should start
on a recto page. The first piece of content in each part should start on a
recto page; the remaining content can either follow directly or start a new
page.

My question is, how can I avoid the line numbers on the empty verso pages;
including the last page?

I apologize for the verbosity of my mwe, but I wanted to convey the entire
document structure.

--
With kind regards,

Michael Guravage

%%%%% begin mwe
%\setupwhitespace[big]
\setuppagenumbering[alternative=doublesided]
\setuppagenumbering[location={footer,middle}] % set footer location
\setupcombinedlist[content][list={part}, alternative=a]

\setuphead
  [part]
  [placehead=yes,
   page=right,
   number=no,
   textcommand=\centerbox,
   footer=empty,
  ]

\setuphead
  [title]
  [page=no]

\definehead
  [titlerectopage]
  [title]
  [page=right]

\definehead
  [titlenewpage]
  [title]
  [page=yes]

\starttext
  \startfrontmatter
    \completecontent % Insert the table of contents
  \stopfrontmatter
  \startbodymatter
    \startpart [title={First Half}]
      \starttitlerectopage[title=Tufte]
        \dorecurse{3}{\samplefile{tufte}\par}
      \stoptitlerectopage
     \starttitle[title=Knuth]
        \dorecurse{2}{\samplefile{knuth}\par}
      \stoptitle
      \starttitlenewpage[title=Gray]
        \dorecurse{3}{\samplefile{tufte}\par}
      \stoptitlenewpage
    \stoppart
    \startpart [title={Second Half}]
      \starttitlerectopage[title=Linden]
        \dorecurse{3}{\samplefile{linden}\par}
      \stoptitlerectopage
     \starttitle[title=Lorem]
        \dorecurse{7}{\samplefile{lorem}\par}
      \stoptitle
    \stoppart
  \stopbodymatter
\stoptext
 %%%%%%% end mwe



<http://literatesolutions.com>

Attachment: parttest.pdf
Description: Adobe PDF document

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to