aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers
AgeCommit message (Collapse)AuthorFilesLines
2012-09-12HTML writer: Improve line breaks with `<dd>` tags.John MacFarlane1-1/+2
We now put a newline between `</dd>` and `<dd>` when there are multiple definitions.
2012-09-06Made --id-prefix work in DocBook as well as HTML.John MacFarlane1-1/+1
Closes #607.
2012-09-05Docx writer: Fixed bug with nested lists.John MacFarlane1-20/+19
Previously a list like 1. one - a - b 2. two would come out with a bullet instead of "2." Thanks to Russell Allen for reporting the bug.
2012-08-25EPUB: Use title instead of "Title Page" in contents.John MacFarlane1-1/+1
Otherwise we have a hard-coded English string, which looks strange in ebooks written in other languages. Using the title for this entry seems a good solution. Closes #572.
2012-08-23Merge commit 'd25656571a4662a4e67b195daed69e77d80c4c2c'John MacFarlane1-2/+21
Conflicts: src/Text/Pandoc/Writers/ODT.hs
2012-08-23Don't strip meta and link elements in epub metadata.John MacFarlane1-3/+5
Per http://idpf.org/epub/30/spec/epub30-publications.html#sec-metadata-elem, a metadata element can contain not just Dublin Core elements but also meta and link elements, but Pandoc currently strips those out. Patch from aberrancy. Closes #589.
2012-08-21Implemented Ext_backtick_code_blocks.John MacFarlane1-6/+14
This is the variant github prefers.
2012-08-21Added Ext_fenced_code_attributes.John MacFarlane1-2/+4
2012-08-21Changed nomenclature, delimited -> fenced code blocks.John MacFarlane1-3/+3
2012-08-18Man writer: Escape - as \-.John MacFarlane1-1/+1
Unescaped -'s become hyphens, while \-'s are left as ascii minus signs. That is preferable for use with command-line options. See http://lintian.debian.org/tags/hyphen-used-as-minus-sign.html. Thanks to Andrea Bolognani for bringing the issue to our attention.
2012-08-17Docx line breaks: Use w:cr in w:r instead of w:br.John MacFarlane1-5/+6
This seems to fix a problem viewing pandoc-generated docx files in LibreOffice.
2012-08-12Implemented Ext_mmd_title_block in markdown reader & writer.John MacFarlane1-6/+29
2012-08-11Implemented tex_math extensions in markdown writer.John MacFarlane1-4/+18
2012-08-11Implemented Ext_markdown_attribute in markdown writer.John MacFarlane1-2/+19
2012-08-09Use safeRead instead of using reads directly (various modules).John MacFarlane1-3/+3
2012-08-08Changes to literate haskell options.John MacFarlane4-9/+6
- Removed writerLiterateHaskell from WriterOptions. - Removed readerLiterateHaskell from ReaderOptions. - Added Ext_literate_haskell to Extensions. Test for this instead of the above. - Removed failUnlessLHS from Shared. Note: At this point, +lhs and .lhs extension no longer has any effect. Need to fix.
2012-08-05Markdown writer: Tables now sensitive to table extension options.John MacFarlane1-21/+42
Ext_simple_table, Ext_multiline_tables, Ext_pipe_tables. Simple tables are preferred over pipe tables when both are enabled. If no appropriate table style is available, a raw HTML table is used. So far there is no option for output of grid tables.
2012-08-05Started making markdown table writer sensitive to options.John MacFarlane1-32/+49
So far incomplete.
2012-08-04Don't include empty captions in figures.John MacFarlane6-17/+32
Closes #581.
2012-08-02Don't use escaped line breaks in plain output.John MacFarlane1-1/+3
2012-08-02Made markdown writer sensitive to Ext_subscript/superscript/strikeout.John MacFarlane1-3/+9
HTML is used if these are disabled.
2012-08-02Made markdown writer sensitive to Ext_definition_lists.John MacFarlane1-8/+13
IF not set, definition lists will be rendered as regular paragraphs, with the term set off by a line break.
2012-08-02Made markdown writer sensitive to Ext_startnum, Ext_fancy_lists.John MacFarlane1-1/+5
2012-08-02Made markdown reader sensitive to Ext_raw_tex.John MacFarlane1-2/+3
2012-08-02Made markdown writer sensitive to Ext_table_captions.John MacFarlane1-1/+1
2012-08-02Made markdown writer sensitive to Ext_pandoc_title_blocks.John MacFarlane1-1/+2
2012-08-02Made markdown writer sensitive to Ext_footnotes.John MacFarlane1-4/+10
If footnotes not enabled, footnotes are formatted like normal markdown paragraphs, with a marker like [3].
2012-07-27Replaced writerStrict with writerExtensions in WriterOptions.John MacFarlane2-17/+21
Still have not implemented individual tests for all the extensions in the markdown writer.
2012-07-26Moved WriterOptions and associated types Shared -> Options.John MacFarlane19-12/+25
2012-07-26Fixed whitespace errors.John MacFarlane12-257/+257
2012-07-24Use catch from Control.Exception to avoid warnings.John MacFarlane2-5/+8
2012-07-24Changed signatures of writeODT, writeDocx, writeEPUB.John MacFarlane3-14/+10
These now take WriterOptions and Pandoc only. The extra parameters for epub stylesheet, epub fonts, reference Docx, and reference ODT have been removed, since these things are now in WriterOptions. Note: breaking API change!
2012-07-22FB2: support images embedded as data URIs + tests.Sergey Astanin1-12/+58
2012-07-22Added a new FictionBook2 (FB2) writer.Sergey Astanin1-0/+570
2012-07-20Use Parser as type synonym for Parsec.John MacFarlane2-2/+2
2012-07-20Text.Pandoc.Parsing: Export all Parsec functions used in pandoc code.John MacFarlane2-4/+2
No other module directly imports Parsec. This will make it easier to change the parsing backend in the future, if we want to.
2012-07-20Use Text.Parsec instead of Text.ParserCombinators.Parsec.John MacFarlane2-4/+4
2012-07-13Set ODT title propertyArlo O'Keeffe1-3/+21
2012-07-11HTML writer: Put mathjax in span with class "math".John MacFarlane1-1/+1
Closes #562.
2012-06-27ConTeXt writer: don't escape `&`,`^`,`<`,`>`.John MacFarlane1-6/+2
Simplified escapes for `}` and `{` to `\{` and `\}`. Thanks to Aditya Mahajan.
2012-06-27MediaWiki writer: Avoid extra blank lines after sublists.John MacFarlane1-3/+6
Thanks to Gavin Beatty.
2012-06-26Don't escape `_` as `\letterunderscore{}` in ConTeXt.John MacFarlane1-1/+0
2012-06-25Don't generate empty H1 after hrule slide breaks.John MacFarlane2-3/+8
We now use a slide-level header with contents [Str "\0"] to mark an hrule break. This avoids creation of an empty H1 in these contexts. Closes #484.
2012-06-03Fixed `--incremental` behavior for Beamer.John MacFarlane1-1/+1
When `--incremental` is used, lists inside block quotes should appear all at once (as in HTML).
2012-06-01Simplified bullet characters so they work with Word 2007.John MacFarlane1-7/+7
Closes #520.
2012-06-01LaTeX writer: Ensure newline after Verbatim at end of footnote.John MacFarlane1-1/+4
This fixes a regression. Also added a test for this.
2012-05-31Escape `%` as `\letterpercent{}` not `\letterpercent ` in ConTeXt.John MacFarlane1-1/+1
2012-05-30Merge pull request #521 from jonassmedegaard/masterJohn MacFarlane1-0/+1
Slidy lang support, and new Slideous writer
2012-05-29Org writer: Add space before language name.John MacFarlane1-3/+3
Closes #523.
2012-05-29ConTeXt writer: ensure space after `\stopformula`.John MacFarlane1-1/+1