Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-04-25 | LaTeX reader: fixed previous commit. | John MacFarlane | 1 | -3/+3 | |
2018-04-25 | LaTeX reader: Improve handling of raw LaTeX (for markdown etc.). | John MacFarlane | 1 | -31/+32 | |
Previously there were some bugs in how macros were handled. Closes #4589, #4594. | |||||
2018-04-25 | LaTeX reader: support `\MakeUppercase`, `\MakeLowercase'. | John MacFarlane | 1 | -1/+17 | |
Also `\MakeTextUppercase`, `\MakeTextLowercase` from textcase and `\uppercase`, `\lowercase`. We don't mimic exactly the quirky semantic differences between these commands, but just uppercase/lowercase regular strings within them. We leave commands and code alone. Closes #4595. | |||||
2018-04-25 | Removed deprecated ancient HTML math methods. | John MacFarlane | 3 | -68/+0 | |
Removed `--latexmathml`, `--gladtex`, `--mimetex`, `--jsmath`, `-m`, `--asciimathml` options. Removed `JsMath`, `LaTeXMathML`, and `GladTeX` constructors from `Text.Pandoc.Options.HTMLMathMethod` [API change]. Removed unneeded data file LaTeXMathML.js and updated tests. Bumped version to 2.2. | |||||
2018-04-25 | Added licensing headers for DocBook, EPUB, JATS, OPML readers. | John MacFarlane | 4 | -1/+118 | |
See #4592. | |||||
2018-04-22 | RST reader: allow < 3 spaces indent under directives. | John MacFarlane | 1 | -3/+7 | |
Closes #4579. | |||||
2018-04-21 | Markdown reader/writer: spacing adjustments in tables. | John MacFarlane | 2 | -4/+12 | |
* Markdown writer now includes a blank line at the end of the row in a single-row multiline table, to prevent it from being interpreted as a simple table. Closes #4578. * Markdown reader does a better job computing the relative width of the last column in a multiline table, so we can round-trip tables without constantly shrinking the last column. | |||||
2018-04-21 | makePDF: Don't try to convert eps files. | John MacFarlane | 1 | -0/+2 | |
pdflatex converts them itself, and JuicyPixels can't do it. See #2067. | |||||
2018-04-21 | makePDF: For pdflatex, use a temp dir in the working directory. | John MacFarlane | 1 | -3/+5 | |
Otherwise we can have problems with things like epstopdf.pl, which pdflatex runs to convert eps files and which won't run on a file above the working directory in restricted mode. | |||||
2018-04-21 | Mime: Use the alias application/eps for eps. | John MacFarlane | 1 | -1/+1 | |
Instead of application/postscript. This will ensure that we retain the eps extension after reading the image into a mediabag and writing it again. See #2067. | |||||
2018-04-19 | Markdown reader: allow empty attributes. | John MacFarlane | 1 | -0/+2 | |
See #2944. | |||||
2018-04-19 | RST writer: use more consistent indentation. | John MacFarlane | 1 | -6/+3 | |
Previously we used an odd mix of 3- and 4-space indentation. Now we use 3-space indentation, except for ordered lists, where indentation must depend on the width of the list marker. Closes #4563. | |||||
2018-04-19 | Parsing.uri: don't treat `*` characters at end as part of URI. | John MacFarlane | 1 | -1/+1 | |
This fixes #4561, a bug parsing emphasized bare links in RST. | |||||
2018-04-19 | Text.Pandoc.Class.writeMedia: unescape URI-escaping in file path. | John MacFarlane | 1 | -1/+1 | |
This avoids writing things like `file%20one.png` to the file system. | |||||
2018-04-19 | EPUB reader: fix images with space in file path. | John MacFarlane | 1 | -2/+2 | |
Closes #4344. | |||||
2018-04-19 | FB2 writer: convert metadata value "abstract" to book annotation | Alexander Krotov | 1 | -1/+4 | |
2018-04-19 | Muse reader: allow "-" in anchors | Alexander Krotov | 1 | -1/+1 | |
2018-04-18 | Markdown reader: handle table w/o following blank line in fenced div. | John MacFarlane | 1 | -3/+14 | |
Closes #4560. | |||||
2018-04-17 | Docx reader: Combine codeBlocks | Jesse Rosenthal | 1 | -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-16 | Markdown reader: remove "fallback" for doubleQuote parser. | John MacFarlane | 1 | -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-16 | Beamer writer: don't use format specifier for default ordered lists. | John MacFarlane | 1 | -0/+1 | |
This gives better results for styles that put ordered list markers in boxes or circles. Closes #4556. | |||||
2018-04-16 | hlint Muse writer | Alexander Krotov | 1 | -4/+3 | |
2018-04-16 | Muse writer: simplify isHorizontalRule | Alexander Krotov | 1 | -3/+1 | |
2018-04-16 | Muse reader: allow verse to be indented | Alexander Krotov | 1 | -0/+1 | |
Muse writer indents verse blocks in definition list more than necessary, so Muse reader should parse them. | |||||
2018-04-16 | Muse reader code cleanup | Alexander Krotov | 1 | -20/+9 | |
2018-04-16 | Muse writer: escape definition list terms starting with list markers | Alexander Krotov | 1 | -6/+7 | |
2018-04-15 | Ms writer: font improvements. | John MacFarlane | 1 | -3/+14 | |
* 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-15 | Muse reader: don't allow footnote references inside links | Alexander Krotov | 1 | -0/+2 | |
2018-04-15 | Muse writer: escape strings starting with space | Alexander Krotov | 1 | -1/+5 | |
2018-04-15 | Muse reader: allow URL to be empty | Alexander Krotov | 1 | -1/+1 | |
Muse writer can write links with empty URLs, so Muse reader should read them. | |||||
2018-04-15 | Muse reader: require that comment semicolons are in the first column | Alexander Krotov | 1 | -0/+1 | |
Fixes #4551 | |||||
2018-04-14 | Added a needed import in Text.Pandoc.App. | John MacFarlane | 1 | -0/+1 | |
2018-04-14 | Ms writer link improvements. | John MacFarlane | 1 | -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-14 | Man writer: Don't escape U+2019 as '. | John MacFarlane | 1 | -1/+0 | |
Closes #4550. | |||||
2018-04-12 | Fix bash completion for `--print-default-data-file`. | John MacFarlane | 1 | -2/+16 | |
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-10 | Muse writer: escape > less often | Alexander Krotov | 1 | -1/+2 | |
> should be escaped only when it can start verse, i.e., at the beginning of the line. | |||||
2018-04-09 | PDF: Use withTempDir in html2pdf. | John MacFarlane | 1 | -38/+39 | |
This is intended to help with #4524, a problem on Windows where using weasyprint led to a blank PDF. | |||||
2018-04-09 | Muse writer: don't break headers, line blocks and tables with line breaks | Alexander Krotov | 1 | -5/+10 | |
2018-04-09 | Muse writer: fix Haddock comment | Alexander Krotov | 1 | -1/+1 | |
2018-04-09 | Muse writer: correctly output empty headings | Alexander Krotov | 1 | -2/+1 | |
2018-04-08 | DocBook reader: properly handle title in section element. | John MacFarlane | 1 | -0/+1 | |
Previously we just got `section_title` for section (though sect1, sect2, etc. were handled properly). Closes #4526. | |||||
2018-04-09 | Muse reader: add support for Text:Amuse multiline headings | Alexander Krotov | 1 | -9/+33 | |
2018-04-09 | Muse reader: remove redundant brackets | Alexander Krotov | 1 | -1/+1 | |
2018-04-09 | Fix a comment | Alexander Krotov | 1 | -1/+1 | |
2018-04-08 | Muse reader: replace foldl with foldr | Alexander Krotov | 1 | -7/+7 | |
2018-04-08 | Muse reader: move F out of MuseTableElement definition | Alexander Krotov | 1 | -31/+23 | |
2018-04-08 | Muse reader: document implementation | Alexander Krotov | 1 | -93/+136 | |
2018-04-07 | Muse reader: replace pattern matching with "when" | Alexander Krotov | 1 | -7/+5 | |
2018-04-07 | Muse reader: don't return link title from linkText parser | Alexander Krotov | 1 | -6/+6 | |
Title is always empty in Muse anyway. | |||||
2018-04-07 | Muse reader: add support for <biblio> and <play> tags | Alexander Krotov | 1 | -2/+15 | |