Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-05-09 | Parsing: Lookahead for non-whitespace after single/double quote start. | John MacFarlane | 1 | -0/+6 | |
Closes #4637. | |||||
2018-05-08 | Add test for #4576. | John MacFarlane | 1 | -0/+6 | |
Closes #4576. | |||||
2018-04-26 | RST reader: fix anonymous redirects with backticks. | John MacFarlane | 1 | -0/+10 | |
Closes #4598. | |||||
2018-04-25 | Add tests for #4589 and #4594 (currently failing). | John MacFarlane | 2 | -0/+38 | |
2018-04-22 | RST reader: allow < 3 spaces indent under directives. | John MacFarlane | 1 | -0/+16 | |
Closes #4579. | |||||
2018-04-21 | Markdown reader/writer: spacing adjustments in tables. | John MacFarlane | 2 | -1/+15 | |
* 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-19 | RST writer: use more consistent indentation. | John MacFarlane | 2 | -7/+7 | |
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-14 | Man writer: Don't escape U+2019 as '. | John MacFarlane | 2 | -0/+8 | |
Closes #4550. | |||||
2018-04-05 | LaTEX reader: properly resolve section numbers with \ref and chapters. | John MacFarlane | 1 | -0/+36 | |
Closes #4529. | |||||
2018-04-05 | CommonMark writer: correctly ignore LaTeX raw blocks when not raw_tex (#4533) | quasicomputational | 1 | -0/+21 | |
Issue #4527. | |||||
2018-04-02 | LaTeX reader: parse sloppypar environment (#4517) | Marc Schreiber | 1 | -0/+23 | |
2018-03-30 | Textile reader: fixed tables with no body rows. | John MacFarlane | 1 | -0/+9 | |
Previously these raised an exception. Closes #4513. | |||||
2018-03-28 | Mediawiki reader: improve table parsing. | John MacFarlane | 1 | -9/+11 | |
This fixes detection of table attributes and also handles `!` characters in cells. Closes #4508. | |||||
2018-03-17 | Add support to parse unit string of \SI command (closes #4296). | Marc Schreiber | 1 | -0/+36 | |
2018-03-17 | Don't wrap lines in grid tables when `--wrap=none` (#4320) | Francesco Occhipinti | 1 | -0/+15 | |
* Annotate gridTable code with comments and abstract small functions * Don't wrap lines in tables when `--wrap=none`. Instead, expand cells, even if it results in cells that don't respect relative widths or surpass page column width. * This change affects RST, Markdown, and Haddock writers. | |||||
2018-03-14 | RST reader: Allow unicode bullet characters. | John MacFarlane | 1 | -0/+9 | |
Closes #4454. | |||||
2018-03-13 | Beamer: put hyperlink after `\begin{frame}`. | John MacFarlane | 2 | -6/+4 | |
and not in the title. If it's in the title, then we get a titlebar on slides with the `plain` attribute, when the id is non-null. This fixes a regression from 1.9.x. Closes #4307. | |||||
2018-03-02 | LaTeX reader: Fix regression in package options including underscore. | John MacFarlane | 1 | -0/+10 | |
Closes #4424. | |||||
2018-02-17 | LaTeX reader: Fixed comments inside citations. Closes #4374. | John MacFarlane | 1 | -0/+7 | |
2018-01-25 | ConTeXt writer: new section syntax and --section-divs (#4295) | Henri Menke | 1 | -2/+3 | |
Fixes #2609. This PR introduces the new-style section headings: `\section[my-header]{My Header}` -> `\section[title={My Header},reference={my-header}]`. On top of this, the ConTeXt writer now supports the `--section-divs` option to write sections in the fenced style, with `\startsection` and `\stopsection`. | |||||
2018-01-20 | Markdown reader: Fix parsing bug with nested fenced divs. | John MacFarlane | 1 | -0/+18 | |
Closes #4281. Previously we allowed "nonindent spaces" before the opening and closing `:::`, but this interfered with list parsing, so now we require the fences to be flush with the margin of the containing block. | |||||
2018-01-20 | RST reader: fix parsing of headers with trailing space. | John MacFarlane | 1 | -0/+7 | |
This was a regression in pandoc 2.0. Closes #4280. | |||||
2018-01-17 | Markdown reader: don't coalesce adjacent raw LaTeX blocks... | John MacFarlane | 1 | -0/+9 | |
if they are separated by a blank line. See lierdakil/pandoc-crossref#160 for motivation. | |||||
2018-01-14 | RST reader: add aligned environment when needed in math. | John MacFarlane | 1 | -0/+12 | |
rst2latex.py uses an align* environment for math in `.. math::` blocks, so this math may contain line breaks. If it does, we put the math in an `aligned` environment to simulate rst2latex.py's behavior. Closes #4254. | |||||
2018-01-14 | Markdown reader: Improved inlinesInBalancedBrackets. | John MacFarlane | 1 | -0/+6 | |
The change both improves performance and fixes a regression whereby normal citations inside inline notes were not parsed correctly. Closes jgm/pandoc-citeproc#315. | |||||
2018-01-13 | LaTeX reader: pass through macro defs in rawLaTeXBlock... | John MacFarlane | 2 | -1/+5 | |
even if the `latex_macros` extension is set. This reverts to earlier behavior and is probably safer on the whole, since some macros only modify things in included packages, which pandoc's macro expansion can't modify. Closes #4246. | |||||
2018-01-13 | LaTeX reader: allow macro definitions inside macros. | John MacFarlane | 1 | -0/+8 | |
Previously we went into an infinite loop with ``` \newcommand{\noop}[1]{#1} \noop{\newcommand{\foo}[1]{#1}} \foo{hi} ``` See #4253. | |||||
2018-01-10 | RST reader: better handling for headers with an anchor. | John MacFarlane | 1 | -0/+33 | |
Instead of creating a div containing the header, we put the id directly on the header. This way header promotion will work properly. Closes #4240. | |||||
2018-01-09 | Fixed a test case so it works on windows too. | John MacFarlane | 1 | -1/+1 | |
2018-01-09 | HTML writer: Fixed footnote backlinks with --id-prefix. | John MacFarlane | 1 | -0/+12 | |
Closes #4235. | |||||
2017-12-28 | LaTeX reader: be more tolerant of `&` character. | John MacFarlane | 1 | -0/+18 | |
This allows us to parse unknown tabular environments as raw LaTeX. Closes #4208. | |||||
2017-12-27 | Merge pull request #4184 from mb21/html-reader-figcaption | John MacFarlane | 1 | -0/+32 | |
HTML Reader: be more forgiving about figcaption | |||||
2017-12-27 | HTML reader: parse div with class `line-block` as LineBlock. | John MacFarlane | 1 | -0/+10 | |
See #4162. | |||||
2017-12-26 | LaTeX reader: support `\foreignlanguage` from babel. | John MacFarlane | 1 | -0/+6 | |
2017-12-24 | RST reader: allow empty list items (as docutils does). | John MacFarlane | 1 | -0/+10 | |
Closes #4193. | |||||
2017-12-23 | HTML Reader: be more forgiving about figcaption | mb21 | 1 | -0/+32 | |
fixes #4183 | |||||
2017-12-22 | `latex_macros` extension changes. | John MacFarlane | 2 | -3/+34 | |
Don't pass through macro definitions themselves when `latex_macros` is set. The macros have already been applied. If `latex_macros` is enabled, then `rawLaTeXBlock` in Text.Pandoc.Readers.LaTeX will succeed in parsing a macro definition, and will update pandoc's internal macro map accordingly, but the empty string will be returned. Together with earlier changes, this closes #4179. | |||||
2017-12-22 | Markdown reader: improved raw tex parsing. | John MacFarlane | 1 | -1/+1 | |
+ Preserve original whitespace between blocks. + Recognize `\placeformula` as context. | |||||
2017-12-22 | RST writer: fix anchors for headers. | John MacFarlane | 1 | -1/+1 | |
We were missing an `_`. See #4188. | |||||
2017-12-21 | Org writer: do not wrap "-" to avoid accidental bullet lists | Alexander Krotov | 1 | -0/+9 | |
Also add TODO for ordered lists. | |||||
2017-12-19 | Muse writer: don't wrap note references to the next line | Alexander Krotov | 1 | -0/+29 | |
Closes #4172. | |||||
2017-12-19 | Fix for #4171 fix: don't wrap note references after SoftBreak | Alexander Krotov | 1 | -0/+14 | |
2017-12-18 | Org writer: don't allow fn refs to wrap to beginning of line. | John MacFarlane | 1 | -0/+11 | |
Otherwise they can be interpreted as footnote definitions. Closes #4171. | |||||
2017-12-17 | OPML reader: enable raw HTML and other extensions by default for notes. | John MacFarlane | 1 | -0/+35 | |
This fixes a regression in 2.0. Note that extensions can now be individually disabled, e.g. `-f opml-smart-raw_html`. Closes #4164. | |||||
2017-12-15 | Fixed regression in LateX tokenization. | John MacFarlane | 1 | -0/+8 | |
This mainly affects the Markdown reader when parsing raw LaTeX with escaped spaces. Closes #4159. | |||||
2017-12-14 | RST reader: more accurate parsing of references. | John MacFarlane | 2 | -0/+28 | |
Previously we erroneously included the enclosing backticks in a reference ID (closes #4156). This change also disables interpretation of syntax inside references, as in docutils. So, there is no emphasis in `my *link*`_ | |||||
2017-12-12 | Markdown: Improved computation of relative cell widths in pipe tables. | John MacFarlane | 1 | -3/+3 | |
2017-12-08 | LaTeX reader: fix \ before newline. | John MacFarlane | 1 | -0/+25 | |
This should be a nonbreaking space, as long as it's not followed by a blank line. This has been fixed at the tokenizer level. Closes #4134. | |||||
2017-12-06 | Markdown reader: accept processing instructions as raw HTML. | John MacFarlane | 1 | -0/+6 | |
Closes #4125. | |||||
2017-12-04 | Rewrite empty_paragraphs test so it will run on Windows. | John MacFarlane | 1 | -4/+4 | |