aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2011-11-19Converted Offline to use Tag String.John MacFarlane1-21/+18
2011-11-19Added Text.Pandoc.Offline module.John MacFarlane1-0/+239
2011-11-18AsciiDoc: Don't use Roman numerals in ordered lists.John MacFarlane1-2/+6
AsiiDoc doesn't support them.
2011-11-18Renamed to AsciiDoc. Fixed display math and escapes.John MacFarlane2-111/+111
AsciiDoc does not seem to have consistent escaping rules.
2011-11-18Skip raw HTML blocks in asciidoc.John MacFarlane1-2/+0
2011-11-18Fixed continuations in asciidoc definition lists.John MacFarlane1-5/+13
2011-11-18Removed link title in asciidoc.John MacFarlane1-9/+6
Apparently it is not supported.
2011-11-18Ensure blank line before html passthrough.John MacFarlane1-1/+1
2011-11-18Implemented ordered lists in asciidoc.John MacFarlane1-7/+14
2011-11-18Implemented bullet lists in asciidoc writer.John MacFarlane1-21/+18
2011-11-18Added fields to track list levels.John MacFarlane1-2/+8
2011-11-18Added comment about limitations of asciidoc conversion.John MacFarlane1-0/+6
2011-11-18Supported tables in asciidoc, added table tests.John MacFarlane1-39/+53
2011-11-18Pretty: Added chomp combinator.John MacFarlane1-0/+13
2011-11-17Indicate when a multiblock footnote is omitted.John MacFarlane1-1/+1
2011-11-17Supported definition lists.John MacFarlane1-10/+13
2011-11-17Use attributes for author/date.John MacFarlane1-1/+1
2011-11-16Added an asciidoc writer (partial).John MacFarlane4-1/+338
Still TODO: - documentation in README - add default.asciidoc to templates/ - lists - tables - proper escaping - footnotes with blank lines - print separately at end? currently they are just ignored. - fix header (date gives weird result on pandoc README)
2011-11-12LaTeX reader: Don't crash on commands like `\itemsep`.John MacFarlane1-1/+2
Closes #314.
2011-11-12LaTeX reader: Ignore empty groups {}, { }.John MacFarlane1-0/+8
Closes #322.
2011-11-12Add date to EPUB titlepage and metadata.John MacFarlane1-3/+8
Closes #323. Thanks to Ralf Stephan for the patch (slightly modified).
2011-11-11Implemented --citation-abbreviations option.John MacFarlane2-6/+20
Mostly due to Andrea Rossato.
2011-11-10Changed misleading documentation on markdown2pdf.John MacFarlane1-1/+1
markdown2pdf used to create a backup file if the output file exists; it doesn't any longer, but the documentation still said it does.
2011-11-10markdown2pdf: Use proper temp directory for latex processing.John MacFarlane1-9/+16
Previously /tmp/pandoc was used, which was problematic for several reasons. Closes #339.
2011-11-09Markdown citations: don't strip off initial space in locator.John MacFarlane1-1/+5
Previously `[@item1 and nowhere else]` yielded the locator ", and nowhere else", or, with the new citeproc-hs, "and nowhere else". Now it yields " and nowhere else".
2011-11-08TeXMath writer: Use unicode thin spaces for thin spaces.John MacFarlane1-1/+7
Partially resolves issue #333.
2011-11-07HTML writer: Use `<section>` for footnotes if html5.John MacFarlane1-2/+4
2011-11-07Biblio: Fixed mess created by my removing procInlines.John MacFarlane1-11/+20
Now I see that procInlines was needed to prevent bottomUp from acting on sublists. This should fix the problem where '@item1, @item1' yielded "Doe (1999), Doe Doe Doe Doe (1999)".
2011-11-07Biblio - fixed author-in-text citations so they don't double.John MacFarlane1-1/+1
2011-11-07Biblio - Removed redundancy.John MacFarlane1-3/+2
2011-11-06Biblio: Put whole author-in-text citation in a Cite.John MacFarlane1-4/+4
Previously just the date and other info went in the Cite.
2011-11-06Further simplification of Biblio.John MacFarlane1-7/+8
2011-11-06Further cleanup of Biblio.John MacFarlane1-3/+3
2011-11-06Simplified Biblio, removed procInlines, use generics instead.John MacFarlane1-24/+15
2011-11-06Markdown reader: allow punctuation only internally in cite keys.John MacFarlane1-1/+2
The characters '.',':',';','$','<','>','~','#','-','_' can be used only between two letters or digits in a citation key. This means that '@item1.' will be parsed as a citation, 'item1', followed by a period, instead of a citation 'item1.', as was the case previously. Thanks to David Sanson for alerting us to the problem.
2011-11-04Don't add comma+space to prefix if it ends in punctuation.John MacFarlane1-5/+1
Patch from Andrea Rossato.
2011-10-28Text.Pandoc.Biblio: Expand citations recursively inside nested inlines.John MacFarlane1-7/+5
Closes #331.
2011-10-27Biblio: Treat \160 as space when parsing locator and suffix.John MacFarlane1-2/+6
This fixes a bug with "p. 33" when `--smart` is used. Previously the whole "p. 33" would be included in the suffix, with no locator.
2011-10-27Don't generate superfluous file `cover-image.jpg`.John MacFarlane1-2/+0
Closes #319.
2011-10-27Added TOC identifier in EPUB page template.John MacFarlane1-0/+2
Closes #329.
2011-10-26Removed redundant import.John MacFarlane1-1/+1
2011-10-25HTML reader now recognizes DocBook block and inline tags.John MacFarlane2-6/+26
It was always possible to include raw DocBook tags in a markdown document, but now pandoc will be able to distinguish block from inline tags and behave accordingly. Thus, for example, <sidebar> hello </sidebar> will not be wrapped in `<para>` tags.
2011-10-02HTML slides: only add id to div/section if --section-divs selected.John MacFarlane1-6/+5
2011-10-02Simplified slide creation in HTML writer.John MacFarlane1-26/+18
A horizontal rule now gets transformed into an empty H1 header before 'hierarchicalize' is called. If the document that does not begin with an H1 header, an empty one is provided. This avoids the need for kludgy raw HTML. Also, the 'titleslide' class is added to any section containing just a title: ---- ----
2011-10-01Added dzslides output option.John MacFarlane4-8/+18
* Added DZSlides to HTMLSlideVariant. * Added support for dzslides in HTML writer. * Added dzslides template.
2011-10-01LaTeX writer: don't escape # or ~ inside href{...}.John MacFarlane1-7/+11
Closes #309.
2011-09-23Added escaping of euro character to LaTeX writer.John MacFarlane1-0/+1
Partially resolves #309.
2011-09-05RST writer: Fixed bug involving empty table cells.John MacFarlane1-1/+1
isSimple was being calculated in a way that assumed there were no non-empty cells. Resolves #299. Thanks to rmunoz for reporting the bug.
2011-09-02TypeSynonymInstances no longer implies FlexibleInstances in GHC 7.2Antoine Latter1-1/+1
2011-08-23allow footnotes followed by newline without space charstakahashim1-2/+2