aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-03-24Ms writer: Use custom .HRULE macro for horizontal rule.John MacFarlane3-47/+43
2017-03-24Ms writer: warning for non-rendered raw content.John MacFarlane1-6/+10
2017-03-23Allow creation of pdf via groff ms and pdfroff.John MacFarlane5-35/+56
pandoc -t ms -o output.pdf input.txt
2017-03-23Ms writer: improved definition lists.John MacFarlane2-54/+39
Use standard .IP macro. Also properly escape ".
2017-03-23Ms writer: use .IP for more standard definition lists.John MacFarlane1-2/+1
2017-03-23Pipe tables: impose minimum cell size.John MacFarlane2-5/+21
This might help with #3526. At any rate, it fixes another bug (see test/command/3526.md).
2017-03-23Grid tables: remove unnecessary extra space in cells.John MacFarlane3-39/+39
2017-03-23Ms writer: fixed hard line breaks.John MacFarlane2-5/+2
2017-03-23Writers.Shared.gridTable: defensive coding around 'maximum'.John MacFarlane1-1/+2
2017-03-23Updated ms tests.John MacFarlane1-6/+16
2017-03-23MS writer: updated TODO comment.John MacFarlane1-1/+0
2017-03-23Ms writer: Super/subscript support.John MacFarlane2-2/+12
Also added some macro definitions to default template to support subscripts + better superscripts.
2017-03-23Ms writer: support for fake smallcaps.John MacFarlane1-28/+52
2017-03-23Ms. writer: don't render links in footnotes as footnotes.John MacFarlane2-11/+17
2017-03-23Ms writer: Improved footnotes.John MacFarlane2-7/+7
2017-03-23Ms writer: fixed strong/emph combination.John MacFarlane2-17/+58
Perhaps something similar is needed in the man writer.
2017-03-23Initial addition of groff ms writer.John MacFarlane9-1/+1690
* New module: Text.Pandoc.Writers.Ms. * New template: default.ms. * The writer uses texmath's new eqn writer to convert math to eqn format, so a ms file produced with this writer should be processed with `groff -ms -e` if it contains math.
2017-03-22Markdown reader: allow latex macro definitions indented 1-3 spaces.John MacFarlane1-1/+8
Previously they only worked if nonindented.
2017-03-22Revert "Experimental change to charWidth in Pretty."John MacFarlane1-1/+0
This reverts commit c59e31722471ce3a67a41413de4e6a5ecfd00ba1.
2017-03-22Experimental change to charWidth in Pretty.John MacFarlane1-0/+1
Hunch that this might help with #3526.
2017-03-22stack.yaml: Use texmath-0.9.4.John MacFarlane2-2/+2
2017-03-22Added to issue 3516 command test to debug test failure on appveyor.John MacFarlane1-0/+36
2017-03-21Plain writer: use _(..) or ^(..) for super/subscript...John MacFarlane3-27/+34
...unless unicode super/subscripted characters are available.
2017-03-21Improve rendering of superscript in plain output.John MacFarlane2-13/+35
We now handle a few non digit characters (+, -, =, parentheses) for which there are superscripted unicode characters. Closes #3518.
2017-03-21RST writer: improve grid table output, fix bug with empty rows.John MacFarlane5-85/+91
Uses the new gridTable in Writers.Shared, which is here improved to better handle 0-width cells. Closes #3516.
2017-03-21Reuse Writers.Shared.gridTable in Haddock writer.John MacFarlane1-31/+3
2017-03-21Moved more gridTable calculations to Writers.Shared.John MacFarlane2-29/+33
2017-03-21Moved gridTable from Markdown writer to Writers.Shared.John MacFarlane3-43/+43
2017-03-20Add `space_in_atx_header` extension.John MacFarlane4-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-20Added two lua test files to extra-source-files in pandoc.cabal.John MacFarlane1-0/+2
This was caught by our new .travis.yml, which builds from an extracted sdist tarball instead of the repository.
2017-03-20More travis fixes.John MacFarlane1-6/+6
2017-03-20Travis: install hsb2hs.John MacFarlane1-0/+2
2017-03-20More travis fixes.John MacFarlane1-2/+2
2017-03-20Added hslua-aeson to stack.yamls.John MacFarlane2-1/+4
2017-03-20More travis fixes.John MacFarlane1-3/+2
2017-03-20Fixed .travis.yml.John MacFarlane1-2/+4
2017-03-20.travis.yml: create a source dist and do cabal build and test there.John MacFarlane1-8/+3
That way we catch errors due to files missing from the data section of pandoc.cabal.
2017-03-20Lua filters (#3514)Albert Krewinkel13-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-20docx writer: lang meta, see #1667 (#3515)Mauro Bieg1-1/+24
2017-03-19RST reader: recurse into bodies of unknown directives.John MacFarlane1-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-19Removed failing part of 3348 test.John MacFarlane1-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-19linux/make_tarball.sh: remove old target directory before creating.John MacFarlane1-0/+1
2017-03-19Added control.in to repository.John MacFarlane1-0/+20
2017-03-19Fixed paths: deb->linux.John MacFarlane2-5/+3
2017-03-19linux tarball: man pages in share/man rather than man/.John MacFarlane1-5/+5
2017-03-19Improved linux tar.gz creation and added Dockerfile to repository.John MacFarlane4-0/+111
2017-03-19Rename static-linux -> linux.John MacFarlane4-98/+1
2017-03-19Removed unneeded deb directory.John MacFarlane7-222/+1
We now use static-linux to create the deb.
2017-03-19static-linux: Dockerfile now creates the .deb too.John MacFarlane2-0/+52
2017-03-19stack.pkg.yaml - use latest pandoc-citeproc.John MacFarlane1-1/+1