Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-03-10 | ConTeXt writer: converted to use PandocMonad. | John MacFarlane | 1 | -19/+28 | |
2017-03-10 | Removed normalizeSpaces from Text.Pandoc.Shared. | John MacFarlane | 1 | -3/+3 | |
Rewrote functions in RST reader and writer to avoid the need for it. Closes #1530. | |||||
2017-03-10 | Add Muse writer (#3489) | Alexander Krotov | 1 | -0/+336 | |
* Add Muse writer * Advertise new Muse writer * Muse writer: add regressions tests | |||||
2017-03-09 | HTML writer: info message if 'lang' is unspecified. | John MacFarlane | 1 | -1/+4 | |
Closes #3486. | |||||
2017-03-09 | HTML writer: fallback to basename rather than Untitled. | John MacFarlane | 1 | -4/+5 | |
2017-03-08 | Remove space at beginning/end of RST code span. | John MacFarlane | 1 | -1/+4 | |
Otherwise we get invalid RST. There seems to be no way to escape the space. Closes #3496. | |||||
2017-03-08 | Markdown writer: Avoid spurious blanklines at end of document... | John MacFarlane | 1 | -1/+1 | |
after tables and list, for example. | |||||
2017-03-08 | Markdown writer: ensure space before list at top level. | John MacFarlane | 1 | -22/+31 | |
Closes #3487. | |||||
2017-03-08 | Markdown writer: escape unordered list markers at beginning of paragraph | John MacFarlane | 1 | -12/+20 | |
to avoid false interpretation as a list. Also handle `|`, and refactor code for escaping `%`. Closes #3497. | |||||
2017-03-06 | Markdown writer: better handling of tables with empty columns. | John MacFarlane | 1 | -12/+22 | |
E.g. an HTML table with two cells in the first row and one in the second (but no row/colspan). We now calculate the number of columns based on the longest row (or the length of aligns or widths). Closes #3337. | |||||
2017-03-06 | Markdown writer: Fixed false ordered lists in YAML metadata. | John MacFarlane | 1 | -1/+1 | |
Now we properly escape things that would otherwise start ordered lists, such as --- title: 1. inline ... Closes #3492. Closes #1685. | |||||
2017-03-05 | Markdown writer: escape initial % in a paragraph... | John MacFarlane | 1 | -1/+5 | |
...if the `pandoc_title_blocks` extension is enabled. Otherwise in a document starting with a literal percent sign the first line is wrongly interpreted as a title. Closes #3454. | |||||
2017-03-04 | Fixed some loose ends in #1592. | John MacFarlane | 1 | -4/+1 | |
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 | HTML writer: only issue warning for missing title if --standalone. | John MacFarlane | 1 | -11/+13 | |
2017-03-04 | HTML writer: Render SmallCaps as span with smallcaps class. | John MacFarlane | 1 | -1/+1 | |
Rather than using a style attribute directly. This gives the user more flexibility in styling small caps in CSS. See #1592. | |||||
2017-03-04 | Use smallcaps class for SmallCaps in CommonMark writer. | John MacFarlane | 1 | -1/+1 | |
See #1592. | |||||
2017-03-04 | Markdown writer: Use span with class 'smallcaps' for SmallCaps. | John MacFarlane | 1 | -2/+1 | |
Instead of a style attribute as before. See #1592. | |||||
2017-03-04 | Stylish-haskell automatic formatting changes. | John MacFarlane | 29 | -785/+805 | |
2017-03-04 | HTML writer: issue warning if no title specified and template used. | John MacFarlane | 1 | -7/+14 | |
See #3473. | |||||
2017-03-03 | OpenDocument writer: Clarified some code. | John MacFarlane | 1 | -12/+11 | |
2017-03-03 | OpenDocument writer: fixed dropped elements in some ordered lists. | John MacFarlane | 1 | -1/+1 | |
Closes #2434. | |||||
2017-03-03 | Docx writer: Don't include bookmarks on headers unless non-null id. | John MacFarlane | 1 | -22/+25 | |
Closes #3476. | |||||
2017-03-03 | ConTeXt writer: remove unnecessary $ (#3482) | Alexander Krotov | 1 | -2/+2 | |
2017-03-02 | LaTeX writer: add `\leavevmode` before hypertarget at start of paragraph. | John MacFarlane | 1 | -1/+8 | |
Closes #2704 (formatting problems in beamer citations). See http://tex.stackexchange.com/questions/22852/function-and-usage-of-leavevmode | |||||
2017-03-02 | LaTeX writer: use % after hypertarget before code block | John MacFarlane | 1 | -1/+4 | |
2017-03-02 | LaTeX writer: minor tweak to hypertarget (semantically irrelevant). | John MacFarlane | 1 | -1/+3 | |
2017-03-02 | Removed unnecessary import. | John MacFarlane | 1 | -1/+0 | |
2017-03-01 | LaTeX writer: always add hypertarget when there's a non-empty identifier. | John MacFarlane | 1 | -29/+19 | |
Previously the hypertargets were only added when there was actually a link to that identifier. Closes #2719. | |||||
2017-03-01 | Writers: Use gets to access MonadState where possible (#3480) | Alexander Krotov | 7 | -53/+53 | |
2017-03-01 | Markdown writer: Fixed grid tables embedded in grid tables. | John MacFarlane | 1 | -32/+49 | |
Closes #2834. | |||||
2017-03-01 | Markdown writer: Refactored gridTable to use widths in chars. | John MacFarlane | 1 | -10/+12 | |
2017-03-01 | ODT writer: calculate aspect ratio for percentage-sized images (#3478) | Mauro Bieg | 2 | -4/+2 | |
closes #3239 | |||||
2017-02-27 | Removed `--epub-stylesheet`; use `--css` instead. | John MacFarlane | 1 | -24/+28 | |
* Removed writerEpubStylesheet in WriterOptions. * Removed `--epub-stylesheet` option. * Allow `--css` to be used with epub. * Allow multiple stylesheets to be used. * Stylesheets will be taken both from `--css` and from the `stylesheet` metadata field (which can contain either a file path or a list of them). Closes #3472, #847. | |||||
2017-02-25 | Fixed type sig for older GHC versions. | John MacFarlane | 1 | -1/+1 | |
2017-02-25 | Markdown writer: don't include variables in metadata blocks! | John MacFarlane | 1 | -4/+3 | |
Previously variables set on the command line were included in e.g. YAML metadata, contrary to documentation and intentions. | |||||
2017-02-25 | Fixed addVariablesToJSON. | John MacFarlane | 1 | -2/+5 | |
It was previously not allowing multiple values to become lists. | |||||
2017-02-25 | Writers.Shared: export metaToJSON', addVariablesToJSON. | John MacFarlane | 1 | -10/+28 | |
This allows us to add the variables AFTER using the metadata to generate a YAML header (in the Markdown writer). Addresses the problem shown by https://travis-ci.org/jgm/pandoc/jobs/205154181#L705 See #3439 | |||||
2017-02-25 | Writers.Shared: Changed metaToJSON a bit. | John MacFarlane | 1 | -4/+17 | |
Now we handle metadata first, then variables. This way, meta-json variable will not contain representations of variables, only proper metadata. | |||||
2017-02-25 | AsciiDoc writer: use PandocMonad throughout. | John MacFarlane | 1 | -24/+36 | |
Issues info messages for non-rendered raw content. | |||||
2017-02-25 | Docx writer: use Set for dynamic styles to avoid duplicates. | John MacFarlane | 1 | -8/+10 | |
2017-02-25 | Docx writer: bookmarks for Span with id. | John MacFarlane | 1 | -45/+58 | |
And cleaned up code. | |||||
2017-02-25 | Docx writer bookmark improvements. | John MacFarlane | 1 | -21/+29 | |
- Bookmark start/end now surrounds content rather than preceding it. - Bookmarks generated for Div with id. Fixes jgm/pandoc-citeproc#205. - Cleaner code for handling dir and style attributes for Div. | |||||
2017-02-24 | Use catchError instead of runExceptT. | John MacFarlane | 3 | -57/+68 | |
2017-02-24 | Implemented `\graphicspath` in LaTeX reader. | John MacFarlane | 1 | -68/+78 | |
Closes #736. | |||||
2017-02-23 | Removed `\strut` at beginning of table cells. | John MacFarlane | 1 | -1/+1 | |
This fixes a problem with alignment of lists in table cells (closes #3436). The `\strut` at the end seems to be enough to avoid the too-close spacing that motivated addition of the strut in #1573. | |||||
2017-02-23 | Special-case .stretch class for images in reveal.js. | John MacFarlane | 1 | -6/+21 | |
Now in reveal.js, an image with class `stretch` in a paragraph by itself will stretch to fill the whole screen, with no caption or figure environment. Closes #1291. | |||||
2017-02-22 | imageSize interface change | mb21 | 4 | -4/+4 | |
`imageSize img` is now `imageSize opts img` | |||||
2017-02-22 | make imageSize recognize basic SVG dimensions, see #3462 | mb21 | 1 | -0/+1 | |
2017-02-21 | MediaWiki writer: Remove newline before `</ref>`. | John MacFarlane | 1 | -2/+2 | |
Closes #2652. | |||||
2017-02-21 | MediaWiki writer: add display attribute on `<math>` tags. | John MacFarlane | 1 | -2/+5 | |
This allows display math to be rendered properly. Closes #3452. |