aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers
AgeCommit message (Collapse)AuthorFilesLines
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.
2012-04-21LaTeX writer: Use `\hyperref[ident]{text}` for internal links.John MacFarlane1-0/+4
Previously we used `\href{\#ident}{text}`, which didn't work on all systems. Thanks to Dirk Laurie.
2012-04-21Docx writer: Fixed error message when style file can't be parsed.John MacFarlane1-1/+2
2012-04-15Mardkown writer: escape < and $.John MacFarlane1-1/+1
2012-04-11Markdown writer: don't force delimited code blocks to be flush left.John MacFarlane1-1/+1
Fixes bug with delimited code blocks inside lists etc.
2012-04-07Docx writer: Fixed multi-paragraph list items.John MacFarlane1-1/+4
Previously they each got a list marker. Closes #457.
2012-04-03LaTeX writer: don't use eurosym package unless document has a €.John MacFarlane1-11/+17
2012-04-03Markdown writer: don't replace empty alt in image with "image".John MacFarlane1-3/+3
Previously `<img src="empty.png" alt=""/>` would be translated as `![image](empty.png)`; now it becomes `![](empty.png)` as one might naturally expect.
2012-03-29Avoid repeated id in section and header in HTML slides.John MacFarlane1-3/+2
Previously pandoc would use the same id attribute for the div or section and the header inside it; now the id is omitted from the header if the div or section has it.
2012-03-25Added PDF metadata (title,author) in LaTeX standalone + PDF output.John MacFarlane1-0/+2
Closes #459.
2012-03-24RST writer: Better handling of inline formatting.John MacFarlane1-4/+51
* `hi*there*hi` now gets rendered properly as `hi\ *there*\ hi` * Unnecessary '\ ' are avoided around :math:, :sub:, :sup: * Implemented most of the rules in http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#inline-markup-recognition-rules, though some unnecessary '\ ' may be inserted when unicode quotes are used.
2012-03-21Texinfo writer: retain directories in image paths.Peter Wang1-1/+1
2012-03-12Use {} around ctable caption. Closes #445.John MacFarlane1-1/+1
2012-03-09Made man writer more robust.John MacFarlane1-5/+6
Previously it assumed that inlines weren't normalized.
2012-03-09EPUB reader: convert e.g. en_US from locale to en-US in language.John MacFarlane1-1/+2
2012-03-07Merge pull request #438 from michaelt/patch-2John MacFarlane1-0/+2
Fix initial `Str "."` after `LineBreak` as well?
2012-03-07Merge pull request #437 from michaelt/patch-1John MacFarlane1-1/+5
escape initial dot in code lines