john francis lee
2014-07-23 07:16:06 UTC
Hi,
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 ...
http://docutils.sourceforge.net/docs/user/odt.html#defining-and-using-a-custom-stylesheet
... 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 ...
http://docutils.sourceforge.net/docs/user/odt.html#page-size
... 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.
====================================================================
Hi,
I'm trying to generate .odt files with paper size a4 from .rst files.
I'm trying to follow the directions from
http://docutils.sourceforge.net/docs/user/odt.html#defining-and-using-a-custom-stylesheet
I use debian 7.6 64bit linux. I used
apt-get install python-docutils
to install the docutils programs.
I copied
/usr/share/docutils/writers/odf_odt/styles.odt
to my home directory.
I opened it there and changed
Format| Page | Paper format | Format
from Letter to A4
I saved
/usr/share/docutils/writers/odf_odt/styles.odt
as
/usr/share/docutils/writers/odf_odt/styles.odt-dist
and then saved my copy as
/usr/share/docutils/writers/odf_odt/styles.odt
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/
total 40
-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?
Thanks.
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 ...
http://docutils.sourceforge.net/docs/user/odt.html#defining-and-using-a-custom-stylesheet
... 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 ...
http://docutils.sourceforge.net/docs/user/odt.html#page-size
... 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.
====================================================================
Hi,
I'm trying to generate .odt files with paper size a4 from .rst files.
I'm trying to follow the directions from
http://docutils.sourceforge.net/docs/user/odt.html#defining-and-using-a-custom-stylesheet
I use debian 7.6 64bit linux. I used
apt-get install python-docutils
to install the docutils programs.
I copied
/usr/share/docutils/writers/odf_odt/styles.odt
to my home directory.
I opened it there and changed
Format| Page | Paper format | Format
from Letter to A4
I saved
/usr/share/docutils/writers/odf_odt/styles.odt
as
/usr/share/docutils/writers/odf_odt/styles.odt-dist
and then saved my copy as
/usr/share/docutils/writers/odf_odt/styles.odt
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/
total 40
-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?
Thanks.
--
John Francis Lee
Thanon Sanam Gila, Ban Fa Sai
79/151 Moo 22 T. Ropwieng
Mueang Chiangrai 57000
Thailand
John Francis Lee
Thanon Sanam Gila, Ban Fa Sai
79/151 Moo 22 T. Ropwieng
Mueang Chiangrai 57000
Thailand