aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-05-01remove reference in pandoc.1 to markdown2pdf (1)Jens Petersen1-1/+1
2013-04-30revealjs templates: use query hashes for defaults, include remotes.John MacFarlane1-8/+5
2013-04-28Shared.openURL: URL-escape pipe characters.John MacFarlane1-3/+2
Even though these are legal, Network.URI doesn't regard them as legal in URLs. So we escape them first. Closes #535.
2013-04-26pandoc `--help` now says something about pdf output.John MacFarlane1-2/+4
Closes #720.
2013-04-26PDF: On Windows, create temdir in working directory.John MacFarlane2-2/+12
Reason: the path to the system temp directory may contain tildes, which causes problems in LaTeX when the username is more than eight characters. Closes #777.
2013-04-26Updated tests for changes in LaTeX template.John MacFarlane3-3/+9
2013-04-25LaTeX template: Changes to make mathfont work with xelatex.John MacFarlane1-5/+8
We need the mathspec library, not just fontspec, for this. We also need to set options for setmathfont. Closes #734.
2013-04-25README: Noted that `--self-contained` doesn't work with `--mathjax`.John MacFarlane1-5/+6
2013-04-25Don't convert to lowercase in email obfuscation.John MacFarlane1-6/+8
Closes #839.
2013-04-23README: Documented markdown variants (which extensions they have).John MacFarlane1-1/+28
2013-04-23README: Documented `ascii_identifiers` extensionJohn MacFarlane1-0/+5
2013-04-23Markdown reader: Implemented `Ext_ascii_identifiers`.John MacFarlane1-2/+8
Closes #807.
2013-04-23Options: Added `Ext_ascii_identifiers`.John MacFarlane1-0/+3
This will force `Ext_auto_identifiers` to use ASCII only. Set as default for github markdown. Note: API change.
2013-04-23Added Text.Pandoc.Asciify utility module.John MacFarlane3-0/+425
This has functions to create ascii-only versions of identifiers.
2013-04-20Add slash in internal links in reveal.js.John MacFarlane1-3/+16
Closes #835.
2013-04-20Shared: Fixed readDefaultDataFile so it works on Windows.John MacFarlane1-2/+2
2013-04-20Revert "Improved previous patch so it really solves the Windows issue."John MacFarlane1-1/+2
This reverts commit e80116c813ecfc8cde094cddd36a3b083c108fd8.
2013-04-19Improved previous patch so it really solves the Windows issue.John MacFarlane1-2/+1
2013-04-19Shared: readDefaultDataFile: normalize the paths.John MacFarlane1-1/+7
This fixes bugs in `--self-contained` on pandoc compiled with `embed_data_files`. The bugs affect (a) paths containing `..`, (b) Windows, where `\` is path separator. Closes #833.
2013-04-19Markdown reader: minor code cleanup.John MacFarlane1-2/+2
2013-04-15Updated tests to match new docbook template.John MacFarlane1-2/+2
2013-04-15DocBook template: Use DocBook 4.5 doctype.John MacFarlane1-5/+5
2013-04-15Fixed footnote numbers in LaTeX/PDF tables.John MacFarlane1-17/+4
This fixes a bug wherein notes were numbered incorrectly in tables. Closes #827. Now that we are using longtable, we can just use regular `\footnote` commands for notes, which simplifies the code considerably.
2013-04-14Markdown/RST writers: Only autolink absolute URIs.John MacFarlane2-4/+8
This fixes a regression and closes #830. $ echo '<a href="x">x</a>' | pandoc -f html -t markdown <x>
2013-04-14BUGS: Added reference to CONTRIBUTING.md.John MacFarlane1-1/+3
2013-04-14Improved CONTRIBUTING.md.John MacFarlane1-20/+108
2013-04-14Haddock reader improvements.John MacFarlane2-11/+7
- Correctly handle ghci sessions. - Fixed spacing issues. - Simplified code.
2013-04-14Added CONTRIBUTING.md.John MacFarlane2-1/+91
2013-04-14Added `Text.Pandoc.Writers.Custom`, `--print-custom-lua-writer`.John MacFarlane6-11/+595
pandoc -t data/sample.lua will load the script sample.lua and use it as a custom writer. data/sample.lua is provided as an example. Added `--print-custom-lua-writer` option to print the sample script.
2013-04-10Added comment/todo to SelfContained.John MacFarlane1-0/+1
2013-04-09Man writer: use one decimal place for column widths.John MacFarlane2-4/+4
This, I hope, will fix test failures on GHC 7.6 due to (presumably) different rounding or floating point multiplication.
2013-04-09Removed unnecessary OPTIONS flag in Haddock/Parse.y.John MacFarlane1-1/+0
2013-04-09Update markdown writer tests for changes in author in titleblock.John MacFarlane1-1/+2
Authors are now put on separate lines.
2013-04-09Fixed Haddock reader bugs with list item spaces and examples.John MacFarlane2-12/+10
Closes #824.
2013-04-08Markdown writer: Put multiple authors on separate lines in titleblock.John MacFarlane1-1/+1
Also, don't wrap long author entries, as new lines get treated as new authors.
2013-04-08Have `--help` print in and out formats in alphabetical order.John MacFarlane1-3/+3
2013-04-08Fixed haddock test output.John MacFarlane2-9/+9
- omit extra spaces in list items - correct line breaks in ghci output
2013-04-04Haddock reader: add tests.David Lazar2-1/+95
2013-04-04Haddock reader: leaving Space alone in @...@ seems more semantically correct.David Lazar1-1/+0
2013-04-04Haddock reader: derive Show for Token, making debugging easier.David Lazar1-1/+1
2013-03-31LaTeX reader: Support `\textasciitilde`, `\textasciicircum`.John MacFarlane1-0/+2
Closes #810.
2013-03-30Docx writer: Use Compact style for Plain block elements.John MacFarlane3-3/+9
This differentiates between tight and loose lists. Closes #775.
2013-03-30Merge pull request #808 from davidlazar/masterJohn MacFarlane3-12/+16
Improvements to Haddock reader
2013-03-29Haddock reader: make clearer which production the comment refers to.David Lazar1-2/+3
2013-03-29Haddock reader: add the "haskell" attribute to code blocks so they areDavid Lazar1-4/+4
highlighted. We reasonably assume that code blocks in Haddock markup wont be used for anything but Haskell code.
2013-03-29Haddock reader: improved error reporting.David Lazar3-6/+9
2013-03-28Parsing: Better error reporting in readWith.John MacFarlane2-5/+15
- Specialize readWith to String input. - On error have it print the line in which the error occurred, with a caret pointing to the column. - This should help diagnose parsing problems in LaTeX especially.
2013-03-28Haddock writer: use 'text' builder instead of 'str'.John MacFarlane1-3/+10
This articulates strings into Str, Space, allowing them to be hard-wrapped intelligently by the writers. This patch also fixes a bug with trailing spaces and newlines. (See #806.)
2013-03-28Allow simple tables to be printed as grid tables.John MacFarlane1-11/+14
if other table options are disabled. This means you can do pandoc -t markdown-pipe_tables-simple_tables-multiline_tables and all tables will render as grid tables.
2013-03-28Modified haddock reader test stubs so they pass, for now.John MacFarlane2-2/+1