Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-03-08 | Org reader: don't allow tables inside list items. | John MacFarlane | 1 | -0/+4 | |
Closes #3499. | |||||
2017-03-07 | Markdown reader: Treat certain environments as inline | John MacFarlane | 1 | -1/+3 | |
when they occur without space surrounding them. E.g. equation, math. This avoids incorrect vertical space around equations. Closes #3309. Closes #2171. See also rstudio/bookdown#358. | |||||
2017-03-06 | LaTeX reader: allow newpage, clearpage, pagebreak in inline contexts | John MacFarlane | 1 | -0/+5 | |
as well as block contexts. Closes #3494. | |||||
2017-03-05 | LaTeX reader: support all \textXX commands. | John MacFarlane | 1 | -1/+5 | |
where XX = rm, tt, up, md, sf, bf. Spans with a class are used when there is nothing better. Closes #3488. | |||||
2017-03-05 | Markdown reader: fixed internal header links. | John MacFarlane | 1 | -2/+7 | |
Closes #2397. This patch also adds `shortcut_reference_links` to the list of mmd extensions. | |||||
2017-03-05 | LaTeX reader: small improvements in parsing arguments. | John MacFarlane | 1 | -10/+7 | |
2017-03-05 | LaTeX reader: Handle spaces before \cite arguments. | John MacFarlane | 1 | -3/+1 | |
2017-03-05 | Added readerAbbreviations to ParserState. | John MacFarlane | 1 | -25/+16 | |
Markdown reader now consults this to determine what is an abbreviation. Eventually it will be possible to specify a custom list (see #256). | |||||
2017-03-05 | Markdown reader: Fixed regression on left-biased union for metadata. | John MacFarlane | 1 | -6/+9 | |
When multiple YAML metadata blocks are used, and two define the same field, the value defined first takes precedence, according to the manual. This was changed briefly in ba3ee62323644134f2a5dd3277e3349d3681111a. This commit reverts to the original behavior and adds a test case. | |||||
2017-03-05 | Parse YAML metadata in a context that sees footnotes... | John MacFarlane | 1 | -84/+83 | |
defined in the body of the document. Closes #1279. | |||||
2017-03-04 | Fixed some loose ends in #1592. | John MacFarlane | 1 | -1/+3 | |
Added test cases. Fixed HTML reader to parse a span with class "smallcaps" as SmallCaps. Fixed Markdown writer to render SmallCaps as a native span when native spans are enabled. | |||||
2017-03-04 | Markdown reader: treat span with class `smallcaps` as SmallCaps. | John MacFarlane | 1 | -13/+18 | |
This allows users to specify small caps in Markdown this way: [my text]{.smallcaps} See #1592. | |||||
2017-03-04 | Stylish-haskell automatic formatting changes. | John MacFarlane | 27 | -464/+467 | |
2017-03-03 | RST reader: support RST-style citations. | John MacFarlane | 1 | -14/+54 | |
The citations appear at the end of the document as a definition list in a special div with id `citations`. Citations link to the definitions. Added stateCitations to ParserState. Closes #853. | |||||
2017-03-02 | RST reader: Handle multiline cells in simple tables. | John MacFarlane | 1 | -8/+16 | |
Closes #1166. | |||||
2017-03-02 | Markdown reader: when splitting pipe table cells, skip tex math. | John MacFarlane | 1 | -1/+1 | |
You might have a `|` character inside math. (Or for that matter something that the parser might mistake for raw HTML.) See #3481. | |||||
2017-03-01 | LaTeX reader: don't drop contents of \hypertarget. | John MacFarlane | 1 | -0/+3 | |
2017-02-28 | RST reader: implemented implicit internal header links. | John MacFarlane | 1 | -18/+42 | |
Cloess #3475. | |||||
2017-02-27 | LaTeX reader: Handle komascript `\dedication`. | John MacFarlane | 1 | -0/+2 | |
It now adds a `dedication` field to metadata. It is up to the user to supply a template that uses this variable. Closes #1845. | |||||
2017-02-27 | Minor cleanups in LaTeX reader. | John MacFarlane | 1 | -5/+4 | |
2017-02-26 | RST reader: support scale and align attributes of images. | John MacFarlane | 1 | -5/+25 | |
Closes #2662. | |||||
2017-02-25 | LaTeX reader: allow hspace and vspace to count as raw block or inline. | John MacFarlane | 1 | -3/+5 | |
Previously we would refuse to parse anything as raw inline if it was in the blockCommands list. Now we allow exceptions if they're listed under ignoreInlines in inlineCommands. This should make it easier e.g. to include an \hspace between two side-by-side raw LaTeX tables. | |||||
2017-02-25 | Revert "LaTeX reader: don't treat `\vspace` and `\hspace` as block commands." | John MacFarlane | 1 | -0/+1 | |
This reverts commit 2873cd82886d1fa557bf3abde37b5ceb3cadf40c. | |||||
2017-02-24 | Implemented `\graphicspath` in LaTeX reader. | John MacFarlane | 1 | -1/+8 | |
Closes #736. | |||||
2017-02-24 | EPUB reader: minor refactoring, avoiding explicit MediaBag handling. | John MacFarlane | 1 | -8/+6 | |
This all works behind the scenes in CommonState plumbing. | |||||
2017-02-22 | When parsing raw LaTeX commands, include trailing space. | John MacFarlane | 1 | -2/+2 | |
Otherwise things like `\noindent foo` break and turn into `\noindentfoo`. Affects `-f latex+raw_tex` and `-f markdown` (and other formats that allow `raw_tex`). Closes #1773. | |||||
2017-02-21 | MediaWiki reader: ensure that list starts begin at left margin. | John MacFarlane | 1 | -9/+18 | |
Including when they're in tables or other list items. Closes #2606. | |||||
2017-02-21 | MediaWiki reader: fixed more table issues. | John MacFarlane | 1 | -9/+7 | |
Closes #2649. | |||||
2017-02-21 | MediaWiki reader: Allow blank line after table start. | John MacFarlane | 1 | -1/+1 | |
See #2649. | |||||
2017-02-21 | MediaWiki tables: allow extra hyphens after `|-` in tables. | John MacFarlane | 1 | -1/+1 | |
I didn't see this documented anywhere, but it seems to be allowed (and common). See #2649. This addresses some of the cases there, but not all. | |||||
2017-02-20 | Tighten up HasQuoteContext instance in HTML reader. | John MacFarlane | 1 | -1/+1 | |
We constrain it to the state used in the HTML reader. Otherwise we can get overlap with the general instance for ParserState m. | |||||
2017-02-17 | Markdown reader: Use logMessage instead of report. | John MacFarlane | 1 | -5/+7 | |
2017-02-17 | Fixed repeated log messages in RST reader. | John MacFarlane | 1 | -13/+14 | |
See #3447. To complete fixes on this issue, we need to do the same for the other readers. Note that the changes required are minimal -- add reportLogMessages to the end of the main parser, and replace report with logMessage. (except for trace) | |||||
2017-02-15 | Fix indirect hyperlink targets. Closes #512. | John MacFarlane | 1 | -23/+33 | |
2017-02-14 | LaTeX reader: include contents of `\parbox`. | John MacFarlane | 1 | -0/+1 | |
2017-02-14 | Removed unnecessary import. | John MacFarlane | 1 | -1/+1 | |
2017-02-13 | LaTeX reader: properly handle column prefixes/suffixes. | John MacFarlane | 1 | -12/+33 | |
For example, in \begin{tabular}{>{$}l<{$}>{$}l<{$} >{$}l<{$}} each cell will be interpreted as if it has a `$` before its content and a `$` after (math mode). | |||||
2017-02-11 | RST reader: Support `.. line-block` directive. | John MacFarlane | 1 | -2/+7 | |
This is deprecated but may still be in older documents. | |||||
2017-02-11 | RST reader/writer: properly handle table captions. | John MacFarlane | 1 | -1/+1 | |
Currently the support for the `.. table` directive is a bit limited; we don't yet support the `widths` field. But at least you can have a proper captioned table. | |||||
2017-02-11 | RST reader: Initial support of .. table directive. | John MacFarlane | 1 | -4/+21 | |
This allows adding captions to tables. | |||||
2017-02-11 | Fixed small bug in RST list parsing. | John MacFarlane | 1 | -3/+2 | |
See #3432. Previously the parser didn't handle properly this case: * - a - b * - c - d | |||||
2017-02-11 | Use new warnings throughout the code base. | John MacFarlane | 9 | -77/+69 | |
2017-02-10 | Added Text.Pandoc.Logging (exported module). | John MacFarlane | 6 | -2/+8 | |
This now contains the Verbosity definition previously in Options, as well as a new LogMessage datatype that will eventually be used instead of raw strings for warnings. This will enable us, among other things, to provide machine-readable warnings if desired. See #3392. | |||||
2017-02-10 | LaTeX reader: Improved messages for skipped environments. | John MacFarlane | 1 | -5/+13 | |
2017-02-10 | LaTeX reader: Improved warning messages for unknown commands. | John MacFarlane | 1 | -19/+23 | |
2017-02-10 | HTML reader: Added warnings for ignored material. | John MacFarlane | 1 | -5/+14 | |
See #3392. | |||||
2017-02-09 | LaTeX reader: Issue warnings when skipping unknown latex commands. | John MacFarlane | 1 | -4/+10 | |
See #3392. | |||||
2017-02-08 | LaTeX reader: support `\lstinputlisting`. | John MacFarlane | 1 | -11/+34 | |
Closes #2116. | |||||
2017-02-07 | RST reader: Improved admonition support. | John MacFarlane | 1 | -6/+8 | |
* We no longer add an "admonition" class, we just use the class for the type of admonition, "note" for example. * We put the word corresponding to the label in a paragraph inside a div at the beginning of the admonition with class "admonition-title". * This is about as close as we can get to RST's own output. See #223. | |||||
2017-02-07 | Refactored some files formerly in LaTeX reader. | John MacFarlane | 2 | -33/+6 | |
* Export readFileFromDirs from Class. * Export insertIncludedFile from Parsing. Simplified code in LaTeX/RST readers. |