Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-01-26 | Distinguish latex & context environments; blank line after in writers. | John MacFarlane | 3 | -7/+6 | |
2011-01-26 | Bumped version to 1.8; depend on pandoc-types 1.8. | John MacFarlane | 21 | -91/+118 | |
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-23 | Added needed space after .bc and .bq. | John MacFarlane | 1 | -15/+15 | |
Otherwise these can trap a </dd>, for example. Better solution to try next: rewrite using Pretty. | |||||
2011-01-23 | Textile writer: Don't escape code in bc. block. | John MacFarlane | 1 | -1/+1 | |
2011-01-23 | Textile writer: Don't HTML-escape between @'s. | John MacFarlane | 2 | -2/+2 | |
2011-01-23 | Textile reader: Fixed bug (swallowed p at beginning of paragraph). | John MacFarlane | 1 | -3/+3 | |
The problem was a missing 'try' in the maybeExplicitBlock parser. Test case, a paragraph beginning with 'p', has been added. | |||||
2011-01-23 | Textile writer: Use <pre> instead of bc.. for code with blank lines. | John MacFarlane | 1 | -5/+8 | |
This has fewer interaction effects. | |||||
2011-01-23 | Textile reader: Support <tt> for inline code. | John MacFarlane | 1 | -3/+11 | |
2011-01-23 | Textile reader: Added code blocks with bc. | John MacFarlane | 1 | -2/+11 | |
2011-01-23 | Default to textile writer on .textile extension. | John MacFarlane | 1 | -0/+1 | |
2011-01-22 | ConTeXt writer: Ensure cr after \stoptyping. | John MacFarlane | 1 | -1/+1 | |
2011-01-22 | Text.Pandoc: Added jsonFilter for easy construction of scripts. | John MacFarlane | 1 | -0/+7 | |
Here's an example of its use: -- removelinks.hs - removes links from document import Text.Pandoc main = interact $ jsonFilter $ bottomUp removeLink removeLink :: Inline -> Inline removeLink (Link xs _) = Emph xs removeLink x = x | |||||
2011-01-22 | Markdown reader: slight speedup by moving whitespace parser. | John MacFarlane | 1 | -2/+2 | |
2011-01-22 | RST reader: Big speed improvement (300->260ms). | John MacFarlane | 1 | -2/+2 | |
Moved whitespace parser to top of inline parsers. | |||||
2011-01-22 | ConTeXt writer: Don't add cr at end of inline footnote. | John MacFarlane | 1 | -1/+1 | |
2011-01-21 | Make sure native output ends in newline with --standalone. | John MacFarlane | 1 | -1/+1 | |
2011-01-21 | Haddock comment improvements. | John MacFarlane | 2 | -2/+7 | |
2011-01-20 | Added --normalize option. | John MacFarlane | 1 | -1/+7 | |
2011-01-20 | Markdown writer: Avoid printing excess spaces at end if no notes/refs. | John MacFarlane | 1 | -1/+2 | |
2011-01-20 | Native writer: eliminated empty spaces in brackets. | John MacFarlane | 1 | -2/+3 | |
2011-01-20 | Export readNative in Text.Pandoc.Shared. | John MacFarlane | 1 | -0/+1 | |
2011-01-20 | Improved native writer using Pretty. | John MacFarlane | 1 | -48/+32 | |
2-3X speed improvement and more consistent layout. | |||||
2011-01-19 | Made writeNative sensitive to writerStandalone. | John MacFarlane | 1 | -4/+7 | |
The Pandoc (Meta ...) is not written unless standalone is set. | |||||
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. |