aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc
AgeCommit message (Collapse)AuthorFilesLines
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 MacFarlane1-0/+333
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 MacFarlane1-5/+10
Mostly due to Andrea Rossato.
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-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 MacFarlane2-3/+10
* 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-08-23allow footnotes followed by newline without space charstakahashim1-2/+2
2011-08-20ConTeXt writer: Changed 'descr' to 'description', fixed alignment.John MacFarlane1-2/+2
2011-08-18ConTeXt: Use buffering for footnotes containing code blocks.John MacFarlane1-2/+8
Closes #291.
2011-08-18ConTeXt: Escape # in link URLs.John MacFarlane1-1/+2
Partially addresses #291.
2011-08-18Templates: Return empty string for json template.John MacFarlane1-0/+1
Thanks to Dirk Laurie for pointing out the bug.
2011-08-01HTML reader: Fixed bug parsing tables w both thead and tbody.John MacFarlane1-0/+1
See bug #274, which was not completely fixed by the last patch.
2011-07-30Added PRAGMA needed for ghc 6.12.John MacFarlane1-0/+1
2011-07-30Removed applicative stuff in Markdown reader.John MacFarlane1-16/+16
It requires parsec 3, and currently pandoc can build with parsec 2.
2011-07-30Markdown reader: Improved emph/strong parsing.John MacFarlane1-13/+34
Ported code from pandoc2. Now all tests pass.
2011-07-30Added nonspaceChar to Text.Pandoc.Parsing.John MacFarlane1-0/+5
2011-07-28Fix template problem for epub.John MacFarlane1-0/+1
2011-07-28Added s5-url and slidy-url variables, instead of hard-coding.John MacFarlane1-1/+2
If you want to put your slidy files in the slidy subdirectory, for example, you can do pandoc -t slidy -V slidy-url=slidy -s