aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-02-03Citation changes.John MacFarlane2-9/+17
* Citations will work in markdown even if `--biblio` isn't specified. Note: this may cause unexpected behavior for people who use strings of the form `@foo` that are not citations! * If `--biblio` isn't used, the markdown writer will write markdown citations rather than CSL-rendered citations. * This means, for example, that you can do `pandoc -f latex -t markdown` and convert biblatex or natbib citations into pandoc citations.
2013-02-02Removed unneeded blanklines in pipeTable parser.John MacFarlane1-1/+0
2013-02-02Optimized oneOfStringsCI.John MacFarlane1-3/+9
The call to toLower in ciMatch was very expensive (and very often used), because toLower from Data.Char calls a fully unicode aware function. This optimization avoids the call to toLower for the most common, ASCII cases. This dramatically reduces the speed penalty that comes from enabling the `autolink_bare_uris` extension. The penalty is still substantial (in one test, from 0.33s to 0.44s), but nowhere near what it used to be.
2013-01-30HTML reader: Handle colgroup tag.John MacFarlane1-1/+2
2013-01-28Updated changelog.John MacFarlane1-11/+14
2013-01-28DocBook writer: for linebreak, but newline in literallayout.John MacFarlane2-2/+3
Closes #725.
2013-01-28Updated changelog.John MacFarlane1-0/+47
2013-01-28Version bump to 1.10.1.John MacFarlane2-2/+2
2013-01-28Fixed latex macro parsing.John MacFarlane3-6/+6
Now latex macro definitions are preserved when output is latex, and applied when it is another format, as originally intended. Partially addresses #730. \providecommand is still not supported. For this we need changes to texmath.
2013-01-28Updated latex table tests.John MacFarlane1-7/+7
2013-01-28LaTeX writer: Avoid extra space at start/end of table cell.John MacFarlane1-1/+3
Thanks to Nick Bart for the suggestion of using @{}.
2013-01-28Markdown writer: Set title, author, date variables as before.John MacFarlane1-0/+3
These are no longer used in the default template, since we use titleblock, but we set them anyway for nondefault template users.
2013-01-28Merge pull request #733 from jrunningen/masterJohn MacFarlane3-1/+8
Mediawiki reader: Don't require blanklines after tables.
2013-01-27Markdown/RST reader: Skip blank lines.John MacFarlane4-5/+20
This fixes a subtle regression involving grid tables with empty cells. Closes #732. Also added test for grid table with empty cells.
2013-01-27Mediawiki reader: Don't require blanklines after tables.Jeff Runningen3-1/+8
2013-01-26RST writer: Use `.. code:: language` for code blocks with language.John MacFarlane11-20/+25
Closes #721. Also fixed whitespace in lhs tests.
2013-01-26Markdown writer: Use autolink when link text matches url.John MacFarlane1-3/+3
Previously we also checked for a null title, but this test fails for links produced by citeproc-hs in bibliographies. So, if the link has a title, it will be lost on conversion to an autolink, but that seems okay.
2013-01-26Removed hsmarkdown.John MacFarlane1-5/+0
2013-01-25Markdown reader: Simplified and sped up str parser.John MacFarlane1-15/+9
We no longer needed the smart quote complexity, because of improvements to singleQuoteStart and singleQuoteEnd. And we were able to move the check for intraword underscore to the emphasis parser.
2013-01-25RST reader: Allow anonymous form of explicit links.John MacFarlane1-0/+1
`hello <url>`__ Closes #724.
2013-01-25Changed copyright date range on Markdown reader.John MacFarlane1-1/+1
2013-01-25Minor code cleanup.John MacFarlane1-7/+6
2013-01-25Markdown reader: Moved guardEnabled to definitionList.John MacFarlane1-1/+1
From definitionListItem. Slight performance improvement.
2013-01-25Markdown reader: Performance improvement in str parser.John MacFarlane1-3/+6
Moved a guardEnabled out of an inner loop.
2013-01-25Use anyLine everywhere instead of 'manyTill anyChar newline'.John MacFarlane3-11/+11
2013-01-25Parsing: More improvements of anyLine parser.John MacFarlane1-6/+8
2013-01-25More anyLine tweaks: Use incSourceLine.John MacFarlane1-1/+1
2013-01-25anyLine: Set position properly.John MacFarlane1-0/+3
2013-01-25Makefile: Don't enable tests in 'make prof'.John MacFarlane1-1/+1
2013-01-25Markdown reader: More efficient version of scanForPipe.John MacFarlane1-1/+5
2013-01-25Parsing: Much faster new version of anyLine.John MacFarlane1-1/+8
Not only faster but uses less memory.
2013-01-25Increased ansi-terminal upper bound.John MacFarlane1-1/+1
2013-01-25.gitmodule: Use https rather than git URL.John MacFarlane1-1/+1
iThis helps people behind firewalls.
2013-01-25make-pandoc-man-pages: CPP macros to import right time module.John MacFarlane1-1/+4
2013-01-25Relaxed old-time version bound, allowing 1.0.*.John MacFarlane1-1/+1
I see no reason for the restriction, which requires a recent Haskell Platform. The module is only used in make-pandoc-man-pages anyway.
2013-01-25Fixed Makefile PHONY line.John MacFarlane1-1/+1
2013-01-23Updated changelog.John MacFarlane1-0/+53
2013-01-23Version bump to 1.10.0.5.John MacFarlane1-1/+1
2013-01-23Makefile: Added sdist.John MacFarlane1-1/+5
2013-01-23Use hsb2hs preprocessor instead of TH for embed_data_files.John MacFarlane4-9/+23
This should work on Windows, unlike the TH solution with file-embed.
2013-01-23Eliminated use of TH in test suite.John MacFarlane8-72/+43
2013-01-23Added Text.Pandoc.Data (non-exported) if embed_data_files selected.John MacFarlane3-7/+12
This module just exports the association list of embedded data files, which is used by Shared.
2013-01-23Fixed regressions in fenced code blocks.John MacFarlane1-16/+6
* Tilde code fences can again take bare language. So ~~~ haskell is okay, not just ~~~ {.haskell} * Backtick code blocks can take the bracketed attributes. * Backtick code blocks don't require a language. * Consolidated code for the two kinds of fenced code blocks. Closes #722.
2013-01-23Merge branch 'master' of github.com:jgm/pandocJohn MacFarlane2-6/+13
2013-01-22Changes to make-windows-installer.bat.John MacFarlane1-2/+4
* Exit batch file if any of the cabal-dev installs fail. * There's no longer any need to reinstall highlighting-kate. * Don't start with a 'cabal update'; leave that to the user.
2013-01-22README: Split up documentation of table extensions.John MacFarlane1-4/+9
2013-01-22Merge branch 'master' of github.com:jgm/pandocJohn MacFarlane4-4/+8
2013-01-22Another fix to the CPP macro in EPUB writer.John MacFarlane1-1/+1
2013-01-22windowns installer: Removed --disable-library-for-ghci.John MacFarlane1-1/+1
2013-01-22Fixed MIN_VERSION - need to sub _ for - in blaze-html.John MacFarlane1-1/+1