aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-05-06No longer need to set LANG in RunTests.John MacFarlane1-2/+1
2010-05-06Use new UTF8 module in Shared, ODT, and the executables.John MacFarlane4-56/+35
2010-05-06Added Text.Pandoc.UTF8 for portable UTF8 string IO.John MacFarlane2-0/+66
2010-05-04Convert command-line arguments to UTF8.John MacFarlane1-1/+2
Resolves Issue #234.
2010-04-26Changed rawLaTeXInline to accept '\section', '\begin', etc.John MacFarlane1-3/+8
Use new rawLaTeXInline' in LaTeX reader, and export rawLaTeXInline for use in markdown reader. Fixes bug wherein '\section{foo}' was not recognized as raw TeX in markdown document.
2010-04-26Man writer: convert math to unicode when possible.John MacFarlane2-10/+10
(As in other writers.)
2010-04-25Use texmath's parser in TexMath module.John MacFarlane8-336/+83
* This replaces a lot of custom parser code, and expands the tex -> unicode conversion. * The behavior has also changed: if the whole formula can't be converted, the whole formula is left in raw TeX. Previously, pandoc converted parts of the formula to unicode and left other parts in raw TeX. * Added (but not yet exported) readTeXMath', which returns a Maybe. * Updated tests
2010-04-25RunTests: use UTF8 no matter what the locale.John MacFarlane1-4/+8
2010-04-23Removed parsec < 3 restriction.John MacFarlane1-1/+1
2010-04-20Added 'threaded' flag.John MacFarlane1-3/+9
+ GHC lacks a threaded runtime on some architectures. Provide a 'threaded' flag that can be disabled for compiling on these architectures. + Removed '-threaded' from pandoc's ghc-options. '-threaded' is only needed for markdown2pdf, due to its use of readProcess.
2010-04-10In parsing smart quotes, leave unicode curly quotes alone.John MacFarlane1-14/+12
Resolves Issue #143.
2010-04-10Removed obsolete markdown2pdf script.John MacFarlane1-136/+0
2010-04-10Removed 'library' Cabal flag.John MacFarlane2-14/+7
Reason: starting with Cabal 1.8, installing pandoc with '-library +executable' did not work, since the build-depends in the Library stanza were ignored. The problem could be solved by repeating the build-depends in the Executable stanza, but this seems non-ideal (and might lead to errors later on). The '-library' option isn't so useful anyway, since to compile pandoc in the first place, you need a large number of Haskell libraries installed, and in this case, why balk at another? It was chiefly intended for packagers, but packagers will need to use a chroot environment anyway, and they can then simply copy the executable and not the library. Thanks to Jim Pryor for calling the problem to my attention in connection with an arch linux package.
2010-04-10Give LaTeX images a maximum width using the prelude onlyMax Bolingbroke3-1/+19
2010-04-09Updated HCAR entry.John MacFarlane1-12/+16
2010-04-06Removed markdown2pdf from list of data-files.John MacFarlane1-3/+1
2010-03-29Updated version in windows setup file.John MacFarlane1-1/+1
2010-03-29Bumped version to 1.5.1.1, updated changelog.John MacFarlane2-1/+8
2010-03-28Shared: Fixed uniqueIdent so it behaves as described in README.John MacFarlane1-33/+34
Previously some characters that are illegal in HTML identifiers, such as '<', were being allowed in header identifiers. The logic has now been fixed. Thanks to Xyne for reporting.
2010-03-27Implemented @ for sequentially numbered examples.John MacFarlane9-11/+75
Also implemented (@label) for example labels and references.
2010-03-27Removed unneeded single quotes in README.John MacFarlane1-4/+4
2010-03-23Updated RELEASE-CHECKLIST.John MacFarlane1-2/+4
2010-03-23Updated changelog.John MacFarlane1-8/+14
2010-03-23Markdown, RST writers: unescape URI in links, to make them readable.John MacFarlane2-5/+8
(Since they aren't required to be escaped in these formats.)
2010-03-23Shared: Export unescapeURI.John MacFarlane1-2/+9
2010-03-23Properly escape URIs in all readers.John MacFarlane4-44/+37
2010-03-23Added multilingual URL tests for markdown reader.John MacFarlane2-1/+13
2010-03-23Shared: Rewrote uri and emailAddress to return original text + escaped URI.John MacFarlane1-12/+17
2010-03-23Shared: enamed stringToURI -> escapeURI.John MacFarlane1-4/+4
2010-03-23Don't escape URIs in HTML writer.John MacFarlane1-20/+12
This should be done in the readers instead.
2010-03-23Better definition of stringToURI.John MacFarlane1-14/+6
Now it escapes all characters that aren't allowed in a URI. %, ?, /, and other characters that are allowed in a URI are left alone. Unicode high characters are UTF-8 encoded.
2010-03-23Removed refs to hsmarkdown, html2markdown from pandoc man page.John MacFarlane1-2/+0
2010-03-23Updated COPYRIGHT file.John MacFarlane1-14/+16
2010-03-23Updated copyright notices.John MacFarlane26-51/+52
2010-03-23Updated changelog.John MacFarlane1-0/+17
2010-03-23Version bump to 1.5.1.John MacFarlane2-2/+2
2010-03-23Fixed treatment of unicode characters in URIs.John MacFarlane3-14/+38
* Added stringToURI to Shared. This is used in the HTML writer for all URIs. It properly URI-encodes high characters (> 127), leaving everything else (including symbols and spaces) the same. * Modified unsanitaryURI to allow UTF8 characters in a URI. (First, we convert the URI to URI-encoded octets, then we pass through parseURIReference.) This resolves gitit Issue #99. Previously '[abc](http://gitit.net/测试)' would not be rendered as a link when --sanitize was selected.
2010-03-22Setup.hs: Don't assume that the build directory is "dist."John MacFarlane1-9/+10
Instead, get it from localBuildInfo.
2010-03-22OpenDocument writer: Use a Map for stTextStyleAttr.John MacFarlane1-10/+10
This avoids duplicates (and invalid xml).
2010-03-21Bump version in windows setup file.John MacFarlane1-1/+1
2010-03-21Whitespace fix in changelog.John MacFarlane1-2/+2
2010-03-21Updated changelog and bumped version to 1.5.0.1.John MacFarlane2-1/+8
2010-03-21HTML writer: fixed error in Math writer that caused infinite loop.John MacFarlane1-3/+5
2010-03-20Added to acknowledgements.John MacFarlane1-1/+1
2010-03-20cabal: included several missing test files.John MacFarlane1-1/+4
2010-03-20Updated RELEASE-CHECKLIST - git, not svn.John MacFarlane1-2/+1
2010-03-20Removed 'plugins' directory.John MacFarlane5-88/+0
2010-03-20Removed web directory (empty).fiddlosopher0-0/+0
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1928 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-20Removed web directory.fiddlosopher10-386/+0
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1927 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-20Removed unneeded things from web directory.fiddlosopher5-468/+0
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1926 788f1e2b-df1e-0410-8736-df70ead52e1b