summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Added scripts for Windows Inno Setup installer in windows/.fiddlosopher2008-09-12
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1440 788f1e2b-df1e-0410-8736-df70ead52e1b
* Added to INSTALL instructions on installing cabal-install w/ macports.fiddlosopher2008-09-12
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1439 788f1e2b-df1e-0410-8736-df70ead52e1b
* Changed list parser so that only the starting list marker matters:fiddlosopher2008-09-12
| | | | | | | | | | | | | | 1. one - two (b) three produces an ordered list with 1., 2., 3. This is the behavior of Markdown.pl. Modified README to document the new behavior. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1438 788f1e2b-df1e-0410-8736-df70ead52e1b
* Updated website index.txt.in.fiddlosopher2008-09-10
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1437 788f1e2b-df1e-0410-8736-df70ead52e1b
* pandoc.cabal: Removed most upper-bounds on dependency versions.fiddlosopher2008-09-10
| | | | | | | | | | Reason: Upper bounds may cause problems for package managers, since many package management systems do not (like Cabal) allow multiple versions of libraries to be installed simultaneously. At this point very few packages in HackageDB use upper bounds. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1436 788f1e2b-df1e-0410-8736-df70ead52e1b
* Use versioned dependencies in pandoc.cabal, following guidelines infiddlosopher2008-09-10
| | | | | | | <http://www.haskell.org/haskellwiki/Package_versioning_policy>. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1435 788f1e2b-df1e-0410-8736-df70ead52e1b
* Version bump to 1.0.fiddlosopher2008-09-10
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1434 788f1e2b-df1e-0410-8736-df70ead52e1b
* Removed debian-specific formatting from changelog heading.fiddlosopher2008-09-10
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1433 788f1e2b-df1e-0410-8736-df70ead52e1b
* Updated changelog.fiddlosopher2008-09-09
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1432 788f1e2b-df1e-0410-8736-df70ead52e1b
* pandoc.cabal: removed COPYING from Extra-Source-Files;fiddlosopher2008-09-09
| | | | | | | it is already included under License-File. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1431 788f1e2b-df1e-0410-8736-df70ead52e1b
* Removed README.Debian.fiddlosopher2008-09-09
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1430 788f1e2b-df1e-0410-8736-df70ead52e1b
* --tabstop -> --tab-stop in README documentation.fiddlosopher2008-09-08
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1429 788f1e2b-df1e-0410-8736-df70ead52e1b
* Use Data.List's 'intercalate' instead of custom 'joinWithSep'.fiddlosopher2008-09-08
| | | | | | | | | + Removed joinWithSep definition from Text.Pandoc.Shared. + Replaced joinWithSep with intercalate + Depend on base >= 3, since in base < 3 intercalate is not included. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1428 788f1e2b-df1e-0410-8736-df70ead52e1b
* Fixed haddock bug in Text/Pandoc/LaTexMathML.hs.fiddlosopher2008-09-08
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1427 788f1e2b-df1e-0410-8736-df70ead52e1b
* LaTeX reader: Refactored math parsers, limited support for eqnarray.fiddlosopher2008-09-06
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1426 788f1e2b-df1e-0410-8736-df70ead52e1b
* LaTeX reader: Removed specialEnvironment parser.fiddlosopher2008-09-06
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1425 788f1e2b-df1e-0410-8736-df70ead52e1b
* LaTeX reader: minor improvements.fiddlosopher2008-09-06
| | | | | | | | | | | + parse '{}', if present, after \textless, \textgreater, \textbar, \textbackslash, \ldots. + Parse unescaped special characters verbatim rather than changing them to spaces. This way arguments of unknown commands will appear in braces. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1424 788f1e2b-df1e-0410-8736-df70ead52e1b
* LaTeX reader: Fixed regression in list parsingfiddlosopher2008-09-06
| | | | | | | (introduced by recent changes to unknownCommand). git-svn-id: https://pandoc.googlecode.com/svn/trunk@1423 788f1e2b-df1e-0410-8736-df70ead52e1b
* Pandoc is no longer a native debian package.fiddlosopher2008-09-06
| | | | | | | | | | | It is easier for releases if debian packaging is separate. + Removed debian directory and references to debian in Makefile and INSTALL. + Made COPYRIGHT and changelog standalone files rather than symlinks to debian directory. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1422 788f1e2b-df1e-0410-8736-df70ead52e1b
* Updated INSTALL in light of new dependencies (utf8-string and zip-archive).fiddlosopher2008-09-06
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1421 788f1e2b-df1e-0410-8736-df70ead52e1b
* LaTeX reader: improvements in raw LaTeX parsing.fiddlosopher2008-09-06
| | | | | | | | | | | | | | + "loose punctuation" (like {}) parsed as Space + Para elements must contain more than Str "" and Space elements + Added parser for "\ignore" command used in literate haskell. + Reworked unknownCommand and rawLaTeXInline: when not in "parse raw" mode, these parsers simply strip off the command part and allow the arguments to be parsed normally. So, for example, \blorg{\emph{hi}} will be parsed as Emph "hi" rather than Str "{\\emph{hi}}". git-svn-id: https://pandoc.googlecode.com/svn/trunk@1420 788f1e2b-df1e-0410-8736-df70ead52e1b
* MediaWiki writer: print class attributes in <pre> for code blocks, if any.fiddlosopher2008-09-06
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1419 788f1e2b-df1e-0410-8736-df70ead52e1b
* Changed Float to Double in definition of Table element.fiddlosopher2008-09-06
| | | | | | | | (Double is more efficient in GHC.) Truncate width in opendocument output to 2 decimal places. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1418 788f1e2b-df1e-0410-8736-df70ead52e1b
* Reworked Text.Pandoc.ODT to use zip-archive instead of calling external 'zip'.fiddlosopher2008-09-04
| | | | | | | | | | | | | | | | | + Removed utf8-string and xml-light modules, and unneeded content.xml. + Removed code for building reference.odt from Setup.hs. The ODT is now built using template haskell in Text.Pandoc.ODT. + Removed copyright statements for utf8-string and xml modules, since they are no longer included in the source. + README: Removed claim that 'zip' is needed for ODT production. + Removed dependency on 'zip' from debian/control. + Text.Pandoc.Shared: Removed withTempDir, added inDirectory. + Added makeZip to Text.Pandoc.TH. + pandoc.cabal: Added dependencies on old-time, zip-archive, and utf8-string. Added markdown2pdf files to extra-sources list. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1417 788f1e2b-df1e-0410-8736-df70ead52e1b
* Modified Text.Pandoc.Biblio to fit new citeproc API.fiddlosopher2008-09-02
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1416 788f1e2b-df1e-0410-8736-df70ead52e1b
* Removed PDF writer from core pandoc, restored markdown2pdf.fiddlosopher2008-08-27
| | | | | | | | | | | | | | | | | | | | | + Added markdown2pdf. + Removed Text/Pandoc/PDF.hs. + Removed references to PDF writer from Main.hs. + Removed references to PDF writer from pandoc.cabal. + Added markdown2pdf.1 to list of man pages in Setup.hs. + Added markdown2pdf.1.md man page source. + Added reference to markdown2pdf(1) in pandoc man page. + Added markdown2pdf to WRAPPERS in Makefile. + Removed mention of pdf writer from README; added markdown2pdf. + Added remarks on markdown2pdf dependencies to README.Debian. + Added markdown2pdf to web/index.txt.in. + Use markdown2pdf for pdf web demos. + Put markdown2pdf back into debian control and rules. + Added markdown2pdf to macports Portfile. + Added markdown2pdf to freebsd package. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1415 788f1e2b-df1e-0410-8736-df70ead52e1b
* LaTeX reader: Parse "code" environments as verbatim (lhs).fiddlosopher2008-08-26
| | | | | | | Refactored parsers for verbatim environments. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1414 788f1e2b-df1e-0410-8736-df70ead52e1b
* Bugs fixed in RunTests.hs:fiddlosopher2008-08-23
| | | | | | | | | + 'r' -> '\r' + use a strict version of readFile to make sure file is closed and can be removed git-svn-id: https://pandoc.googlecode.com/svn/trunk@1413 788f1e2b-df1e-0410-8736-df70ead52e1b
* Modified RunTests.hs to strip out '\r' so it will work on Windows.fiddlosopher2008-08-14
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1412 788f1e2b-df1e-0410-8736-df70ead52e1b
* Simplified and improved UTF8 handling:fiddlosopher2008-08-14
| | | | | | | | | | | | | | + Removed utf8-string cabal configuration flag. + Instead, we just include System.IO.UTF8 and Codec.Binary.UTF8.String from utf8-string package in the source tree, avoiding a dependency on utf8-string and avoiding crufty custom UTF8 code. (The old Text.Pandoc.UTF8 had problems with the getContents function.) + Removed lots of CPP directives that are no longer needed. + In Setup.hs, use '-i..' in running RunTests.hs, so the local UTF8 code will be found. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1411 788f1e2b-df1e-0410-8736-df70ead52e1b
* PDF writer: Close output file handle after waitForProcess.fiddlosopher2008-08-14
| | | | | | | | It should be closed automatically, but perhaps this fails on Windows, especially when the process is interrupted? git-svn-id: https://pandoc.googlecode.com/svn/trunk@1410 788f1e2b-df1e-0410-8736-df70ead52e1b
* Support for display math; changed ASCIIMathML -> LaTeXMathML:fiddlosopher2008-08-13
| | | | | | | | | | | | | | | | | | | | | | | | | | Resolves Issue #47. + Added a DisplayMath/InlineMath selector to Math inlines. + Markdown parser yields DisplayMath for $$...$$. + LaTeX parser yields DisplayMath when appropriate. Removed mathBlock parsers, since the same effect is achieved by the math inline parsers, now that they handle display math. + Writers handle DisplayMath as appropriate for the format. + Changed -m option to use LaTeXMathML rather than ASCIIMathML. LaTeXMathML is closer to LaTeX in its display of math, and supports many non-math LaTeX environments. + Modified HTML writer to print raw TeX when LaTeXMathML is being used instead of suppressing it. + Removed ASCIIMathML files from data/ and added LaTeXMathML. + Replaced ASCIIMathML with LaTeXMathML in source files. + Modified README and pandoc man page source. + Modified web page. + Added --latexmathml option (kept --asciimathml as a synonym for backwards compatibility) + Modified tests accordingly; added new tests for display math. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1409 788f1e2b-df1e-0410-8736-df70ead52e1b
* Don't expose Text.Pandoc.Biblio module unless citeproc option is selected.fiddlosopher2008-08-12
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1408 788f1e2b-df1e-0410-8736-df70ead52e1b
* Small haddock documentation fix. (Andrea Rossato)fiddlosopher2008-08-12
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1407 788f1e2b-df1e-0410-8736-df70ead52e1b
* Patches to Text.Pandoc.Biblio for new citeproc API.fiddlosopher2008-08-12
| | | | | | | (Andrea Rossato) git-svn-id: https://pandoc.googlecode.com/svn/trunk@1406 788f1e2b-df1e-0410-8736-df70ead52e1b
* Parse raw ConTeXt environments as TeX in markdown reader.fiddlosopher2008-08-11
| | | | | | | | | | | | | | | | | | | | | | | | | | Resolves Issue #73. Also made some structural changes to parsing of raw LaTeX environments. Previously there was a special block parser for LaTeX environments. It returned a Para element containing the raw TeX inline. This has been removed, and the raw LaTeX environment parser is now used in the rawLaTeXInline parser. The effect is exactly the same, except that we can now handle consecutive LaTeX and ConTeXt environments not separated by spaces. This new flexibility is required by the example in Issue #73: \placeformula \startformula L_{1} = L_{2} \stopformula API change: The LaTeX reader now exports rawLaTeXEnvironment' (which returns a string) rather than rawLaTeXEnvironment (which returns a block element). This is more likely to be useful in other applications. Added test cases for raw ConTeXt environments to markdown-reader-more.txt. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1405 788f1e2b-df1e-0410-8736-df70ead52e1b
* Added new markdown reader tests to list of extra source files in pandoc.cabal.fiddlosopher2008-08-11
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1404 788f1e2b-df1e-0410-8736-df70ead52e1b
* ODT writer: Use '/', even on Windows, as path separator in xlink attributefiddlosopher2008-08-11
| | | | | | | for images. Otherwise OpenOffice can't find the image files. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1403 788f1e2b-df1e-0410-8736-df70ead52e1b
* Makefile: Added 'configure' as dependency of 'uninstall-all'.fiddlosopher2008-08-10
| | | | | | | (It uses the Cabal build program.) git-svn-id: https://pandoc.googlecode.com/svn/trunk@1402 788f1e2b-df1e-0410-8736-df70ead52e1b
* Allow newline before URL in markdown link references. Resolves Issue #81.fiddlosopher2008-08-10
| | | | | | | | Added tests for this issue in new "markdown-reader-more" tests. Changed RunTests.hs to run these tests. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1401 788f1e2b-df1e-0410-8736-df70ead52e1b
* Use -S option when building man pages in Setup.hs.fiddlosopher2008-08-10
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1400 788f1e2b-df1e-0410-8736-df70ead52e1b
* Man writer: don't escape " as \".fiddlosopher2008-08-10
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1399 788f1e2b-df1e-0410-8736-df70ead52e1b
* Updated man page sources with pdf output option, minor cosmetic changes.fiddlosopher2008-08-10
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1398 788f1e2b-df1e-0410-8736-df70ead52e1b
* Added zip as a build dependency in debian/control.fiddlosopher2008-08-10
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1397 788f1e2b-df1e-0410-8736-df70ead52e1b
* Debian packaging changes:fiddlosopher2008-08-10
| | | | | | | | | | + Updated README.Debian with information on the changes to markdown2pdf. + Made latex and zip required dependencies, since they are now required for 'odt' and 'pdf' targets of pandoc. + Fixed typo in warning message. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1396 788f1e2b-df1e-0410-8736-df70ead52e1b
* Removed markdown2pdf and all references to it.fiddlosopher2008-08-10
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1395 788f1e2b-df1e-0410-8736-df70ead52e1b
* Added Text.Pandoc.PDF module, 'pdf' as new output option.fiddlosopher2008-08-10
| | | | | | | | | The module calls pdflatex to produce the PDF, and is basically shell scripting in haskell. But this is better than the existing markdown2pdf script, which is limited to POSIX. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1394 788f1e2b-df1e-0410-8736-df70ead52e1b
* Use 'bracket' to improve withTempDir Text.Pandoc.Shared.fiddlosopher2008-08-10
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1393 788f1e2b-df1e-0410-8736-df70ead52e1b
* Removed dependency on reference.odt from Makefile.fiddlosopher2008-08-10
| | | | | | | This is handled now in Setup.hs. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1392 788f1e2b-df1e-0410-8736-df70ead52e1b
* Removed no-longer-needed wrappers directory.fiddlosopher2008-08-09
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1391 788f1e2b-df1e-0410-8736-df70ead52e1b