From: john f. l. <jf...@ro...> - 2014-07-23 05:48:49
|
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 |