aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-04-12Org reader: Read linebreaksAlbert Krewinkel2-0/+8
Linebreaks are marked by the string `\\` at the end of a line.
2014-04-12Org writer: Fix output for linebreaksAlbert Krewinkel2-2/+2
Hard linebreaks in Org mode are represented by the string "\\" as the last characters in a line. Adds this feature to the Org-mode writer.
2014-04-11Beamer template: Consistent styles for figure and table captionsJohn MacFarlane1-5/+12
Thanks to aaronwolen.
2014-04-11Beamer template: Adjust widths correctly for oversized images.John MacFarlane1-7/+5
Thanks to Garrick Aden-Buie for the patch.
2014-04-11HTML reader: Treat processing instructions & declarations as block.John MacFarlane1-5/+9
Previously these were treated as inline, and included in paragraph tags in HTML or DocBook output, which is generally not what is wanted. Closes #1233.
2014-04-11Merge pull request #1231 from tarleb/org-fix-subexprJohn MacFarlane2-19/+67
Org reader: Fix parsing of sub-/superscript expressions
2014-04-11Org reader: Fix parsing of sub-/superscript expressionsAlbert Krewinkel2-19/+67
This fixes the org-reader's handling of sub- and superscript expressions. Simple expressions (like `2^+10`), expressions in parentheses (`a_(n+1)`) and nested sexp (like `a_(nested()parens)`) are now read correctly.
2014-04-10MediaWiki reader: Handle table rows containing just an HTML comment.John MacFarlane1-1/+2
Closes #1230.
2014-04-10Updated GHC versions in tested-with field.John MacFarlane1-1/+1
2014-04-10Merge pull request #1229 from tarleb/org-math-improvedJohn MacFarlane2-28/+80
Org reader: Support more inline/display math variants
2014-04-10Org reader: Improve code by following HLint recommendationsAlbert Krewinkel1-20/+24
HLint's recommendations for better code are applied to the Org-mode reader code.
2014-04-10Org reader: Support more inline/display math variantsAlbert Krewinkel2-8/+56
Support all of the following variants as valid ways to define inline or display math inlines: - `\[..\]` (display) - `$$..$$` (display) - `\(..\)` (inline) - `$..$` (inline) This closes #1223. Again.
2014-04-09Fixed cabal path in travis config.John MacFarlane1-1/+1
2014-04-09More travis tweaks.John MacFarlane1-3/+2
2014-04-09Travis: gave up trying to test the sdist.John MacFarlane1-12/+0
For some reason hsb2hs was not found, even though it was built.
2014-04-09More travis tweaks.John MacFarlane1-1/+1
2014-04-09More travis tweaks.John MacFarlane1-1/+1
2014-04-09Travis build: remove 6.12; add -v2 to dependencies install.John MacFarlane1-2/+2
2014-04-09Travis: install hsb2hs.John MacFarlane1-0/+1
2014-04-09More travis tweaks.John MacFarlane1-4/+4
2014-04-09More travis changes.John MacFarlane1-1/+1
2014-04-09Fixed $CABAL in travis script.John MacFarlane1-1/+1
2014-04-09Updated travis script to test with multiple GHC versions.John MacFarlane1-5/+42
2014-04-09Merge pull request #1228 from tarleb/travis-fail-on-warningsJohn MacFarlane1-1/+1
Force failure of a Travis build if GHC produces warnings
2014-04-09Merge pull request #1227 from tarleb/editorconfigJohn MacFarlane2-0/+15
Add .editorconfig
2014-04-09Merge pull request #1226 from tarleb/org-emphasis-readerJohn MacFarlane2-122/+283
Org reader: Precise rules for the recognition of markup
2014-04-09Force failure of a Travis build if GHC produces warningsAlbert Krewinkel1-1/+1
Pandoc should, as stated in CONTRIBUTING.md, always compile without warnings. This patch forces GHC to treat warnings like errors during Travis builds, making it possible to catch mistakes (like missing top-level type definitions) early.
2014-04-09Add .editorconfigAlbert Krewinkel2-0/+15
Use EditorConfig to define a some basic styling rules for code. This should also help to reduce the number of commits introducing trailing whitespace. See http://editorconfig.org/ for details.
2014-04-09Org reader: Precise rules for the recognition of markupAlbert Krewinkel2-122/+283
The inline parsers have been rewritten using the org source code as a reference. This fixes a couple of bugs related to erroneous markup recognition.
2014-04-07Textile reader: Improved link parsing.John MacFarlane1-19/+15
In particular we now pick up on attributes. Since pandoc links can't have attributes, we enclose the whole link in a span if there are attributes. Closes #1008.
2014-04-07Merge pull request #1224 from tarleb/org-mathJohn MacFarlane2-40/+80
Org reader: Read inline math, recognize definition lists
2014-04-07Org reader: Support inline math (like $E=mc^2$)Albert Krewinkel2-6/+20
Closes #1223.
2014-04-06LaTeX writer: Workaround for level 4-5 headers in quotes.John MacFarlane1-2/+14
These previously produced invalid LaTeX: `\paragraph` or `\subparagraph` in a `quote` environment. This adds an `mbox{}` in these contexts to work around the problem. See http://tex.stackexchange.com/a/169833/22451. Closes #1221.
2014-04-06LaTeX reader: handle @{} and p{length} in tabular.John MacFarlane1-2/+3
The length is not actually recorded, but at least we get a table. Closes #1180.
2014-04-06Moved some doc files from data-files to extra-source-files.John MacFarlane1-1/+3
They aren't needed at runtime. We keep README and COPYRIGHT in data to ensure that they'll be available on all systems on which pandoc is installed. Closes #1123.
2014-04-06Org reader: Add support for definition listsAlbert Krewinkel2-4/+39
2014-04-06Org reader: Minor code clean-upAlbert Krewinkel1-30/+21
2014-04-05Give more useful error message if '-t pdf' is specified.John MacFarlane1-16/+24
Closes #1155.
2014-04-05HTML reader: Updated `closes` with rules from HTML5 spec.John MacFarlane1-5/+12
2014-04-05Textile reader: Better support for attributes.John MacFarlane2-10/+13
Instead of being ignored, attributes are now parsed and included in Span inlines. The output will be a bit different from stock textile: e.g. for `*(foo)hi*`, we'll get `<em><span class="foo">hi</span></em>` instead of `<em class="foo">hi</em>`. But at least the data is not lost.
2014-04-05Textile reader: Improved treatment of HTML spans (%).John MacFarlane2-6/+2
Closes #1115.
2014-04-05Removed whitespace at ends of lines.John MacFarlane1-15/+15
2014-04-05Text.Pandoc.PDF: Ensure that temp directories deleted on Windows.John MacFarlane1-1/+4
The PDF is now read as a strict bytestring, ensuring that process ownership will be terminated, so the temp directory can be deleted. Closes #1192.
2014-04-05README: Added note to --bibtex/--natbib: not for use in making PDF.John MacFarlane1-2/+8
Closes #1194. Thanks to nahoj.
2014-04-05Make it possible to run filters that aren't executable.John MacFarlane1-2/+18
Pandoc first tries to find the executable (searching the path if path isn't given). If it fails, but the file exists and has a .py, .pl, .rb, .hs, or .php extension, pandoc runs the filter using the appropriate interpreter. This should make it easier to use filters on Windows, and make it more convenient for everyone. Closes #1096.
2014-04-05Org reader: Added type signature.John MacFarlane1-0/+1
2014-04-05Fixed PDF print function in reveal.js template.John MacFarlane1-5/+7
Closes #1220. Thanks to kevinkenan.
2014-04-05Merge pull request #1219 from tarleb/org-imagesJohn MacFarlane2-59/+141
Org-reader: support inline images, clean-up code, fix bugs
2014-04-05Shared.openURL: Set proxy with value of http_proxy env variable.John MacFarlane1-3/+11
Note: proxies with non-root paths are not supported, because of limitations in http-conduit. Closes #1211.
2014-04-05Org reader: Support inline imagesAlbert Krewinkel2-12/+34