From: Matěj C. <mc...@ce...> - 2017-05-04 09:15:52
|
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 |