aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers
AgeCommit message (Collapse)AuthorFilesLines
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
2013-11-19Docbook writer: Hierarchicalize block content in metadata.John MacFarlane1-2/+3
Previously headers just disappeared from block-level metadata when it was used in templates. Now we apply the 'hierarchicalize' transformation. Note that a block headed by a level-2 header will turn into a `<sect1>` element.
2013-11-19Epub Writer: Add cover reference to guide element (v2)Shaun Attfield (shaun@victor)1-4/+5
Avoiding an unnecessary list concatenation. Fixes an issue with calibre http://calibre-ebook.com/ putting the cover at the end of the book if the spine has linear="no". Apparently this is best practice for other converters as well. http://www.idpf.org/epub/20/spec/OPF_2.0.1_draft.htm#Section2.6
2013-11-18Epub Writer: Add cover reference to guide elementShaun Attfield (shaun@victor)1-2/+4
Fixes an issue with calibre http://calibre-ebook.com/ putting the cover at the end of the book if the spine has linear="no". Apparently this is best practice for other converters as well. http://www.idpf.org/epub/20/spec/OPF_2.0.1_draft.htm#Section2.6
2013-11-16OpenDocument: Skip raw HTML.John MacFarlane1-2/+2
Previously it was erroneously included as verbatim text. Closes #1035.
2013-11-16LaTeX writer: Properly escape pdftitle, pdfauthor.John MacFarlane1-2/+4
Closes #1059.
2013-11-12HTML/EPUB footnotes: Put `<sup>` tag inside `<a>` tags.John MacFarlane1-4/+4
This allows better control of formatting, since the `<a>` tags have a distinguishing class. Closes #1049.
2013-11-07Docx writer: fixed core metadata.John MacFarlane1-4/+5
- Don't create empty date nodes if no date given. - Don't create multiple dc:creator nodes; instead separate by semicolons. Closes #1046.
2013-11-06Docx writer: Fix URL for core-properties in `_rels/.rels`.John MacFarlane1-1/+1
Partially addresses #1046.
2013-11-06Don't print `<span>` tags in 'plain' output.John MacFarlane1-1/+4
2013-11-01TexMath: Export readTeXMath', which attends to display/inline.John MacFarlane7-12/+13
Deprecate readTeXMath, and use readTeXMath' in all the writers. Require texmath >= 0.6.5.
2013-10-26Text.Pandoc.Writer.Shared: fixed bug in tagWithAttrs.John MacFarlane1-3/+2
A space was omitted before key-value attributes, leading to invalid HTML.
2013-10-21Fix definition lists with internal links in terms (closes #1032).John MacFarlane1-1/+8
This fix puts braces around a term that contains an internal link, to avoid problems with square brackets.
2013-10-20Fixed '. . .' (pause) on HTML slide formats. Closes #1029.John MacFarlane1-3/+2
The old version caused a pause to be inserted before the first material on a slide. This has been fixed.
2013-10-17LaTeX writer: Specially escape non-ascii characters in labels.John MacFarlane1-6/+14
Otherwise we can get compile errors and other bugs when compiled with pdflatex. Closes #1007. Thanks to begemotv2718 for the fix.
2013-10-17LaTeX writer: Add link anchors for code blocks with identifiers.John MacFarlane1-5/+11
Closes #1025.
2013-10-16Use isURI instead of isAbsoluteURI.John MacFarlane5-10/+10
It allows fragments identifiers.
2013-10-13Treat div with class "notes" as speaker notes in slide formats.John MacFarlane2-3/+15
Currently beamer goes to `\note{}`, revealjs to `<aside class="notes">`, and the notes are simply suppressed in other formats. Closes #925.
2013-10-13HTML writer: Insert command to typeset mathjax for slideous output.John MacFarlane1-1/+5
Closes #966.
2013-10-11RST writer: Skip spaces after display math.John MacFarlane1-2/+8
Otherwise we get indentation problems, and part of the next paragraph may be rendered as part of the math.
2013-10-06Removed code that forces MathJax to typeset.John MacFarlane1-2/+1
Closes #1012. Reopens #966. A better solution for #966 will just affect slideous, not the other slide writers.
2013-09-24OpenDocument writer: don't use font-face-decls variable.John MacFarlane1-7/+0
2013-09-25src/Text/Pandoc/Writers/OpenDocument.hs: Fix formatting of strikeout code.Václav Zeman1-4/+15
2013-09-19Markdown reader: small code improvement.John MacFarlane1-5/+5
2013-09-19LaTeX writer: Don't print biblio if --natbib or --biblatex option used.John MacFarlane1-10/+17
2013-09-19DOCX writer: Add missing settings.xml to the zip container.John MacFarlane1-1/+3
Closes #990.
2013-09-12Markdown writer: Print references if output is 'plain'.John MacFarlane1-1/+2
2013-09-12HTML writer: Ensure proper escaping in header metadata.John MacFarlane1-4/+5
2013-09-08Made . . . for pause work in all slide show formats except slideous.John MacFarlane1-7/+15
2013-09-06Markdown writer: Fixed bugs in YAML header output.John MacFarlane1-3/+3