aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-05-19appveyor.yml: added comment with instructions to reset build cache.John MacFarlane1-0/+6
2017-05-19Revert "appveyor.yml - reset cache when appveyor.yml changes."John MacFarlane1-2/+2
This reverts commit 8ac2675c2788e4273c46c92e2a224583d51c2ad1.
2017-05-19appveyor.yml - reset cache when appveyor.yml changes.John MacFarlane1-2/+2
2017-05-19Fixed appveyor.yml.John MacFarlane1-2/+2
2017-05-19appveyor.yml updates.John MacFarlane1-6/+11
* Don't try to cache ghc, it's too big. * Build both 32 and 64 bit versions.
2017-05-19appveyor.yml. Fix WINBIN path.John MacFarlane1-1/+1
2017-05-19appveyor.yml - put stack executable in stack_root.John MacFarlane1-1/+1
2017-05-19appveyor.yml fixes.John MacFarlane1-9/+9
2017-05-19appveyor.yml improvements.John MacFarlane1-17/+16
2017-05-18Org reader: fix smart parsing behaviorAlbert Krewinkel3-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-18Fixed appveyor.yml.John MacFarlane1-2/+2
2017-05-18appveyor: attempt two builds, one 32-bit, one 64-bit.John MacFarlane1-1/+4
2017-05-18Don't render LaTeX images with data: URIs.John MacFarlane1-0/+3
LaTeX can't handle these. Note that --extract-media can be used when the input contains data: URIs. Closes #3636.
2017-05-18Test updates for latex template changes.John MacFarlane1-13/+14
2017-05-18modified template.latex to fix XeLaTex being used with tables (#3661)lwolfsonkin1-14/+15
- reordered `lang` variable handling to immediately before `bidi`
2017-05-18Update Figure With Caption -> Captioned Figure in MANUAL.txt.John MacFarlane1-1/+1
2017-05-18Docx writer: Change FigureWithCaption to CaptionedFigure (#3658)Ian2-3/+3
Edit styles.xml as part of the fix for #3656
2017-05-18Don't double extract images from docx.John MacFarlane1-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-18Markdown: allow attributes in reference links to start on next line.John MacFarlane2-1/+16
This addresses a subsidiary issue in #3674.
2017-05-18Add `--eol` flag and writer option to control line endings.Stefan Dresselhaus3-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-18Lua module: allow omitting Attr in element constructorsAlbert Krewinkel1-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-17Markdown writer: Fixed duplicated reference linksJohn MacFarlane2-11/+41
with `--reference-links` and `--reference-location=section`. Also ensure that there are no empty link references `[]`. Closes #3674.
2017-05-17Merge pull request #3676 from labdsf/space-charJohn MacFarlane1-1/+1
Txt2Tags parser: newline is not indentation
2017-05-17Merge pull request #3677 from labdsf/anylinenewlineJohn MacFarlane5-8/+7
Move anyLineNewline to Parsing.hs
2017-05-17Move anyLineNewline to Parsing.hsAlexander Krotov5-8/+7
2017-05-17Txt2Tags parser: newline is not indentationAlexander Krotov1-1/+1
space parses '\n', while spaceChar parses only ' ' and '\t'
2017-05-16Org reader: replace `sequence . map` with `mapM`Albert Krewinkel2-3/+3
2017-05-16Org reader: put tree parsing code into dedicated moduleAlbert Krewinkel3-210/+263
2017-05-16Merge pull request #3671 from WUUUGI/horizont-spacingJohn MacFarlane2-3/+3
Added support for horizontal spacing in LaTeX
2017-05-16appveyor.yml: remove manual calls to editbin.John MacFarlane1-5/+0
To really solve this memory limit, we need to build with a 64-bit version of ghc.
2017-05-15MANUAL: remove refs to highlighting-kate.John MacFarlane1-2/+2
Closes #3672.
2017-05-15Textile reader: fix bug for certain links in table cells.John MacFarlane2-2/+18
Closes #3667.
2017-05-15appveyor.yml: proper editbin path both times...John MacFarlane1-1/+1
2017-05-15Fixed appveyor.yml syntax error.John MacFarlane1-1/+1
2017-05-15appveyor.yml: proper path for editbin.John MacFarlane1-1/+2
I hope.
2017-05-15appveyor.yml: Don't install hsb2hs.John MacFarlane1-3/+0
We now use file-embed instead.
2017-05-15appveyor.yml: make executables LARGEADDRESSAWAREJohn MacFarlane1-1/+5
using editbin, which comes with VisualStudio. This should help with #3669 (needs testing). Previously our executables could only access 2GB memory on Windows, even in 64 bit systems with lots of memory.
2017-05-15Debian control: updated description.John MacFarlane1-9/+11
2017-05-15Debian control: added latex packages as 'suggested'.John MacFarlane1-0/+2
2017-05-15Added support for horizontal spacing in LaTeX: parse \, to \8198 (six-per-em ↵Henri Werth2-3/+3
space)
2017-05-15Merge pull request #3668 from tarleb/copyright-updateJohn MacFarlane74-145/+177
Update copyright notices
2017-05-14Org reader: add basic file inclusion mechanismAlbert Krewinkel8-5/+73
Support for the `#+INCLUDE:` file inclusion mechanism was added. Recognized include types are *example*, *export*, *src*, and normal org file inclusion. Advanced features like line numbers and level selection are not implemented yet. Closes: #3510
2017-05-14Parsing: add `insertIncludedFilesF` which returns F blocksAlbert Krewinkel1-7/+24
The `insertIncludeFiles` function was generalized and renamed to `insertIncludedFiles'`; the specialized versions are based on that.
2017-05-14Parsing: introduce `HasIncludeFiles` type classAlbert Krewinkel1-9/+22
The `insertIncludeFile` function is generalized to work with all parser states which are instances of that class.
2017-05-14Parsing: replace partial with total functionAlbert Krewinkel1-1/+1
Calling `tail` on an empty list raises an exception, while calling the otherwise equivalent `drop 1` will return the empty list again.
2017-05-13COPYRIGHT: list new files not written by JohnAlbert Krewinkel1-0/+25
2017-05-13Update dates in copyright noticesAlbert Krewinkel74-145/+152
This follows the suggestions given by the FSF for GPL licensed software. <https://www.gnu.org/prep/maintain/html_node/Copyright-Notices.html>
2017-05-13Add haddock module description to FB2 writerAlbert Krewinkel1-1/+11
Copyright, maintainer etc. were missing in haddock docs for this module.
2017-05-13Change maintainer line in Org writer moduleAlbert Krewinkel1-1/+1
2017-05-12Replace `repeat' and `take' with `replicate' once moreAlexander Krotov1-1/+1