aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers
AgeCommit message (Collapse)AuthorFilesLines
2014-04-24Markdown writer: Use proper escapes to avoid unwanted lists.John MacFarlane1-11/+16
Previously we used 0-width spaces, an ugly hack. Closes #980.
2014-04-23EPUB writer: include extension in epub ids.John MacFarlane1-6/+11
This fixes a problem with duplicate extensions for fonts and images with the same base name but different extensions. Closes #1254.
2014-04-13Merge pull request #1240 from neilmayhew/masterJohn MacFarlane1-3/+16
Docbook output of Line Blocks
2014-04-12Improve handling of hard line breaks in Docbook writerNeil Mayhew1-3/+16
* Use a <literallayout> for the entire paragraph, not just for the newline character * Don't let LineBreaks inside footnotes influence the enclosing paragraph
2014-04-12Org writer: Fix output for linebreaksAlbert Krewinkel1-1/+1
Hard linebreaks in Org mode are represented by the string "\\" as the last characters in a line. Adds this feature to the Org-mode writer.
2014-04-06LaTeX writer: Workaround for level 4-5 headers in quotes.John MacFarlane1-2/+14
These previously produced invalid LaTeX: `\paragraph` or `\subparagraph` in a `quote` environment. This adds an `mbox{}` in these contexts to work around the problem. See http://tex.stackexchange.com/a/169833/22451. Closes #1221.
2014-04-04LaTeX writer: handle line breaks in simple table cells.John MacFarlane1-1/+20
Closes #1217.
2014-04-04Correctly handle UTF-8 in custom lua scripts. Closes #1189.John MacFarlane1-2/+1
2014-04-04Custom writer: read lua script as UTF-8.John MacFarlane1-1/+2
This should fix #1189.
2014-03-31Make --toc-depth work well with books in latex/pdf output.John MacFarlane1-2/+2
Closes #1210.
2014-03-30Markdown writer: Use longer backtick fences if needed.John MacFarlane1-1/+5
If the content contains a backtick fence and there are attributes, make sure longer fences are used to delimit the code. Note: This works well in pandoc, but github markdown is more limited, and will interpret the first string of three or more backticks as ending the code block. Closes #1206.
2014-03-24RTF writer: Fixed tables cells containing paragraphs.John MacFarlane1-1/+1
This moves \intbl after \pard.
2014-03-14EPUB writer: Handle files linked in raw img tags.John MacFarlane1-1/+1
See #1170.
2014-03-14EPUB writer: Handle media in audio source tags.John MacFarlane1-27/+28
This should resolve the rest of #1170, but it needs extensive testing. Note that we now use a 'media' directory rather than 'images'.
2014-03-14EPUB writer: Incorporate files linked in <video> tags.John MacFarlane1-10/+46
src and poster will both be incorporated into content.opf and the epub container. This partially address #1170. Still need to do something similar for <audio>.
2014-03-14RST writer: Avoid stack overflow with certain tables.John MacFarlane1-2/+6
Closes #1197. Note that there are still problems with the formatting of the tables inside tables with output produced from the input file in the original bug report. But this fixes the stack overflow problem.
2014-03-12Man writer: Ensure that terms in definition lists aren't line wrapped.John MacFarlane1-1/+1
Closes #1195.
2014-03-05HTML writer: Add colgroup around col tags.John MacFarlane1-5/+10
Also affects EPUB writer. Closes #877.
2014-03-04Merge branch 'master' of https://github.com/mb21/pandoc into mb21-masterJohn MacFarlane1-0/+525
2014-02-28InDesign ICML Writermb211-0/+525
2014-02-17Merge pull request #1145 from wilx/en-dash-ligature-avoidanceJohn MacFarlane1-1/+1
Use \/ to avoid en-dash ligature instead of -{}-.
2014-02-17HTML writer: Fixed bug with unnumbered section headings.John MacFarlane1-1/+2
Unnumbered section headings (with class 'unnumbered') were getting numbers. This commit fixes the bug.
2014-02-09Merge remote-tracking branch 'origin/master' into en-dash-ligature-avoidance.Vaclav Zeman16-237/+935
2014-02-08Use \/ to avoid en-dash ligature instead of -{}-.Vaclav Zeman1-1/+1
This is to fix LuaLaTeX output. The -{}- sequence does not avoid the ligature with LuaLaTeX but \/ does.
2014-01-07Fixed small regression in docx writer.John MacFarlane1-3/+6
2014-01-06EPUB writer: Strip out footnotes from toc entries.John MacFarlane1-5/+6
2014-01-06EPUB writer: Avoid duplicate notes when headings contain notes.John MacFarlane1-1/+7
This arose because the headings are copied into the metadata "title" field, and the note gets rendered twice. We strip the note now before putting the heading in "title".
2014-01-06HTML writer: Omit footnotes from TOC entries.John MacFarlane1-1/+3
Otherwise we get doubled footnotes when headers have notes!
2014-01-02RST writer: Ensure no blank line after def in definition list.John MacFarlane1-1/+1
Closes #992.
2014-01-02HTML writer: With --toc, headers no longer link to themselves.John MacFarlane1-15/+8
Closes #1081.
2014-01-02Use isHeaderBlock from Shared rather than defining it anew...John MacFarlane2-9/+3
2014-01-02ODT writer: Use mathml for proper rendering of formulas.John MacFarlane1-8/+42
Note: LibreOffice's support for this seems a bit buggy. But it should be better than what we had before.
2014-01-02OpenDocument writer: Fixed RawInline, RawBlock so they don't escape.John MacFarlane1-6/+10
2014-01-02Moved fixDisplayMath from Docx writer to Writer.Shared.John MacFarlane2-25/+29
2014-01-01Docx writer: Fixed problem with some modified reference docx files.John MacFarlane1-2/+7
Include `word/_rels/settings.xml.rels` if it exists, as well as other `rels` files besides the ones pandoc generates explicitly.
2013-12-19HLint: use fromMaybeHenry de Valence5-12/+16
Replace uses of `maybe x id` with `fromMaybe x`.
2013-12-19HLint: use /=Henry de Valence1-1/+1
2013-12-19HLint: redundant parensHenry de Valence3-3/+3
Remove parens enclosing a single element.
2013-12-19HLint: Remove lambdas.Henry de Valence1-2/+1
2013-12-19HLint: use `elem` and `notElem`Henry de Valence2-6/+7
Replaces long conditional chains with calls to `elem` and `notElem`.
2013-12-19HLint: Use allHenry de Valence1-4/+4
Replace `and . map` with `all`.
2013-12-17LaTeX writer: Better treatment of footnotes in tables.John MacFarlane1-6/+29
Notes now appear in the regular sequence, rather than in the table cell. (This was a regression in 1.10.)
2013-12-17LaTeX writer: Factored out function for table cell creation.John MacFarlane1-13/+17
2013-12-13EPUB writer: Fixed bug with `--epub-stylesheet`.John MacFarlane1-2/+1
Now the contents of `writerEpubStylesheet` (set by `--epub-stylesheet`) should again work, and take precedence over a stylesheet specified in the metadata.
2013-12-09Don't use tilde code blocks with braced attributes in gfm output.John MacFarlane1-9/+9
A consequence of this change is that the backtick form will be preferred in general if both are enabled. I think that is good, as it is much more widespread than the tilde form. Closes #1084.
2013-12-03Merge pull request #1076 from jlduran/booktabsJohn MacFarlane1-5/+5
Add booktabs package for LaTeX tables
2013-12-04Add booktabs package for LaTeX tablesJose Luis Duran1-5/+5
[ci skip]
2013-12-03EPUB writer: Allow 'stylesheet' in metadata.John MacFarlane1-11/+22
The value is a path to the stylesheet.
2013-12-01EPUB writer: Allow partial dates: YYYY, YYYY-MM.John MacFarlane1-3/+14
Improves on #1074, since now we don't default to January 1.
2013-11-30EPUB writer: Insert "svg" property as needed in opf (EPUB 3).John MacFarlane1-3/+9