[pyar] Progreso de la documentación a 3.2
Martín Marqués
martin.marques en gmail.com
Lun Mar 21 14:26:48 ART 2011
Solucion de compromiso... Use make latex, me meti en _build/latex/ y
corri el pdflatex para generar el pdf. No se porque no funciono el
make pdf (busco, pero no encuentro solucion alguna).
El día 21 de marzo de 2011 12:55, Martín Marqués
<martin.marques en gmail.com> escribió:
> Bueno, va bien la traducción a la version 3.2 del tutorial de python.
> Ya hice la primer pasada traduciendo todas las diferencias, y me queda
> dar una segunda pasada corrigiendo errores ortograficos (de esos que
> abundan en mi escritura), y una tercer para unificar criterios
> gramaticales con lo que ya existia.
>
> El problema que me surge ahora es que no puedo generar el PDF:
>
> $ make clean
> rm -rf _build/*
> $ make pdf
> sphinx-build -b pdf -d _build/doctrees . _build/pdf
> Making output directory...
> Running Sphinx v1.0.7
> loading translations [es]... done
> loading pickled environment... not yet created
> building [pdf]: targets for 16 source files that are out of date
> updating environment: 16 added, 0 changed, 0 removed
> reading sources... [100%] whatnow
> /home/martin/hg/python-tutorial/traducidos/classes.rst:700:
> (WARNING/2) Literal block expected; none found.
>
> /home/martin/hg/python-tutorial/traducidos/datastructures.rst:185:
> (WARNING/2) Literal block expected; none found.
>
> /home/martin/hg/python-tutorial/traducidos/datastructures.rst:425:
> (ERROR/3) Inconsistent literal block quoting.
>
> /home/martin/hg/python-tutorial/traducidos/index.rst:1: (WARNING/2)
> toctree contains reference to nonexisting document u'indice'
>
> /home/martin/hg/python-tutorial/traducidos/stdlib2.rst:54: (ERROR/3)
> Unknown interpreted text role "var".
>
> looking for now-outdated files... none found
> pickling environment... done
> checking consistency...
> /home/martin/hg/python-tutorial/traducidos/real-index.rst:: WARNING:
> document isn't included in any toctree
> done
> processing TutorialPython... index appetite interpreter introduction
> controlflow datastructures modules inputoutput errors classes stdlib
> stdlib2 whatnow interactive floatingpoint [ERROR] pdfbuilder.py:118
> BuildEnvironment instance has no attribute 'modules'
> Traceback (most recent call last):
> File "/usr/lib/python2.7/site-packages/rst2pdf/pdfbuilder.py", line
> 110, in write
> appendices=opts.get('pdf_appendices', self.config.pdf_appendices) or [])
> File "/usr/lib/python2.7/site-packages/rst2pdf/pdfbuilder.py", line
> 201, in assemble_doctree
> if self.config.pdf_use_modindex and self.env.modules:
> AttributeError: BuildEnvironment instance has no attribute 'modules'
> FAILED
> build succeeded, 6 warnings.
>
> Build finished. The PDF files are in _build/pdf.
>
>
> Ideas de que me esta faltando (o sobrando).
>
> --
> Martín Marqués
> select 'martin.marques' || '@' || 'gmail.com'
> DBA, Programador, Administrador
>
--
Martín Marqués
select 'martin.marques' || '@' || 'gmail.com'
DBA, Programador, Administrador
More information about the pyar
mailing list