Skip to content

Latest commit

 

History

History
35 lines (16 loc) · 1.29 KB

File metadata and controls

35 lines (16 loc) · 1.29 KB

Navigation

Home | Installation | Quick Start | Documentation | Cookbook

Cookbook >

Reset page numbering

Is there some way to reset page numbering after, say, the end of the introductory stuff or between one section of introduction (say, a foreword) and another (say, a preface)?

You should be able to say:

\pageno = 1

(or another number) in between \ptxfile commands in your main project file.

Note: You would use "\pageno" (from Plain TeX) to assign the number, whereas you use "\pagenumber" (defined by the ptx2pdf macros) to actually print the number (e.g., in the running header). It will not work to put \pageno=... within a USFM file, so to do this you'd need to make sure each section of the introductory material is in a separate file, then see above.

Updated on Jan 6, 2012 by Jeff Klassen (Version 2)