Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2014-04-17 | Org reader: Support more types of '#+BEGIN_<type>' blocks | Albert Krewinkel | 1 | -7/+34 | |
Support for standard org-blocks is improved. The parser now handles "HTML", "LATEX", "ASCII", "EXAMPLE", "QUOTE" and "VERSE" blocks in a sensible fashion. | |||||
2014-04-17 | Org reader: Support footnotes | Albert Krewinkel | 1 | -2/+64 | |
2014-04-16 | Org reader: introduce Reader environment around Blocks/Inlines | Albert Krewinkel | 1 | -130/+176 | |
This introduces a Reader environment in the style of Text.Pandoc.Parsing.F, but adapted to the Org reader parser. | |||||
2014-04-16 | Org reader: Fix code for subexpression parsing | Albert Krewinkel | 1 | -21/+4 | |
2014-04-16 | Org reader: Better module description, minor style changes | Albert Krewinkel | 1 | -6/+6 | |
Use module description analogous to the markdown reader's. Use (<$) where it makes sense. | |||||
2014-04-13 | Merge pull request #1240 from neilmayhew/master | John MacFarlane | 1 | -3/+16 | |
Docbook output of Line Blocks | |||||
2014-04-13 | Merge pull request #1239 from tarleb/org-linebreak | John MacFarlane | 2 | -1/+5 | |
Org linebreaks | |||||
2014-04-13 | Merge pull request #1238 from tarleb/org-figures | John MacFarlane | 1 | -8/+49 | |
Org reader: Add support for figures | |||||
2014-04-12 | Org reader: Removed ANN pragma. | John MacFarlane | 1 | -3/+0 | |
This relies on Template Haskell, which causes problems in Windows due to libraries with C dependencies. We need to avoid using TH in pandoc code. | |||||
2014-04-12 | Improve handling of hard line breaks in Docbook writer | Neil Mayhew | 1 | -3/+16 | |
* Use a <literallayout> for the entire paragraph, not just for the newline character * Don't let LineBreaks inside footnotes influence the enclosing paragraph | |||||
2014-04-12 | Org reader: Read linebreaks | Albert Krewinkel | 1 | -0/+4 | |
Linebreaks are marked by the string `\\` at the end of a line. | |||||
2014-04-12 | Org writer: Fix output for linebreaks | Albert Krewinkel | 1 | -1/+1 | |
Hard linebreaks in Org mode are represented by the string "\\" as the last characters in a line. Adds this feature to the Org-mode writer. | |||||
2014-04-12 | Org reader: Add support for figures | Albert Krewinkel | 1 | -8/+49 | |
Support for figures (images with name and caption) is added. | |||||
2014-04-11 | HTML reader: Treat processing instructions & declarations as block. | John MacFarlane | 1 | -5/+9 | |
Previously these were treated as inline, and included in paragraph tags in HTML or DocBook output, which is generally not what is wanted. Closes #1233. | |||||
2014-04-11 | Org reader: Fix parsing of sub-/superscript expressions | Albert Krewinkel | 1 | -10/+37 | |
This fixes the org-reader's handling of sub- and superscript expressions. Simple expressions (like `2^+10`), expressions in parentheses (`a_(n+1)`) and nested sexp (like `a_(nested()parens)`) are now read correctly. | |||||
2014-04-10 | MediaWiki reader: Handle table rows containing just an HTML comment. | John MacFarlane | 1 | -1/+2 | |
Closes #1230. | |||||
2014-04-10 | Org reader: Improve code by following HLint recommendations | Albert Krewinkel | 1 | -20/+24 | |
HLint's recommendations for better code are applied to the Org-mode reader code. | |||||
2014-04-10 | Org reader: Support more inline/display math variants | Albert Krewinkel | 1 | -2/+26 | |
Support all of the following variants as valid ways to define inline or display math inlines: - `\[..\]` (display) - `$$..$$` (display) - `\(..\)` (inline) - `$..$` (inline) This closes #1223. Again. | |||||
2014-04-09 | Merge pull request #1226 from tarleb/org-emphasis-reader | John MacFarlane | 1 | -120/+260 | |
Org reader: Precise rules for the recognition of markup | |||||
2014-04-09 | Org reader: Precise rules for the recognition of markup | Albert Krewinkel | 1 | -120/+260 | |
The inline parsers have been rewritten using the org source code as a reference. This fixes a couple of bugs related to erroneous markup recognition. | |||||
2014-04-07 | Textile reader: Improved link parsing. | John MacFarlane | 1 | -19/+15 | |
In particular we now pick up on attributes. Since pandoc links can't have attributes, we enclose the whole link in a span if there are attributes. Closes #1008. | |||||
2014-04-07 | Merge pull request #1224 from tarleb/org-math | John MacFarlane | 1 | -37/+53 | |
Org reader: Read inline math, recognize definition lists | |||||
2014-04-07 | Org reader: Support inline math (like $E=mc^2$) | Albert Krewinkel | 1 | -6/+16 | |
Closes #1223. | |||||
2014-04-06 | LaTeX writer: Workaround for level 4-5 headers in quotes. | John MacFarlane | 1 | -2/+14 | |
These previously produced invalid LaTeX: `\paragraph` or `\subparagraph` in a `quote` environment. This adds an `mbox{}` in these contexts to work around the problem. See http://tex.stackexchange.com/a/169833/22451. Closes #1221. | |||||
2014-04-06 | LaTeX reader: handle @{} and p{length} in tabular. | John MacFarlane | 1 | -2/+3 | |
The length is not actually recorded, but at least we get a table. Closes #1180. | |||||
2014-04-06 | Org reader: Add support for definition lists | Albert Krewinkel | 1 | -1/+16 | |
2014-04-06 | Org reader: Minor code clean-up | Albert Krewinkel | 1 | -30/+21 | |
2014-04-05 | HTML reader: Updated `closes` with rules from HTML5 spec. | John MacFarlane | 1 | -5/+12 | |
2014-04-05 | Textile reader: Better support for attributes. | John MacFarlane | 1 | -9/+12 | |
Instead of being ignored, attributes are now parsed and included in Span inlines. The output will be a bit different from stock textile: e.g. for `*(foo)hi*`, we'll get `<em><span class="foo">hi</span></em>` instead of `<em class="foo">hi</em>`. But at least the data is not lost. | |||||
2014-04-05 | Textile reader: Improved treatment of HTML spans (%). | John MacFarlane | 1 | -5/+1 | |
Closes #1115. | |||||
2014-04-05 | Removed whitespace at ends of lines. | John MacFarlane | 1 | -15/+15 | |
2014-04-05 | Text.Pandoc.PDF: Ensure that temp directories deleted on Windows. | John MacFarlane | 1 | -1/+4 | |
The PDF is now read as a strict bytestring, ensuring that process ownership will be terminated, so the temp directory can be deleted. Closes #1192. | |||||
2014-04-05 | Org reader: Added type signature. | John MacFarlane | 1 | -0/+1 | |
2014-04-05 | Merge pull request #1219 from tarleb/org-images | John MacFarlane | 1 | -57/+127 | |
Org-reader: support inline images, clean-up code, fix bugs | |||||
2014-04-05 | Shared.openURL: Set proxy with value of http_proxy env variable. | John MacFarlane | 1 | -3/+11 | |
Note: proxies with non-root paths are not supported, because of limitations in http-conduit. Closes #1211. | |||||
2014-04-05 | Org reader: Support inline images | Albert Krewinkel | 1 | -10/+24 | |
2014-04-05 | Org reader: Provide more language identifier translations | Albert Krewinkel | 1 | -1/+8 | |
Org-mode and Pandoc use different language identifiers, marking source code as being written in a certain programming language. This adds more translations from identifiers as used in Org to identifiers used in Pandoc. The full list of identifiers used in Org and Pandoc is available through http://orgmode.org/manual/Languages.html and `pandoc -v`, respectively. | |||||
2014-04-05 | Org reader: Fix parsing of nested inlines | Albert Krewinkel | 1 | -7/+20 | |
Text such as /*this*/ was not correctly parsed as a strong, emphasised word. This was due to the end-of-word recognition being to strict as it did not accept markup chars as part of a word. The fix involves an additional parser state field, listing the markup chars which might be parsed as part of a word. | |||||
2014-04-05 | Org reader: Use specialized org parser state | Albert Krewinkel | 1 | -7/+41 | |
The default pandoc ParserState is replaced with `OrgParserState`. This is done to simplify the introduction of new state fields required for efficient Org parsing. | |||||
2014-04-05 | Org reader: Slight cleaning of table parsing code | Albert Krewinkel | 1 | -33/+35 | |
2014-04-04 | DocBook reader: Better treatment of formalpara. | John MacFarlane | 1 | -3/+3 | |
We now emit the title (if present) as a separate paragraph with boldface text. Closes #1215. | |||||
2014-04-04 | DocBook reader: set metadata "author" not "authors" | John MacFarlane | 1 | -1/+1 | |
2014-04-04 | Removed trailing whitespace. | John MacFarlane | 1 | -15/+15 | |
2014-04-04 | DocBook reader: set "author" not "authors". | John MacFarlane | 1 | -3/+3 | |
2014-04-04 | Added recognition of authorgroup element and releaseinfo element to DocBook ↵ | Matthew Pickering | 1 | -9/+16 | |
reader. Closes #1214 | |||||
2014-04-04 | Converted current meta information parsing in DocBook to a more extensible ↵ | Matthew Pickering | 1 | -34/+48 | |
version which is aware of the more recent meta representation. | |||||
2014-04-04 | LaTeX writer: handle line breaks in simple table cells. | John MacFarlane | 1 | -1/+20 | |
Closes #1217. | |||||
2014-04-04 | Correctly handle UTF-8 in custom lua scripts. Closes #1189. | John MacFarlane | 1 | -2/+1 | |
2014-04-04 | Custom writer: read lua script as UTF-8. | John MacFarlane | 1 | -1/+2 | |
This should fix #1189. | |||||
2014-04-01 | MediaWiki reader: Fixed bug in certain nested lists. | John MacFarlane | 1 | -1/+2 | |
The bug: If a level 2 list was followed by a level 1 list, the first item of the level 1 list would be lost. Closes #1213. |