Discussion:
[Docutils-users] I am not subscribed ..
john francis lee
2014-07-23 07:16:06 UTC
Permalink
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.
--
John Francis Lee
Thanon Sanam Gila, Ban Fa Sai
79/151 Moo 22 T. Ropwieng
Mueang Chiangrai 57000
Thailand
engelbert gruber
2014-07-23 08:09:14 UTC
Permalink
first sorry: IMHO develop should not bounce,

second: sorry again , i will try to help with odt but it is not my main work

but how ... trying :-)

* which docutils version is it ?

* did anything the generated document change ?

cheers
Post by john francis lee
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.
--
John Francis Lee
Thanon Sanam Gila, Ban Fa Sai
79/151 Moo 22 T. Ropwieng
Mueang Chiangrai 57000
Thailand
------------------------------------------------------------------------------
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.
http://p.sf.net/sfu/bds
_______________________________________________
Docutils-users mailing list
https://lists.sourceforge.net/lists/listinfo/docutils-users
Please use "Reply All" to reply to the list.
David Goodger
2014-07-23 13:39:00 UTC
Permalink
On Wed, Jul 23, 2014 at 3:09 AM, engelbert gruber
Post by engelbert gruber
first sorry: IMHO develop should not bounce,
No mail bounced. All Docutils mailing lists are set to moderate mail
from addresses not subscribed ("message awaits approval"). This is to
prevent spam from getting through. Without this setting, we'd see
several unwanted messages every day.
--
David Goodger <http://python.net/~goodger>
engelbert gruber
2014-07-23 09:46:09 UTC
Permalink
and another apologize

i do not know why but i did not get the message that your message awaits
approval
it should now work, and as soon as you are approved you can post to develop
too
without being subscribed.

but for users docutils-users is better .

all the best
Post by john francis lee
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.
--
John Francis Lee
Thanon Sanam Gila, Ban Fa Sai
79/151 Moo 22 T. Ropwieng
Mueang Chiangrai 57000
Thailand
------------------------------------------------------------------------------
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.
http://p.sf.net/sfu/bds
_______________________________________________
Docutils-users mailing list
https://lists.sourceforge.net/lists/listinfo/docutils-users
Please use "Reply All" to reply to the list.
Loading...