summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Ms writer: Use indented paragraphs after first in section.John MacFarlane2017-03-24
| | | | | Note that the current indentation setting is 0; see the settings in the template.
* default.ms: Add settings for document variables like width.John MacFarlane2017-03-24
|
* Ensure compatibility with hslua 0.5.*Albert Krewinkel2017-03-24
| | | | | | The 0.5.0 release of hslua fixes problems with lua C modules on linux. The signature of the `loadstring` function changed, so a compatibility wrapper is introduced to allow both 0.4.* and 0.5.* versions to be used.
* Use www.tmac in default.ms.John MacFarlane2017-03-24
| | | | This will allow us to use link macros, etc.
* Ms writer: support --toc, date, abstract.John MacFarlane2017-03-24
|
* Revert "LaTeX reader: be more picky about beamer angle arguments."John MacFarlane2017-03-24
| | | | This reverts commit b98a05d604ab4353c2e684beecf669b182d88906.
* LaTeX reader: be more picky about beamer angle arguments.John MacFarlane2017-03-24
| | | | | We now only allow them if they contain only numbers, spaces, `-`, and `,`.
* Markdown writer: don't emit a simple table if `simple_tables` disabled.John MacFarlane2017-03-24
| | | | Closes #3529.
* Ms writer: changed some names and comments, man -> ms.John MacFarlane2017-03-24
|
* Ms writer: fixed rawblock/inline to accept "ms" format.John MacFarlane2017-03-24
|
* Recognize .roff extension as ms format.John MacFarlane2017-03-24
|
* PDF via groff ms: use -t and -KUTF-8 options to pdfroff.John MacFarlane2017-03-24
|
* Ms writer: Use custom .HRULE macro for horizontal rule.John MacFarlane2017-03-24
|
* Ms writer: warning for non-rendered raw content.John MacFarlane2017-03-24
|
* Allow creation of pdf via groff ms and pdfroff.John MacFarlane2017-03-23
| | | | pandoc -t ms -o output.pdf input.txt
* Ms writer: improved definition lists.John MacFarlane2017-03-23
| | | | | Use standard .IP macro. Also properly escape ".
* Ms writer: use .IP for more standard definition lists.John MacFarlane2017-03-23
|
* Pipe tables: impose minimum cell size.John MacFarlane2017-03-23
| | | | | This might help with #3526. At any rate, it fixes another bug (see test/command/3526.md).
* Grid tables: remove unnecessary extra space in cells.John MacFarlane2017-03-23
|
* Ms writer: fixed hard line breaks.John MacFarlane2017-03-23
|
* Writers.Shared.gridTable: defensive coding around 'maximum'.John MacFarlane2017-03-23
|
* Updated ms tests.John MacFarlane2017-03-23
|
* MS writer: updated TODO comment.John MacFarlane2017-03-23
|
* Ms writer: Super/subscript support.John MacFarlane2017-03-23
| | | | | Also added some macro definitions to default template to support subscripts + better superscripts.
* Ms writer: support for fake smallcaps.John MacFarlane2017-03-23
|
* Ms. writer: don't render links in footnotes as footnotes.John MacFarlane2017-03-23
|
* Ms writer: Improved footnotes.John MacFarlane2017-03-23
|
* Ms writer: fixed strong/emph combination.John MacFarlane2017-03-23
| | | | Perhaps something similar is needed in the man writer.
* Initial addition of groff ms writer.John MacFarlane2017-03-23
| | | | | | | | | * 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.
* Markdown reader: allow latex macro definitions indented 1-3 spaces.John MacFarlane2017-03-22
| | | | Previously they only worked if nonindented.
* Revert "Experimental change to charWidth in Pretty."John MacFarlane2017-03-22
| | | | This reverts commit c59e31722471ce3a67a41413de4e6a5ecfd00ba1.
* Experimental change to charWidth in Pretty.John MacFarlane2017-03-22
| | | | Hunch that this might help with #3526.
* stack.yaml: Use texmath-0.9.4.John MacFarlane2017-03-22
|
* Added to issue 3516 command test to debug test failure on appveyor.John MacFarlane2017-03-22
|
* Plain writer: use _(..) or ^(..) for super/subscript...John MacFarlane2017-03-21
| | | | ...unless unicode super/subscripted characters are available.
* Improve rendering of superscript in plain output.John MacFarlane2017-03-21
| | | | | | | We now handle a few non digit characters (+, -, =, parentheses) for which there are superscripted unicode characters. Closes #3518.
* RST writer: improve grid table output, fix bug with empty rows.John MacFarlane2017-03-21
| | | | | | | Uses the new gridTable in Writers.Shared, which is here improved to better handle 0-width cells. Closes #3516.
* Reuse Writers.Shared.gridTable in Haddock writer.John MacFarlane2017-03-21
|
* Moved more gridTable calculations to Writers.Shared.John MacFarlane2017-03-21
|
* Moved gridTable from Markdown writer to Writers.Shared.John MacFarlane2017-03-21
|
* Add `space_in_atx_header` extension.John MacFarlane2017-03-20
| | | | | | | | | | | | | | | | | 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.
* Added two lua test files to extra-source-files in pandoc.cabal.John MacFarlane2017-03-20
| | | | | This was caught by our new .travis.yml, which builds from an extracted sdist tarball instead of the repository.
* More travis fixes.John MacFarlane2017-03-20
|
* Travis: install hsb2hs.John MacFarlane2017-03-20
|
* More travis fixes.John MacFarlane2017-03-20
|
* Added hslua-aeson to stack.yamls.John MacFarlane2017-03-20
|
* More travis fixes.John MacFarlane2017-03-20
|
* Fixed .travis.yml.John MacFarlane2017-03-20
|
* .travis.yml: create a source dist and do cabal build and test there.John MacFarlane2017-03-20
| | | | | That way we catch errors due to files missing from the data section of pandoc.cabal.
* Lua filters (#3514)Albert Krewinkel2017-03-20
| | | | | | | | | * 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.