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

5 views
Skip to first unread message

harp

unread,
Aug 22, 2008, 10:03:17 AM8/22/08
to pytho...@python.org
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?

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-Dev mailing list
Pytho...@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/python-dev2-garchive-22421%40googlegroups.com

Benjamin Peterson

unread,
Aug 22, 2008, 2:18:38 PM8/22/08
to harp, pytho...@python.org
On Fri, Aug 22, 2008 at 9:03 AM, harp <horvat...@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 at
http://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-Dev mailing list
> Pytho...@python.org
> http://mail.python.org/mailman/listinfo/python-dev

> Unsubscribe: http://mail.python.org/mailman/options/python-dev/musiccomposition%40gmail.com
>

--
Cheers,
Benjamin Peterson
"There's no place like 127.0.0.1."

harp

unread,
Aug 25, 2008, 9:19:56 AM8/25/08
to pytho...@python.org
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...@gmail.com>
wrote:


> On Fri, Aug 22, 2008 at 9:03 AM, harp <horvath.ar...@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...

Reply all
Reply to author
Forward
0 new messages