Jeffrey C. Jacobs
2015-04-13 19:12:12 UTC
---
** [bugs:#276] ODT Writer strips classes from inline character markup when more than one class**
**Status:** open
**Group:** Default
**Created:** Mon Apr 13, 2015 07:12 PM UTC by Jeffrey C. Jacobs
**Last Updated:** Mon Apr 13, 2015 07:12 PM UTC
**Owner:** Jeffrey C. Jacobs
For the given RST markup:
.. role:: action
:class: action parenthetical
Hello... `(beat)`:action: ...there!
The generated ODT will only assign one style to the inline markup text "(beat)", rst-action. rst-parenthetical is not generated.
The Open Document Format allows multiple, nested text markup and the ODT writer should use this to mark up text when multiple classes are specified. http://ask.libreoffice.org/en/question/21875/writer-clarification-needed-about-character-attributes/
The fix shouldn't be too hard and is localized so I will consider making the change and posting a patch.
---
Sent from sourceforge.net because docutils-***@lists.sourceforge.net is subscribed to https://sourceforge.net/p/docutils/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
** [bugs:#276] ODT Writer strips classes from inline character markup when more than one class**
**Status:** open
**Group:** Default
**Created:** Mon Apr 13, 2015 07:12 PM UTC by Jeffrey C. Jacobs
**Last Updated:** Mon Apr 13, 2015 07:12 PM UTC
**Owner:** Jeffrey C. Jacobs
For the given RST markup:
.. role:: action
:class: action parenthetical
Hello... `(beat)`:action: ...there!
The generated ODT will only assign one style to the inline markup text "(beat)", rst-action. rst-parenthetical is not generated.
The Open Document Format allows multiple, nested text markup and the ODT writer should use this to mark up text when multiple classes are specified. http://ask.libreoffice.org/en/question/21875/writer-clarification-needed-about-character-attributes/
The fix shouldn't be too hard and is localized so I will consider making the change and posting a patch.
---
Sent from sourceforge.net because docutils-***@lists.sourceforge.net is subscribed to https://sourceforge.net/p/docutils/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.