| Commit message (Collapse) | Author | Age |
|\ |
|
| |
| |
| |
| |
| | |
This makes the header anchors in pandoc-generated ooxml match those
generated by word.
|
| | |
|
| |
| |
| |
| | |
For example, this fixes the display of a broken table, and
it also fixes the various HTML horizontal rules.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The new code was got from inspecting changes in MediaWiki.hs
This slightly changes the output of Div blocks, but I'm not
convinced the original behaviour was really correct anyway.
The code for handling Span does nothing for now, until I can
work out the desired behaviour, and add tests for it.
|
|\| |
|
| |
| |
| |
| |
| | |
Otherwise we get curly quotes in the PDF output.
Closes #1364.
|
| |
| |
| |
| |
| | |
Notes can't contain figures in LaTeX, so we fake it to avoid
an error. Closes #1053.
|
| |
| |
| |
| | |
Previously strikeout highlighted code caused an error.
|
| |
| |
| |
| |
| |
| |
| | |
Otherwise we get overly tall lines when there are empty
table cells and the other cells are compact.
Closes #1353.
|
| |
| |
| |
| | |
Avoids interpretation as list.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
Columns are now aligned. Closes #1323.
|
| |
| |
| |
| | |
Closes #1305.
|
| |
| |
| |
| |
| |
| |
| | |
This should have fixed #1305, allowing the reference.docx to define
section numbering, but it doesn't. Now the headings appear with proper
indentation, but the numbers don't appear. Unclear why. styles.xml and
numbering.xml basically match the docx which has the expected result.
|
| |
| |
| |
| |
| |
| | |
This opens up the possiblity (with further code changes) of
preserving some numbering from the reference.docx (e.g. header
numbering.) See #1305.
|
| |
| |
| |
| |
| |
| |
| | |
Now the minimum id used by pandoc is 990. All ids start with "99".
This gives some room for a reference.docx to define numbering styles.
Note: this is not yet possible, since pandoc generates numbering.xml
entirely on its own.
|
| |
| |
| |
| |
| |
| | |
Instead of sequential numbering, we assign numbers based on the
list marker styles. This simplifies some of the code and should
make it easier to modify numbering in the future.
|
| |
| |
| |
| |
| | |
This should be somewhat more robust and cover more types
of images.
|
| |
| |
| |
| |
| | |
No need to parse the XML if we're just going to render it
right away!
|
| |
| |
| |
| |
| |
| |
| | |
* All media from reference.docx are copied into result.
* Added defaults for common image types to [Content Types].
* Avoided redundant XML parse + write for entries taken over from
reference.docx, for better performance.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
This includes margins, page size, page orientation.
|
| |
| |
| |
| |
| | |
Note: in EPUB3 we can have only one dc:date, so only the first
one is used.
|
| |
| |
| |
| | |
See #1309.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In 1.12.4 and 1.12.4.2, the cover image would not appear properly,
because the metadata id was not correct.
This was introduced by the fix to #1254.
Now we derive the id from the actual cover image filename,
which we preserve rather than using "cover-image."
|
| | |
|
| |
| |
| |
| |
| | |
- toLabel is now monadic, and it does the needed string escaping.
- Closes #1130.
|
| |
| |
| |
| |
| |
| |
| |
| | |
* Undid changes to parseXml in last commit.
* Instead of a string fallback, we have parseXml fall back
on the reference.docx that comes with pandoc if the user's
reference.docx does not contain a needed file.
* Closes #1185.
|
| | |
|
| |
| |
| |
| | |
Closes #1246.
|
| |
| |
| |
| | |
Closes #1245.
|
| |
| |
| |
| |
| |
| |
| |
| | |
* Use isTightList from Shared.
* Adjust writer test, since isTightList is a bit different from what
was used before.
Closes #1250.
|
| |
| |
| |
| | |
Determined by the first block of the first item being Plain.
|
| |
| |
| |
| | |
Closes #1270.
|
| |
| |
| |
| |
| | |
Previously image links with queries were not recognized,
leading to use of an embed tag rather than an img tag.
|
| |\
| | |
| | | |
Improvements handling of internal links
|
| | |
| | |
| | |
| | | |
Prepend `\label{span-id}` to span contents iff `span-id` is defined.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Previously we used 0-width spaces, an ugly hack.
Closes #980.
|
| |/
| |
| |
| |
| |
| |
| | |
This fixes a problem with duplicate extensions for fonts and
images with the same base name but different extensions.
Closes #1254.
|
| |\
| | |
| | | |
Docbook output of Line Blocks
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Use a <literallayout> for the entire paragraph, not just for the
newline character
* Don't let LineBreaks inside footnotes influence the enclosing
paragraph
|