[Python-Dev] Doc translation -- from LaTeX to reStructuredText

harp horvath.arpad at roik.bmf.hu
Mon Aug 25 15:19:56 CEST 2008


Not succeeded. I have done these steps:

- I downloaded the tutorial in LaTeX. (http://www.python.org/doc/2.5.2/
download/ )
- Extracted.
- Put the hungarian tut.tex into the tut directory
- downloaded the files from http://svn.python.org/view/doctools/converter
- Run the `convert.py . ../pydoc` in the /Python-Docs-2.5.2 directory
- Because of some errors* I leave only the 'tut' item in the subdirs
in converter/__init__.py (for subdir in...)
- Run again.
- In the pydoc/tutorial directory there is only an index.rst file. No
appetite.rst and so on. And the index.rst is english as well.

*The error message mentioned above:

(...) lib/libal.tex lib/liballos.tex
Traceback (most recent call last):
  File "./converter/convert.py", line 26, in <module>
    convert_dir(destdir, *sys.argv[3:])
  File "/home/ha/Munkaasztal/Python-Docs-2.5.2/convert/converter/
__init__.py", line 86, in convert_dir
    newname = fn_mapping[subdir][filename]
KeyError: 'libamoeba'


On aug. 22, 20:18, "Benjamin Peterson" <musiccomposit... at gmail.com>
wrote:
> On Fri, Aug 22, 2008 at 9:03 AM, harp <horvath.ar... at roik.bmf.hu> wrote:
> >  Dear Developers,
>
> > We have translated the tutorial into Hungarian earlier, and I do not
> > know how to convert the LaTeX file into reStructuredText. Could
> > somebody help us?
>
> Have you looked at the LaTeX to reST converter athttp://svn.python.org/view/doctools/converter?
>
>
>
> > HTML:http://pythonlib.pergamen.hu/html/tut/
> > LaTeX file:http://mail.roik.bmf.hu/linux/python/tutorial/tut.tex
>
> > There will be included translations of documentation on the python.org
> > homepage?
>
> >   Arpad
.python.org/mailman/options/python-dev/musiccomposition%40...
>
> --
> Cheers,
> Benjamin Peterson
> "There's no place like 127.0.0.1."


More information about the Python-Dev mailing list