Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-09-27 | Added stateSubstitutions to ParserState, use for RST substitutions. | John MacFarlane | 2 | -12/+23 | |
2012-09-27 | Removed Ext_monospace_autolinks. | John MacFarlane | 3 | -13/+2 | |
2012-09-27 | Added Ext_autolink_urls. | John MacFarlane | 3 | -0/+14 | |
2012-09-27 | Renamed Ext_autolink_code_spans to Ext_monospace_autolinks. | John MacFarlane | 3 | -4/+4 | |
2012-09-26 | RST reader: Support :target: on .. image:: blocks. | John MacFarlane | 2 | -6/+10 | |
Still not supported on substitution definitions. | |||||
2012-09-26 | Makefile: Don't remove citeproc-hs and pandoc-types with clean. | John MacFarlane | 1 | -1/+4 | |
Added new 'veryclean' target that removes these too. | |||||
2012-09-26 | Biblio: Remove workaround for toCapital. | John MacFarlane | 1 | -10/+2 | |
Now citeproc-hs is fixed upstream, so this is no longer needed. Closes #531. | |||||
2012-09-26 | Makefile: Use Andrea's repository for citeproc-hs. | John MacFarlane | 1 | -1/+1 | |
2012-09-26 | Shared: Count \r as space in removeLeading/TrailingSpace. | John MacFarlane | 1 | -1/+1 | |
2012-09-26 | UTF8: Better error message for invalid UTF8. | John MacFarlane | 1 | -4/+6 | |
Read bytestring and use Text's decodeUtf8 instead of using System.IO's hGetContents. This way you get a message saying "invalid UTF-8 stream" instead of "invalid byte sequence." You are also told which byte caused the problem. | |||||
2012-09-25 | Make --id-prefix affect footnote IDs in markdown writer. | John MacFarlane | 3 | -6/+8 | |
Closes #614. | |||||
2012-09-25 | Removed need for utf8-string package. | John MacFarlane | 9 | -40/+63 | |
* Depend on text. * Expose Text.Pandoc.UTF8. * Text.Pandoc.UTF8 now exports toString, fromString, toStringLazy, fromStringLazy. * These are used instead of the old utf8-string functions. | |||||
2012-09-25 | UTF8: use universalNewlineMode in reading. | John MacFarlane | 1 | -1/+2 | |
This treats both '\r\n' and '\n' as '\n' on input, no matter what platform we're running on. | |||||
2012-09-24 | Texinfo writer: Fixed internal cross-references. | John MacFarlane | 2 | -33/+93 | |
Now we insert anchors after each header, and use @ref instead of @uref for links. Commas are now escaped as @comma{} only when needed; previously all commas were escaped. (This change is needed, in part, because @ref commands must be followed by a real comma or period.) Also insert a blank line in from of @verbatim environments. | |||||
2012-09-23 | Revert "More intelligent handling of text encodings." | John MacFarlane | 5 | -30/+20 | |
This reverts commit 7272735b3d413a644fd9ab01eeae8ae9cd5a925b. | |||||
2012-09-23 | More intelligent handling of text encodings. | John MacFarlane | 5 | -20/+30 | |
Previously, UTF-8 was enforced for both input and output. The new system: * For input, UTF-8 is tried first; if an error is raised, the locale encoding is tried. * For output, the locale encoding is always used. | |||||
2012-09-23 | Removed unneeded CPP conditional. | John MacFarlane | 1 | -44/+0 | |
Removed code that was conditional on base < 4.2, since now we require base >= 4.2. | |||||
2012-09-23 | Added base dependencies for test suite. | John MacFarlane | 1 | -1/+3 | |
2012-09-23 | Added 'UTF8.' to decodeArg. | John MacFarlane | 1 | -1/+1 | |
2012-09-23 | Require base >= 4.2 (i.e. GHC 6.12). | John MacFarlane | 1 | -19/+9 | |
2012-09-23 | Revert "Use local encoding for input/output rather than forcing UTF8." | John MacFarlane | 2 | -12/+13 | |
This reverts commit c69837adb648a479167be5e2d37279a02be8060c. | |||||
2012-09-23 | Use local encoding for input/output rather than forcing UTF8. | John MacFarlane | 2 | -13/+12 | |
Note that system templates are stored as UTF8 and will still be read as such, even if the local encoding is different. Text downloaded from URLs will also be treated as UTF-8. | |||||
2012-09-23 | UTF8: Export decodeArg. | John MacFarlane | 1 | -1/+5 | |
2012-09-23 | Export encodePath/decodePath from UTF8. | John MacFarlane | 2 | -15/+2 | |
Removed duplicate code in src/pandoc.hs. | |||||
2012-09-22 | Markdown reader: Fixed link parser to avoid exponential slowdowns. | John MacFarlane | 2 | -8/+14 | |
Previously the parser would hang on input like this: [[[[[[[[[[[[[[[[[[hi We fixed this by making the link parser parser characters between balanced brackets (skipping brackets in inline code spans), then parsing the result as an inline list. One change is that [hi *there]* bud](/url) is now no longer parsed as a link. But in this respect pandoc behaved differently from most other implementations anyway, so that seems okay. All current tests pass. Added test for this case. Closes #620. | |||||
2012-09-22 | LaTeX reader: Added a 'try' in rawLaTeXBlock. | John MacFarlane | 2 | -1/+5 | |
This allows the markdown reader to treat '\begin' (not followed by an argument) as a raw string rather than erroring out when it doesn't find a '{'. Closes #622. | |||||
2012-09-21 | Tests.Old: Set TMP to ".". | John MacFarlane | 1 | -1/+1 | |
Otherwise TMP is unset and, on Windows, C:\Windows is used by default, leading to permission violations. | |||||
2012-09-21 | Merge pull request #619 from bgamari/master | John MacFarlane | 2 | -8/+15 | |
Various version bumps | |||||
2012-09-21 | Setup: getModificationTime returns UTCTime as of GHC 7.6 | Ben Gamari | 1 | -0/+7 | |
2012-09-21 | Bump network upper bound to <2.5 | Ben Gamari | 1 | -2/+2 | |
network 2.4 is now on hackage | |||||
2012-09-21 | Bump directory upper bound to <1.3 | Ben Gamari | 1 | -3/+3 | |
directory-1.2 is in ghc 7.6 | |||||
2012-09-21 | Bump containers upper bound to <0.6 | Ben Gamari | 1 | -3/+3 | |
Since containers 0.5 is in the wild as of ghc 7.6 | |||||
2012-09-16 | README: Removed claim that 'enumerate' library is needed in LaTeX. | John MacFarlane | 1 | -1/+1 | |
It isn't any longer. | |||||
2012-09-16 | LaTeX/Beamer templates: Don't require 'float' package for tables. | John MacFarlane | 1 | -5/+7 | |
We don't actually seem to use the '[H]' option. | |||||
2012-09-16 | LaTeX writer: Don't rely on the enumerate package. | John MacFarlane | 3 | -46/+66 | |
Instead, use standard LaTeX commands to change numbering style. | |||||
2012-09-16 | LaTeX writer: Properly escape strings inside \url{}. | John MacFarlane | 2 | -2/+3 | |
Closes #576. | |||||
2012-09-16 | RST writer: Fixed hyperlinked images. | John MacFarlane | 1 | -17/+28 | |
* Use :target: field when you have a simple linked image. * Don't wrap the reference. * Cleaned up code. * Closes #611. | |||||
2012-09-16 | RST reader: Small tweaks to raw field lists. | John MacFarlane | 1 | -3/+2 | |
* Don't allow line breaks in field names. * Strip off initial newline from 'raw' when field body begins on next line. | |||||
2012-09-16 | Merge pull request #596 from dlax/rst-fieldlists | John MacFarlane | 2 | -3/+4 | |
improvements to rst reader for field lists | |||||
2012-09-15 | MediaWiki reader: Allow table in table cell. | John MacFarlane | 3 | -1/+36 | |
2012-09-15 | LaTeX writer: Don't escape _ in hyperref identifiers. | John MacFarlane | 1 | -1/+1 | |
2012-09-15 | LaTeX writer: don't escape _ in url. | John MacFarlane | 2 | -2/+2 | |
2012-09-15 | LaTeX writer: Don't use \endhead with longtable. | John MacFarlane | 2 | -6/+6 | |
It causes the heading to be a different size form the body, sometimes. | |||||
2012-09-15 | Markdown writer: Made sensitive to Ext_hard_line_breaks. | John MacFarlane | 1 | -4/+8 | |
2012-09-15 | Updated README to mention longtable package | John MacFarlane | 1 | -1/+1 | |
2012-09-15 | Updated README to include mediawiki reader | John MacFarlane | 1 | -19/+20 | |
2012-09-15 | Revised latex writer tests to use longtable. | John MacFarlane | 1 | -57/+51 | |
2012-09-15 | LaTeX writer: Use longtable instead of ctable. | John MacFarlane | 1 | -19/+17 | |
2012-09-15 | LaTeX, beamer templates: Use longtable instead of ctable. | John MacFarlane | 1 | -8/+5 | |
2012-09-15 | MediaWiki reader: Added smart doublequotes with -S option. | John MacFarlane | 1 | -2/+10 | |
Also disallow ' in the "trail" of an internal link; allowing it causes bugs with `'''[[Link]]'''`. |