aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-12-20Travis: use --jobs=2 for installing dependencies.John MacFarlane1-1/+1
In hopes this will help with the OOM problems.
2017-12-20makefile: use lts-10 resolver.John MacFarlane1-1/+1
2017-12-20Org reader: fix asterisks-related parsing errorAlbert Krewinkel1-1/+1
A parsing error was fixed which caused the org reader to fail when parsing a paragraph starting with two or more asterisks. Fixes: #4180
2017-12-20Muse reader: require that note references does not start with 0Alexander Krotov2-1/+17
2017-12-19Stack builds with lts-10.0.John MacFarlane3-32/+8
2017-12-19Muse writer: don't wrap note references to the next lineAlexander Krotov2-1/+36
Closes #4172.
2017-12-19Fix for #4171 fix: don't wrap note references after SoftBreakAlexander Krotov2-0/+16
2017-12-19pandoc.lua: re-add missing MetaMap functionAlbert Krewinkel1-1/+4
This was a bug introduced in version 2.0.4 (commit 3f1f9536d4817bbdd797c01050a887fe4cdf347c).
2017-12-19Muse reader: parse empty comments correctlyAlexander Krotov2-2/+3
2017-12-18Org writer: don't allow fn refs to wrap to beginning of line.John MacFarlane2-1/+16
Otherwise they can be interpreted as footnote definitions. Closes #4171.
2017-12-18Lua filters: perform minor code clean-upAlbert Krewinkel2-11/+8
Change: minor
2017-12-17OPML reader: enable raw HTML and other extensions by default for notes.John MacFarlane3-9/+50
This fixes a regression in 2.0. Note that extensions can now be individually disabled, e.g. `-f opml-smart-raw_html`. Closes #4164.
2017-12-15Use latest pandoc-citeproc in binary pkg.John MacFarlane1-1/+1
2017-12-15LaTeX writer: use \renewcommand for \textlatin with babel.John MacFarlane1-4/+7
This avoids a clash with a deprecated \textlatin command defined in Babel. Closes #4161.
2017-12-15Added tests of latex tokenizer.John MacFarlane1-1/+18
This should help prevent regressions like #4159.
2017-12-15LaTeX reader: export tokenize, untokenize.John MacFarlane1-1/+3
Mainly so they can be tested.
2017-12-15Fixed regression in LateX tokenization.John MacFarlane2-2/+10
This mainly affects the Markdown reader when parsing raw LaTeX with escaped spaces. Closes #4159.
2017-12-14Merge branch 'master' of github.com:jgm/pandocJohn MacFarlane1-3/+3
2017-12-14filters.md: say that Text.Pandoc.JSON comes form pandoc-types.John MacFarlane1-3/+3
Closes jgm/pandoc-website#16.
2017-12-14MANUAL: add note on what formats have +smart by default.John MacFarlane1-0/+2
2017-12-14RST reader: more accurate parsing of references.John MacFarlane3-36/+52
Previously we erroneously included the enclosing backticks in a reference ID (closes #4156). This change also disables interpretation of syntax inside references, as in docutils. So, there is no emphasis in `my *link*`_
2017-12-14Merge pull request #4148 from stencila/jats-figuresJohn MacFarlane5-15/+160
fig, table-wrap & caption Divs for JATS writer
2017-12-14Markdown reader: be pickier about table captions.John MacFarlane1-1/+1
A caption starts with a `:` which can't be followed by punctuation. Otherwise we can falsely interpret the start of a fenced div, or even a table header line like `:--:|:--:`, as a caption.
2017-12-14Deduplicate JATS writer image mime type codeHamish Mackenzie2-16/+15
2017-12-13Update latex template to work with recent versions of beamer.John MacFarlane1-6/+18
The old template produced numbered sections with some recent versions of beamer. Thanks to Thomas Hodgson.
2017-12-13Removed whitespace at ends of line.John MacFarlane4-42/+42
2017-12-13Merge pull request #4153 from tarleb/unify-lua-initJohn MacFarlane6-149/+184
Unify lua initalization
2017-12-13Docx writer: Add tests for list continuation.Jesse Rosenthal5-0/+23
2017-12-13Docx writer: Continue lists after interruption.Jesse Rosenthal1-15/+22
Docx expects that lists will continue where they left off after an interruption and introduces a new id if a list is starting again. So we keep track of the state of lists and use them to define a "start" attribute, if necessary. Closes #4025
2017-12-13Custom writer: use init file to setup Lua interpreterAlbert Krewinkel6-69/+126
The same init file (`data/init`) that is used to setup the Lua interpreter for Lua filters is also used to setup the interpreter of custom writers.lua.
2017-12-13Lua filters: drop unused code, language extensionsAlbert Krewinkel1-11/+1
2017-12-13Custom writer: define instances for newtype wrapperAlbert Krewinkel1-69/+57
The custom writer used its own `ToLuaStack` instance definitions, which made it difficult to share code with Lua filters, as this could result in conflicting instances. A `Stringify` wrapper is introduced to avoid this problem.
2017-12-13Delete removed -S option from command in epub.md (#4151)Georger Araújo1-1/+1
Because `--smart/-S` has been removed. Maybe ` -f markdown+smart` shoud also be added?
2017-12-13Markdown reader: always use four space rule for example lists.John MacFarlane2-9/+22
It would be awkward to indent example list contents to the first non-space character after the label, since example list labels are often long. Thanks to Bernhard Fisseni for the suggestion.
2017-12-12Update man page.John MacFarlane1-0/+3
2017-12-12Updated changelog.John MacFarlane1-1/+11
2017-12-12Markdown: Improved computation of relative cell widths in pipe tables.John MacFarlane3-5/+5
2017-12-12Pipe tables: use full text width for tables with wrapping cells.John MacFarlane3-4/+7
Previously we computed the column sizes based on the ratio between the header lines and the text width (as set by `--columns`). This meant that tables with very short header lines would be very narrow. With this change, pipe tables with wrapping cells will always take up the whole text width. The relative column widths will still be determined by the ratio of header lines, but they will be normalized to add up to 1.0.
2017-12-13fig, table-wrap & caption Divs for JATS writerHamish Mackenzie4-6/+152
Support writing <fig> and <table-wrap> elements with <title> and <caption> inside them by using Divs with class set to on of fig, table-wrap or cation. The title is included as a Heading so the constraint on where Heading can occur is also relaxed. Also leaves out empty alt attributes on links.
2017-12-12Add default.nix for working on pandoc with Nix (#4146)Hamish Mackenzie1-0/+101
2017-12-12Spellcheck some changelog messagesAlexander Krotov1-6/+6
2017-12-11Updated man page.John MacFarlane1-1/+1
2017-12-11Change version to 2.0.5.John MacFarlane2-2/+2
Note that we don't need to bump the second number for an additional module and exported function.
2017-12-11Updated changelog.John MacFarlane1-0/+88
2017-12-11Update man page.John MacFarlane1-9/+36
2017-12-11Version to 2.1John MacFarlane1-1/+1
2017-12-11Update cabal description to include powerpoint.John MacFarlane1-3/+4
2017-12-11Added support for LaTeX pagestyle variable (#4135)Thomas Hodgson2-1/+9
* Add pagestyle support * Add pagestyle option to MANUAL.txt * Moved mention of pagestyle to the section on variables
2017-12-11`--pdf-engine-opt`: fix bug where option order was reversed.John MacFarlane1-1/+1
Closes #4137.
2017-12-11Add PowerPoint info to MANUAL and README.Jesse Rosenthal2-48/+54