On 2012-09-28 14:30, Renato Pontefice wrote:
ho rinominato il file da rst a txt.
Questo รจ il comando che lancio
______________________________
renato@gnslab:~$ rst2pdf index.txt -o out.pdf
__________________________________
questo l' errore che ottengo:
____________________________________
index.txt:11: (ERROR/3) Unknown directive type "toctree".
.. toctree::
:maxdepth: 2
index.txt:17: (ERROR/3) Unknown interpreted text role "ref".
index.txt:18: (ERROR/3) Unknown interpreted text role "ref".
index.txt:19: (ERROR/3) Unknown interpreted text role "ref".
index.txt:20: (ERROR/3) Unknown interpreted text role "ref".
_____________________________________
che manca?
Queste sono direttive e ruoli di sphinx, che rst2pdf non capisce
(capisce solo il reST di base, non le estensioni). Grossomodo il
problema che ti dicevo ieri.
Ma Sphinx dichiara nella sua homepage di supportare PDF: devi cercare
nella documentazione di Sphinx come suggeriscono di fare
(http://sphinx.pocoo.org/search.html?q=pdf&check_keywords=yes&area=default).
Devi usare un loro builder, non il generico rst2pdf.
--
Daniele Varrazzo - Develer S.r.l.
http://www.develer.com
_______________________________________________
Python mailing list
Python@lists.python.it
http://lists.python.it/mailman/listinfo/python