aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers
AgeCommit message (Collapse)AuthorFilesLines
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
2013-11-30EPUB writer: Simplify imageTypeOf using getMimeType.John MacFarlane1-9/+3
2013-11-30EPUB writer: Add properties attribute to cover-image item for EPUB v3.John MacFarlane1-1/+6
2013-11-30Markdown writer: Fix rendering of tight sublists.John MacFarlane1-1/+8
E.g. - foo - bar - baz Previously a spurious blank line was included before the last item. Closes #1050.
2013-11-30ODT writer: Add `draw:name` attribute to `draw:frame` elements.John MacFarlane1-2/+8
This is reported to be necessary to avoid an error from recent versions of Libre Office when files contain more than one image. Closes #1069. Thanks to wmanley for reporting and diagnosing the problem.
2013-11-30ConTeXt writer: Don't hardcode figure/table placement.John MacFarlane1-4/+4
Instead, let this be set in the template, using `\setupfloat`. Thanks to Aditya Mahajan for the suggestion.
2013-11-30Fixed `cover-image` in EPUB YAML metadata.John MacFarlane1-1/+2
2013-11-30Allow specification of epub-cover-image in YAML metadata.John MacFarlane1-9/+8
2013-11-30EPUB writer: Improved metadata handling.John MacFarlane1-51/+591
* Metadata may now be included in YAML blocks in a markdown document. For example, --- title: - type: main text: My Book - type: subtitle text: An investigation of metadata creator: - role: author text: John Smith - role: editor text: Sarah Jones identifier: - scheme: DOI text: doi:10.234234.234/33 publisher: My Press rights: (c) 2007 John Smith, CC BY-NC ... * Metadata may still be provided using `--epub-metadata`; it will be merged with the metadata in YAML blocks. * meta tags are used instead of opf attributes for EPUB3.
2013-11-23Docx writer: Implemented csl flipflopping spans.John MacFarlane1-1/+6
2013-11-23LaTeX writer: Handle csl flipflopping spans (csl-no-emph, etc.)John MacFarlane1-1/+10
2013-11-23HTML writer: Handle csl flipflopping spans (csl-no-emph, etc.)John MacFarlane1-2/+16
2013-11-22EPUB writer: Don't include node for cover.xhtml if no cover!John MacFarlane1-2/+3
2013-11-22EPUB writer: Ensure that same identifier is used throughout.John MacFarlane1-9/+13
If dc:identifier is given in metadata, we use that; otherwise we use a random uuid. Closes #1044.
2013-11-22ConTeXt writer: Use setupcaption to separate style from content.John MacFarlane1-1/+1
Instead of adding 'nunumber' every time we place a figure... Closes #1067.
2013-11-19Docx writer: Use mime type info returned by fetchItem.John MacFarlane1-11/+13