Open selfuryon opened 5 years ago
Hello, The standard reference document contains 'List 1'.. 'List 5' styles and a bunch of 'Numbering_XXX' styles. But these styles isn't used in a formatted document. Instead, every list (numbered or marked) generates its own style without reference to templates.
I think the good default behaviour would be to create a style for every list, but make it a reference to one of predefined list styles (via style:parent-style-name
attribute). Then we'll have consistency of using default and versatility of one style per list.
Next, we have paragraphs inside list items. Styles of these paragraphs are generated, too, and
have unique names. But these styles have references (style:parent-style-name=
) to a single Text_20_body
style. It would be good to have this system in lists' styles.
I'm sorry, but my Haskell level is very close to zero and I cannot make necessary changes in the code by myself. But if you'll point me to the right place in the code I can try it.
Hello!
Input: I have a gfm file like this:
And I want to get a ODT with my own style by this command:
pandoc -f gfm --toc --reference-doc=my_own_style.odt -o test.odt test.md
A problem: I want to customize a bulleted/numbered list with my own paragraph/list style:
But I found out that pandoc don't use any included style for that, it create its own both paragraph and list style (as I understand): content.xml:
Possible solution: I understand that I can change all styles after file generation, but it's hard to do again and again. As a possible solution - maybe use list 1/numbering 1 paragraph style and list style?
https://groups.google.com/forum/#!topic/pandoc-discuss/fv5dS0pRO2A