Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-10-09 | LaTeX reader: don't eat excess whitespace after macros. | John MacFarlane | 1 | -4/+4 | |
Really close #2446. | |||||
2015-10-09 | LaTeX reader: don't eat whitespace after macro with only opt arg. | John MacFarlane | 1 | -1/+3 | |
Closes #2446. | |||||
2015-10-07 | Change variable to polyglossia-lang.name and .options | mb21 | 1 | -20/+36 | |
closes #2437 | |||||
2015-10-04 | Docx Reader: Parse soft, no-break hyphen elements | Ophir Lifshitz | 2 | -1/+7 | |
2015-10-03 | FIxed typo: Ext_superscript, Ext_subscript. | John MacFarlane | 1 | -2/+2 | |
2015-10-03 | For markdown_mmd, add: implicit_figures, superscripts, subscripts. | John MacFarlane | 1 | -0/+9 | |
See #2401. | |||||
2015-10-01 | Set the template variable $pandoc-version$ to pandocVersion by default. | Alex Vong | 1 | -0/+1 | |
* src/Text/Pandoc/Writers/Man.hs: Set $pandoc-version$ to be pandocVersion. | |||||
2015-10-01 | Move the variable pandocVersion from `src/Text/Pandoc.hs` to | Alex Vong | 1 | -1/+9 | |
`src/Text/Pandoc/Shared.hs`, so that all Writers can access this variable without importing `src/Text/Pandoc.hs`, preventing circular import. * pandoc.hs: Import pandocVersion from `Text.Pandoc.Shared`. * src/Text/Pandoc.hs: Remove the definition of pandocVersion and relevant import. * src/Text/Pandoc/Shared.hs: Add the definition of pandocVersion and relevant import. | |||||
2015-10-01 | Set the template variable $hyphenate$ to true by default | Alex Vong | 1 | -0/+1 | |
* src/Text/Pandoc/Writers/Man.hs: Set $hyphenate$ to be true. | |||||
2015-09-26 | Removed unneeded imports. | John MacFarlane | 2 | -3/+2 | |
2015-09-26 | MediaBag: ensure that / is always used as path separator. | John MacFarlane | 2 | -7/+10 | |
2015-09-26 | Merge pull request #2419 from mb21/bidi | John MacFarlane | 2 | -13/+40 | |
Support bidirectional text output with XeLaTeX, ConTeXt and HTML | |||||
2015-09-26 | Support bidirectional text output with XeLaTeX, ConTeXt and HTML | mb21 | 2 | -13/+40 | |
closes #2191 | |||||
2015-09-26 | Removed unneeded import. | John MacFarlane | 1 | -1/+0 | |
2015-09-25 | Correctly recognize book documentclass in metadata. | John MacFarlane | 1 | -1/+1 | |
Closes #2395. | |||||
2015-09-25 | Markdown reader: handle 'id' and 'class' in parsing key/value attrs. | John MacFarlane | 1 | -1/+5 | |
# Header {id="myid" class="foo bar"} is now equivalent to # Header {#myid .foo .bar} Closes #2396. | |||||
2015-09-24 | Improve text generated for <xref> by employing docbook-xsl heuristics | Frerich Raabe | 1 | -2/+16 | |
docbook-xsl, a set of XSLT scripts to generate HMTL out of DocBook, tries harder to generate a nice xref text. Depending on the element being linked to, it looks at the title or other descriptive child elements. Let's do that, too. | |||||
2015-09-24 | Added proper support for DocBook 'xref' elements | Frerich Raabe | 1 | -2/+18 | |
'xref' is used to create cross references to other parts of the document. It is an empty element - the cross reference text depends on various attributes. Quoting 'DocBook: The Definitive Guide': 1. If the endterm attribute is specified on xref, the content of the element pointed to by endterm will be used as the text of the cross-reference. 2. Otherwise, if the object pointed to has a specified XRefLabel, the content of that attribute will be used as the cross-reference text. | |||||
2015-09-23 | Pass the parsed DocBook content along the state of readDocBook | Frerich Raabe | 1 | -2/+4 | |
Having access to the entire document will be needed when handling elements which refer to other elements. This is needed for e.g. <xref> or <link>, both of which reference other elements (by the 'id' attribute) for the label text. I suppose that in practice, the [Content] returned by parseXML always only contains one 'Elem' value -- the document element. However, I'm not totally sure about it, so let's just pass all the Content along. | |||||
2015-09-23 | Minor refactoring to readDocBook | Frerich Raabe | 1 | -2/+2 | |
I plan to use the parsed and normalized XML tree read in readDocBook in other places - prepare that commit by factoring this code out into a separate, shared, definition. | |||||
2015-09-23 | LaTeX reader: support longtable. | John MacFarlane | 1 | -0/+2 | |
Closes #2411. | |||||
2015-09-22 | Merge pull request #2369 from mb21/language-variables | John MacFarlane | 2 | -12/+176 | |
`lang` variable is now in BCP47 format | |||||
2015-09-20 | Merge pull request #2406 from tarleb/org-verse-fix | John MacFarlane | 1 | -1/+1 | |
Make sure verse blocks can contain empty lines | |||||
2015-09-19 | Make sure verse blocks can contain empty lines | Albert Krewinkel | 1 | -1/+1 | |
The previous verse parsing code made the faulty assumption that empty strings are valid (and empty) inlines. This isn't the case, so lines are changed to contain at least a newline. It would generally be nicer and faster to keep the newlines while splitting the string. However, this would require more code, which seems unjustified for a simple (and fairly rare) block as *verse*. This fixes #2402. | |||||
2015-09-19 | [RST Writer] Don't normalize heading levels below input minimum | Nikolay Yakimov | 1 | -1/+7 | |
2015-09-17 | Markdown writer: in TOC, add links to headers. | John MacFarlane | 1 | -2/+5 | |
Closes #829. | |||||
2015-09-09 | Use user data directory for reference docx archive. | John MacFarlane | 1 | -1/+1 | |
This allows the test suite to work without installing pandoc first. It also brings the docx writer in line with the odt writer. | |||||
2015-08-20 | `lang` variable is now in BCP47 format | mb21 | 2 | -12/+176 | |
strings are converted for LaTeX and ConTeXt output, closes #1614 | |||||
2015-08-17 | Merge pull request #2364 from gbataille/bugDoc | John MacFarlane | 1 | -6/+6 | |
[BUG] Haddock : * and ^ to be escaped in docs | |||||
2015-08-17 | [BUG] Haddock : * and ^ to be escaped in docs | Grégory Bataille | 1 | -6/+6 | |
2015-08-15 | RST reader: better handling of indirect roles. | John MacFarlane | 1 | -9/+11 | |
Previously the parser failed on this kind of case .. role:: indirect(code) .. role:: py(indirect) :language: python :py:`hi` Now it currectly recognizes `:py:` as a code role. The previous test for this didn't work, because the name of the indirect role was the same as the language defined its parent, os it didn't really test for this behavior. Updated test. | |||||
2015-08-15 | Merge pull request #2360 from jg/issue-2354 | John MacFarlane | 1 | -1/+16 | |
Org reader: add auto identifiers if not present on headers | |||||
2015-08-15 | Org reader: add auto identifiers if not present on headers | Juliusz Gonera | 1 | -1/+16 | |
Refs #2354 This should also fix the table of contents (--toc) when generating a html file from org input | |||||
2015-08-13 | RST writer: ensure that `\ ` is inserted when needed... | John MacFarlane | 1 | -0/+2 | |
...before Cite and Span elements that begin with a "complex" element. Closes jgm/pandoc-citeproc#157. | |||||
2015-08-12 | RST writer: Don't insert `\ ` when complex expression in matched pairs. | John MacFarlane | 1 | -3/+4 | |
E.g. `` [:sup:`3`] `` is okay; you don't need `` [:sup:`3`\ ] ``. | |||||
2015-08-10 | EPUB TOC: replace literal "<br/>" with space. | John MacFarlane | 1 | -0/+1 | |
Closes #2105. | |||||
2015-08-10 | EPUB reader: stop mangling external URLs. | John MacFarlane | 1 | -8/+1 | |
Closes #2284. Note the changes to the test suite. In each case, a mangled external link has been fixed, so these are all positive. | |||||
2015-08-10 | Docx writer: Moved invalid character stripping to `formattedString`. | John MacFarlane | 1 | -4/+4 | |
This avoids an inefficient generic traversal. Updates f3aa03e. Closes #2356. | |||||
2015-08-08 | MediaWiki reader: handle unquoted table attributes. | John MacFarlane | 1 | -2/+2 | |
Closes #2355. | |||||
2015-08-08 | HTML reader: add auto identifiers if not present on headers. | John MacFarlane | 1 | -7/+17 | |
This makes TOC linking work properly. The same thing needs to be done to the org reader to fix #2354; in addition, `Ext_auto_identifiers` should be added to the list of default extensions for org in Text.Pandoc. | |||||
2015-08-08 | DocBook reader: handle informalexample. | John MacFarlane | 1 | -1/+4 | |
It is parsed into a Div with class `informalexample`. Closes #2319. | |||||
2015-08-08 | LaTeX reader: Implement \Cite. | John MacFarlane | 1 | -0/+1 | |
See #2335. | |||||
2015-08-07 | Merge pull request #2327 from hftf/list-style | John MacFarlane | 2 | -23/+70 | |
HTML Reader: Correctly parse inline list-style(-type) for <ol> | |||||
2015-08-07 | Updated readers, writers and README for link attribute | mb21 | 29 | -116/+118 | |
2015-08-07 | Updated readers and writers for new image attribute parameter. | John MacFarlane | 31 | -188/+415 | |
(mb21) | |||||
2015-08-05 | ICML writer: changed type of `writeICML`. | John MacFarlane | 1 | -39/+50 | |
API change: It is now `WriterOptions -> Pandoc -> IO String`. Also handle new image attributes. (mb21) | |||||
2015-08-05 | ICML writer: Add Cite style to citations. | John MacFarlane | 1 | -1/+3 | |
(mb21) | |||||
2015-08-05 | PDF: Modified for new image size attributes parameter. | John MacFarlane | 1 | -6/+6 | |
(mb21) | |||||
2015-08-05 | Parsing: Add `extractIdClass`, modified type of `KeyTable`. | John MacFarlane | 1 | -2/+14 | |
(mb21) | |||||
2015-08-05 | ImageSize: Added functions for converting between image dimensions. | John MacFarlane | 1 | -15/+138 | |
(mb21) |