[pyar] OT: rst
Rodolfo Hugo González
lu8ekg en gmail.com
Mie Dic 15 11:09:53 ART 2010
El 15/12/10 10:37, Sebastian Bassi escribió:
> 2010/12/15 Rodolfo Hugo González <lu8ekg en gmail.com
> <mailto:lu8ekg en gmail.com>>
>
>
> No he encontrado la forma de hacer que al usar *rst2pdf* me numero las
> hojas.
> Alguien me puede tirar una cuerda? Ando contra reloj para la entrega de
> los trabajos... y me atranqué con ese tema.
>
>
> Encontré esto que parece relevante:
>
> Headers and Footers
> ===================
>
> ReST supports headers and footers, using the header and footer directive::
>
> .. header::
>
>
> This will be at the top of every page.
>
> Often, you may want to put a page number there, or a section name.The following
> magic tokens will be replaced (More may be added as rst2pdf evolves):
>
> ###Page###
>
> Replaced by the current page number.
> ###Title###
> Replaced by the document title
> ###Section###
> Replaced by the currect section title
> ###SectNum###
> Replaced by the currect section number. **Important:** You must use the sectnum directive for this to work.
>
> ###Total###
> Replaced by the total number of pages in the document. Keep in mind that this is the **real** number of pages, not the displayed number, so if you play with `page counters`_ this number will probably be wrong.
>
>
> Headers and footers are visible by default but they can be disabled by specific
> `Page Templates`_ for example, cover pages. You can also set headers and footers
> via `command line options` or the `configuration file`_.
>
>
> If you want to do things like "put the page number on the *out* side of the page, check `The oddeven directive`_
>
>
Gracias Seba... ya lo estoy probando...
Rolfo
------------ próxima parte ------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://listas.python.org.ar/pipermail/pyar/attachments/20101215/5cbc5e6d/attachment.sig>
More information about the pyar
mailing list