Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2016-03-10 | Docx Writer: handle image alt text | mb21 | 1 | -2/+2 | |
closes #2754 | |||||
2016-03-09 | Markdown reader: Improved pipe table parsing. | John MacFarlane | 1 | -15/+15 | |
Fixes #2765. Added test case. | |||||
2016-03-09 | Markdown reader: Clean up pipe table parsing. | John MacFarlane | 1 | -8/+8 | |
2016-03-09 | Markdown reader: allow `+` separators in pipe table cells. | John MacFarlane | 1 | -6/+4 | |
We already allowed them in the header, but not in the body rows, for some reason. This gives compatibility with org-mode tables. | |||||
2016-03-09 | Markdown reader: don't cross line boundary parsing pipe table row. | John MacFarlane | 1 | -1/+7 | |
Previously an emph element could be parsed across the newline at the end of the pipe table row. I thought this would help with #2765, but it doesn't. | |||||
2016-03-08 | DokuWiki writer: use $$ for display math. | John MacFarlane | 1 | -1/+4 | |
2016-03-08 | Docx reader: update feature checklist. | Jesse Rosenthal | 1 | -5/+3 | |
The feature checklist in the source code was out of date. Update. | |||||
2016-02-28 | LaTeX reader: handle interior `$` characters in math. | John MacFarlane | 1 | -4/+12 | |
e.g. `$$\hbox{$i$}$$`. Partially addresses #2743. | |||||
2016-02-26 | Docx Reader: Get rid of Modifiable typeclass. | Jesse Rosenthal | 3 | -198/+169 | |
The docx reader used to use a Modifiable typeclass to combine both Blocks and Inlines. But all the work was in the inlines. So most of the generality was wasted, at the expense of making the code harder to understand. This gets rid of the generality, and adds functions for Blocks and Inlines. It should be a bit easier to work with going forward. | |||||
2016-02-23 | Make protocol-relative URIs work again. | John MacFarlane | 1 | -2/+4 | |
Closes #2737. | |||||
2016-02-21 | Markdown reader: use htmlInBalanced for rawVerbatimBlock. | John MacFarlane | 1 | -7/+5 | |
This should give better performance. See #2730. | |||||
2016-02-20 | Fixed some linter warnings. | John MacFarlane | 1 | -3/+3 | |
2016-02-20 | Merge pull request #2646 from tarleb/org-figure-with-no-name | John MacFarlane | 1 | -3/+3 | |
Prefix even empty figure names with "fig:" | |||||
2016-02-20 | Merge pull request #2668 from monofon/fix/yaml-metadata-block-bottom-line | John MacFarlane | 1 | -1/+1 | |
Markdown writer: Use hyphens for yaml metadata block bottom line | |||||
2016-02-20 | Merge pull request #2691 from tarleb/org-image-file-links | John MacFarlane | 1 | -29/+29 | |
Org reader: Refactor link-target processing | |||||
2016-02-20 | HTML reader: rewrote htmlInBalanced. | John MacFarlane | 1 | -10/+39 | |
This version avoids an exponential performance problem with `<script>` tags, and it should be faster in general. Closes #2730. | |||||
2016-02-18 | LaTeX writer: clean up options parser. | Jesse Rosenthal | 1 | -3/+4 | |
Make sure that we require the closing bracket. | |||||
2016-02-18 | LaTeX writer: treat memoir template with `article` opt as article | Jesse Rosenthal | 1 | -6/+21 | |
We currently treat all memoir templates as books. This means that pandoc will infer the `--chapters` argument, even if the `article` iption is set for memoir. This commit makes pandoc treats the document as an article if there is an article option (i.e., `\documentclass[12pt,article]{memoir}`). Note that this refactors out the parsec parsers for document class and options, to make it a little clearer what's going on. | |||||
2016-02-16 | HTML reader: properly handle an empty cell in a simple table. | John MacFarlane | 1 | -0/+1 | |
Closes #2718. | |||||
2016-02-09 | Removed `tex_math_single_backslash` from `markdown_github` options. | John MacFarlane | 1 | -1/+0 | |
Closes #2707. | |||||
2016-02-05 | Custom writer: Pass attributes parameter to CaptionedImage. | John MacFarlane | 1 | -2/+2 | |
Closes #2697. | |||||
2016-02-04 | Markdown reader: Fixed bug with smart quotes around tex math. | John MacFarlane | 1 | -2/+2 | |
Previously smart quotes were incorrect in the following: '$\neg(x \in x)$'. (because of the following period). This commit fixes the problem, which was introduced by commit 4229cf2d92faf5774fe1a3a9c89a5de885cf75cd. | |||||
2016-02-03 | HTML writer: don't include alignment attribute for default table columns. | John MacFarlane | 1 | -2/+5 | |
Previously these were given "left" alignment. Better to leave off alignment attributes altogether. Closes #2694. | |||||
2016-02-02 | Docx reader: Add a "Link" modifier to Reducible | Jesse Rosenthal | 1 | -0/+2 | |
We want to make sure that links have their spaces removed, and are appropriately smushed together. This closes #2689 | |||||
2016-01-31 | Org reader: Refactor link-target processing | Albert Krewinkel | 1 | -29/+29 | |
Cleanup of the code for link target handling. Most notably, the canonicalization of a link is handled by a separate function. This fixes #2684. | |||||
2016-01-31 | LaTeX reader: `inlineCommand` now gobbles an empty `{}` after any command. | John MacFarlane | 1 | -1/+2 | |
This gives better results when people write e.g. `\TeX{}` in Markdown. \TeX{} and \LaTeX{} now works as expected with `pandoc -f markdown -t latex`. Closes #2687. | |||||
2016-01-29 | HTML reader: handle multiple meta tags with same name. | John MacFarlane | 1 | -2/+6 | |
Put them in a list in the metadata so they are all preserved, rather than (as before) throwing out all but one.. | |||||
2016-01-29 | Properly handle LaTeX "math" environment as inline math. | John MacFarlane | 1 | -0/+1 | |
See #2171. | |||||
2016-01-25 | Textile reader: Support `>`, `<`, `=`, `<>` text alignment attributes. | John MacFarlane | 1 | -2/+19 | |
Closes #2674. | |||||
2016-01-24 | Make language extensions trigger highlighting. | John MacFarlane | 1 | -1/+2 | |
For example, `py` will now work as well as `python`. Closes jgm/highlighting-kate#83. | |||||
2016-01-22 | Changed type of Shared.uniqueIdent argument from [String] to Set String. | John MacFarlane | 11 | -31/+39 | |
This avoids performance problems in documents with many identically named headers. Closes #2671. | |||||
2016-01-21 | Merge pull request #2638 from c-forster/teiwriter | John MacFarlane | 2 | -0/+323 | |
Add TEI Writer. | |||||
2016-01-21 | Markdown writer: Use hyphens for yaml metadata block bottom line | Henrik Tramberend | 1 | -1/+1 | |
2016-01-20 | LaTeX writer: Allow more flexible table alignment | Henrik Tramberend | 1 | -1/+1 | |
2016-01-19 | Added some entity tests in Markdown reader tests. | John MacFarlane | 1 | -6/+6 | |
Change types of divs. From Docbook "sect#" and "simplesect" to "level#" and "section." Add tests. Add mention of TEI to README. Small changes to TEI writer. | |||||
2016-01-19 | Add TEI Writer. | csforste | 2 | -0/+323 | |
2016-01-14 | HTML writer: harmless code simplification. | John MacFarlane | 1 | -34/+32 | |
Since the 'math' is only put into the template if stMath is set anyway, there's no need for this conditional. | |||||
2016-01-13 | Org writer - pass through RawInline with format "org". | John MacFarlane | 1 | -2/+7 | |
2016-01-11 | Prefix even empty figure names with "fig:" | Albert Krewinkel | 1 | -3/+3 | |
The convention used by pandoc for figures is to mark them by prefixing the name with "fig:". The org reader failed to do this if a figure had no name. The test for this was broken as well. This fixes #2643. | |||||
2016-01-11 | Depend on deepseq rather than deepseq-generics. | John MacFarlane | 1 | -1/+1 | |
See fpco/stackage#1096. | |||||
2016-01-11 | Fixed regression in latex smart quote parsing. | John MacFarlane | 1 | -4/+5 | |
Closes #2645. In cases where a match was not found for a quote, everything from the open quote to the end of the paragraph was being dropped. | |||||
2016-01-10 | LaTeX writer: figure label | mb21 | 1 | -19/+24 | |
2016-01-09 | LaTeX writer: restore old treatment of Span. | John MacFarlane | 1 | -17/+15 | |
A Span is rendered with surrounding {braces}. This was a regression in 1.16. Closes #2624. | |||||
2016-01-08 | Fixed shadowing warning. | John MacFarlane | 1 | -1/+1 | |
2016-01-08 | Work around tagsoup bug - not allowing uppercase x in hex entities. | John MacFarlane | 2 | -0/+2 | |
Issue submitted at tagsoup. | |||||
2016-01-08 | Entity handling fixes: | John MacFarlane | 2 | -3/+10 | |
- Text.Pandoc.XML.fromEntities: handle entities without a semicolon. Always lookup character references with the trailing ';', even if it wasn't present. And never add it when looking up numerical entities. (This is what tagsoup seems to require.) - Text.Pandoc.Parsing.characterReference: Always lookup character references with the trailing ';', and leave off the ';' when looking up numerical entities. This fixes a regression for e.g. `⟨`. | |||||
2016-01-07 | Merge pull request #2629 from tarleb/org-noexport-fix | John MacFarlane | 1 | -2/+4 | |
Fix function dropping subtrees tagged :noexport: | |||||
2016-01-07 | Fix function dropping subtrees tagged :noexport: | Albert Krewinkel | 1 | -2/+4 | |
Continue scanning for comment subtrees beyond only the first block. Note to self: when writing an recursive function, don't forget to, you know, actually recurse. Shout to @mrvdb for noticing this. This fixes #2628. | |||||
2016-01-07 | Markdown reader: renormalize table column widths if they exceed 100%. | John MacFarlane | 1 | -1/+6 | |
Closes #2626. | |||||
2016-01-05 | RST, Markdown writers: Fixed rendering of grid tables with blank rows. | John MacFarlane | 2 | -2/+2 | |
Closes #2615. |