aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers
AgeCommit message (Collapse)AuthorFilesLines
2011-01-16Support --chapters for ConTeXt output as well.John MacFarlane1-3/+6
2011-01-16Use <chapter> for top docbook header if template has <book>.John MacFarlane1-2/+6
Resolves Issue #265.
2011-01-16Added --chapters option affecting docbook and latex.John MacFarlane2-3/+6
* Added writerChapters to WriterOptions. * Added --chapters command-line option. * --chapters causes top-level headers to be "chapter" instead of "section" in LaTeX and DocBook. * Resolves Issue #225.
2011-01-15HTML writer: Add ids to <section> tags.John MacFarlane1-1/+2
2011-01-14LaTeX writer: Escape strings in \href{..}.John MacFarlane1-2/+2
Previously strings weren't escaped, so %5D would be interpreted as a LaTeX comment!
2011-01-14LateX writer: In nonsimple tables, put cells in \parbox.John MacFarlane1-9/+12
Otherwise we can get problems with linebreaks, and cell spacing isn't right. Thanks to Jef Allbright for pointing out the problem.
2011-01-11Improvements to --html5 support:John MacFarlane1-13/+36
+ <nav> for TOC, <figure> for figures, type attribute in <ol>. + Don't add math javascript in html5. + Use style attributes instead of deprecated width, align. + html template: move <title> after <meta>. Note: charset needs to be declared before title. + slidy and s5 templates: move <title> after <meta>. + html template: Added link to html5 shim for IE. + Make --html5 have an effect only for 'html' writer (not s5, slidy, epub).
2011-01-11Preliminary support for HTML5.John MacFarlane1-1/+4
+ Added writerHtml5 writer option. + Added --html5 option. + Added support for lang in html tag (so you can do 'pandoc -s --V lang=en', for example). + Updated html template with conditionals for HTML5. + When HTML5 selected, use <header> tag around title in document, and use <section> tags instead of <div>s if --section-divs specified.
2011-01-06RST writer: blank line after literate Haskell code block.John MacFarlane1-3/+3
2011-01-06Markdown writer: blank line after delimited code block.John MacFarlane1-2/+2
2010-12-26Markdown writer: Fixed bug in Image.John MacFarlane1-1/+1
URI was getting unescaped twice!
2010-12-24Use functions from Text.Pandoc.Generic instead of processWith(M).John MacFarlane4-6/+10
2010-12-22ODT writer: Don't wrap text in opendocument.John MacFarlane1-1/+1
2010-12-22Texinfo writer: Updated to use Pretty.John MacFarlane1-56/+37
2010-12-22Man writer: updated to use Pretty.John MacFarlane1-18/+22
2010-12-21OpenDocument writer: Updated to use Pretty.John MacFarlane1-8/+12
2010-12-21Docbook writer: Updated to use Pretty.John MacFarlane1-21/+20
2010-12-21Shared: Made splitBy take a test instead of an element.John MacFarlane2-2/+2
2010-12-20Markdown writer: use \ for newline instead of two spaces at eol.John MacFarlane1-1/+4
(Unless --strict.)
2010-12-20Markdown writer: Use delimited code block if there are attributes.John MacFarlane1-2/+21
(Unless in strict mode.)
2010-12-20Plain writer: set stateStrictMarkdown automatically.John MacFarlane1-3/+4
2010-12-20ConTeXt writer: Updated to use Text.Pandoc.Pretty.John MacFarlane1-73/+71
2010-12-19LaTeX writer: A bit of code polish.John MacFarlane1-29/+28
2010-12-19LaTeX writer: Modified to use Pretty.John MacFarlane1-34/+30
Improved footnote formatting, removed spurious blank lines.
2010-12-18LaTeX writer: Use \paragraph, \subparagraph for level 4,5 headers.John MacFarlane1-9/+10
2010-12-17Added new prettyprinting module.John MacFarlane3-303/+307
* Added Text.Pandoc.Pretty. This is better suited for pandoc than the 'pretty' package. One advantage is that we now get proper wrapping; Emph [Inline] is no longer treated as a big unwrappable unit. Previously we only got breaks for spaces at the "outer level." We can also more easily avoid doubled blank lines. Performance is significantly better as well. * Removed Text.Pandoc.Blocks. Text.Pandoc.Pretty allows you to define blocks and concatenate them. * Modified markdown, RST, org readers to use Text.Pandoc.Pretty instead of Text.PrettyPrint.HughesPJ. * Text.Pandoc.Shared: Added writerColumns to WriterOptions. * Markdown, RST, Org writers now break text at writerColumns. * Added --columns command-line option, which sets stColumns and writerColumns. * Table parsing: If the size of the header > stColumns, use the header size as 100% for purposes of calculating relative widths of columns.
2010-12-15Use top-level header at end as bibliography title for natbib and biblatex ↵Nathan Gass1-4/+13
output.
2010-12-15Remove punctuation at start of suffix for natbib and biblatex output.Nathan Gass1-2/+6
This is necessary as the latex citation commands include there own punctuation, which resulted in doubled commas for markdown documents where citeproc output works correctly.
2010-12-15Support multiple bibliography files with natbib and biblatex output.Nathan Gass1-1/+2
2010-12-13Added option to write citation markup in markdown writer.Nathan Gass1-1/+29
2010-12-13Added support to write natbib or biblatex citations in latex output.Nathan Gass1-5/+113
2010-12-05Org writer: Minor changes to documentation header.John MacFarlane1-3/+3
2010-12-04Added tests.Puneeth Chaganti1-1/+1
+ Added tables.org and writer.org to tests. + Added org.template to templates. + Changed RunTests.hs as required. + Minor changes to Org writer.
2010-12-04Added Org-mode writerPuneeth Chaganti1-0/+291
+ Added Text/Pandoc/Writers/Org.hs + Added to pandoc.cabal + Added to pandoc.hs and Text/Pandoc.hs exports.
2010-12-03removed support for textile Inserted constructPaul Rivier1-2/+0
2010-12-03Basic Textile Readerpaul.rivier1-0/+2
2010-11-27OpenDocument writer: don't print raw TeX.John MacFarlane1-2/+4
2010-11-27LaTeX writer: Escape curly quotes.John MacFarlane1-0/+4
2010-11-27Merge branch 'textile'John MacFarlane1-0/+415
Conflicts: README man/man1/pandoc.1.md pandoc.cabal
2010-11-27Use [] for superscripts and subscripts in textile writer.John MacFarlane1-2/+2
2010-11-27Fixed spacing problems in textile nested lists.John MacFarlane1-2/+4
2010-10-31--mathjax: Use mathjax with raw latex rather than mathml.John MacFarlane1-12/+4
It seems to work better, and the default config can be used.
2010-10-26Added support for MathJax for displaying math in HTML.John MacFarlane1-2/+15
Added --mathjax option. Added MathJax to HTMLMathMethod. Supported MathJax in HTML writer. Resolves Issue #259.
2010-10-24LaTeX & ConTeXt writers: escape [ and ] as {[} and {]}.John MacFarlane2-0/+4
This avoids unwanted interpretation as optional arguments in some contexts, which caused the brackets to silently disappear!
2010-08-01gladTeX HTML - specify ENV for display or inline.John MacFarlane1-1/+3
Thanks to Jonathan Daugherty for the patch. The gladTeX program gives finer control over the LaTeX environment used to render its input. The latest version (1.1) uses the "displaymath" environment by default, which is nice for large, block-level equations, but it isn't so nice for inline math (where "math" is more appropriate). This patch causes the HTML writer to differentiate between the two by explicitly setting the LaTeX environment on the generated EQ tag.
2010-07-22Moved Text.Pandoc.Writers.S5 -> Text.Pandoc.S5.John MacFarlane1-66/+0
Now it doesn't export a writer, just some CSS and JS.
2010-07-22Improved cutUp function, removed extra </div>John MacFarlane1-10/+12
2010-07-22Moved s5 writing from S5 module to HTML.John MacFarlane2-70/+5
Now s5 is handled in more or less the same way as slidy, as a variant of HTML.
2010-07-22Extended --offline to s5.John MacFarlane1-0/+1
S5 default is now to include links, rather than a full copy of scripts and stylesheets.
2010-07-22Slidy writer: Avoid spurious blank page.John MacFarlane1-1/+5