ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Page Numbering of First and Last Page
@ 2009-10-20 17:12 Bryant Eastham
  0 siblings, 0 replies; only message in thread
From: Bryant Eastham @ 2009-10-20 17:12 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1.1: Type: text/plain, Size: 2425 bytes --]

All-

 

Sorry if this is simple - I have searched but not found an answer. New
to ConTeXt, not LaTeX.

 

Given:

 

% output=pdftex

% environment file

\setuppapersize[A4]

\setuplist[chapter,section][chapternumber=yes]

\setuppagenumbering[location={header,right},way=bysection,chapternumber=
yes]

\setupsectionblock[frontpart][page=no]

\setupsectionblock[bodypart][page=no]

\setupsectionblock[appendix][page=no]

\setupsectionblock[backpart][page=no]

\mainlanguage[en]

\starttext

\startfrontmatter

\completecontent

\stopfrontmatter

\startbodymatter

\chapter[ch1]{Chapter 1}

\section{Chapter 1/Section 1}

Text.

\page

Text.

\stopbodymatter

\stoptext

 

Questions:

1.       What controls the page number that appears above the table of
contents? It currently shows "1".

2.       Why does the page number on the last page not include the
chapter? It currently shows "2".

 

Reading over some past posts I can postulate that the page numbering is
being reset before the last page has been output. But no matter where I
put my "setuppagenumbering" command the first page and last page don't
seem to be affected. Better said, they are affected but not in the way I
would expect... J

 

What am I not seeing? Log file attached.

 

Thanks,

-Bryant

 

 

 

 

Panasonic Electric Works Laboratory of America - SLC Lab
4525 So. Wasatch Blvd., Suite 100, 84124
Salt Lake City, UT 84124



T 801.993.7124
F 801.993.7260
beastham@pewla.us.pewg.pansonic.com

Bryant Eastham
Chief Architect



 

 

***CONFIDENTIALITY NOTICE***: This e-mail and any attachments may
contain information which is confidential, proprietary, trade secret,
privileged or otherwise protected by law. The information is the
property of Panasonic Electric Works Laboratory of America, Inc., and is
solely intended for the named addressee (or a person responsible or
delivering it to the addressee). If you are not the intended recipient
of this message, you are not authorized to read, print, retain copy or
disseminate this message or any part of it. If you have received this
e-mail in error, please notify the sender and the Office of General
Counsel at generalcounsel@us.pewg.panasonic.com
<mailto:generalcounsel@us.pewg.panasonic.com>  immediately by return
e-mail and delete it from your computer.

 


