Re: Is rst2odt -p cs supposed to work?

Matěj Cepl <[email protected]>
Newsgroups gmane.text.docutils.user
Organization <><
Message-ID <[email protected]>
On Wed, 2017-05-03 at 16:58 -0700, Dave Kuhlman wrote:
> Yes.  That was helpful.  I'm wondering if you will expect other
> kinds of styles to be changed also.  For example, under the
> "Tools" menu there are "Language" settings.

That’s just direct formatting forcing itself over the styles.
Don’t touch it.

> And, in the "Styles and Formating" window their are also
> character styles (when you click on the character icon).  The
> test I made does seem the change those also, which I guessing
> you want to happen.

I believe character styles cover just changes over the underlying
 paragraph style, so these follow "Default Style" as well (or
not, it seems that for example "Internet Link" has language set
to "None", which is sensible). At least I see here, that the
footnote reference is in Czech, when I create a footnote, which
is what I want.

In short, I believe that changing "Default Style" (or whatever is
its name in other locale, but I guess inside the ODT file itself
the displayed name does not matter, does it?) is enough for now.
We may discover later that we have created something wrong, but
we will deal with it then, I guess.

I have asked my colleague (I work for Red Hat) about this and his
conclusion was it should be enough to set language for
style:default-style style:family="paragraph" and style:default-
style style:family="graphic" into a fresh styles.xml.

> You've given me enough to start work with.  Thanks.  I'll
> report back when I've made a little progress and hopefully have
> something you can test.

BTW, I did not tell you how much I am grateful for having so well
working rst2odt script as we have. Thank you!

Matěj

-- 
http://matej.ceplovi.cz/blog/, Jabber: mcepl<at>ceplovi.cz
GPG Finger: 3C76 A027 CA45 AD70 98B5  BC1D 7920 5802 880B C9D8
 
Blessed be the God […] who comforts us in all our affliction, so
that we may be able to comfort those who are in any affliction,
with the comfort with which we ourselves are comforted by God.
  -- 2. Corinthians 1:3-4

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
signature.asc (application/pgp-signature, 836 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iQIcBAABAgAGBQJZCvE+AAoJEHkgWAKIC8nYz40P/00XAG9A2xpGnqfbrlIyRg2R
jQ4P5jBrl/SKN6TGHaaR5pH0wFYnV0FzcsBOCJZJT5mcoNZz7i5xngQwEqg8ld2w
O5DPdnMstogl8o4lLaOjxs8zsl3P+U/AydksGaYLTIiUTnmZO13ps4ZD8uFCqRBG
2PXIxN4F1nYRdJeXbIXxbIBjnk5lhDtNqX1Q8bAlyVTn8BdfQ7/TmSvh1xPGK7Ng
YXKWioV5dLcwZ8SYCZwdIiU8FxT3vgx3jKWEuCygepwf7b0/1Wgg2cZ21tVd5wmE
E/4aWMxXLbG8eP6vqTDAQaZmb3ziA0OSgx/svMmkRqgrwIE54RAu2c9fkay6+4k1
2opSGallS0WmfmYmXEYpB4ngapJuglwHXGkhXOnI+80LfPLBE5ZVtTAJgHhxSspL
gc6tWnKnwom8UW/NXduiBtilZi2zc6QYp0dCV39DSAfTFyje9a+E+CtQa1ethkK3
vTQ7fo9FQjIVXtTrs3xoZLzS/jXTvqn3M8doWaBn7EBKSMLJaaQzYoMsSo5FZy9S
4vXKr9Jq+fX1WdGHIzfIxClmSFrzX1GIbl6nqIG/ar+IyTx0j2C0k1mfubs0nTRX
tDwHkAb0ObgxFcGcw/wP2x4dzPMyulRKDcapAk9eGrbjfDrPq7HAjjJABN/cjtjE
VscLk1mom5+XbayK3+iA
=U2BS
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.