aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2011-11-23pandoc.hs : changed a couple `writerName` to `writerName'`.John MacFarlane1-2/+2
This fixes a bug in which `pandoc --self-contained` would only work properly if `-t html` were specified explicitly.
2011-11-22Set `--standalone` implicitly when non-text output format.John MacFarlane1-4/+4
(ODT, EPUB). This restores pandoc's previous behavior. You can again do `pandoc test.txt -o test.odt` and get a standalone ODT file. Resolves #351.
2011-11-21Removed Text.Pandoc.S5 -- no longer needed.John MacFarlane1-69/+0
2011-11-21Added --self-contained, integrated into src/pandoc.hs.John MacFarlane1-26/+24
--offline is now a deprecated synonym for --self-contained. TODO: Documentation, remove old S5 module.
2011-11-21Changed Offline module to SelfContained, offline to makeSelfContained.John MacFarlane1-5/+12
2011-11-21Added userdata directory parameter to fns in Offline.John MacFarlane1-31/+32
2011-11-20Offline: Look for relative URLs in data directory if not found.John MacFarlane1-1/+13
2011-11-20HTML writer: change s5-url to s5/default.John MacFarlane1-1/+1
2011-11-20Offline: Recursively resolve @imports in css files.John MacFarlane1-12/+35
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