diff options
author | Jesse Rosenthal <jrosenthal@jhu.edu> | 2015-02-13 14:07:50 -0500 |
---|---|---|
committer | Jesse Rosenthal <jrosenthal@jhu.edu> | 2015-02-19 00:17:04 -0500 |
commit | a01913b45c00891006a935f0d4f0a0cf2e054190 (patch) | |
tree | 14967f79b39529a938db2411a061bb3a110ded87 /tests/lhs-test.html | |
parent | 3480189e8e3edce51351629444e5ed0db2c21eef (diff) | |
download | pandoc-a01913b45c00891006a935f0d4f0a0cf2e054190.tar.gz |
Docx reader: Allow numbering in the style file.
This allows inherited styles with numbering (lists). It works like this:
1. check to see if the style has numbering info.
2. if the paragraph has explicit numbering info in the doc that takes
precedence.
3. if not we use the numbering info in the style, if it's there.
4. otherwise normal paragraph.
We no longer assume it's not a numbering element if it doesn't have an
explicit level---we just set that level to 1. (In the style files, the
examples I've seen don't have that explicit level.)
Diffstat (limited to 'tests/lhs-test.html')
0 files changed, 0 insertions, 0 deletions