aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-10-30Update changelog.John MacFarlane1-0/+24
2017-10-30Bump to 2.0.0.1.John MacFarlane1-1/+1
2017-10-30EPUB writer: fixed filepaths for nonstandard epub-subdirectory values.John MacFarlane1-16/+23
2017-10-30EPUB writer fixes:John MacFarlane2-24/+33
- Ensure that epub2 is recognized as a non-text format, so that a template is used. - Don't include "prefix" attribute for ibooks for epub2. It doesn't validate. - Fix stylesheet paths; previously we had an incorrect stylesheet path for the cover page and nav page.
2017-10-30Linux package build: ensure that pandoc-citeproc is statically linked.John MacFarlane1-0/+6
2017-10-30trypandoc: add native.John MacFarlane1-0/+2
2017-10-30Remove hftf from list of authors.John MacFarlane1-1/+0
hftf == Ophir Lifshitz
2017-10-30LaTeX reader: insert space when needed in macro expansion.John MacFarlane1-1/+8
Sometimes we need to insert a space after a control sequence to prevent it merging with a following letter. Closes #4007.
2017-10-30Allow unbraced arguments for macros.John MacFarlane1-8/+8
See #4007.
2017-10-30Added failing command test for #4007.John MacFarlane1-0/+23
2017-10-30Allow body of macro definition to be unbraced.John MacFarlane1-7/+10
e.g. \newcommand\arrow\to See #4007.
2017-10-29Add ms to trypandoc output formats.John MacFarlane1-0/+1
2017-10-29Improved menus for trypandoc.John MacFarlane1-16/+28
2017-10-29Regen man page.John MacFarlane1-1/+1
2017-10-29Makefile: fix version detection.John MacFarlane1-1/+1
2017-10-29Changelog format fixes.John MacFarlane1-10/+10
2017-10-29Fixed warnings.John MacFarlane2-8/+3
2017-10-29Export all of Text.Pandoc.Class from Text.Pandoc.John MacFarlane4-8/+1
2017-10-29INSTALL - removed "building the whole pandoc ecosystem."John MacFarlane1-23/+0
This is irrelevant now with stack allowing us to depend on arbitrary git commits.
2017-10-29Removed useless notes state in DokuWiki writer.John MacFarlane1-5/+2
2017-10-29changelog formatting fix.John MacFarlane1-4/+4
2017-10-29Changelog formatting fix.John MacFarlane1-3/+3
2017-10-29Source code reformatting.John MacFarlane25-204/+202
2017-10-29hlint suggestions.John MacFarlane26-542/+527
2017-10-29Added creole reader test files to pandoc.cabal.John MacFarlane1-0/+2
2017-10-29More hlint.John MacFarlane3-33/+30
2017-10-29Makefile: make SOURCEFILES overridable for make lint, make format.John MacFarlane1-3/+3
2017-10-29Add .hlint.yamlJohn MacFarlane1-0/+72
2017-10-29Small reformat.John MacFarlane1-1/+1
2017-10-29Use uncurry.John MacFarlane1-1/+1
2017-10-29More hlint fixes.John MacFarlane6-58/+54
2017-10-29Update changelog.John MacFarlane1-0/+2
2017-10-29Write FB2 lists without nesting blocks inside <p> (#4004)Alexander3-99/+119
According to FB2 XML schema <empty-line /> cannot be placed inside <p>. Linux FBReader can't display such paragraphs, e.g. any "loose" lists produced by pandoc prior to this commit. Besides that, FB2 writer placed <p> inside <p> when writing nested lists, this commit fixes the bug. Also this commit removes leading non-breaking space from ordered lists for consistency with bullet lists. Definition lists are not affected at all.
2017-10-29Creole reader (#4002)Sascha Wilde3-0/+236
* Basic skeleton for creole reader. No real functionality besides preliminary bold and italics yet. * Creole: add support for bold/italic with implicit end at paragraph end. * Creole: add support for headings. * Creole: add support for tilde escaped chars. * Basic skeleton for creole reader. No real functionality besides preliminary bold and italics yet. * Creole: add support for bold/italic with implicit end at paragraph end. * Creole: add support for headings. * Creole: add support for tilde escaped chars. * Add a test suite for the creole parser So far this covers only things the parser already supports. * Added simple parsing of flat unordered lists. * Added tests for unordered lists in creole. * First, wrong(!) implementation of sublists. Fails test, as sublists should not be embedded in a list item! * Implementation of unordered sublists. * Added support for ordered lists to creole reader. * Added utility function to append parsers to Creole reader. * Creole reader: Fixed list item end detection in sub lists. * Tests for creole reader: added more tests for lists. Covering ordered and unordered tests, even mixed. Tests for formatting in list items still missing... * Added "nowiki" blocks. One exception rule is missing... * Creole reader: nowiki: implemented exception for curly brackets. * Creole reader: added inline nowiki. * Creole reader: added horizontalRule. * Creole reader: added auto linking of URIs. * Creole reader: detect horizontalRule as para end. Used the opportunity for a little refactoring. * Creole reader: added forced line breaks. Including test. * Creole reader: implement wiki links. * Creole reader: added image support. * Creole reader: support images as links. * Creole reader: implemented placeholder -- by simply dropping them. * Creole reader: added tests for links. After observing a regression, it was really time... ;-) * Creole reader: fixed links with names. * Creole reader: allow space after first of enclosing tags. Space after the start of formatting tags are allowed with creole, e.g. "there is // italic text // in here" is legal. This problem was discovered using the creole1.0test.txt document from http://www.wikicreole.org/wiki/Creole1.0TestCases See l.57: # // italic item 3 // * Creole reader: fixed links without names. * Creole reader: Tests, sorted into groups. * Creole reader: implemented tables. * Removed redundant import. * Creole reader: add correct escaping of links. * Creole reader: allow handling of e.g. links in parenthesis and quotes. * Creole reader: Modified disclaimer as most of the code is actually by me. * Creole reader: Tests: added escaped links. * Creole reader: preserve leading and trailing space in bold/italic. * Creole reader: detect tables without a leading blank line. * Creole Reader: added official creole1.0test.txt as "old" test. The base document was downloaded from http://www.wikicreole.org/wiki/Creole1.0TestCases. The Wiki, and therefore the test document is Copyright (C) by the contributors. Some rights reserved, license CC BY-SA. http://creativecommons.org/licenses/by-sa/1.0/
2017-10-28Add new style FB2 testsAlexander Krotov3-0/+37
2017-10-28Use latest pandoc-citeproc release for binary package.John MacFarlane1-4/+1
2017-10-28Fix warning for older GHC versions.John MacFarlane1-1/+1
2017-10-28Try to fix imports for older ghc.John MacFarlane1-1/+1
2017-10-28Changelog mis-spellings.John MacFarlane1-2/+2
2017-10-28Change order of imports to satisfy older ghc.John MacFarlane1-1/+1
2017-10-27Changelog: note on --pdf-engine-optJohn MacFarlane1-1/+2
2017-10-27Update man/pandoc.1.John MacFarlane1-25/+98
2017-10-27Update date on MANUAL.txtJohn MacFarlane1-1/+1
2017-10-27hlint suggestions.John MacFarlane33-340/+307
2017-10-27Don't rely on syb when we don't need to.John MacFarlane3-3/+3
2017-10-27Removed unnecessary build-deps.John MacFarlane1-7/+2
2017-10-27hlint changes.John MacFarlane9-126/+118
2017-10-27hlint suggestions.John MacFarlane1-1/+1
2017-10-27hlint suggestions.John MacFarlane1-9/+8
2017-10-27hlint suggestions.John MacFarlane4-8/+7