Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-08-16 | LaTeX writer/template: be sensitive to `filecolor` variable. | John MacFarlane | 3 | -7/+11 | |
`linkcolor` only affects internal links, and `urlcolor` only affects linked URLs. For external links, the option to use is `filecolor`. Closes #4822. | |||||
2018-08-15 | Markdown reader: Use "tex" instead of "latex" for raw tex-ish content. | John MacFarlane | 17 | -36/+37 | |
We can't always tell if it's LaTeX, ConTeXt, or plain TeX. Better just to use "tex" always. Also changed: ConTeXt writer: now outputs raw "tex" blocks as well as "context". (Closes #969). RST writer: uses ".. raw:: latex" for "tex" content. (RST doesn't support raw context anyway.) Note that if "context" or "latex" specifically is desired, you can still force that in a markdown document by using the raw attribute (see MANUAL.txt): ```{=latex} \foo ``` Note that this change may affect some filters, if they assume that raw tex parsed by the Markdown reader will be RawBlock (Format "latex"). In most cases it should be trivial to modify the filters to accept "tex" as well. | |||||
2018-08-15 | Support "toc-title" in the beamer template. (#4835) | Cyril Roelandt | 2 | -1/+4 | |
It is a bit awkward to have a title for every frame, but not for the one that holds the table of contents. Allow users to specify a title if they wish. | |||||
2018-08-14 | Bump version to 2.3, because of breaking API change to Macro. | John MacFarlane | 1 | -1/+1 | |
2018-08-14 | ODT reader: deal gracefully with missing `<office:font-face-decls/>`. | John MacFarlane | 1 | -1/+1 | |
This allows pandoc to parse ODT document produced by KDE's Calligra. Closes #4336. | |||||
2018-08-14 | LaTeX reader: handle parameter patterns for `\def`. | John MacFarlane | 3 | -23/+57 | |
For example: `\def\foo#1[#2]{#1 and #2}`. Closes #4768. Also fixes #4771. API change: in Text.Pandoc.Readers.LaTeX.Types, new type ArgSpec added. Second parameter of Macro constructor is now `[ArgSpec]` instead of `Int`. | |||||
2018-08-13 | RST writer: render Divs with admonition classes as admonitions. | John MacFarlane | 2 | -3/+32 | |
Also omit Div with class "admonition-title". These are generated by the RST reader and should be omitted on round-trip. Closes #4833. | |||||
2018-08-13 | RST writer: use `.. container` for generic Divs, instead of raw HTML. | John MacFarlane | 2 | -72/+24 | |
2018-08-13 | Makefile: ghc options to speed compilation for 'make quick'. | John MacFarlane | 1 | -1/+1 | |
2018-08-12 | LaTeX reader: Allow `%` characters in URLs. | John MacFarlane | 2 | -13/+52 | |
This affects `\href` and `\url`. Closes #4832. | |||||
2018-08-12 | Muse reader: don't allow digits after closing marker in lightweight markup | Alexander Krotov | 2 | -2/+6 | |
This change makes reader more compatible with Emacs Muse | |||||
2018-08-12 | Lua: cleanup Lua utils, remove unused functions. | Albert Krewinkel | 5 | -104/+75 | |
2018-08-11 | MANUAL: more detail on customization in syntax highlighting section. | John MacFarlane | 1 | -3/+21 | |
2018-08-10 | Travis: use more compiler warnings. | John MacFarlane | 1 | -4/+4 | |
2018-08-10 | Avoid non-exhaustive pattern match. | John MacFarlane | 1 | -2/+4 | |
2018-08-10 | Avoid incomplete pattern patch. | John MacFarlane | 1 | -5/+8 | |
2018-08-10 | Makefile: add some warnings to GHCOPTS. | John MacFarlane | 1 | -1/+5 | |
2018-08-10 | Avoid non-exhaustive pattern match. | John MacFarlane | 1 | -11/+5 | |
2018-08-10 | Avoid non-exhaustive pattern match. | John MacFarlane | 1 | -7/+8 | |
2018-08-10 | Avoid non-exhaustive pattern match. | John MacFarlane | 1 | -3/+1 | |
2018-08-10 | Avoid non-exhaustive pattern matches. | John MacFarlane | 1 | -4/+6 | |
2018-08-10 | Avoid non-exhaustive pattern match. | John MacFarlane | 1 | -11/+12 | |
2018-08-10 | Avoid non-exhaustive pattern match. | John MacFarlane | 1 | -10/+12 | |
2018-08-10 | Avoid non-exhaustive pattern match. | John MacFarlane | 1 | -2/+3 | |
2018-08-10 | Avoid a non-exhaustive pattern match. | John MacFarlane | 1 | -3/+2 | |
2018-08-08 | HTML writer: Don't prefix epub: attributes with data-. | John MacFarlane | 1 | -0/+1 | |
2018-08-07 | Bump to 2.2.3.2, update man page, changelog. | John MacFarlane | 4 | -3/+13 | |
2018-08-07 | Markdown reader: Properly handle boolean values in YAML metadata. | John MacFarlane | 2 | -1/+62 | |
This fixes a regression in 2.2.3, which cause boolean values to be parsed as MetaInlines instead of MetaBool. Note also an undocumented (but desirable) change in 2.2.3: numbers are now parsed as MetaInlines rather than MetaString. Closes #4819. | |||||
2018-08-06 | Bump to 2.2.3.1, update man page and changelog. | John MacFarlane | 4 | -3/+9 | |
2018-08-06 | Fix parsing of embedded mappings in YAML metadata. | John MacFarlane | 2 | -24/+32 | |
This fixes a regression in 2.2.3 which caused embedded mappings (e.g. mappings in sequences) not to work in YAML metadata. Closes #4817. | |||||
2018-08-05 | Update README.md. | John MacFarlane | 1 | -6/+6 | |
2018-08-05 | Bump to 2.2.3, update changelog and man page. | John MacFarlane | 4 | -17/+110 | |
2018-08-05 | RST reader: improve parsing of inline interpreted text roles. | John MacFarlane | 6 | -19/+86 | |
* Use a Span with class "title-reference" for the default title-reference role. * Use B.text to split up contents into Spaces, SoftBreaks, and Strs for title-reference. * Use Code with class "interpreted-text" instead of Span and Str for unknown roles. (The RST writer has also been modified to round-trip this properly.) * Disallow blank lines in interpreted text. * Backslash-escape now works in interpreted text. * Backticks followed by alphanumerics no longer end interpreted text. Closes #4811. | |||||
2018-08-05 | Added test case for #4669 to repository. | John MacFarlane | 1 | -0/+29 | |
2018-08-04 | Describe required space as breaking change (#4808) | Kirill Müller | 1 | -0/+5 | |
2018-08-03 | RST writer: allow images to be directly nested within links, closes #4810 ↵ | Francesco Occhipinti | 1 | -0/+2 | |
(#4814) | |||||
2018-08-03 | Better error message on `-t pdf -o out.pdf` (#4815) | Mauro Bieg | 1 | -5/+9 | |
closes #1155 (again) | |||||
2018-08-01 | RST writer: use `titleblock` instead of `title` variable for title block | Francesco Occhipinti | 3 | -6/+15 | |
Closes #4803 After this commit use `$titleblock$` in order to get what was contained in `$title$` before, that is a title and subtitle rendered according to the official rST method: http://docutils.sourceforge.net/docs/user/rst/quickstart.html#document-title-subtitle. from With this commit, the `$title$` and `$subtitle$` metadata are available and they simply carry the metadata values. This opens up more possibilities in templates. | |||||
2018-08-01 | fix broken link for cabal-install (#4806) | ChanHoHo | 1 | -1/+1 | |
2018-07-31 | MANUAL: Add beamer info for slide backgrounds (#4802) | John Muccigrosso | 1 | -12/+16 | |
2018-07-30 | Markdown reader: allow unquoted numbers, booleans as YAML mapping keys. | John MacFarlane | 1 | -26/+28 | |
Previously in 2.2.2 you could not do --- 0: bar ... but only --- '0': bar ... With this change, both forms work. | |||||
2018-07-30 | Use YAML.decode rather than YAML.decodeStrict. | John MacFarlane | 1 | -1/+1 | |
(Minor) | |||||
2018-07-30 | DocBook reader: metadata handling improvements. | John MacFarlane | 2 | -39/+29 | |
Now we properly parse title and subtitle elements that are direct children of book and article (as well as children of bookinfo, articleinfo, or info). We also now use the "subtitle" metadata field for subtitles, rather than tacking the subtitle on to the title. | |||||
2018-07-30 | Lua Utils module: add function blocks_to_inlines (#4799) | Albert Krewinkel | 5 | -3/+69 | |
Exposes a function converting which flattenes a list of blocks into a list of inlines. An example use case would be the conversion of Note elements into other inlines. | |||||
2018-07-30 | Remove duplicate instruction (#4796) | Josh | 1 | -1/+0 | |
2018-07-24 | RST reader: remove support for nested inlines. | danse | 3 | -23/+26 | |
RST does not allow nested emphasis, links, or other inline constructs. Closes #4581, double parsing of links with URLs as link text. This supersedes the earlier fix for #4581 in 6419819b46c0d69c7024ba8aa4a6381cb311341c. Fixes #4561, a bug parsing with URLs inside emphasis. Closes #4792. | |||||
2018-07-24 | MediaWiki writer: Avoid extra blank line in tables with empty cells. | John MacFarlane | 2 | -0/+19 | |
Note that the old output is semantically identical, but the new output looks better. Closes #4794. | |||||
2018-07-23 | Org reader: fix parsers relying on parseFromString | Albert Krewinkel | 2 | -4/+14 | |
Emphasis was not parsed when it followed directly after some block types (e.g., lists). The org reader uses a wrapper for the `parseFromString` function to handle org-specific state. The last position of a character allowed before emphasis was reset incorrectly in this wrapper. Emphasized text was not recognized when placed directly behind a block which the reader parses using `parseFromString`. Fixes: #4784 | |||||
2018-07-21 | MANUAL: Clarify when csquotes is used in LaTeX writer. | John MacFarlane | 1 | -3/+4 | |
Closes #4514. | |||||
2018-07-21 | MANUAL: Added commonmark to list of output formats where... | John MacFarlane | 1 | -1/+1 | |
`raw_tex` has an effect. See #4527. |