Commit graph

2843 commits

Author SHA1 Message Date
John MacFarlane
9538328c6b Added test case for issue #186 (\$ in latex math). 2012-02-07 19:41:37 -08:00
John MacFarlane
03d69daab6 Added test case for issue #186 (\$ in latex math). 2012-02-07 19:24:09 -08:00
John MacFarlane
136777e13c Updated changelog. 2012-02-06 13:53:07 -08:00
John MacFarlane
535f52b196 Version bump to 1.9.0.5. 2012-02-06 13:51:34 -08:00
John MacFarlane
c0cb852265 cabal: Put build-depends for tests under conditional.
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-06 13:49:56 -08:00
John MacFarlane
66ac842456 LaTeX writer: prevent adjacent hyphens from forming ligatures.
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-06 13:48:59 -08:00
John MacFarlane
408f975e47 Version bump to 1.9.0.4, updated changelog. 2012-02-06 12:49:13 -08:00
John MacFarlane
df3f3ddb6e LaTeX reader: use raw latex as fallback for Cites.
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-06 12:42:12 -08:00
John MacFarlane
630c9f81ff Fixed lhs+markdown instructions.
Classes 'literate' and 'haskell' are needed for bird tracks.
Closes #395.
2012-02-06 12:38:45 -08:00
John MacFarlane
acdbdd7da5 Text.Pandoc.PDF: Simplified tex2pdf.
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-06 12:12:23 -08:00
John MacFarlane
0e866ba81c Merge pull request #404 from conal/master
Relax test-framework version dependency to allow building with GHC 7.4.1
2012-02-06 11:55:08 -08:00
Conal Elliott
857552f85e Relaxed version upper bound for test-framework from < 0.5 to < 0.6, since 0.5 is the first version on Hackage that builds under GHC 7.4.1. 2012-02-06 10:26:36 -08:00
John MacFarlane
0ce840f14e Updated changelog. 2012-02-06 08:23:00 -08:00
John MacFarlane
abf5df9fa8 More cabal tweaks, default to Haskell98 for ghc 6.12 compatibility. 2012-02-06 08:10:56 -08:00
John MacFarlane
47f9a7daf8 Version bump to 1.9.0.3. 2012-02-06 08:07:53 -08:00
John MacFarlane
e13ad49f0d cabal changes required by version >= 1.10. 2012-02-06 08:07:17 -08:00
John MacFarlane
a791e8a7bc Fixed typo in changelog. 2012-02-06 07:23:06 -08:00
John MacFarlane
4f76f9f6e5 Require cabal version >= 1.10.
This is needed for ghcPackageDbOptions in Setup.hs.
2012-02-06 07:05:40 -08:00
John MacFarlane
880e5677e0 Updated changelog. 2012-02-05 23:39:12 -08:00
John MacFarlane
0e85ac299a Bump version to 1.9.0.2. 2012-02-05 23:38:15 -08:00
John MacFarlane
8173625059 Allow json 0.4.
Otherwise we can't compile on ghc 6.12.
2012-02-05 23:37:45 -08:00
John MacFarlane
b63f924787 Fixed bug in fromEntities: require semicolon to process as entity. 2012-02-05 23:02:01 -08:00
John MacFarlane
521e90e839 Parsing: Make characterReference fail if entity not found. 2012-02-05 23:01:35 -08:00
John MacFarlane
e2c157f86f Removed module Text.Pandoc.CharacterReferences.
Moved characterReference parser to Text.Pandoc.Parsing.
decodeCharacterReferences is now replaced by fromEntities
in Text.Pandoc.XML.
2012-02-05 22:52:00 -08:00
John MacFarlane
9bf6e665ea Removed outdated comment in LaTeX reader. 2012-02-05 22:51:42 -08:00
John MacFarlane
0a89f124e6 Removed 'nohl' variants of tests from pandoc.cabal. 2012-02-05 22:23:48 -08:00
John MacFarlane
8a2db77de2 Tightened version bounds for pandoc-types, json. 2012-02-05 22:22:10 -08:00
John MacFarlane
228699fc07 Edits to changelog. 2012-02-05 22:15:59 -08:00
John MacFarlane
b5c811402e changelog - note updated for ghc 7.4.1. 2012-02-05 20:09:27 -08:00
John MacFarlane
bec945518c Fixed Pretty so it uses Data.Monoid's <> w/ GHC 7.4.
Note:  changed fixity to infixr 6.
2012-02-05 19:57:59 -08:00
John MacFarlane
857524353e pandoc-setup.iss: Removed markdown2pdf. 2012-02-05 19:01:28 -08:00
John MacFarlane
819f815a6b Fixed template name in windows installer. 2012-02-05 18:59:57 -08:00
John MacFarlane
2ea45c345b Revert "Fixed some paths on windows installer script."
This reverts commit 4ee779c768.
2012-02-05 18:29:55 -08:00
John MacFarlane
4ee779c768 Fixed some paths on windows installer script. 2012-02-05 18:27:44 -08:00
John MacFarlane
7824be024f Documented \include in changelog. 2012-02-05 18:24:33 -08:00
John MacFarlane
607b9db58c Tweaks to make_osx_package. 2012-02-05 18:15:33 -08:00
John MacFarlane
9acb5e4d69 Tweaks to pandoc-setup for windows. 2012-02-05 18:14:48 -08:00
John MacFarlane
6c449b5cf0 Bump highlighting-kate version. 2012-02-05 17:35:56 -08:00
John MacFarlane
bec9485d93 Re-added the --ascii option.
Now it is implemented in pandoc.hs, not in the HTML writer.
2012-02-05 14:58:55 -08:00
John MacFarlane
550b931c3c Text.Pandoc.XML: Export fromEntities.
Remove old 'deEntities' from pandoc.hs.
2012-02-05 14:37:33 -08:00
John MacFarlane
4dec972cfe Remove dependency on dlist.
Use sequence in Pretty instead.
2012-02-05 14:25:12 -08:00
John MacFarlane
eed87d7755 Normalize date in EPUB metadata. 2012-02-05 14:05:30 -08:00
John MacFarlane
6cb7c688d8 Updated changelog. 2012-02-05 13:58:15 -08:00
John MacFarlane
ff18deae44 Added 6.12.1 to list of tested-with ghc versions. 2012-02-05 13:27:06 -08:00
John MacFarlane
1f20f77712 Changed infix level of testing combinators.
This avoids clash with (<>), which is defined in Data.Monoid
as having infix 6.
2012-02-05 13:23:06 -08:00
John MacFarlane
9bf32a7554 Don't use -rtsopts unless ghc >= 7.0.1. 2012-02-05 12:14:34 -08:00
John MacFarlane
ce9f5f36c8 pandoc: Treat html5+lhs as an html format. 2012-02-05 09:58:16 -08:00
John MacFarlane
f97391c7de Support \frametitle, \framesubtitle. 2012-02-05 09:28:56 -08:00
John MacFarlane
922469bbb2 LaTeX reader: Fixed bug in authors. 2012-02-05 09:06:34 -08:00
John MacFarlane
bae3b49a5a LaTeX reader: Support \TeX, \LaTeX. 2012-02-05 08:50:25 -08:00