Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-04-23 | HTML reader: Revise treatment of li with id attribute. | John MacFarlane | 1 | -0/+61 | |
Previously we always added an empty div before the list item, but this created problems with spacing in tight lists. Now we do this: If the list item contents begin with a Plain block, we modify the Plain block by adding a Span around its contents. Otherwise, we add a Div around the contents of the list item (instead of adding an empty Div to the beginning, as before). Closes #3596. | |||||
2017-04-22 | Add siunitx Support (#3588) | schrieveslaach | 1 | -0/+21 | |
For example: ```latex \SI[round-precision=2]{1}{m} is equal to \SI{1000}{mm}. \SI[round-precision=2]{1}[\$]{} is equal to \SI{0.938094}{\euro} ``` | |||||
2017-04-16 | Org reader: allow emphasized text to be followed by `[` | Albert Krewinkel | 1 | -0/+10 | |
Closes: #3577 | |||||
2017-04-16 | Org reader: convert markup at beginning of footnotes | Albert Krewinkel | 1 | -0/+10 | |
Closes: #3576 | |||||
2017-04-15 | Lua filter: revert to non-destructuring filters | Albert Krewinkel | 4 | -11/+12 | |
We want to provide an interface familiar to users of other filtering libraries. | |||||
2017-04-15 | Avoid parsing "Notes:**" as a bare URI. | John MacFarlane | 1 | -0/+6 | |
This avoids parsing bare URIs that start with a scheme + colon + `*`, `_`, or `]`. Closes #3570. | |||||
2017-04-14 | Lua filter: allow shorthand functions for math and quoted | Albert Krewinkel | 2 | -14/+28 | |
Allow to use functions named `SingleQuoted`, `DoubleQuoted`, `DisplayMath`, and `InlineMath` in filters. | |||||
2017-04-14 | Lua filter: use destructured functions for block filters | Albert Krewinkel | 2 | -4/+3 | |
Filtering functions take element components as arguments instead of the whole block elements. This resembles the way elements are handled in custom writers. | |||||
2017-04-13 | Use lua constructors to push meta values | Albert Krewinkel | 1 | -2/+6 | |
2017-04-12 | Lua filter: use destructured functions for inline filters | Albert Krewinkel | 1 | -4/+5 | |
Instead of taking the whole inline element, forcing users to destructure it themselves, the components of the elements are passed to the filtering functions. | |||||
2017-04-12 | Man writer: Fix handling of nested font commands. | John MacFarlane | 2 | -4/+19 | |
Previously pandoc emitted incorrect markup for bold + italic, for example, or bold + code. Closes #3568. | |||||
2017-04-07 | Lua filter: improve doc filter performance | Albert Krewinkel | 1 | -1/+9 | |
Pandoc elements are pushed and pulled from the lua stack via custom instances. | |||||
2017-04-06 | Ensure correctness of StackValue instances | Albert Krewinkel | 1 | -0/+28 | |
2017-04-06 | Ms writer: wider indents for lists. | John MacFarlane | 1 | -96/+96 | |
Previously some indents weren't wide enough, leading the list item to start on a line after the marker. | |||||
2017-04-06 | Allow raw latex commands starting with `\start` in Markdown. | John MacFarlane | 1 | -0/+8 | |
Previously these weren't allowed because they were interpreted as starting ConTeXt environments, even without a corresponding \stop... Closes #3558. | |||||
2017-04-05 | Ms writer: respect text wrapping options. | John MacFarlane | 2 | -69/+39 | |
2017-04-04 | Ms writer improvements: | John MacFarlane | 1 | -14/+8 | |
- added some variables to the default template. - cleaner output for images (stringify alt text). | |||||
2017-04-04 | Ms writer: ensure that @ is escaped in URIs. | John MacFarlane | 1 | -2/+2 | |
Otherwise we may get unescaped @s that give eqn fits, with @ as the delimiter character. | |||||
2017-04-03 | Add class to footnote back references | Timm Albers | 2 | -10/+10 | |
The HTML writer now also adds the class footnoteBack to back references of footnotes. This allows for easier CSS styling. | |||||
2017-04-02 | Lua module: add readers submodule | Albert Krewinkel | 2 | -0/+18 | |
Plain text readers are exposed to lua scripts via the `pandoc.reader` submodule, which is further subdivided by format. Converting e.g. a markdown string into a pandoc document is possible from within lua: doc = pandoc.reader.markdown.read_doc("Hello, World!") A `read_block` convenience function is provided for all formats, although it will still parse the whole string but return only the first block as the result. Custom reader options are not supported yet, default options are used for all parsing operations. | |||||
2017-04-01 | Ms writer: added syntax highlighting. | John MacFarlane | 1 | -2/+2 | |
Closes #3547. Macro definitions are inserted in the template when there is highlighted code. Limitations: background colors and underline currently not supported. | |||||
2017-04-01 | OpenDocument writer: wider labels for lists. | John MacFarlane | 1 | -189/+189 | |
This avoids overly narrow labels for ordered lists with () delimiters. However, arguably it creates overly wide labels for bullets. Also, lists now start flush with the margin, rather than indented. Fixes #2421. | |||||
2017-03-31 | JATS template: always include `<back>` element even if empty. | John MacFarlane | 1 | -0/+2 | |
2017-03-31 | JATS writer: put references in `<back>`. | John MacFarlane | 2 | -1593/+1589 | |
Modified template to include a `<back>` and `<body>` section. This should give authors more flexibility, e.g. to put acknowledgements metadata in `<back>`. References are automatically extracted and put into `<back>`. | |||||
2017-03-30 | JATS writer: use both tex and mml alternatives for math when possible. | John MacFarlane | 1 | -8/+21 | |
2017-03-30 | JATS writer: Fixed bibliography handling. | John MacFarlane | 1 | -6/+10 | |
2017-03-30 | Merge branch 'jats' | John MacFarlane | 3 | -0/+2044 | |
2017-03-30 | Added JATS writer. | John MacFarlane | 3 | -0/+2044 | |
* New module Text.Pandoc.Writer.JATS exporting writeJATS. * New output format `jats`. * Added tests. * Revised manual. | |||||
2017-03-29 | lstinline with braces can be used (verb cannot be used with braces) (#3535) | schrieveslaach | 1 | -0/+23 | |
* Fix lstinline handling: lstinline with braces can be used (verb cannot be used with braces) * Use codeWith and determine the language from lstinline * Improve code * Add another test: convert lstinline without language option | |||||
2017-03-27 | LaTeX reader: add support for LaTeX subfiles package. | schrieveslaach | 3 | -0/+38 | |
Closes #3530. | |||||
2017-03-26 | Add blank lines to #3531 command test. | John MacFarlane | 1 | -0/+2 | |
2017-03-26 | MediaWiki writer: don't softbreak lines inside list items. | John MacFarlane | 1 | -0/+19 | |
Closes #3531. | |||||
2017-03-26 | Ms writer: Hyperlink table of contents and other improvements. | John MacFarlane | 1 | -3/+14 | |
2017-03-26 | Ms writer: Add PDF outline bookmarks. | John MacFarlane | 1 | -0/+31 | |
2017-03-26 | Fixed a test not updated on last commit. | John MacFarlane | 1 | -1/+1 | |
2017-03-26 | Ms writer: Use @ instead of | for inline math delimiter. | John MacFarlane | 2 | -87/+87 | |
The `|` delimiter had a bad interaction with tbl. See discussion in #1839. | |||||
2017-03-26 | Ms writer: Support external links. | John MacFarlane | 1 | -63/+154 | |
Also add config options for link color. | |||||
2017-03-26 | Ms writer: better placement of header anchors. | John MacFarlane | 1 | -31/+31 | |
2017-03-25 | Ms writer: Implement header identifiers and internal links. | John MacFarlane | 1 | -2/+32 | |
2017-03-25 | Ms writer: use light gray for strikeout. | John MacFarlane | 1 | -1/+3 | |
Pending groff definitions for striking out an arbitrary section of text (not just a few words). | |||||
2017-03-25 | Ms writer: improved pdf metadata. | John MacFarlane | 1 | -1/+2 | |
2017-03-25 | Updated test suite for ms template change. | John MacFarlane | 1 | -0/+4 | |
2017-03-25 | Ms. writer: links: use footnote only for absolute URIs. | John MacFarlane | 1 | -97/+24 | |
2017-03-25 | Updated tests. | John MacFarlane | 1 | -2/+1 | |
2017-03-24 | Ms writer: Use indented paragraphs after first in section. | John MacFarlane | 1 | -73/+73 | |
Note that the current indentation setting is 0; see the settings in the template. | |||||
2017-03-24 | default.ms: Add settings for document variables like width. | John MacFarlane | 1 | -2/+30 | |
2017-03-24 | Ms writer: support --toc, date, abstract. | John MacFarlane | 1 | -0/+1 | |
2017-03-24 | Markdown writer: don't emit a simple table if `simple_tables` disabled. | John MacFarlane | 1 | -0/+15 | |
Closes #3529. | |||||
2017-03-24 | Ms writer: Use custom .HRULE macro for horizontal rule. | John MacFarlane | 1 | -36/+27 | |
2017-03-23 | Ms writer: improved definition lists. | John MacFarlane | 1 | -53/+36 | |
Use standard .IP macro. Also properly escape ". |