aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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-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
2014-04-04Correctly handle UTF-8 in custom lua scripts. Closes #1189.John MacFarlane1-2/+1
2014-04-04pandoc.cabal: allow QuickCheck-2.7Sergei Trofimovich1-1/+1
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2014-04-04Added caption package to default beamer template. Closes #1200.John MacFarlane1-7/+6
2014-04-04Custom writer: read lua script as UTF-8.John MacFarlane1-1/+2
This should fix #1189.
2014-04-01MediaWiki reader: Fixed bug in certain nested lists.John MacFarlane3-1/+9
The bug: If a level 2 list was followed by a level 1 list, the first item of the level 1 list would be lost. Closes #1213.
2014-04-01Added HTML reader tests for empty strong, emph.John MacFarlane2-0/+2
2014-04-01HTML reader: idiomatic rewriting for clarity.John MacFarlane1-5/+4
2014-04-01Merge pull request #1207 from mpickering/htmlinlinesJohn MacFarlane10-391/+446
Fix #1162, #1175 and rewrite textile and HTML backend to use the builder
2014-04-01Tests updated to reflect changes to readers.Matthew Pickering5-124/+132
Previously normalisation was handled by the `normalizeSpaces` function. The behavoir of the builder monoid is slightly different and melds together more items such as consecutive strings and spaces adjacent to line breaks. The tests have been changed to reflect this. All relevant tests passed when the string melding line of the builder monoid was commented out.
2014-04-01Changed the smart punctuation parser to return Inlines rather than an Inline ↵Matthew Pickering4-27/+24
element and updated files accordingly
2014-04-01Converted HTML reader to use builder. Fixes #1162.Matthew Pickering1-109/+126