aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-02-08More efficient implementation of nowrap in Pretty.John MacFarlane1-4/+4
2012-02-07Version bump to 1.9.1.John MacFarlane1-1/+1
(Due to new field in ParserState introduced in last commit.)
2012-02-07Limit nesting of strong/emph.John MacFarlane2-2/+16
This avoids exponential lookahead in parasitic cases, like a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**. Added stateMaxNestingLevel to ParserState. We set this to 6, so you can still have Emph inside Emph, just not indefinitely.
2012-02-07PDF: Only run latex twice if \tableofcontents is present.John MacFarlane1-1/+4
Note: This will pick up on \tableofcontents even if it's in a verbatim environment. But the worst that can happen is that the document takes a bit longer to build.
2012-02-07Handle escaped $ in latex math. Closes #186.John MacFarlane1-2/+8
2012-02-07Added test case for issue #186 (\$ in latex math).John MacFarlane1-1/+1
2012-02-07Added test case for issue #186 (\$ in latex math).John MacFarlane1-0/+5
2012-02-06Updated changelog.John MacFarlane1-0/+8
2012-02-06Version bump to 1.9.0.5.John MacFarlane1-1/+1
2012-02-06cabal: Put build-depends for tests under conditional.John MacFarlane1-25/+25
Otherwise even those who don't build with the tests flag need to have dependencies like test-framework. This restores the old behavior; I wrongly assumed that by now cabal was smart enough not to bring in build-depends for components with Buildable = False.
2012-02-06LaTeX writer: prevent adjacent hyphens from forming ligatures.John MacFarlane1-20/+32
This is important primarily for things like `--option`. Em and En dashes will produce '---' and '--' in LaTeX, but hyphens should not otherwise combine into dashes.
2012-02-06Version bump to 1.9.0.4, updated changelog.John MacFarlane2-1/+13
2012-02-06LaTeX reader: use raw latex as fallback for Cites.John MacFarlane3-76/+82
This way you can still get the raw latex back, even if you don't process with citeproc. Previously, cites were not visible at all unless you specified --biblio on the command line and converted them using citeproc, or used --natbib or --biblatex.
2012-02-06Fixed lhs+markdown instructions.John MacFarlane1-2/+2
Classes 'literate' and 'haskell' are needed for bird tracks. Closes #395.
2012-02-06Text.Pandoc.PDF: Simplified tex2pdf.John MacFarlane1-26/+16
We no longer try to parse the log file to determine whether latex needs to be rerun. Instead, we run latex twice -- which should be enough for table of contents and hyperrefs. Closes #402.
2012-02-06Merge pull request #404 from conal/masterJohn MacFarlane1-1/+1
Relax test-framework version dependency to allow building with GHC 7.4.1
2012-02-06Relaxed version upper bound for test-framework from < 0.5 to < 0.6, since ↵Conal Elliott1-1/+1
0.5 is the first version on Hackage that builds under GHC 7.4.1.
2012-02-06Updated changelog.John MacFarlane1-0/+5
2012-02-06More cabal tweaks, default to Haskell98 for ghc 6.12 compatibility.John MacFarlane1-5/+4
2012-02-06Version bump to 1.9.0.3.John MacFarlane1-1/+1
2012-02-06cabal changes required by version >= 1.10.John MacFarlane1-32/+88
2012-02-06Fixed typo in changelog.John MacFarlane1-1/+1
2012-02-06Require cabal version >= 1.10.John MacFarlane1-1/+1
This is needed for ghcPackageDbOptions in Setup.hs.
2012-02-05Updated changelog.John MacFarlane1-0/+5
2012-02-05Bump version to 1.9.0.2.John MacFarlane1-1/+1
2012-02-05Allow json 0.4.John MacFarlane1-2/+2
Otherwise we can't compile on ghc 6.12.
2012-02-05Fixed bug in fromEntities: require semicolon to process as entity.John MacFarlane1-1/+1
2012-02-05Parsing: Make characterReference fail if entity not found.John MacFarlane1-2/+2
2012-02-05Removed module Text.Pandoc.CharacterReferences.John MacFarlane6-80/+21
Moved characterReference parser to Text.Pandoc.Parsing. decodeCharacterReferences is now replaced by fromEntities in Text.Pandoc.XML.
2012-02-05Removed outdated comment in LaTeX reader.John MacFarlane1-2/+0
2012-02-05Removed 'nohl' variants of tests from pandoc.cabal.John MacFarlane1-2/+0
2012-02-05Tightened version bounds for pandoc-types, json.John MacFarlane1-4/+4
2012-02-05Edits to changelog.John MacFarlane1-75/+51
2012-02-05changelog - note updated for ghc 7.4.1.John MacFarlane1-1/+1
2012-02-05Fixed Pretty so it uses Data.Monoid's <> w/ GHC 7.4.John MacFarlane1-2/+13
Note: changed fixity to infixr 6.
2012-02-05pandoc-setup.iss: Removed markdown2pdf.John MacFarlane1-1/+0
2012-02-05Fixed template name in windows installer.John MacFarlane1-1/+1
2012-02-05Revert "Fixed some paths on windows installer script."John MacFarlane1-2/+2
This reverts commit 4ee779c768726411e3214014b5f9a0907ce9c351.
2012-02-05Fixed some paths on windows installer script.John MacFarlane1-2/+2
2012-02-05Documented \include in changelog.John MacFarlane1-0/+3
2012-02-05Tweaks to make_osx_package.John MacFarlane1-1/+1
2012-02-05Tweaks to pandoc-setup for windows.John MacFarlane1-2/+6
2012-02-05Bump highlighting-kate version.John MacFarlane1-2/+2
2012-02-05Re-added the --ascii option.John MacFarlane3-8/+23
Now it is implemented in pandoc.hs, not in the HTML writer.
2012-02-05Text.Pandoc.XML: Export fromEntities.John MacFarlane2-15/+17
Remove old 'deEntities' from pandoc.hs.
2012-02-05Remove dependency on dlist.John MacFarlane2-8/+7
Use sequence in Pretty instead.
2012-02-05Normalize date in EPUB metadata.John MacFarlane1-1/+1
2012-02-05Updated changelog.John MacFarlane1-0/+487
2012-02-05Added 6.12.1 to list of tested-with ghc versions.John MacFarlane1-1/+1
2012-02-05Changed infix level of testing combinators.John MacFarlane7-7/+7
This avoids clash with (<>), which is defined in Data.Monoid as having infix 6.