Here is a patch for ly2dvi. It allows you to specify the starting
pagenumber from the .ly file. Useful for combining several pieces into
one book.
I have also written some docs for the pagenumber option which were
missing.
Hope it is useful.
Mark
--- ./ly2dvi Sat May 5 08:27:13 2001
+++ ./ly2dvi Tue May 8 10:55:58 2001
@@ -520,6 +520,7 @@
'''
if extra['pagenumber'] and extra['pagenumber'][-1] and extra['pagenumber'][-1]
!= 'no':
+ s = s + '\setcounter{page}{%s}\n' % (extra['pagenumber'][-1])
s = s + r'''
\renewcommand{\@evenhead}{\hbox
to\textwidth{\textbf{\thepage}\hfill{\small\theheader}}}
\renewcommand{\@oddhead}{\hbox to
\textwidth{{\small\theheader}\hfill\textbf{\thepage}}}
--- ./ly2dvi.itexi.orig Tue May 8 11:04:05 2001
+++ ./ly2dvi.itexi Tue May 8 11:08:43 2001
@@ -127,6 +127,9 @@
The music line width. It is normally read from the @code{\paper}
block.
+@item pagenumber
+ Set page numbering. Choices are @code{no} or an empty string (@code{""}) for no
+page numbers. Alternatively specify a number to start the numbering from. The default
+is page numbers starting from 1.
+
@item papersize
The paper size (as a name, e.g. @code{a4}). It is normally read from
the @code{\paper} block.
_______________________________________________
Gnu-music-discuss mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/gnu-music-discuss