aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-04-19Muse reader: allow "-" in anchorsAlexander Krotov2-1/+6
2018-04-18Markdown reader: handle table w/o following blank line in fenced div.John MacFarlane1-3/+14
Closes #4560.
2018-04-17Docx reader tests: Test for combining adjacent code blocks.Jesse Rosenthal3-0/+10
2018-04-17Docx reader: Combine codeBlocksJesse Rosenthal1-0/+4
This prevents a multiline codeblock in word from being read as different paragraphs. This takes place in the Combine module to occur during the normal combining of divs during conversion. Note that this specifies that the attributes of the `CodeBlock`s must be the same. The docx reader creates codeBlocks without attrs, so this is trivially satisified.
2018-04-17Markdown reader: add regression test for previous commitAlexander Krotov1-0/+3
2018-04-16Markdown reader: remove "fallback" for doubleQuote parser.John MacFarlane1-4/+3
Previously the parser tried to be efficient -- if no end double quote was found, it would just return the contents. But this could backfire in a case like: **this should "be bold** since the fallback would return the content `"be bold**` and the closing boldface delimiter would never be encountered.
2018-04-16Beamer writer: don't use format specifier for default ordered lists.John MacFarlane1-0/+1
This gives better results for styles that put ordered list markers in boxes or circles. Closes #4556.
2018-04-16hlint Muse writerAlexander Krotov1-4/+3
2018-04-16Muse writer: simplify isHorizontalRuleAlexander Krotov1-3/+1
2018-04-16Muse reader: allow verse to be indentedAlexander Krotov2-0/+19
Muse writer indents verse blocks in definition list more than necessary, so Muse reader should parse them.
2018-04-16Muse reader code cleanupAlexander Krotov1-20/+9
2018-04-16Fix a typo in Muse reader testsuite commentAlexander Krotov1-1/+1
2018-04-16Muse writer: escape definition list terms starting with list markersAlexander Krotov2-6/+16
2018-04-15Ms writer: font improvements.John MacFarlane2-28/+39
* Use `\f[R]` rather than `\f[]` to reset. The latter returns to the previous font, which gives unintended results in some cases. * Use `\f[BI]` and `\f[CB]` in headers, instead of `\f[I]` and `\f[C]`, since the header font is automatically bold. * Use `\f[CB]` rather than `\f[BC]` for monospace bold. Closes #4552.
2018-04-15MANUAL.txt: Don't say that `empty_paragraphs` affects markdown output.John MacFarlane1-1/+1
It doesn't. Closes #4540.
2018-04-15Makefile: build 32- and 64-bit Windows packages.John MacFarlane1-6/+13
2018-04-15Muse reader: don't allow footnote references inside linksAlexander Krotov2-0/+5
2018-04-15Muse writer: escape strings starting with spaceAlexander Krotov2-1/+14
2018-04-15Muse reader: allow URL to be emptyAlexander Krotov2-1/+2
Muse writer can write links with empty URLs, so Muse reader should read them.
2018-04-15Muse reader: require that comment semicolons are in the first columnAlexander Krotov2-0/+2
Fixes #4551
2018-04-14Added a needed import in Text.Pandoc.App.John MacFarlane1-0/+1
2018-04-14Ms writer link improvements.John MacFarlane1-5/+13
+ Create pdf anchor for a Div with an identifier. + Escape `/` character in anchor ids. + Improve escaping for anchor ids: we now use _uNNN_ instead of uNNN to avoid ambiguity. This is intended to help with #4515; however, in my tests, the link to the reference does not seem to work. I'm not sure why.
2018-04-14Man writer: Don't escape U+2019 as '.John MacFarlane83-22/+10417
Closes #4550.
2018-04-12appveyor.yml - build 64 bit version and 32 bit.John MacFarlane1-4/+4
2018-04-12Fix bash completion for `--print-default-data-file`.John MacFarlane2-5/+19
Previously this looked in the filesystem, even if pandoc was compiled with `embed_data_files` (and sometimes it looked in a nonexistent build directory). Now the bash completion script just includes a hard-coded list of data file names. See #4549.
2018-04-11Bump to 2.1.4.John MacFarlane1-1/+1
2018-04-11Update changelog, AUTHORS.md.John MacFarlane2-0/+139
2018-04-11Bump temporary upper bound to 1.4.John MacFarlane1-2/+2
2018-04-10Muse writer: escape > less oftenAlexander Krotov3-4/+6
> should be escaped only when it can start verse, i.e., at the beginning of the line.
2018-04-09PDF: Use withTempDir in html2pdf.John MacFarlane1-38/+39
This is intended to help with #4524, a problem on Windows where using weasyprint led to a blank PDF.
2018-04-09Muse writer: don't break headers, line blocks and tables with line breaksAlexander Krotov2-5/+12
2018-04-09Muse writer: fix Haddock commentAlexander Krotov1-1/+1
2018-04-09Muse writer: correctly output empty headingsAlexander Krotov2-2/+2
2018-04-08DocBook reader: properly handle title in section element.John MacFarlane1-0/+1
Previously we just got `section_title` for section (though sect1, sect2, etc. were handled properly). Closes #4526.
2018-04-09Muse reader: add support for Text:Amuse multiline headingsAlexander Krotov2-13/+51
2018-04-09Muse reader: remove redundant bracketsAlexander Krotov1-1/+1
2018-04-09Fix a commentAlexander Krotov1-1/+1
2018-04-08Muse reader: replace foldl with foldrAlexander Krotov1-7/+7
2018-04-08Muse reader: move F out of MuseTableElement definitionAlexander Krotov1-31/+23
2018-04-08Muse reader: document implementationAlexander Krotov1-93/+136
2018-04-07Muse reader: replace pattern matching with "when"Alexander Krotov1-7/+5
2018-04-07Muse reader: don't return link title from linkText parserAlexander Krotov1-6/+6
Title is always empty in Muse anyway.
2018-04-07Muse reader: add support for <biblio> and <play> tagsAlexander Krotov2-2/+32
2018-04-07Muse reader: replace returnF with return . returnAlexander Krotov1-1/+1
2018-04-07FB2 writer: output links inline instead of producing notesAlexander Krotov3-343/+61
Previously all links were turned into footnotes with unclickable URLs inside.
2018-04-05Powerpoint writer: Handle Quoted InlinesJesse Rosenthal1-2/+13
Closes: #4532
2018-04-05Changes to tests to accommodate changes in pandoc-types.John MacFarlane4-5/+16
In https://github.com/jgm/pandoc-types/pull/36 we changed the table builder to pad cells. This commit changes tests (and two readers) to accord with this behavior.
2018-04-05Added test-framework to stack.yaml deps.John MacFarlane1-0/+1
2018-04-05LaTEX reader: properly resolve section numbers with \ref and chapters.John MacFarlane2-1/+43
Closes #4529.
2018-04-05FB2 writer: represent HorizontalRule as empty lineAlexander Krotov5-62/+82
HorizontalRule corresponds to <hr> element in the default output format, HTML. Current HTML standard defines <hr> element as "paragraph-level thematic break". In typography it is often represented by extra space or centered asterism ("⁂"), but since FB2 does not support text centering, empty line (similar to extra space) is the only solution. Line breaks, on the other hand, don't generate <empty-line /> anymore. Previously line breaks generated <empty-line /> element inside paragraph, which is not allowed. So, this commit addresses issue #2424 ("FB2 produced by pandoc doesn't validate"). FB2 does not have a way to represent line breaks inside paragraphs. They are replaced with LF character, which is not rendered by FB2 readers, but at least preserves some information.