Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-01-16 | Use <chapter> for top docbook header if template has <book>. | John MacFarlane | 1 | -2/+6 | |
Resolves Issue #265. | |||||
2011-01-16 | Added --chapters option affecting docbook and latex. | John MacFarlane | 3 | -3/+8 | |
* 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-15 | HTML writer: Add ids to <section> tags. | John MacFarlane | 1 | -1/+2 | |
2011-01-14 | Fixed the parser for rst+lhs - set stateLiterateHaskell. | John MacFarlane | 1 | -1/+2 | |
2011-01-14 | HTML reader: parse simple tables. | John MacFarlane | 1 | -2/+22 | |
Resolves Issue #106. Thanks to Rodja Trappe for the idea and some sample code. | |||||
2011-01-14 | HTML reader: parse location tags in pSatisfy. | John MacFarlane | 1 | -13/+17 | |
This avoids the need for manual parsing all over the place. | |||||
2011-01-14 | LaTeX writer: Escape strings in \href{..}. | John MacFarlane | 1 | -2/+2 | |
Previously strings weren't escaped, so %5D would be interpreted as a LaTeX comment! | |||||
2011-01-14 | Simplified Text.Pandoc.CharacterReferences by using TagSoup entity lookup | John MacFarlane | 1 | -266/+11 | |
2011-01-14 | LateX writer: In nonsimple tables, put cells in \parbox. | John MacFarlane | 1 | -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-14 | Parsing: Fixed bug in grid table parser. | John MacFarlane | 1 | -5/+5 | |
Spaces at end of line were not being stripped properly, resulting in unintended LineBreaks. | |||||
2011-01-11 | Improvements to --html5 support: | John MacFarlane | 1 | -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-11 | Preliminary support for HTML5. | John MacFarlane | 2 | -1/+6 | |
+ 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-11 | Text.Pandoc: Improved readers, writers lists for lhs variants. | John MacFarlane | 1 | -6/+12 | |
Now the lhs variants set the needed literate Haskell flag in parser state and writer options. | |||||
2011-01-07 | LaTeX reader: Support simple tables. | John MacFarlane | 1 | -0/+58 | |
2011-01-06 | RST writer: blank line after literate Haskell code block. | John MacFarlane | 1 | -3/+3 | |
2011-01-06 | Markdown writer: blank line after delimited code block. | John MacFarlane | 1 | -2/+2 | |
2011-01-06 | LaTeX reader: allow spaces btw \\begin or \\end and {. | John MacFarlane | 1 | -10/+27 | |
2011-01-06 | LaTeX reader: Removed unnecessary 'spaces'. | John MacFarlane | 1 | -4/+0 | |
2011-01-06 | HTML reader: Fixed bug in htmlTag for comments. | John MacFarlane | 1 | -2/+9 | |
2011-01-05 | LaTeX reader: Apply macros to non-math; handle ensuremath. | John MacFarlane | 1 | -9/+23 | |
2011-01-05 | LaTeX reader: Don't handle \label and \ref specially. | John MacFarlane | 1 | -11/+0 | |
Put labels in {} instead of (). | |||||
2011-01-05 | LaTeX reader: Support \L \l accents. | John MacFarlane | 1 | -1/+8 | |
2011-01-05 | Updated for texmath 0.5. | John MacFarlane | 1 | -13/+13 | |
2011-01-05 | Fixed macro parsing. | John MacFarlane | 1 | -8/+10 | |
2011-01-05 | LaTeX reader: Parse inside arguments when ignoring commands. | John MacFarlane | 1 | -9/+11 | |
2011-01-05 | LaTeX reader: Don't handle \index separately. | John MacFarlane | 1 | -7/+0 | |
Instead, just put it in list of commands to ignore. | |||||
2011-01-05 | LaTeX reader: Added "index" to ignorable commands. | John MacFarlane | 1 | -1/+1 | |
2011-01-05 | LaTeX reader: skip space before option or argument. | John MacFarlane | 1 | -1/+1 | |
2011-01-05 | LaTeX reader: Skip \index commands. | John MacFarlane | 1 | -1/+8 | |
2011-01-05 | LaTeX reader: Removed \group (we want to parse inside {}). | John MacFarlane | 1 | -6/+0 | |
2011-01-05 | LaTeX reader: Better handling of preamble, inc. parsing macros. | John MacFarlane | 1 | -10/+20 | |
2011-01-04 | LaTeX reader: Parse bracketed {parts} as raw TeX. | John MacFarlane | 1 | -2/+2 | |
2011-01-04 | Markdown reader: Removed unneeded definitions. | John MacFarlane | 1 | -10/+8 | |
specialChars, strChar, specialCharsMinusLt. | |||||
2011-01-04 | LaTeX reader: parse macros and apply to math. | John MacFarlane | 1 | -7/+8 | |
2011-01-04 | Moved 'macro' and 'applyMacros'' from markdown reader to Parsing. | John MacFarlane | 2 | -26/+27 | |
2011-01-01 | Fixed regression in markdown reader. | John MacFarlane | 1 | -3/+3 | |
'(_hi_)' was being parsed with literal underscores (no emphasis). The fix: the 'str' parser now only parses alphanumerics and embedded underscores. All other symbols are handled by the 'symbol' parser. This has a slight effect on the AST, since you'll get [Str "hi",Str ":"] insntead of [Str "hi:"]. But there should not be a visible effect in any of the writers. Thanks to gwern for pointing out the regression. | |||||
2011-01-01 | Updated copyright notices. | John MacFarlane | 1 | -1/+1 | |
2010-12-30 | LaTeX reader: Allow ignored comments after \end{document}. | John MacFarlane | 1 | -3/+1 | |
2010-12-30 | HTML reader: Fixed some parsing bugs. | John MacFarlane | 1 | -22/+28 | |
2010-12-30 | Added support for listings package code blocks and inline code. | Puneeth Chaganti | 1 | -2/+9 | |
2010-12-30 | Textile reader: Slight speed improvement. | John MacFarlane | 1 | -5/+5 | |
2010-12-30 | New HTML reader using tagsoup as a lexer. | John MacFarlane | 4 | -628/+424 | |
* The new reader is faster and more accurate. * API changes for Text.Pandoc.Readers.HTML: - removed rawHtmlBlock, anyHtmlBlockTag, anyHtmlInlineTag, anyHtmlTag, anyHtmlEndTag, htmlEndTag, extractTagType, htmlBlockElement, htmlComment - added htmlTag, htmlInBalanced, isInlineTag, isBlockTag, isTextTag * tagsoup is a new dependency. * Text.Pandoc.Parsing: Generalized type on readWith. * Benchmark.hs: Added length calculation to force full evaluation. * Updated HTML reader tests. * Updated markdown and textile readers to use the functions from the HTML reader. * Note: The markdown reader now correctly handles some cases it did not before. For example: <hr/> is reproduced without adding a space. <script> a = '<b>'; </script> is parsed correctly. | |||||
2010-12-26 | normalize: Don't reduce [Space] to []. | John MacFarlane | 1 | -4/+1 | |
2010-12-26 | Improved 'normalize'. | John MacFarlane | 1 | -41/+44 | |
Now normalizeInlines is split into consolidateInlines and removeEmptyInlines. We need to remove empties before consolidating. | |||||
2010-12-26 | Markdown writer: Fixed bug in Image. | John MacFarlane | 1 | -1/+1 | |
URI was getting unescaped twice! | |||||
2010-12-25 | Improved normalize. | John MacFarlane | 1 | -0/+15 | |
2010-12-24 | Use functions from Text.Pandoc.Generic instead of processWith(M). | John MacFarlane | 9 | -17/+28 | |
2010-12-22 | HTML reader: Simplified parsing of <script> sections. | John MacFarlane | 1 | -24/+1 | |
I had previously assumed that we needed to ignore </script> occuring in a string literal or javascript comment. It turns out, though, that browsers aren't that smart. | |||||
2010-12-22 | Made --smart work with HTML reader. | John MacFarlane | 1 | -4/+13 | |
It did not work before, because - and quotes were gobbled up by the str parser. | |||||
2010-12-22 | RST reader: Added unicode quote characters to specialChars. | John MacFarlane | 1 | -1/+1 | |
(So they can trigger Quoted environments.) |