aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers
AgeCommit message (Collapse)AuthorFilesLines
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
2010-07-20Made spacing at end of output more consistent.John MacFarlane4-4/+4
Previously some of the writers added spurious whitespace. This has been removed, resolving Issue #232. NOTE: If your application combines pandoc's output with other text, for example in a template, you may need to add spacing. For example, a pandoc-generated markdown file will not have a blank line after the final block element. If you are inserting it into another markdown file, you will need to make sure there is a blank line between it and the next block element.
2010-07-18Slidy writer: create new slide at every level 1 header.John MacFarlane1-1/+4
2010-07-16Use default highlighting CSS rather than embedding CSS in templates.John MacFarlane1-2/+3
2010-07-15Added --section-divs option.John MacFarlane1-9/+10
+ Header identifiers now get attached to the headers, unless --section-divs is specified, in which case they are added to enclosing divs. By default, the divs are not added. + Resolves Issue #230, #239.
2010-07-15Added --webtex option for HTML math.John MacFarlane1-16/+23
+ Added --webtex command-line option, with optional parameter. (Defaults to using google charts API.) + Added WebTeX HTMLMathMethod. + Removed MimeTeX HTMLMathMethod. (WebTeX is generic and subsumes it.) + Modified --mimetex option to use WebTeX. + Thanks to lpeterse for the idea and some of the code.
2010-07-14Improved handling of code in man writer.John MacFarlane1-3/+7
+ Inline code is now in monoscpace, not bold. + Code blocks now use .nf (no fill) and .IP (indented paragraph). + Resolves Issue #247.