summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* Makefile - create windows binary package as zip as well as msi.John MacFarlane2017-11-20
|
* Update man page.John MacFarlane2017-11-20
|
* Update MANUAL dateJohn MacFarlane2017-11-20
|
* Update title and authors on lua-filters.md.John MacFarlane2017-11-20
|
* Update changelogJohn MacFarlane2017-11-20
|
* Version to 2.0.3.John MacFarlane2017-11-20
|
* data/pandoc.lua: enable table-like behavior of attributes (#4080)Albert Krewinkel2017-11-20
| | | | | | | | | | | | | | | | | | | | | | Attribute lists are represented as associative lists in Lua. Pure associative lists are awkward to work with. A metatable is attached to attribute lists, allowing to access and use the associative list as if the attributes were stored in as normal key-value pair in table. Note that this changes the way `pairs` works on attribute lists. Instead of producing integer keys and two-element tables, the resulting iterator function now returns the key and value of those pairs. Use `ipairs` to get the old behavior. Warning: the new iteration mechanism only works if pandoc has been compiled with Lua 5.2 or later (current default: 5.3). The `pandoc.Attr` function is altered to allow passing attributes as key-values in a normal table. This is more convenient than having to construct the associative list which is used internally. Closes #4071
* Allow spaces after `\(` and before `\)` with `tex_math_single_backslash`.John MacFarlane2017-11-19
| | | | | Previously `\( \frac{1}{a} < \frac{1}{b} \)` was not parsed as math in `markdown` or `html` `+tex_math_single_backslash`.
* Muse reader: count only one space as part of list item markerAlexander Krotov2017-11-19
|
* Muse reader: produce SoftBreaks on newlinesAlexander Krotov2017-11-19
| | | | Now wrapping can be preserved with --wrap=preserve
* HTML reader: ensure we don't produce level 0 headers,John MacFarlane2017-11-18
| | | | | | | | | | | | even for chapter sections in epubs. This causes problems because writers aren't set up to expect these. This fixes the most immediate problem in #4076. It would be good to think more about how to propagate the information that top-level headers are chapters from the reader to the writer.
* MANUAL: clarify that math extensions work with HTML.John MacFarlane2017-11-18
| | | | | Clarify that `tex_math_dollars` and `tex_math_single_backslash` will work with HTML as well as Markdown.
* Documented text module for lua-filters.John MacFarlane2017-11-18
| | | | See #4077.
* Update man page lua filter to use text module.John MacFarlane2017-11-18
|
* Updated man page version.John MacFarlane2017-11-18
|
* Lua filters: preload text module (#4077)Albert Krewinkel2017-11-18
| | | | | | | | | | | The `text` module is preloaded in lua. The module contains some UTF-8 aware string functions, implemented in Haskell. The module is loaded on request only, e.g.: text = require 'text' function Str (s) s.text = text.upper(s.text) return s end
* Muse reader: Add Text::Amuse footnote extensionsAlexander Krotov2017-11-18
| | | | | | Footnote end is indicated by indentation, so footnotes can be placed anywhere in the text, not just at the end of it.
* Introduce `HasSyntaxExtensions` typeclass (#4074)Alexander2017-11-16
| | | | | | + Added new `HasSyntaxExtensions` typeclass for `ReaderOptions` and `WriterOptions`. + Reimplemented `isEnabled` function from `Options.hs` to accept both `ReaderOptions` and `WriterOptions`. + Replaced `enabled` from `CommonMark.hs` with new `isEnabled`.
* Creole reader: Fix performance issue for longer lists. (#4075)Sascha Wilde2017-11-15
| | | Fixes #4067.
* Text.Pandoc.Parsing.uri: allow `&` and `=` as word characters.John MacFarlane2017-11-14
| | | | | | | | | This fixes a bug where pandoc would stop parsing a URI with an empty attribute: for example, `&a=&b=` wolud stop at `a`. (The uri parser tries to guess which punctuation characters are part of the URI and which might be punctuation after it.) Closes #4068.
* RST reader: better support for 'container' directive.John MacFarlane2017-11-14
| | | | | | Create a div, incorporate name attribute and classes. Closes #4066.
* EPUB writer: Fixed path for cover image.John MacFarlane2017-11-14
| | | | | It was previously `media/media/imagename`, and should have been `media/imagename`.
* EPUB writer: fix paths for cover image.John MacFarlane2017-11-14
| | | | Closes #4069.
* LaTeX template: include natbib/biblatex after polyglossia.John MacFarlane2017-11-14
| | | | | | | Otherwise we seem to get an error; biblatex wants polyglossia language to be defined. Closes #4073.
* LaTeX reader: allow optional arguments on `\footnote`.John MacFarlane2017-11-13
| | | | Closes #4062.
* Markdown writer: fix bug with doubled footnotes in grid tables.John MacFarlane2017-11-13
| | | | Closes #4061.
* Replace "emacs" extension with "amuse" extensionAlexander Krotov2017-11-13
| | | | It makes clear that extension is related to Muse markup.
* More efficient wordcount.lua example.John MacFarlane2017-11-12
|
* lua-filters.md: add wordcount example.John MacFarlane2017-11-12
|
* Fix comment that confuses haddock.John MacFarlane2017-11-12
|
* Improve handout example.John MacFarlane2017-11-12
|
* Fixed typo in lua-filters exmaple.John MacFarlane2017-11-12
|
* lua-filters.md doc: Added handout example.John MacFarlane2017-11-12
|
* LaTeX reader: support column specs like `*{2}{r}`.John MacFarlane2017-11-12
| | | | | | This is equivalent to `rr`. We now expand it like a macro. Closes #4056.
* LaTeX reader: allow optional args for parbox.John MacFarlane2017-11-12
| | | | See #4056.
* README: fixed link.John MacFarlane2017-11-12
|
* Muse reader: accept Emacs Muse definition listsAlexander Krotov2017-11-12
| | | | Emacs Muse does not require indentation.
* Add emacs extensionAlexander Krotov2017-11-12
|
* Fix a typo: "uisng" -> "using"Alexander Krotov2017-11-12
|
* Functor instance to fix ghc 7.8 warning.John MacFarlane2017-11-11
|
* Update changelog.John MacFarlane2017-11-11
|
* Require latest pandoc-types.John MacFarlane2017-11-11
|
* Fixed URIs in jats.csl.John MacFarlane2017-11-11
| | | | They were being rendered twice, leading to invalid XML.
* lua-filters.md: use real-world man page filter as example.John MacFarlane2017-11-11
|
* Bump to 2.0.2.John MacFarlane2017-11-11
|
* Use lua filter to generate man page from MANUAL.John MacFarlane2017-11-11
| | | | | | Instead of three Haskell filters. This is easier and faster.
* Add lua filter functions to walk inline and block elements.John MacFarlane2017-11-11
| | | | | | | Refactored some code from Text.Pandoc.Lua.PandocModule into new internal module Text.Pandoc.Lua.Filter. Add `walk_inline` and `walk_block` in pandoc lua module.
* Use pandoc-types 1.17.3John MacFarlane2017-11-11
|
* MANUAL: update date.John MacFarlane2017-11-11
|
* Fixed YAML metadata with "chomp" (`|-`).John MacFarlane2017-11-11
| | | | | Previously if a YAML block under `|-` contained a blank line, pandoc would not parse it as metadata.