Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-03-02 | Removed unnecessary import. | John MacFarlane | 1 | -1/+0 | |
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 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 | LaTeX reader: don't drop contents of \hypertarget. | John MacFarlane | 1 | -0/+3 | |
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-28 | RST reader: implemented implicit internal header links. | John MacFarlane | 1 | -18/+42 | |
Cloess #3475. | |||||
2017-02-27 | Removed `--epub-stylesheet`; use `--css` instead. | John MacFarlane | 3 | -39/+30 | |
* 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-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-26 | ImageSize: export lengthToDim, new function scaleDimension. | John MacFarlane | 1 | -0/+12 | |
2017-02-26 | `--self-contained`: don't incorporate elements with `data-external="1"`. | John MacFarlane | 1 | -0/+2 | |
You can leave an external link as it is by adding the attribute data-external="1" to the element. Pandoc will then not try to incorporate its content when `--self-contained` is used. This is similar to a feature already supported by the EPUB writer. Closes #2656. | |||||
2017-02-25 | Fixed type sig for older GHC versions. | John MacFarlane | 1 | -1/+1 | |
2017-02-25 | App: reverse optInputFiles so they come out in right order in templates. | John MacFarlane | 1 | -1/+5 | |
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 | Add `sourcefile` and `outputfile` template variables (#3439) | Roland Hieber | 1 | -0/+5 | |
Closes #3431. | |||||
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 | Fetch images when generating PDF via context. | John MacFarlane | 1 | -3/+6 | |
To do this, we create the temp directory as a subdirectory of the working directory. Since context mk IV by default looks for images in the parent directory, this works. Closes #3380. | |||||
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-25 | Make `--ascii` work with DocBook output too. | John MacFarlane | 1 | -1/+4 | |
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 | Removed unnecessary import. | John MacFarlane | 1 | -1/+0 | |
2017-02-24 | Use catchError instead of runExceptT. | John MacFarlane | 3 | -57/+68 | |
2017-02-24 | Implemented `\graphicspath` in LaTeX reader. | John MacFarlane | 2 | -69/+86 | |
Closes #736. | |||||
2017-02-24 | Removed useless TEXINPUTS stuff for context2pdf. | John MacFarlane | 1 | -7/+2 | |
mkiv context doesn't use TEXINPUTS. | |||||
2017-02-24 | Shared: remove 'warn'. | John MacFarlane | 3 | -19/+17 | |
PDF writer: Use 'report' instead of 'warn', make it sensitive to verbosity settings. | |||||
2017-02-24 | Logging: Remove UsingResourceFrom, add CouldNotConvertImage | John MacFarlane | 1 | -8/+9 | |
2017-02-24 | Class: Add stResourcePath to CommonState, getResourcePath, setResourcePath. | John MacFarlane | 2 | -8/+40 | |
To be used in implementing `\graphicspath` in LaTeX, and possibly in things like PDF production via context. Use resource path in fetchItem. Issue an info message if we get a resource from somewhere other than ".". Added UsingResourceFrom to log message. | |||||
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-24 | Some fixes to the preceding revisions in SelfContained. | John MacFarlane | 1 | -27/+42 | |
Make sure we don't duplicate end tags for script or link. | |||||
2017-02-24 | SelfContained: don't use data URIs for script or style. | John MacFarlane | 2 | -11/+37 | |
Instead, just use script or style tags with the content inside. The old method with data URIs prevents certain optimizations outside pandoc. Exception: data URIs are still used when a script contains `</script>` or a style contains `</`. Closes #3423. Also, in MIME, use application/javascript (not application/x-javascript). | |||||
2017-02-24 | Refactored getData from getDataURI in SelfContained. | John MacFarlane | 1 | -5/+15 | |
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 | Removed unnecessary import. | John MacFarlane | 1 | -5/+1 | |
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-23 | Fix compiler warning for older GHC versions. | John MacFarlane | 1 | -2/+5 | |
2017-02-23 | Restore "Fetching..." message with openURL if --verbose. | John MacFarlane | 1 | -1/+3 | |
2017-02-23 | Use PandocIOError in Class. | John MacFarlane | 2 | -41/+24 | |
2017-02-23 | Error: Changed PandocFileReadError to PandocIOError | John MacFarlane | 1 | -2/+3 | |
2017-02-23 | Shared.openURL: Changed type from an Either. | John MacFarlane | 1 | -6/+9 | |
Now it will just raise an exception to be trapped later. | |||||
2017-02-23 | PDF: make sure that verbosity is respected when we fetch items. | John MacFarlane | 1 | -10/+19 | |