-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I had a multi-chapter document organized into a single document but now have
decided to break it up into independent documents for each chapter. I need
the pagination on chapter 2 to take up where chapter 1 left off, and so forth
for subsequent chapters. How does one get pagination to start from a
particular number?
On another note, I have the following in the preamble to my chapter 1 and it
works without errors:
\usepackage{chapterbib}
\usepackage{cite}
\makeatletter\def\@cite#1#2{({#1\if@tempswa , #2\fi})}
\def\@biblabel#1{#1.}
\let\oldthebibliography=\thebibliography
\renewcommand{\thebibliography}{%
\makeatletter%
\renewcommand{\section}[2]{}%
\renewcommand\@mkboth[2]{}%
\oldthebibliography}
\lhead{}
\chead{}
\rhead{\thepage}
\lfoot{}
\cfoot{}
\rfoot{}
\renewcommand{\headrulewidth}{0pt}
\newcommand\dna[1]{\leavevmode \begingroup
\dnaZ #1\@empty}
\def\dnaZ #1#2{%
#1%
\ifx\@empty#2%
\let\dnaZ\endgroup
\else
\dnaSpace \-%
\fi
\dnaZ #2%
}
\newcommand\dnaSpace{\nobreak\hspace{0pt plus .1pt}}
If, however, I try to copy-paste this preamble into the subsequent preambles
of the individual chapters, it invariably errors out, usually about the
\headrulewidth command. Why would this preamble work just fine and
error-free with both a megalithic document that includes all chapters in one
doc and with the first chapter alone, but fail to work with all the other
individual chapters?
- --
Beware the leader who bangs the drums of war in order to whip the citizenry
into a patriotic fervor...the citizenry, infused with fear and blinded with
patriotism, will offer up all their rights unto the leader and gladly so.
--unknown
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE9tGEo1i/6R1B/Yh0RAtWMAJ9+uokcMFB5kiWpWswde+Ptb/hcQwCcCK6D
1rpiEDOSZ7eh7akK4T/gbQw=
=iDHS
-----END PGP SIGNATURE-----