Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-05-22 | Let `--eol` take `native` as an argument. | John MacFarlane | 2 | -16/+18 | |
Add `Native` to the `LineEnding` type. Make `optEol` a `Native` rather than `Maybe Native`. | |||||
2017-05-22 | Move indentWith to Text.Pandoc.Parsing (#3687) | Alexander Krotov | 5 | -21/+13 | |
2017-05-21 | Text.Pandoc.App: ToJSON and FromJSON instances for Opts. | John MacFarlane | 3 | -5/+66 | |
This can be used e.g. to pass options via web interface, such as trypandoc. | |||||
2017-05-21 | Finished implemtation of `--resource-path`. | John MacFarlane | 3 | -5/+11 | |
* Default is just working directory. * Working directory must be explicitly specifide if `--resource-path` option is used. | |||||
2017-05-20 | PDF: Got --resource-path working with pdf output. | John MacFarlane | 1 | -4/+7 | |
See #852. | |||||
2017-05-20 | PDF: better error message for non-converted svg images. | John MacFarlane | 1 | -0/+1 | |
2017-05-20 | RST reader: make use of anyLineNewline (#3686) | Alexander Krotov | 1 | -2/+1 | |
2017-05-20 | Improve SVG image size code. | Marc Schreiber | 7 | -1/+323 | |
The old code made some unwise assumptions about how the svg file would look. See #3580. | |||||
2017-05-20 | PDF: Refactoring, makePDF is now in PandocIO [API change]. | John MacFarlane | 1 | -13/+8 | |
2017-05-20 | Added `--resource-path=SEARCHPATH` command line option. | John MacFarlane | 2 | -1/+18 | |
SEARCHPATH is separated by the usual character, depending on OS (: on unix, ; on windows). Note: This does not yet work for PDF output, because the routine that creates PDFs runs outside PandocMonad. (This has to do with its use of inTemporaryDirectory and its interaction with our exceptions.) The best solution would be to figure out how to move the PDF creation routines into PandocMonad. Second-best, just pass an extra parameter in? See #852. | |||||
2017-05-20 | SelfContained: handle @import with quoted string. | John MacFarlane | 1 | -11/+25 | |
2017-05-20 | SelfContained: fixed problem with embedded fonts. | John MacFarlane | 1 | -13/+41 | |
Closes #3629. However, there is still room for improvement. `@import` with following media declaration is not handled. Also `@import` with a simple filename (rather than `url(...)` is not handled. | |||||
2017-05-19 | RST writer: add empty comments when needed... | John MacFarlane | 3 | -3/+46 | |
to avoid including a blocquote in the indented content of a preceding block. Closes #3675. | |||||
2017-05-19 | appveyor.yml - really fixed artifacts. | John MacFarlane | 1 | -2/+2 | |
2017-05-19 | appveyor.yml - fix artifacts. | John MacFarlane | 1 | -4/+4 | |
2017-05-19 | appveyor.yml: added comment with instructions to reset build cache. | John MacFarlane | 1 | -0/+6 | |
2017-05-19 | Revert "appveyor.yml - reset cache when appveyor.yml changes." | John MacFarlane | 1 | -2/+2 | |
This reverts commit 8ac2675c2788e4273c46c92e2a224583d51c2ad1. | |||||
2017-05-19 | appveyor.yml - reset cache when appveyor.yml changes. | John MacFarlane | 1 | -2/+2 | |
2017-05-19 | Fixed appveyor.yml. | John MacFarlane | 1 | -2/+2 | |
2017-05-19 | appveyor.yml updates. | John MacFarlane | 1 | -6/+11 | |
* Don't try to cache ghc, it's too big. * Build both 32 and 64 bit versions. | |||||
2017-05-19 | appveyor.yml. Fix WINBIN path. | John MacFarlane | 1 | -1/+1 | |
2017-05-19 | appveyor.yml - put stack executable in stack_root. | John MacFarlane | 1 | -1/+1 | |
2017-05-19 | appveyor.yml fixes. | John MacFarlane | 1 | -9/+9 | |
2017-05-19 | appveyor.yml improvements. | John MacFarlane | 1 | -17/+16 | |
2017-05-18 | Org reader: fix smart parsing behavior | Albert Krewinkel | 3 | -12/+17 | |
Parsing of smart quotes and special characters can either be enabled via the `smart` language extension or the `'` and `-` export options. Smart parsing is active if either the extension or export option is enabled. Only smart parsing of special characters (like ellipses and en and em dashes) is enabled by default, while smart quotes are disabled. This means that all smart parsing features will be enabled by adding the `smart` language extension. Fine-grained control is possible by leaving the language extension disabled. In that case, smart parsing is controlled via the aforementioned export OPTIONS only. Previously, all smart parsing was disabled unless the language extension was enabled. | |||||
2017-05-18 | Fixed appveyor.yml. | John MacFarlane | 1 | -2/+2 | |
2017-05-18 | appveyor: attempt two builds, one 32-bit, one 64-bit. | John MacFarlane | 1 | -1/+4 | |
2017-05-18 | Don't render LaTeX images with data: URIs. | John MacFarlane | 1 | -0/+3 | |
LaTeX can't handle these. Note that --extract-media can be used when the input contains data: URIs. Closes #3636. | |||||
2017-05-18 | Test updates for latex template changes. | John MacFarlane | 1 | -13/+14 | |
2017-05-18 | modified template.latex to fix XeLaTex being used with tables (#3661) | lwolfsonkin | 1 | -14/+15 | |
- reordered `lang` variable handling to immediately before `bidi` | |||||
2017-05-18 | Update Figure With Caption -> Captioned Figure in MANUAL.txt. | John MacFarlane | 1 | -1/+1 | |
2017-05-18 | Docx writer: Change FigureWithCaption to CaptionedFigure (#3658) | Ian | 2 | -3/+3 | |
Edit styles.xml as part of the fix for #3656 | |||||
2017-05-18 | Don't double extract images from docx. | John MacFarlane | 1 | -9/+14 | |
This fixes a regression that was introduced when `--extract-media` was generalized to work with any input format. We were getting two versions of each image extracted from a docx, one with a hash, one with the original filename, though only the hash one was used. This patch restores the original behavior (using the original filename). Pointed out in comments on #3674. Thanks to @laperouse. | |||||
2017-05-18 | Markdown: allow attributes in reference links to start on next line. | John MacFarlane | 2 | -1/+16 | |
This addresses a subsidiary issue in #3674. | |||||
2017-05-18 | Add `--eol` flag and writer option to control line endings. | Stefan Dresselhaus | 3 | -13/+61 | |
* Add `--eol=crlf|lf` CLI option. * Add `optEol` to `WriterOptions` [API change] * In `Text.Pandoc.UTF8`, add new functions parameterized on `Newline`: `writeFileWith`, `putStrWith`, `putStrLnWith`, `hPutStrWith`, `hPutStrLnWith`. [API change] * Document option in MANUAL.txt. Closes #3663. Closes #2097. | |||||
2017-05-18 | Lua module: allow omitting Attr in element constructors | Albert Krewinkel | 1 | -19/+21 | |
The Attr argument is made optional for all pandoc element constructors which take such a parameter. The attr param is always the last argument of the constructor functions, so the option to omit them makes it easier to construct new pandoc elements by hand. | |||||
2017-05-17 | Markdown writer: Fixed duplicated reference links | John MacFarlane | 2 | -11/+41 | |
with `--reference-links` and `--reference-location=section`. Also ensure that there are no empty link references `[]`. Closes #3674. | |||||
2017-05-17 | Merge pull request #3676 from labdsf/space-char | John MacFarlane | 1 | -1/+1 | |
Txt2Tags parser: newline is not indentation | |||||
2017-05-17 | Merge pull request #3677 from labdsf/anylinenewline | John MacFarlane | 5 | -8/+7 | |
Move anyLineNewline to Parsing.hs | |||||
2017-05-17 | Move anyLineNewline to Parsing.hs | Alexander Krotov | 5 | -8/+7 | |
2017-05-17 | Txt2Tags parser: newline is not indentation | Alexander Krotov | 1 | -1/+1 | |
space parses '\n', while spaceChar parses only ' ' and '\t' | |||||
2017-05-16 | Org reader: replace `sequence . map` with `mapM` | Albert Krewinkel | 2 | -3/+3 | |
2017-05-16 | Org reader: put tree parsing code into dedicated module | Albert Krewinkel | 3 | -210/+263 | |
2017-05-16 | Merge pull request #3671 from WUUUGI/horizont-spacing | John MacFarlane | 2 | -3/+3 | |
Added support for horizontal spacing in LaTeX | |||||
2017-05-16 | appveyor.yml: remove manual calls to editbin. | John MacFarlane | 1 | -5/+0 | |
To really solve this memory limit, we need to build with a 64-bit version of ghc. | |||||
2017-05-15 | MANUAL: remove refs to highlighting-kate. | John MacFarlane | 1 | -2/+2 | |
Closes #3672. | |||||
2017-05-15 | Textile reader: fix bug for certain links in table cells. | John MacFarlane | 2 | -2/+18 | |
Closes #3667. | |||||
2017-05-15 | appveyor.yml: proper editbin path both times... | John MacFarlane | 1 | -1/+1 | |
2017-05-15 | Fixed appveyor.yml syntax error. | John MacFarlane | 1 | -1/+1 | |
2017-05-15 | appveyor.yml: proper path for editbin. | John MacFarlane | 1 | -1/+2 | |
I hope. |