Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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. | |||||
2017-02-07 | Moved readFileFromDirs to Text.Pandoc.Class. | John MacFarlane | 1 | -29/+9 | |
This can be used in several different modules, not just LaTeX reader. | |||||
2017-02-07 | Refactored include file handling in LaTeX reader. | John MacFarlane | 1 | -14/+16 | |
2017-02-06 | Removed --parse-raw and readerParseRaw. | John MacFarlane | 6 | -26/+23 | |
These were confusing. Now we rely on the +raw_tex or +raw_html extension with latex or html input. Thus, instead of --parse-raw -f latex we use -f latex+raw_tex and instead of --parse-raw -f html we use -f html+raw_html | |||||
2017-02-03 | Docx reader: handle local namespace declarations. | John MacFarlane | 2 | -107/+127 | |
Previously we didn't recognize math, for example, when the xmlns declaration occured on the element and not the root. Now we recognize either. Closes #3365. This patch defines findChildByName, findChildrenByName, and findAttrByName in Util, and uses these in Parse. | |||||
2017-02-03 | Docx reader: Don't drop smartTag contents. | John MacFarlane | 2 | -0/+8 | |
This just parses inside smartTags and yields their contents, ignoring the attributes of the smartTag. @jkr, you may want to adjust this, but I wanted to get a fix in as fast as possible for the dropped content. Closes #2242; see also #3412. | |||||
2017-01-27 | Shared: rename compactify', compactify'DL -> compactify, compactifyDL. | John MacFarlane | 5 | -16/+16 | |
2017-01-27 | Removed Shared.compactify. | John MacFarlane | 1 | -8/+13 | |
Changed signatures on Parsing.tableWith and Parsing.gridTableWith. | |||||
2017-01-25 | Cleanups for rebase. | John MacFarlane | 1 | -1/+1 | |
2017-01-25 | Removed readerVerbosity and writerVerbosity. | John MacFarlane | 2 | -16/+7 | |
API change. Also added a verbosity parameter to makePDF. |