[-- Attachment #1.1.2: Type: text/html, Size: 11381 bytes --]

[-- Attachment #1.2: image001.gif --]
[-- Type: image/gif, Size: 3779 bytes --]

[-- Attachment #1.3: image003.gif --]
[-- Type: image/gif, Size: 2360 bytes --]

[-- Attachment #1.4: image004.png --]
[-- Type: image/png, Size: 168 bytes --]

[-- Attachment #1.5: image005.png --]
[-- Type: image/png, Size: 168 bytes --]

[-- Attachment #2: problem.log --]
[-- Type: application/octet-stream, Size: 5159 bytes --]

This is pdfTeX, Version 3.1415926-1.40.10 (Web2C 2009) (format=cont-en 2009.10.19)  20 OCT 2009 11:04
entering extended mode
 \write18 enabled.
 (c:/contextminimal/texmf-context/web2c/natural.tcx)
**problem.tex \emergencyend
(./problem.tex

ConTeXt  ver: 2009.08.19 17:10 MKII  fmt: 2009.10.19  int: english/english

system          : cont-new loaded
(c:/contextminimal/texmf-context/tex/context/base/cont-new.tex
systems         : beware: some patches loaded from cont-new.tex
(c:/contextminimal/texmf-context/tex/context/base/cont-new.mkii))
system          : cont-fil loaded
(c:/contextminimal/texmf-context/tex/context/base/cont-fil.tex
loading         : ConTeXt File Synonyms
)
system          : cont-sys.rme loaded
(c:/contextminimal/texmf-context/tex/context/user/cont-sys.rme
(c:/contextminimal/texmf-context/tex/context/base/type-tmf.tex
(c:/contextminimal/texmf-context/tex/context/base/type-tmf.mkii))
(c:/contextminimal/texmf-context/tex/context/base/type-siz.tex
(c:/contextminimal/texmf-context/tex/context/base/type-siz.mkii))
(c:/contextminimal/texmf-context/tex/context/base/type-one.tex
(c:/contextminimal/texmf-context/tex/context/base/type-one.mkii)))
system          : problem.top loaded
(./problem.top)
bodyfont        : 12pt rm is loaded
language        : patterns nl->texnansi:texnansi->1->2:2 nl->ec:ec->2->2:2 us->
ec:ec->3->2:3 de->texnansi:texnansi->4->3:3 de->ec:ec->5->3:3 da->ec:ec->6->2:2
 sv->ec:ec->7->2:2 gb->ec:ec->8->2:2 fr->texnansi:texnansi->9->2:2 fr->ec:ec->1
0->2:2 es->ec:ec->11->2:2 ca->ec:ec->12->2:2 it->texnansi:texnansi->13->2:2 it-
>ec:ec->14->2:2 la->ec:ec->15->2:2 pt->texnansi:texnansi->16->2:2 pt->ec:ec->17
->2:2 ro->ec:ec->18->2:2 pl->pl0:pl0->19->2:2 pl->ec:ec->20->2:2 pl->qx:qx->21-
>2:2 cs->il2:il2->22->2:2 cs->ec:ec->23->2:2 sk->il2:il2->24->2:2 sk->ec:ec->25
->2:2 hr->ec:ec->26->2:2 sl->ec:ec->27->2:2 tr->ec:ec->28->2:2 agr->agr:agr->30
->2:2 fi->ec:ec->31->2:2 hu->ec:ec->32->2:2 ru->t2a:t2a->34->2:2 uk->t2a:t2a->3
5->3:3 loaded
specials        : dvips loaded
\openout3 = `problem.tui'.

\openout0 = `problem-mpgraph.mp'.

\openout0 = `mpgraph.mp'.

systems         : system commands are enabled
language        : language en is active
specials        : loading definition file tpd
(c:/contextminimal/texmf-context/tex/context/base/spec-tpd.mkii
specials        : loading definition file fdf
(c:/contextminimal/texmf-context/tex/context/base/spec-fdf.mkii))
(./problem.tuo) (./problem.tuo) (./problem.tuo) (./problem.tuo) (./problem.tuo)
(./problem.tuo) (./problem.tuo) (./problem.tuo) (./problem.tuo) (./problem.tuo)
(./problem.tuo) (./problem.tuo)
systems         : begin file problem at line 11
structure       : begin of sectionblock frontmatter
title           : - \headtext {content}
(./problem.tuo)
structure       : end of sectionblock frontmatter
structure       : begin of sectionblock bodymatter
fonts           : resetting map file list
{c:/contextminimal/texmf-context/fonts/map/pdftex/context/original-empty.map}
fonts           : using map file: original-base
{c:/contextminimal/texmf-context/fonts/map/pdftex/context/original-base.map}
fonts           : using map file: original-ams-base
{c:/contextminimal/texmf-context/fonts/map/pdftex/context/original-ams-base.map
}
fonts           : using map file: original-public-lm
{c:/contextminimal/texmf-context/fonts/map/pdftex/context/original-public-lm.ma
p}
fonts           : using map file: lm-ec
{c:/contextminimal/texmf/fonts/map/dvips/lm/lm-ec.map}
fonts           : using map file: lm-math
{c:/contextminimal/texmf/fonts/map/dvips/lm/lm-math.map}
fonts           : using map file: lm-rm
{c:/contextminimal/texmf/fonts/map/dvips/lm/lm-rm.map}
fonts           : using map file: original-ams-euler
{c:/contextminimal/texmf-context/fonts/map/pdftex/context/original-ams-euler.ma
p} (c:/contextminimal/texmf-context/tex/context/base/sort-def.mkii)
(c:/contextminimal/texmf-context/tex/context/base/sort-lan.mkii) [1.1]
chapter         : 1 Chapter 1
section         : 1.1 Chapter 1/Section 1
[2.1]
structure       : end of sectionblock bodymatter
[3.2]
systems         : end file problem at line 22
system          : cont-err loaded
(c:/contextminimal/texmf-context/tex/context/base/cont-err.tex
systems         : no file 'cont-sys.tex', using 'cont-sys.rme' instead
) ) 
Here is how much of TeX's memory you used:
 985 strings out of 257157
 16232 string characters out of 1286336
 2687854 words of memory out of 4118750
 40776 multiletter control sequences out of 15000+100000
 88416 words of font info for 39 fonts, out of 2000000 for 5000
 396 hyphenation exceptions out of 8191
 50i,17n,57p,249b,604s stack positions out of 10000i,500n,10000p,4000000b,50000s
{c:/contextminimal/texmf/fonts/enc/dvips/lm/lm-ec.enc}<c:/contextminimal/tex
mf/fonts/type1/public/lm/lmr12.pfb>

pdfTeX warning: pdftex.exe: no GlyphToUnicode entry has been inserted yet!
Output written on problem.pdf (3 pages, 24990 bytes).
PDF statistics:
 19 PDF objects out of 1000 (max. 8388607)
 12 compressed objects within 1 object stream
 0 named destinations out of 1000 (max. 500000)
 1 words of extra memory for PDF output out of 10000 (max. 10000000)


[-- Attachment #3: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
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] only message in thread

only message in thread, other threads:[~2009-10-20 17:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-20 17:12 Page Numbering of First and Last Page Bryant Eastham

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).