Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-03-22 | Revert "Experimental change to charWidth in Pretty." | John MacFarlane | 1 | -1/+0 | |
This reverts commit c59e31722471ce3a67a41413de4e6a5ecfd00ba1. | |||||
2017-03-22 | Experimental change to charWidth in Pretty. | John MacFarlane | 1 | -0/+1 | |
Hunch that this might help with #3526. | |||||
2017-03-22 | stack.yaml: Use texmath-0.9.4. | John MacFarlane | 2 | -2/+2 | |
2017-03-22 | Added to issue 3516 command test to debug test failure on appveyor. | John MacFarlane | 1 | -0/+36 | |
2017-03-21 | Plain writer: use _(..) or ^(..) for super/subscript... | John MacFarlane | 3 | -27/+34 | |
...unless unicode super/subscripted characters are available. | |||||
2017-03-21 | Improve rendering of superscript in plain output. | John MacFarlane | 2 | -13/+35 | |
We now handle a few non digit characters (+, -, =, parentheses) for which there are superscripted unicode characters. Closes #3518. | |||||
2017-03-21 | RST writer: improve grid table output, fix bug with empty rows. | John MacFarlane | 5 | -85/+91 | |
Uses the new gridTable in Writers.Shared, which is here improved to better handle 0-width cells. Closes #3516. | |||||
2017-03-21 | Reuse Writers.Shared.gridTable in Haddock writer. | John MacFarlane | 1 | -31/+3 | |
2017-03-21 | Moved more gridTable calculations to Writers.Shared. | John MacFarlane | 2 | -29/+33 | |
2017-03-21 | Moved gridTable from Markdown writer to Writers.Shared. | John MacFarlane | 3 | -43/+43 | |
2017-03-20 | Add `space_in_atx_header` extension. | John MacFarlane | 4 | -0/+23 | |
This is enabled by default in pandoc and GitHub markdown but not the other flavors. This requirse a space between the opening #'s and the header text in ATX headers (as CommonMark does but many other implementations do not). This is desirable to avoid falsely capturing things ilke #hashtag or #5 Closes #3512. | |||||
2017-03-20 | Added two lua test files to extra-source-files in pandoc.cabal. | John MacFarlane | 1 | -0/+2 | |
This was caught by our new .travis.yml, which builds from an extracted sdist tarball instead of the repository. | |||||
2017-03-20 | More travis fixes. | John MacFarlane | 1 | -6/+6 | |
2017-03-20 | Travis: install hsb2hs. | John MacFarlane | 1 | -0/+2 | |
2017-03-20 | More travis fixes. | John MacFarlane | 1 | -2/+2 | |
2017-03-20 | Added hslua-aeson to stack.yamls. | John MacFarlane | 2 | -1/+4 | |
2017-03-20 | More travis fixes. | John MacFarlane | 1 | -3/+2 | |
2017-03-20 | Fixed .travis.yml. | John MacFarlane | 1 | -2/+4 | |
2017-03-20 | .travis.yml: create a source dist and do cabal build and test there. | John MacFarlane | 1 | -8/+3 | |
That way we catch errors due to files missing from the data section of pandoc.cabal. | |||||
2017-03-20 | Lua filters (#3514) | Albert Krewinkel | 13 | -1/+528 | |
* Add `--lua-filter` option. This works like `--filter` but takes pathnames of special lua filters and uses the lua interpreter baked into pandoc, so that no external interpreter is needed. Note that lua filters are all applied after regular filters, regardless of their position on the command line. * Add Text.Pandoc.Lua, exporting `runLuaFilter`. Add `pandoc.lua` to data files. * Add private module Text.Pandoc.Lua.PandocModule to supply the default lua module. * Add Tests.Lua to tests. * Add data/pandoc.lua, the lua module pandoc imports when processing its lua filters. * Document in MANUAL.txt. | |||||
2017-03-20 | docx writer: lang meta, see #1667 (#3515) | Mauro Bieg | 1 | -1/+24 | |
2017-03-19 | RST reader: recurse into bodies of unknown directives. | John MacFarlane | 1 | -1/+2 | |
In most cases it's better to preserve the content than to emit it. This isn't guaranteed to have good results; it will fail spectacularly for unknown raw or verbatim directives. See #3432. | |||||
2017-03-19 | Removed failing part of 3348 test. | John MacFarlane | 1 | -16/+0 | |
This was failing because of a small discrepancy in markdown table header line lengths on appveyor. It's a minor issue, I can't see what is causing it, and it's irrelevant to the issue this is testing, so we'll just write native for this test. | |||||
2017-03-19 | linux/make_tarball.sh: remove old target directory before creating. | John MacFarlane | 1 | -0/+1 | |
2017-03-19 | Added control.in to repository. | John MacFarlane | 1 | -0/+20 | |
2017-03-19 | Fixed paths: deb->linux. | John MacFarlane | 2 | -5/+3 | |
2017-03-19 | linux tarball: man pages in share/man rather than man/. | John MacFarlane | 1 | -5/+5 | |
2017-03-19 | Improved linux tar.gz creation and added Dockerfile to repository. | John MacFarlane | 4 | -0/+111 | |
2017-03-19 | Rename static-linux -> linux. | John MacFarlane | 4 | -98/+1 | |
2017-03-19 | Removed unneeded deb directory. | John MacFarlane | 7 | -222/+1 | |
We now use static-linux to create the deb. | |||||
2017-03-19 | static-linux: Dockerfile now creates the .deb too. | John MacFarlane | 2 | -0/+52 | |
2017-03-19 | stack.pkg.yaml - use latest pandoc-citeproc. | John MacFarlane | 1 | -1/+1 | |
2017-03-19 | Update stack.pkg.yaml for latest pandoc-citeproc. | John MacFarlane | 1 | -1/+1 | |
2017-03-19 | Use latest pandoc-citeproc HEAD. | John MacFarlane | 1 | -1/+1 | |
2017-03-19 | static-linux: allow setting TREE to build from arbitrary git commit. | John MacFarlane | 2 | -2/+4 | |
2017-03-19 | deb/Makefile: remove git submodule update. | John MacFarlane | 1 | -1/+1 | |
2017-03-19 | Improved static linux build. | John MacFarlane | 1 | -6/+17 | |
Also build pandoc-citeproc. Put pandoc and pandoc-citeproc executables into a version-labeled tgz. | |||||
2017-03-18 | HTML reader: Better sanity checks on raw HTML. | John MacFarlane | 2 | -6/+30 | |
This also affects the Markdown reader. Closes #3257. | |||||
2017-03-17 | Added test case to 3348 to try to figure out why appveyor build fails. | John MacFarlane | 1 | -0/+18 | |
2017-03-17 | stack.pkg.yaml - use latest pandoc-citeproc HEAD. | John MacFarlane | 1 | -1/+1 | |
This should address appveyor test failures. | |||||
2017-03-17 | Adjust command test 3348.md to specify column width. | John MacFarlane | 1 | -1/+1 | |
This is meant to address a test failure on appveyor. | |||||
2017-03-17 | Improved static linux alpine build. | John MacFarlane | 1 | -3/+6 | |
* Use -split-objs (reduces executable size from ~50M to 32M), at cost of much slower compilation. * Moved building of prereqs from CMD to RUN, so they can be cached. Doing 'make build' will fetch the latest from git and rebuild pandoc, but dependencies needn't be rebuilt. | |||||
2017-03-17 | Added static-linux directory. | John MacFarlane | 2 | -0/+29 | |
This provides a Makefile and Dockerfile sufficient for producing a completely statically linked linux executable for maximum portability. If docker is installed, this should suffice: make setup make build The binary will be placed in artifacts/. | |||||
2017-03-16 | Added test for #256. | John MacFarlane | 3 | -0/+15 | |
2017-03-16 | MANUAL: document `--abbreviations`. | John MacFarlane | 1 | -0/+13 | |
Closes #256. | |||||
2017-03-16 | Add default abbreviations file (data/abbreviations). | John MacFarlane | 3 | -4/+34 | |
This contains a list of strings that will be recognized by pandoc's Markdown parser as abbreviations. (A nonbreaking space will be inserted after the period, preventing a sentence space in formats like LaTeX.) Users can override the default by putting a file abbreviations in their user data directory (`~/.pandoc` on *nix). | |||||
2017-03-16 | Added --abbreviations=FILE option for custom abbreviations file. | John MacFarlane | 1 | -8/+23 | |
2017-03-16 | LaTeX/Beamer writer: allow hyperlinks to frames. | John MacFarlane | 1 | -4/+13 | |
Previously you could link to a header above or below slide level but not TO slide level. This commit changes that. Hypertargets are inserted inside frame titles; technically the reference is to just after the title, but in normal use (where slides are viewed full screen in a slide show), this does not matter. Closes #3220. | |||||
2017-03-15 | Makefile: allow make test to take TESTARGS. | John MacFarlane | 1 | -1/+3 | |
2017-03-15 | OpenDocument writer: use more widely available bullet characters. | John MacFarlane | 2 | -103/+103 | |
The old characters weren't available in some font sets. These seem to work well on Windows and Linux versions of LibreOffice. Closes #1400. |