Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-01-19 | Added Text.Pandoc.Readers.Native (readNative). | John MacFarlane | 2 | -1/+82 | |
readNative can now read full pandoc documents, block lists, blocks, inline lists, or inlines. It will interpret Str "hi" as if it were Pandoc (Meta [] [] []) [Plain [Str "hi"]] This should make testing easier. | |||||
2011-01-19 | Use spaceChar instead of oneOf " \t" in rst reader. | John MacFarlane | 1 | -5/+5 | |
2011-01-19 | Replaced more noneOf/oneOf parsers. | John MacFarlane | 1 | -5/+11 | |
2011-01-19 | Replaced uses of oneOf with more efficient parsers. | John MacFarlane | 1 | -12/+19 | |
This speeds up the markdown reader. | |||||
2011-01-19 | More small parser rewrites for small performance gains. | John MacFarlane | 1 | -9/+11 | |
2011-01-19 | Parsing: Rewrote spaceChar for significant speedup in readers. | John MacFarlane | 1 | -1/+1 | |
2011-01-19 | Fixed problem with inline code in ConTeXt writer. | John MacFarlane | 1 | -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-16 | Removed '--no-citeproc' as alias for '--natbib'. | John MacFarlane | 1 | -1/+1 | |
This was confusing, I think, as no-citeproc could be either natbib or biblatex. | |||||
2011-01-16 | Minor code formatting. | John MacFarlane | 1 | -0/+5 | |
2011-01-16 | Moved --chapters to before --number-sections in option list. | John MacFarlane | 1 | -5/+5 | |
2011-01-16 | Support --chapters for ConTeXt output as well. | John MacFarlane | 1 | -3/+6 | |
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 | 4 | -4/+18 | |
* 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-15 | Merge branch 'tests' | John MacFarlane | 1 | -219/+0 | |
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 | Merge branch 'master' of github.com:jgm/pandoc into tests | John MacFarlane | 2 | -14/+17 | |
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-12 | Merge branch 'master' into tests | John MacFarlane | 4 | -22/+66 | |
2011-01-11 | Improvements to --html5 support: | John MacFarlane | 2 | -15/+39 | |
+ <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 | 3 | -2/+16 | |
+ 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-11 | Moved test-pandoc.hs to tests directory. | Nathan Gass | 1 | -197/+0 | |
2011-01-11 | Removed run prefix from all test functions. | Nathan Gass | 1 | -70/+68 | |
2011-01-11 | Include lhs tests in existing testGroup structure. | Nathan Gass | 1 | -41/+30 | |
2011-01-11 | Add reader groups for markdown and rst reader tests. | Nathan Gass | 1 | -10/+12 | |
2011-01-10 | Changed test-pandoc to use test-framework and HUnit. | Nathan Gass | 1 | -113/+102 | |
2011-01-07 | pandoc: Test standalone' rather than standalone for final newline. | John MacFarlane | 1 | -1/+1 | |
2011-01-07 | LaTeX reader: Support simple tables. | John MacFarlane | 1 | -0/+58 | |
2011-01-06 | pandoc: Add newline to output unless standalone. | John MacFarlane | 1 | -2/+6 | |
This avoids output that does not end with a newline, which is inconvenient when working with many tools. Updated tests accordingly. | |||||
2011-01-06 | RST writer: blank line after literate Haskell code block. | John MacFarlane | 1 | -3/+3 | |
2011-01-06 | test-pandoc: Wrap to 78 columns in lhs writer tests. | John MacFarlane | 1 | -1/+1 | |
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 | |