Open clange opened 11 years ago
The first workaround is to turn the pages preceding the actual papers into an explicit “front matter”:
\documentclass{book} % or some other book-like document class
...
\begin{document}
\frontmatter
\maketitle
\chapter*{Preface}
...
\tableofcontents
\mainmatter
\input{toc}
\end{document}
The front-matter pages will usually have Roman numbers.
The second workaround is to add an offset to the page numbers in toc.xml by search and replace. For example, in Emacs the following regular expression does the trick (assuming an offset of 5):
<pages from="\([0-9]+\)" to="\([0-9]+\)"/>
<pages from="\,(+ 5 (string-to-number \1))" to="\,(+ 5 (string-to-number \2))"/>
Note that \,
in replacement strings starts a Lisp expression.
Depending on how one generates the proceedings volume from toc.xml (via toc.tex), the first paper doesn't start on page 1, as a title page, table of contents, etc. might occur before. As the page numbering in toc.xml (which are taken from EasyChair) propagates to ceur-ws/temp.bib as well as ceur-ws/index.html, it would make sense to specify an offset (e.g. “5 pages”), which is respected when generating toc.xml.