Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2014-02-26 | Markdown reader: Improved parsing of nested divs. | John MacFarlane | 1 | -0/+2 | |
Formerly a closing div tag would be missed if it came right after other block-level tags. | |||||
2014-02-26 | Markdown parser: avoid backtracking when closing `</div>` not found. | John MacFarlane | 1 | -6/+13 | |
2014-02-26 | Markdown reader: small efficiency improvement. | John MacFarlane | 1 | -1/+1 | |
Switched `notFollewdBy' rawHtmlBlocks` -> `notFollowedBy' (htmlTag isBlockTag)`, which is more efficient. | |||||
2014-02-25 | Added readerTrace to ReaderOptions, --trace command line opt. | John MacFarlane | 2 | -1/+13 | |
This is to debug backtracking-related parsing bugs. So far it is only implemented for markdown, but it would be good to extend it to latex and html readers. | |||||
2014-02-23 | PDF: Use ; for TEXINPUTS separator on Windows. | John MacFarlane | 1 | -1/+6 | |
Closes #1151, I hope. Testing needed. | |||||
2014-02-21 | Fixed bug in reference link parsing in markdown_mmd. | John MacFarlane | 1 | -1/+1 | |
The bug was triggered by: Link to [Google][]. Link to [twitter][]. [Google]: http://google.com [twitter]: http://twitter.com | |||||
2014-02-19 | Make rst figures true figures. Closes #1168. | John MacFarlane | 1 | -1/+1 | |
Thanks to CasperVector. | |||||
2014-02-17 | Merge pull request #1145 from wilx/en-dash-ligature-avoidance | John MacFarlane | 1 | -1/+1 | |
Use \/ to avoid en-dash ligature instead of -{}-. | |||||
2014-02-17 | HTML writer: Fixed bug with unnumbered section headings. | John MacFarlane | 1 | -1/+2 | |
Unnumbered section headings (with class 'unnumbered') were getting numbers. This commit fixes the bug. | |||||
2014-02-15 | Clarified field values in RstCustomRoles. | Merijn Verstraaten | 1 | -0/+4 | |
2014-02-15 | Enhanced Pandoc's support for rST roles. | Merijn Verstraaten | 2 | -10/+83 | |
rST parser now supports: - All built-in rST roles - New role definition - Role inheritance Issues/TODO: - Silently ignores illegal fields on roles - Silently drops class annotations for roles - Only supports :format: fields with a single format for :raw: roles, requires a change to Text.Pandoc.Definition.Format to support multiple formats. - Allows direct use of :raw: role, rST only allows indirect (i.e., inherited use of :raw:). | |||||
2014-02-09 | Merge remote-tracking branch 'origin/master' into en-dash-ligature-avoidance. | Vaclav Zeman | 29 | -377/+1420 | |
2014-02-08 | Use \/ to avoid en-dash ligature instead of -{}-. | Vaclav Zeman | 1 | -1/+1 | |
This is to fix LuaLaTeX output. The -{}- sequence does not avoid the ligature with LuaLaTeX but \/ does. | |||||
2014-02-06 | Removed RenderState datatype context. | Merijn Verstraaten | 1 | -2/+1 | |
Reasoning: - It's not Haskell2010 - It breaks some tools - Doesn't actually do anything - RenderState doesn't even have a Monoid instance | |||||
2014-02-04 | Slight code reorganization in endline. | John MacFarlane | 1 | -5/+3 | |
2014-01-24 | ImageSize: Avoid use of lookAhead, which is not in binary >= 0.6. | John MacFarlane | 1 | -4/+5 | |
Closes #1124. | |||||
2014-01-22 | Fixed mediawiki ordered list parsing. | John MacFarlane | 1 | -10/+15 | |
Closes #1122. | |||||
2014-01-20 | HTML reader: Fixed bug reading inline math with `$$`. | John MacFarlane | 1 | -2/+2 | |
See #225. | |||||
2014-01-16 | Merge pull request #974 from merijn/master | John MacFarlane | 1 | -6/+17 | |
Added support for LaTeX style literate Haskell code blocks in rST. | |||||
2014-01-14 | Allow binary 0.5. Version bump to 1.12.3.1. | John MacFarlane | 1 | -3/+6 | |
2014-01-09 | Minor improvement to exif parser. | John MacFarlane | 1 | -2/+2 | |
2014-01-09 | Markdown parser: be more permissive about citation keys. | John MacFarlane | 1 | -3/+4 | |
Keys may now start with an underscore as well as a letter. Underscores do not count as internal punctuation, but are treated like alphanumerics, so "key:_2008" will work, as it did not before. (This change was necessary to use keys generated by zotero.) Closes #1111, closes #1011. | |||||
2014-01-09 | Better exif parsing, including image resolution. | John MacFarlane | 1 | -15/+210 | |
This introduces a dependency on binary >= 0.6, but we depend on binary >= 0.5 via zip-archive anyway. Closes #976. | |||||
2014-01-08 | Text.Pandoc.ImageSize: Parse EXIF format JPGs. | John MacFarlane | 1 | -6/+28 | |
Note: For now we just assign them all 72 dpi. It wasn't clear to me how to extract the resolution information. At least the aspect ratio will be right, and 72 dpi is the most common setting. Closes #976. | |||||
2014-01-08 | fetchItem: Handle image URLs beginning with '//'. | John MacFarlane | 1 | -4/+9 | |
2014-01-07 | Markdown reader: Allow hard line breaks in table cells. | John MacFarlane | 1 | -3/+3 | |
The \-newline form must be used; the two-space+newline form won't work, since in a table cell nearly every line ends with two spaces. | |||||
2014-01-07 | Added wmf and emf mime types. | John MacFarlane | 1 | -0/+2 | |
2014-01-07 | Fixed small regression in docx writer. | John MacFarlane | 1 | -3/+6 | |
2014-01-06 | EPUB writer: Strip out footnotes from toc entries. | John MacFarlane | 1 | -5/+6 | |
2014-01-06 | EPUB writer: Avoid duplicate notes when headings contain notes. | John MacFarlane | 1 | -1/+7 | |
This arose because the headings are copied into the metadata "title" field, and the note gets rendered twice. We strip the note now before putting the heading in "title". | |||||
2014-01-06 | HTML writer: Omit footnotes from TOC entries. | John MacFarlane | 1 | -1/+3 | |
Otherwise we get doubled footnotes when headers have notes! | |||||
2014-01-02 | RST writer: Ensure no blank line after def in definition list. | John MacFarlane | 1 | -1/+1 | |
Closes #992. | |||||
2014-01-02 | Pretty: Added nestle. API change, minor version bump to 1.12.3. | John MacFarlane | 1 | -1/+10 | |
2014-01-02 | HTML writer: With --toc, headers no longer link to themselves. | John MacFarlane | 1 | -15/+8 | |
Closes #1081. | |||||
2014-01-02 | Use isHeaderBlock from Shared rather than defining it anew... | John MacFarlane | 2 | -9/+3 | |
2014-01-02 | ODT writer: Use mathml for proper rendering of formulas. | John MacFarlane | 1 | -8/+42 | |
Note: LibreOffice's support for this seems a bit buggy. But it should be better than what we had before. | |||||
2014-01-02 | OpenDocument writer: Fixed RawInline, RawBlock so they don't escape. | John MacFarlane | 1 | -6/+10 | |
2014-01-02 | Moved fixDisplayMath from Docx writer to Writer.Shared. | John MacFarlane | 2 | -25/+29 | |
2014-01-01 | HTML reader: Parse name/content pairs from meta tags as metadata. | John MacFarlane | 1 | -1/+10 | |
Closes #1106. | |||||
2014-01-01 | Docx writer: Fixed problem with some modified reference docx files. | John MacFarlane | 1 | -2/+7 | |
Include `word/_rels/settings.xml.rels` if it exists, as well as other `rels` files besides the ones pandoc generates explicitly. | |||||
2013-12-19 | HLint: use fromMaybe | Henry de Valence | 10 | -23/+30 | |
Replace uses of `maybe x id` with `fromMaybe x`. | |||||
2013-12-19 | HLint: use /= | Henry de Valence | 1 | -1/+1 | |
2013-12-19 | HLint: redundant parens | Henry de Valence | 5 | -5/+5 | |
Remove parens enclosing a single element. | |||||
2013-12-19 | HLint: Remove lambdas. | Henry de Valence | 1 | -2/+1 | |
2013-12-19 | HLint: use `elem` and `notElem` | Henry de Valence | 6 | -23/+19 | |
Replaces long conditional chains with calls to `elem` and `notElem`. | |||||
2013-12-19 | HLint: Use all | Henry de Valence | 2 | -5/+5 | |
Replace `and . map` with `all`. | |||||
2013-12-17 | LaTeX writer: Better treatment of footnotes in tables. | John MacFarlane | 1 | -6/+29 | |
Notes now appear in the regular sequence, rather than in the table cell. (This was a regression in 1.10.) | |||||
2013-12-17 | LaTeX writer: Factored out function for table cell creation. | John MacFarlane | 1 | -13/+17 | |
2013-12-17 | LaTeX reader: Support babel-style quoting: `` "`..."' ``. | John MacFarlane | 1 | -0/+2 | |
2013-12-16 | Docbook reader: Avoid failure if tbody contains no tr or row elements. | John MacFarlane | 1 | -1/+3 | |