aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-10-31Creole reader: fixed some minor typos and formatting.Sascha Wilde1-4/+5
2017-10-31Creole reader: additional test on nowiki-block after para.Sascha Wilde1-1/+4
2017-10-31Add Millimeter constructor to Dimension in ImageSize.John MacFarlane2-1/+14
Minor API change. Now sizes given in 'mm' are no longer converted to 'cm'. Closes #4012.
2017-10-31LaTeX reader: handle `%` comment right after command.John MacFarlane3-1/+55
For example \emph% {hi}
2017-10-31Revise documentation of small caps syntax. (#4013)Andrew Dunning1-6/+10
2017-10-31Fix broken reference links in manual. (#4014)Andrew Dunning1-2/+2
2017-10-31LaTeX/Beamer writer: support "blocks" inside columns and other Divs.John MacFarlane1-0/+4
Example: ``` <div class="columns"> <div class="column" width="40%"> - Item </div> <div class="column" width="60%"> - Item </div> </div> ``` Closes #4016.
2017-10-31Markdown reader: make sure fenced div closers work in lists.John MacFarlane3-5/+12
Previously the following failed: ::: {.class} 1. one 2. two ::: and you needed a blank line before the closing `:::`.
2017-10-31Make `fenced_divs` affect the Markdown writer.John MacFarlane2-8/+15
If `fenced_divs` is enabled, fenced divs will be used.
2017-10-31Fixed example of slide columns structure in changelog.John MacFarlane2-10/+27
Also documented this feature in MANUAL.txt. Closes #4015.
2017-10-31Creole reader: fixed lists with trailing white space.Sascha Wilde2-1/+12
2017-10-31FB2 writer: write blocks outside of <p> in definitionsAlexander Krotov2-52/+38
2017-10-31HTML Writer: consistently use dashed class-namesmb217-23/+23
see #3556
2017-10-31FB2 writer: make bullet lists consistent with ordered listsAlexander Krotov2-18/+14
Previously bullet lists interacted in odd way with ordered lists. For example, bullet lists nested in ordered list had incorrect indentation. Besides that, indentation with spaces is not rendered by FBReader and fbless. To avoid this problem, bullet lists are indented by appending bullets to marker just the same way it is done for ordered lists.
2017-10-30Add -linux suffix to linux tarball.John MacFarlane1-1/+1
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