aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers
AgeCommit message (Collapse)AuthorFilesLines
2011-02-06Revert "Use us-ascii charset in HTML template if --ascii option."John MacFarlane1-1/+0
This reverts commit aec54899606bed2580394baa1369e58ede20fde8. No need for this, since a UTF-8 charset will handle ascii just fine.
2011-02-06HTML writer: Fixed footnote backrefs in --ascii mode.John MacFarlane1-1/+2
2011-02-06Use us-ascii charset in HTML template if --ascii option.John MacFarlane1-0/+1
2011-02-06Added --ascii option.John MacFarlane1-17/+20
Currently supported only in HTML writer.
2011-02-06Make --toc work in epub output.John MacFarlane1-0/+3
2011-02-05HTML writer: Put line breaks in section divs.John MacFarlane1-2/+4
2011-02-05HTML writer: stringify alt text.John MacFarlane1-2/+1
Previously, if you had formatting in the label of an Image element, you'd get escaped HTML in the alt attribute. Now you just get a plain string version, which seems preferable.
2011-02-04Improved HTML table output (line breaks).John MacFarlane1-9/+17
2011-02-04More changes to HTML output.John MacFarlane1-25/+23
Removed blank lines. More consistent format.
2011-02-04HTML writer: Spacing adjustments for Plain and RawHtml blocks.John MacFarlane1-0/+2
2011-02-04Improved new HTML format; restored original --no-wrap behavior.John MacFarlane1-52/+76
2011-02-04HTML writer: More normal line breaks.John MacFarlane1-25/+29
Also removes any distinction between --no-wrap and default HTML output. Resolves Issue #134.
2011-01-29HTML writer: avoid doubled <code> tag for highlighted inline code.John MacFarlane1-4/+5
2011-01-29Fixed highlighting for inline code.John MacFarlane1-2/+2
highlightHtml in Highlighting now has a boolean argument that selects between inline and block content. Revised tests for new highlighting-kate.
2011-01-28Add possibility to use listings package for code blocks andJosef Svenningsson1-8/+39
inline code in the LaTeX writer.
2011-01-28RTF writer: Embed images when possible.John MacFarlane1-2/+23
* Resolves Issue #275. * PNG and JPEG supported. * Export rtfEmbedImage.
2011-01-26Add support for attributes in inline Code.John MacFarlane13-59/+75
Additional related changes: * URLs in Code in autolinks now use class "url". * Require highlighting-kate 0.2.8.2, which omits the final <br/> tag, essential for inline code.
2011-01-26Adjusted writers to use "tex".John MacFarlane5-8/+9
2011-01-26Distinguish latex & context environments; blank line after in writers.John MacFarlane2-4/+2
2011-01-26Bumped version to 1.8; depend on pandoc-types 1.8.John MacFarlane14-58/+86
The old TeX, HtmlInline and RawHtml elements have been removed and replaced by generic RawInline and RawBlock elements. All modules updated to use the new raw elements.
2011-01-23Added needed space after .bc and .bq.John MacFarlane1-15/+15
Otherwise these can trap a </dd>, for example. Better solution to try next: rewrite using Pretty.
2011-01-23Textile writer: Don't escape code in bc. block.John MacFarlane1-1/+1
2011-01-23Textile writer: Don't HTML-escape between @'s.John MacFarlane1-1/+1
2011-01-23Textile writer: Use <pre> instead of bc.. for code with blank lines.John MacFarlane1-5/+8
This has fewer interaction effects.
2011-01-22ConTeXt writer: Ensure cr after \stoptyping.John MacFarlane1-1/+1
2011-01-22ConTeXt writer: Don't add cr at end of inline footnote.John MacFarlane1-1/+1
2011-01-21Make sure native output ends in newline with --standalone.John MacFarlane1-1/+1
2011-01-21Haddock comment improvements.John MacFarlane1-1/+5
2011-01-20Markdown writer: Avoid printing excess spaces at end if no notes/refs.John MacFarlane1-1/+2
2011-01-20Native writer: eliminated empty spaces in brackets.John MacFarlane1-2/+3
2011-01-20Improved native writer using Pretty.John MacFarlane1-48/+32
2-3X speed improvement and more consistent layout.
2011-01-19Made writeNative sensitive to writerStandalone.John MacFarlane1-4/+7
The Pandoc (Meta ...) is not written unless standalone is set.
2011-01-19Fixed problem with inline code in ConTeXt writer.John MacFarlane1-1/+3
Previously `}` would be rendered '\type{}}'. Now we check the string for '}' and '{'. If it contains neither, use \type{}; otherwise use \mono{} with an escaped version of the string. Note: There are some issues using the \type!str! form, including differences btw mkii and mkiv. For now this is a conservative fix. Perhaps in the future we can use \type!str!. See the discussion on pandoc-discuss s.v. "Bug in context writer".
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