aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-02-26Markdown reader: Improved parsing of nested divs.John MacFarlane1-0/+2
Formerly a closing div tag would be missed if it came right after other block-level tags.
2014-02-26Markdown parser: avoid backtracking when closing `</div>` not found.John MacFarlane1-6/+13
2014-02-26Markdown reader: small efficiency improvement.John MacFarlane1-1/+1
Switched `notFollewdBy' rawHtmlBlocks` -> `notFollowedBy' (htmlTag isBlockTag)`, which is more efficient.
2014-02-25Added readerTrace to ReaderOptions, --trace command line opt.John MacFarlane3-1/+22
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-23PDF: Use ; for TEXINPUTS separator on Windows.John MacFarlane2-1/+8
Closes #1151, I hope. Testing needed.
2014-02-21Fixed bug in reference link parsing in markdown_mmd.John MacFarlane1-1/+1
The bug was triggered by: Link to [Google][]. Link to [twitter][]. [Google]: http://google.com [twitter]: http://twitter.com
2014-02-20Revised tests for new latex template.John MacFarlane3-3/+3
2014-02-20default.latex template: use fontenc package only for pdflatex.John MacFarlane1-6/+6
See #1164.
2014-02-19Make rst figures true figures. Closes #1168.John MacFarlane1-1/+1
Thanks to CasperVector.
2014-02-18Move include-after to end in revealjs template. (certainlyakey)John MacFarlane1-7/+6
2014-02-17Merge pull request #1145 from wilx/en-dash-ligature-avoidanceJohn MacFarlane1-1/+1
Use \/ to avoid en-dash ligature instead of -{}-.
2014-02-17HTML writer: Fixed bug with unnumbered section headings.John MacFarlane1-1/+2
Unnumbered section headings (with class 'unnumbered') were getting numbers. This commit fixes the bug.
2014-02-15Merge pull request #1163 from merijn/masterJohn MacFarlane4-10/+121
Extended the rST parser's handling of roles.
2014-02-15Clarified field values in RstCustomRoles.Merijn Verstraaten1-0/+4
2014-02-15Enhanced Pandoc's support for rST roles.Merijn Verstraaten4-10/+117
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-13Added explanation of 'nocite' trick.John MacFarlane1-0/+15
2014-02-09Merge remote-tracking branch 'origin/master' into en-dash-ligature-avoidance.Vaclav Zeman105-4456/+2074
2014-02-08Use \/ to avoid en-dash ligature instead of -{}-.Vaclav Zeman1-1/+1
This is to fix LuaLaTeX output. The -{}- sequence does not avoid the ligature with LuaLaTeX but \/ does.
2014-02-07Merge pull request #1143 from merijn/masterJohn MacFarlane1-2/+1
Removed Monoid datatype context from RenderState.
2014-02-06Removed RenderState datatype context.Merijn Verstraaten1-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-04Slight code reorganization in endline.John MacFarlane1-5/+3
2014-02-03Version bump to 1.12.3.3.John MacFarlane2-1/+6
No changes to source: just to regenerate tarball with latest alex, happy, to satisfy GHC 7.8.
2014-02-03Version bump to 1.12.3.2.John MacFarlane1-1/+1
2014-02-03Updated changelog.John MacFarlane1-0/+14
2014-01-27Bumped version bounds for blaze-html, blaze-markup.John MacFarlane1-2/+2
2014-01-24ImageSize: Avoid use of lookAhead, which is not in binary >= 0.6.John MacFarlane1-4/+5
Closes #1124.
2014-01-22Fixed mediawiki ordered list parsing.John MacFarlane2-12/+17
Closes #1122.
2014-01-20HTML reader: Fixed bug reading inline math with `$$`.John MacFarlane1-2/+2
See #225.
2014-01-16Merge pull request #974 from merijn/masterJohn MacFarlane1-6/+17
Added support for LaTeX style literate Haskell code blocks in rST.
2014-01-14Allow binary 0.5. Version bump to 1.12.3.1.John MacFarlane3-5/+12
2014-01-13Removed obsolete README note about mmd title blocks.John MacFarlane1-4/+3
2014-01-10Updated release checklist.John MacFarlane1-3/+1
2014-01-10Fixed bug in changelog (item was put under wrong release).John MacFarlane1-2/+2
2014-01-09Require latest texmath, highlighting-kate.John MacFarlane1-4/+4
2014-01-09Updated changelog.John MacFarlane1-0/+11
2014-01-09Minor improvement to exif parser.John MacFarlane1-2/+2
2014-01-09Relaxed version bounds on attoparsec, text, aeson.John MacFarlane1-6/+6
2014-01-09Markdown parser: be more permissive about citation keys.John MacFarlane1-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-09Better exif parsing, including image resolution.John MacFarlane2-16/+212
This introduces a dependency on binary >= 0.6, but we depend on binary >= 0.5 via zip-archive anyway. Closes #976.
2014-01-08Text.Pandoc.ImageSize: Parse EXIF format JPGs.John MacFarlane1-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-08fetchItem: Handle image URLs beginning with '//'.John MacFarlane1-4/+9
2014-01-08Added README comment on line breaks in cellsJohn MacFarlane1-0/+3
2014-01-07Updated changelog.John MacFarlane1-2/+6
2014-01-07Markdown reader: Allow hard line breaks in table cells.John MacFarlane1-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-07Updated tests for latest texmath.John MacFarlane1-1/+1
2014-01-07Updated changelog.John MacFarlane1-0/+97
2014-01-07Added wmf and emf mime types.John MacFarlane1-0/+2
2014-01-07Fixed small regression in docx writer.John MacFarlane1-3/+6
2014-01-06Increase upper bound for text.John MacFarlane1-3/+2
2014-01-06Increase upper bound on process.John MacFarlane1-1/+1