aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers
AgeCommit message (Collapse)AuthorFilesLines
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-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
2012-05-24Add support for Slideous output.Jonas Smedegaard1-0/+1
2012-05-19Markdown Use a nonzero space to prevent false recognition of list marker.John MacFarlane1-1/+1
This addresses #516, but in a rather hackish way. There ought to be a better solution.
2012-05-16Markdown writer: Improved definition lists.John MacFarlane1-2/+2
* Use `:` form instead of `~`, for better compatibility with other markdown implementations. * Don't wrap the term, because it breaks definition lists.
2012-05-14LaTeX writer: More consistent interblock spacing.John MacFarlane1-24/+18
2012-05-13LaTeX reader: ensure we don't have extra blank lines at ends of cells.John MacFarlane1-1/+1
This can cause LaTeX errors, as they are interpreted as new paragraphs.
2012-05-11Added writerTeXLigatures to WriterOptions, `--no-tex-ligatures` option.John MacFarlane2-34/+37
This is useful for those who want to use advanced OpenType features with xelatex/lualatex.
2012-05-10Revert "Removed blaze_html_05 flag -- require blaze >= 0.5 by default."John MacFarlane1-1/+5
This reverts commit f67a80cea27286ba17b3696198602a6bbdae014d.
2012-04-30Improved spacing around LaTeX block environments.John MacFarlane1-5/+11
verbatim, itemize, description, enumerate.
2012-04-30LaTeX writer: Fixed spacing in quote environments.John MacFarlane1-1/+2
Closes #502. Previously you'd get: ~~~ hi \begin{quote} hi \end{quote} hi ~~~ Now we get: ~~~ hi \begin{quote} hi \end{quote} hi ~~~
2012-04-29ConTeXt writer: Fixed escaping of `%`.John MacFarlane1-2/+2
* In text, `%` needs to be escaped as `\letterpercent`, not `\%` * Inside URLs, `%` needs to be escaped as `\%` Thanks to jmarca and adityam for the fix. Closes #492.
2012-04-25Texinfo writer: Escape special characters in node titles.John MacFarlane1-1/+2
This fixes a problem pointed out by Joost Kremers. Pandoc used to escape an '@' in a chapter title, but not in the corresponding node title, leading to invalid texinfo.
2012-04-24Removed blaze_html_05 flag -- require blaze >= 0.5 by default.John MacFarlane1-5/+1
2012-04-23changes for blaze-html 0.5Mark Wright1-1/+6
2012-04-21LaTeX writer: Use fixltx2e package to provide '\textsubscript'.John MacFarlane1-8/+2
2012-04-21RST writer: Don't wrap link references.John MacFarlane1-1/+1
Closes #487.