aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-03-02Revert "Commonmark reader: parse HTML as plain text if `-raw_html`."John MacFarlane2-10/+2
This reverts commit 6dd21250288b51f10056b15a83130f76c788d904.
2018-03-02Commonmark reader: parse HTML as plain text if `-raw_html`.John MacFarlane2-2/+10
2018-03-03Muse reader: fix indentation requirements for footnote continuationsAlexander Krotov2-2/+12
2018-03-02Make `Ext_raw_html` default for commonmark format.John MacFarlane2-5/+9
2018-03-02Update changelog.John MacFarlane1-0/+265
2018-03-02Bump version to 2.1.2.John MacFarlane1-1/+1
2018-03-02Use latest pandoc-citeproc.John MacFarlane2-2/+2
2018-03-02LaTeX reader: Fix regression in package options including underscore.John MacFarlane2-1/+11
Closes #4424.
2018-03-02hlint Muse reader and writerAlexander Krotov2-3/+3
2018-03-02Muse reader: enable <literal> tags even if amuse extension is enabledAlexander Krotov2-11/+0
Amusewiki disables <literal> tags for security reasons. If user wants similar behavior in pandoc, RawBlocks and RawInlines can be removed or replaced with filters.
2018-03-02Muse reader: remove space prefix from <literal> tag contentsAlexander Krotov1-6/+3
2018-03-02Muse writer: update writer.museAlexander Krotov1-1/+1
2018-03-02Muse writer: join strings during inline normalizationAlexander Krotov2-0/+3
2018-03-02Muse reader: do not consume whitespace while looking for closing end tagAlexander Krotov2-1/+12
Fix for a bug caught by round-trip test.
2018-03-02Org writer: fix a typo s/prettyfy/prettify/Alexander Krotov1-2/+2
2018-03-02Muse reader: convert alphabetical list markers to decimal in round-trip testAlexander Krotov1-0/+2
Alphabetical lists are an addition of Text::Amuse. They are not present in Emacs Muse and can be ambiguous when list starts with "i.", "c." etc.
2018-02-28Docx reader: Handle nested sdt tags.Jesse Rosenthal4-1/+8
Previously we had only unwrapped one level of sdt tags. Now we recurse if we find them. Closes: #4415
2018-02-28Muse reader: add test for verse tag with one empty lineAlexander Krotov1-0/+6
2018-02-28Muse writer: change verse markupAlexander Krotov2-14/+5
Use "> " instead of <verse> tag
2018-02-28Muse writer: remove empty strings during inline normalizationAlexander Krotov2-0/+3
2018-02-28Muse reader: allow <quote> and other tags to be indentedAlexander Krotov2-2/+9
2018-02-28Update tagsoup to 0.14.6Alexander Krotov3-3/+3
2018-02-27Set fixed minor version for hsluaAlbert Krewinkel1-2/+2
The ToLuaStack instance for Set is orphaned. The PVP requires the minor version to be fixed in this case.
2018-02-27Powerpoint writer: use `trim` from SharedJesse Rosenthal2-5/+2
Instead of writing my own.
2018-02-27Powerpoint writer: Use table stylesJesse Rosenthal3-3/+17
This will use the default table style in the reference-doc file. As a result they will be easier when using in a template, and match the color scheme.
2018-02-27Powerpoint writer: add test for table and list syntaxJesse Rosenthal7-0/+62
These were never added when the tests were first created. Output files checked in MS PowerPoint 2013 (Windows 10, VBox). No corruption, and output as expected.
2018-02-27Powerpoint writer: Remove empty slidesJesse Rosenthal5-2/+47
Make sure there are no empty slides in the pptx output. Because of the way that slides were split, these could be accidentally produced by comments after images. When animations are added, there will be a way to add an empty slide with either incremental lists or pauses. Test outputs checked with MS PowerPoint (Office 2013, Windows 10, VBox). Both files have expected output and are not corrupted.
2018-02-27Update tagsoup to 0.14.5Alexander Krotov3-3/+3
2018-02-27Update tagsoup to 0.14.4Alexander Krotov3-4/+3
Fixes #4282
2018-02-26LaTeX reader: make --trace work.John MacFarlane1-2/+6
2018-02-26Org reader tests: move citation tests to separate moduleAlbert Krewinkel3-167/+182
2018-02-26Allow exceptions 0.9.John MacFarlane1-1/+1
2018-02-25Removed ghc-prof-options.John MacFarlane1-2/+0
As of cabal 1.24, sensible defaults are used. See https://www.haskell.org/cabal/users-guide/developing-packages.html#pkg-field-ghc-prof-options.
2018-02-25doc/org.md: Add Org-mode documentation (very first draft)Albert Krewinkel1-0/+95
2018-02-25Tests/Lua: fix tests on windowsAlbert Krewinkel1-1/+1
2018-02-24doc/lua-filters.md: document global vars set for filtersAlbert Krewinkel1-3/+36
2018-02-24Lua: register script name in global variableAlbert Krewinkel5-4/+21
The name of the Lua script which is executed is made available in the global Lua variable `PANDOC_SCRIPT_FILE`, both for Lua filters and custom writers. Closes: #4393
2018-02-24Muse reader: allow single colon in definition list termAlexander Krotov2-1/+4
2018-02-23Docx reader: code cleanup.Jesse Rosenthal1-10/+9
Make the code in `runStyleToTransform` a bit more consistent.
2018-02-23Docx reader: simplify custom-style reading code.Jesse Rosenthal1-41/+23
2018-02-23Docx reader: Don't look up dependant run styles if +styles is enabled.Jesse Rosenthal3-39/+42
It makes more sense not to interpret -- otherwise using the original document as the reference-doc would produce two of everything: the interpreted version and the uninterpreted style version.
2018-02-23Muse writer: don't indent nested definition listsAlexander Krotov2-3/+5
2018-02-23Docx writer: trim trailing whitespace.Jesse Rosenthal1-14/+14
2018-02-23Docx test: adjust test for fix of buglaptop1\Andrew3-5/+8
This commit adjusts the test cases for the Docx writer after the fix of #3930. - Adjusted test cases with inline images. The inline images now have the correct sizing, title and description. - Modified the test case to include an image multiple times with different sizing each time. - Tested on Windows 8.1 with Word 2007 (12.0.6705.5000) The files are not corrupted and display exactly what is expected.
2018-02-23Docx writer: fix #3930laptop1\Andrew1-84/+100
Fixes an issuue regarding image sizing if the same image is included more than once. Previously, a record was kept, indexed by image source, which would include the XML for that image. For every image element in the document, this record was checked, and if the image was the same as previous examples, the same XML would be included twice. The information in this XML incudes the image description, title text, and size on the page, thus all images from the same source would always be sized the same, and have the same description. This commit fixes this by generating unique XML every time, but keeping the image ID and path if it is the same image.
2018-02-23Muse reader: improve verse parsingAlexander Krotov2-1/+13
Now verse marked up with ">" (in contrast to <verse> tag) can be placed inside lists.
2018-02-23Export improved sepBy1 from Text.Pandoc.ParsingAlexander Krotov1-5/+11
2018-02-22Require aeson-pretty 0.8.5. Closes #4394.John MacFarlane1-1/+1
`confTrailingNewline` is introduced in this version.
2018-02-22MANUAL.txt: Document incremental and nonincremental divs.Jesse Rosenthal1-4/+28
Blockquoted lists are still described, but fenced divs are presented in preference.
2018-02-22Presentations: Use divs to set incremental/non-incrementalJesse Rosenthal2-53/+83
Currently, html and beamer presentations use a list-inside-blockquote convention for setting incremental and all-at-once presentation of lists (or reversing the command-line default). This allows the user to set this on a per-case basis with divs, named `incremental` and `nonincremental` respectively, as in: ::: incremental - snap - crackle - pop ::: Note that the former list-inside-blockquote convention still works so as not to break any existing presentations. Closes: #4381