summaryrefslogtreecommitdiff
path: root/src/markdown2pdf.hs
AgeCommit message (Collapse)Author
2012-01-20Removed markdown2pdf and documentation.John MacFarlane
2012-01-04Allow markdown2pdf to use `--old-dashes` and `--citatation-abbreviations`.John MacFarlane
2011-12-29Added 'beamer' as an output format.John MacFarlane
Beamer output uses the default LaTeX template, with some customizations via variables. Added `writerBeamer` to `WriterOptions`. Added `--beamer` option to `markdown2pdf`.
2011-12-27Made `--highlight-style` and `--no-highlight` work in markdown2pdf.John MacFarlane
2011-11-10Changed misleading documentation on markdown2pdf.John MacFarlane
markdown2pdf used to create a backup file if the output file exists; it doesn't any longer, but the documentation still said it does.
2011-11-10markdown2pdf: Use proper temp directory for latex processing.John MacFarlane
Previously /tmp/pandoc was used, which was problematic for several reasons. Closes #339.
2011-07-30markdown2pdf: Added -interaction nonstopmode.John MacFarlane
Otherwise it can hang if the error requests user input!
2011-07-22Added `--luatex` option to markdown2pdf.John MacFarlane
This uses lualatex to create the PDF.
2011-07-22Deprecated `--xetex` option - it is no longer needed.John MacFarlane
Deprecated `writerXeTeX` and the `--xetex` option. The latex writer now produces a file that can be processed by latex, pdflatex, lualatex, or xelatex, so this option isn't needed. The option is still neded in markdown2pdf, however, which has been modified to take some options that aren't in pandoc.
2011-07-22markdown2pdf: Better error printing.John MacFarlane
This goes with the earlier change to -halt-on-error.
2011-07-22markdown2pdf: Don't crash if pdflatex's output is not UTF-8.John MacFarlane
This requires using a custom version of readProcessWithExitCode that uses utf8-string's conversions instead of the system ones. utf8-string's utf-8 conversion doesn't crash on invalid encoding.
2011-07-20markdown2pdf: Fix issue reading log with non-UTF8 characters.Paulo Tanimoto
Replaced 'UTF8.readFile logFile' with 'liftM toString $ BS.readFile logFile'
2011-07-20Changed markdown2pdf to halt-on-error.John MacFarlane
Before, we used -interaction=batchmode, which just ignored errors. This leads to bad results--users should know when something goes wrong.
2011-02-13markdown2pdf: Removed mistakenly included debugging lines.John MacFarlane
With the lines, markdown2pdf creates a temporary directory in the working directory. Original behavior now restored.
2011-02-13markdown2pdf: Fixed filename encoding issues.John MacFarlane
With help from Paulo Tanimoto. Resolves Issue #286.
2011-02-04markdown2pdf: Fixed bug with output file extensions.John MacFarlane
Previously 'markdown2pdf test.txt -o test.en.pdf' would produce 'test.pdf', not 'test.en.pdf'. Thanks to Paolo Tanimoto for the fix.
2011-01-28Support --listings in markdown2pdf (Etienne Millon).John MacFarlane
2010-12-02Added --data-dir to valid options for markdown2pdf.John MacFarlane
2010-12-02Tweaked command-line options allowed by markdown2pdf.John MacFarlane
2010-06-30Let markdown2pdf recognize citeproc options.John MacFarlane
2010-05-06Use new UTF8 module in Shared, ODT, and the executables.John MacFarlane
2010-01-05markdown2pdf: always do at least two runs.fiddlosopher
Reason: hyperref bookmarks require this. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1797 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-01-02markdown2pdf.hs: throw error if pandoc --dump-args does.fiddlosopher
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1781 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-01-02markdown2pdf.hs: When --toc, run latex an extra time.fiddlosopher
Previously --toc was broken. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1780 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Added needed imports from System.IO when we're using ghc >= 6.12.fiddlosopher
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1754 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Use System.IO.UTF8 only if ghc < 6.12.fiddlosopher
GHC >= 6.12 (base >= 4.2) uses iconv to convert to unicode Strings. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1748 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31markdown2pdf.hs: interpret ! in a log as an error line.fiddlosopher
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1739 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Added --xetex option to pandoc and markdown2pdf.fiddlosopher
If --xetex is specified, pandoc produces latex suitable for processing by xelatex, and markdown2pdf uses xelatex to create the PDF. Resolves Issue #185. This seems better than using latex packages to detect xetex, since not all latex installations will have these. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1737 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Added -V/--variable option to set custom template variables.fiddlosopher
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1685 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-07Changed markdown2pdf.hs so it prints error messages on last attempt.fiddlosopher
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1654 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-11-22Modified markdown2pdf so as not to create a backup file.fiddlosopher
Resolves Issue #166. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1624 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-11-21Use utf8-string IO in markdown2pdf.hs.fiddlosopher
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1622 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-08-22Fixed markdown2pdf.hs to accept --longopt=val options.fiddlosopher
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1607 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-06-25Fixed duplicate text bug in markdown2pdf.hs. (Paulo Tanimoto)fiddlosopher
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1582 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-05-01Added new Haskell version of markdown2pdf.fiddlosopher
Thanks to Paulo Tanimoto for the patch. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1573 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-05-01pandoc.hs: Make --strict compatible with --standalone, --toc.fiddlosopher
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1572 788f1e2b-df1e-0410-8736-df70ead52e1b