Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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. | |||||
2017-01-25 | More logging-related changes. | John MacFarlane | 5 | -100/+93 | |
Class: * Removed getWarnings, withWarningsToStderr * Added report * Added logOutput to PandocMonad * Make logOutput streaming in PandocIO monad * Properly reverse getLog output Readers: * Replaced use of trace with report DEBUG. TWiki Reader: Put everything inside PandocMonad m. API changes. | |||||
2017-01-25 | Changes to verbosity in writer and reader options. | John MacFarlane | 7 | -10/+10 | |
API changes: Text.Pandoc.Options: * Added Verbosity. * Added writerVerbosity. * Added readerVerbosity. * Removed writerVerbose. * Removed readerTrace. pandoc CLI: The `--trace` option sets verbosity to DEBUG; the `--quiet` option sets it to ERROR, and the `--verbose` option sets it to INFO. The default is WARNING. | |||||
2017-01-25 | Revert "Added page breaks into Pandoc." | John MacFarlane | 2 | -36/+10 | |
This reverts commit f02a12aff638fa2339192231b8f601bffdfe3e14. | |||||
2017-01-25 | Removed readerOldDashes and --old-dashes option, added old_dashes extension. | John MacFarlane | 1 | -3/+1 | |
API change. CLI option change. | |||||
2017-01-25 | Removed readerSmart and the --smart option; added Ext_smart extension. | John MacFarlane | 6 | -9/+9 | |
Now you will need to do -f markdown+smart instead of -f markdown --smart This change opens the way for writers, in addition to readers, to be sensitive to +smart, but this change hasn't yet been made. API change. Command-line option change. Updated manual. | |||||
2017-01-25 | Make Extensions a custom type instead of a Set Extension. | John MacFarlane | 1 | -9/+9 | |
The type is implemented in terms of an underlying bitset which should be more efficient. API change: from Text.Pandoc.Extensions export Extensions, emptyExtensions, extensionsFromList, enableExtension, disableExtension, extensionEnabled. | |||||
2017-01-25 | Removed `--normalize` option and normalization functions from Shared. | John MacFarlane | 2 | -3/+7 | |
* Removed normalize, normalizeInlines, normalizeBlocks from Text.Pandoc.Shared. These shouldn't now be necessary, since normalization is handled automatically by the Builder monoid instance. * Remove `--normalize` command-line option. * Don't use normalize in tests. * A few revisions to readers so they work well without normalize. | |||||
2017-01-25 | Added ReaderOptions parameter to readNative. | John MacFarlane | 1 | -2/+4 | |
This makes it similar to the other readers -- even though ReaderOptions is essentially ignored, the uniformity is nice. | |||||
2017-01-25 | RST reader: rebase-related fixes to warnings. | John MacFarlane | 1 | -13/+12 | |
2017-01-25 | RST reader: removed now unnecessary lifts. | John MacFarlane | 1 | -8/+7 | |
2017-01-25 | Markdown reader: Removed readMarkdownWithWarnings [API change]. | John MacFarlane | 1 | -10/+1 | |
2017-01-25 | Have warningWithPos take a SourcePos rather than Maybe SourcePos. | John MacFarlane | 3 | -8/+8 | |
After all, we have warning if you don't want the source pos info. | |||||
2017-01-25 | LaTeX reader: add warning when parsing unescaped characters | John MacFarlane | 1 | -4/+5 | |
that normally need escaping in LaTeX. | |||||
2017-01-25 | RST reader: implement start-after, end-before fields for include. | John MacFarlane | 1 | -6/+12 | |
2017-01-25 | RST reader: handle code, literal, number-lines, class, name for include. | John MacFarlane | 1 | -30/+27 | |
2017-01-25 | RST reader include: handle negative values for start-, end-line. | John MacFarlane | 1 | -23/+30 | |
2017-01-25 | RST reader: support start-line and end-line in include. | John MacFarlane | 1 | -2/+8 | |
Just skip other options for now. | |||||
2017-01-25 | RST reader: Simple `.. include::` support. | John MacFarlane | 1 | -2/+65 | |
TODO: handle the options (see comment in code). See #223. | |||||
2017-01-25 | LaTeX reader: Make sure we process includes in preamble. | John MacFarlane | 1 | -0/+1 | |
2017-01-25 | LaTeX reader: further fixes to include. | John MacFarlane | 1 | -7/+11 | |
2017-01-25 | Give source position for include file loop. | John MacFarlane | 1 | -1/+1 | |
2017-01-25 | LaTeX reader: Proper include file processing. | John MacFarlane | 1 | -111/+33 | |
* Removed handleIncludes from LaTeX reader [API change]. * Now the ordinary LaTeX reader handles includes in a way that is appropriate to the monad it is run in. | |||||
2017-01-25 | Removed readRSTWithWarnings (now useless). | John MacFarlane | 1 | -10/+1 | |
2017-01-25 | TWiki reader: Remove old readTWikiWithWarnings'. | John MacFarlane | 1 | -18/+5 | |
We get warnings for free now from PandocM. (And anyway, this reader doesn't generate any!) |