I was having trouble setting the page size used by rst2odt.py when it
created an odt from and rst file, and so sent a message to developers
... because that was the email link at the top of the article I'd read
in an attempt to get help ...
... and the email bounced because I wasn't subscribed. Meanwhile ...
scrolling down, or using another link, came in contact with another
section of the very same posting ...
... which has set me right ! So, thanks.
I tried papersize and that business, but it was ...
$ rst2odt_prepstyles.py styles.odt
... that finally straightened me out.
I append my original email for ... the hell of it ...
Thanks again. It this doesn't bounce too.
I'm trying to generate .odt files with paper size a4 from .rst files.
I'm trying to follow the directions from
I use debian 7.6 64bit linux. I used
apt-get install python-docutils
to install the docutils programs.
to my home directory.
I opened it there and changed
Format| Page | Paper format | Format
from Letter to A4
and then saved my copy as
No one ever uses letter sized paper in Thailand, and I can change it in
any individual letters I write on letter size paper. I think I have
written one in the last 12 years .
I changed ownership and permissions to match the distribution
ls -l /usr/share/docutils/writers/odf_odt/
-rw-r--r-- 1 root root 16403 Jul 23 12:19 styles.odt
-rw-r--r-- 1 root root 16500 Jun 27 2011 styles.odt-dist
But when I run
rst2odt ooncd.en.rst ooncd.en.odt
ooncd.en.odt is still formatted for letter-size paper.
Can you see what I've done wrong?
John Francis Lee
Thanon Sanam Gila, Ban Fa Sai
79/151 Moo 22 T. Ropwieng
Mueang Chiangrai 57000
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
Docutils-users mailing list
Please use "Reply All" to reply to the list.