* Handling line numbers in frontmatter.
@ 2015-04-16 19:19 John Culleton
2015-04-16 19:59 ` Pablo Rodriguez
0 siblings, 1 reply; 2+ messages in thread
From: John Culleton @ 2015-04-16 19:19 UTC (permalink / raw)
To: mailing list for ConTeXt users
In the sample shown below I get correct (roman)
line numbers but the very first page, imported
from plug.tex has an unwanted page number. If I
surround that page with:
\startstandardmakeup[doublesided=no,page=yes]
and
\stopstandardmakeup
the page number disappears but the page count is
wrong by one. Page numbers are roman.
I have tried changing the page number sequence
using e.g,:
\setcounter[userpage][-4]
but that has no effect.
I tried iv instead of 4 but that didn't work
either.
MKIV and Texlive 2014.
-----------------------------------------------
\starttext
\startfrontmatter
\setuppagenumbering[state=start]
%\startstandardmakeup[doublesided=no,page=yes]
\input plug.tex
%\stopstandardmakeup
\page[yes]
\startstandardmakeup[doublesided=no,page=yes]
\stopstandardmakeup
\startstandardmakeup[doublesided=no,page=yes]
\externalfigure[graph1.pdf][width=\paperwidth,
height=\paperheight] \stopstandardmakeup
%\setcounter[userpage][number=4]
\startstandardmakeup[doublesided=no,page=yes]
{\obeylines
{\bf From Kitchen to Market-Sell Your Specialty
Food}
6th Edition Stephen F. Hall
(etc.)
}
\stopstandardmakeup
\stoptext
---------------------------------------------------
John Culleton
Wexford Press
Free list of books for self-publishers:
http://wexfordpress.net/shortlist.html
Updated PDF e-book: "Create Book Covers with
Scribus 1.4.5" coming soon at
http://www.booklocker.com/!
___________________________________________________________________________________
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] 2+ messages in thread
* Re: Handling line numbers in frontmatter.
2015-04-16 19:19 Handling line numbers in frontmatter John Culleton
@ 2015-04-16 19:59 ` Pablo Rodriguez
0 siblings, 0 replies; 2+ messages in thread
From: Pablo Rodriguez @ 2015-04-16 19:59 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 04/16/2015 09:19 PM, John Culleton wrote:
> In the sample shown below I get correct (roman)
> line numbers but the very first page, imported
> from plug.tex has an unwanted page number. If I
> surround that page with:
> \startstandardmakeup[doublesided=no,page=yes]
> and
> \stopstandardmakeup
>
> the page number disappears but the page count is
> wrong by one. Page numbers are roman.
Hi John,
this isn’t wrong. Makeup pages aren’t numbered by default.
Add "pagestate=start" to the makeup you want to get its page numbered.
To avoid adding the same options to every single makeup, add in the
preamble:
\setupmakeup[pagestate=start, doublesided=no, page=yes]
BTW, I don’t know whether this is is the best way to surpress page
numbers in texts. Because makeups don’t split texts in pages.
I hope it helps,
Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
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] 2+ messages in thread
end of thread, other threads:[~2015-04-16 19:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-16 19:19 Handling line numbers in frontmatter John Culleton
2015-04-16 19:59 ` Pablo Rodriguez
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).