aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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
2014-04-05Org reader: Provide more language identifier translationsAlbert Krewinkel1-1/+8
Org-mode and Pandoc use different language identifiers, marking source code as being written in a certain programming language. This adds more translations from identifiers as used in Org to identifiers used in Pandoc. The full list of identifiers used in Org and Pandoc is available through http://orgmode.org/manual/Languages.html and `pandoc -v`, respectively.
2014-04-05Org reader: Fix parsing of nested inlinesAlbert Krewinkel2-7/+24
Text such as /*this*/ was not correctly parsed as a strong, emphasised word. This was due to the end-of-word recognition being to strict as it did not accept markup chars as part of a word. The fix involves an additional parser state field, listing the markup chars which might be parsed as part of a word.
2014-04-05Org reader: Use specialized org parser stateAlbert Krewinkel1-7/+41
The default pandoc ParserState is replaced with `OrgParserState`. This is done to simplify the introduction of new state fields required for efficient Org parsing.
2014-04-05Org reader: Slight cleaning of table parsing codeAlbert Krewinkel1-33/+35
2014-04-04DocBook reader: Better treatment of formalpara.John MacFarlane1-3/+3
We now emit the title (if present) as a separate paragraph with boldface text. Closes #1215.
2014-04-04DocBook template: use authorgroup if there are authors.John MacFarlane1-7/+5
2014-04-04DocBook reader/writer tests: use "authorgroup".John MacFarlane2-16/+20
2014-04-04DocBook reader: set metadata "author" not "authors"John MacFarlane1-1/+1
2014-04-04Removed trailing whitespace.John MacFarlane1-15/+15
2014-04-04DocBook reader: set "author" not "authors".John MacFarlane1-3/+3
2014-04-04Added recognition of authorgroup element and releaseinfo element to DocBook ↵Matthew Pickering1-9/+16
reader. Closes #1214
2014-04-04Converted current meta information parsing in DocBook to a more extensible ↵Matthew Pickering1-34/+48
version which is aware of the more recent meta representation.
2014-04-04LaTeX writer: handle line breaks in simple table cells.John MacFarlane1-1/+20
Closes #1217.
2014-04-04Merge pull request #1216 from trofi/masterJohn MacFarlane1-1/+1
pandoc.cabal: allow QuickCheck-2.7