Hi all! > -----Message d'origine----- > De : John Chambers [mailto:[EMAIL PROTECTED]] > Envoyé : lundi 21 janvier 2002 05:09 > À : [EMAIL PROTECTED] > Objet : Re: [abcusers] Multiline footer and page number > > > Jean-Francois writes: > | On Thu, 17 Jan 2002 06:36:56 -0300, Luis Pablo Gasparotto wrote: > | >How can I create a footer with more than one line? Is > there some way to=20 > | >add page numbers like [title name] - [page number]? > | > | I think the question was for me (abcm2ps): the ABC people > don't bother > | about sheet footers! Well, I have it in my TODO list, but > it is not yet > | coded. Be patient... > > Yeah; me too. I haven't yet learned enough about PS, but I suspect > there oughta be a way to take an arbitrary page and add headers and > footers independently. You could let abc*2ps produce the PS for the > music, and then wrap it in appropriate edge decorations.
[...] It's easy (? anyway, it's the way I do it) if you both use abcm2ps and pdfLaTeX: - compile foo.abc to foo.ps with abcm2ps - convert foo.ps to foo.pdf (for example with GhostScript) - create document.tex with a call to the 'pdfpages' package to include every page of foo.pdf in your final document. The call to the 'pdfpages' package can have a 'pagecommand' option, for example to use a predefined pagestyle with a header, a footer or what you want. - compile document.tex to document.pdf and that's it... A dummy example for document.tex: \documentclass[a4paper, pdftex]{article} % To get only page numbers in the footers % If you want fancy headers and footers, use the 'fancyhdr' package \usepackage[pagecommand=\thispagestyle{plain}]{pdfpages} \begin{document} % To include every page of 'foo.pdf' \includepdf[pages==-]{foo.pdf} \end{document} It can look a little hard but IMHO it's a better idea to keep abcm2ps for the music typesetting and let pdfLaTeX do any fancy pagesetup for you (if I remember, Anselm Lingnau has beautiful examples of that sort of things). Hope it helps. Christophe To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html