Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-11-20 | Update man page. | John MacFarlane | 1 | -1/+7 | |
2017-11-20 | Update MANUAL date | John MacFarlane | 1 | -1/+1 | |
2017-11-20 | Update title and authors on lua-filters.md. | John MacFarlane | 1 | -3/+4 | |
2017-11-20 | Update changelog | John MacFarlane | 1 | -0/+93 | |
2017-11-20 | Version to 2.0.3. | John MacFarlane | 1 | -1/+1 | |
2017-11-20 | data/pandoc.lua: enable table-like behavior of attributes (#4080) | Albert Krewinkel | 3 | -4/+109 | |
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 | |||||
2017-11-19 | Allow spaces after `\(` and before `\)` with `tex_math_single_backslash`. | John MacFarlane | 1 | -2/+2 | |
Previously `\( \frac{1}{a} < \frac{1}{b} \)` was not parsed as math in `markdown` or `html` `+tex_math_single_backslash`. | |||||
2017-11-19 | Muse reader: count only one space as part of list item marker | Alexander Krotov | 2 | -24/+38 | |
2017-11-19 | Muse reader: produce SoftBreaks on newlines | Alexander Krotov | 2 | -31/+41 | |
Now wrapping can be preserved with --wrap=preserve | |||||
2017-11-18 | HTML reader: ensure we don't produce level 0 headers, | John MacFarlane | 1 | -5/+5 | |
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. | |||||
2017-11-18 | MANUAL: clarify that math extensions work with HTML. | John MacFarlane | 1 | -1/+5 | |
Clarify that `tex_math_dollars` and `tex_math_single_backslash` will work with HTML as well as Markdown. | |||||
2017-11-18 | Documented text module for lua-filters. | John MacFarlane | 1 | -0/+37 | |
See #4077. | |||||
2017-11-18 | Update man page lua filter to use text module. | John MacFarlane | 2 | -4/+10 | |
2017-11-18 | Updated man page version. | John MacFarlane | 1 | -1/+1 | |
2017-11-18 | Lua filters: preload text module (#4077) | Albert Krewinkel | 6 | -3/+23 | |
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 | |||||
2017-11-18 | Muse reader: Add Text::Amuse footnote extensions | Alexander Krotov | 2 | -6/+66 | |
Footnote end is indicated by indentation, so footnotes can be placed anywhere in the text, not just at the end of it. | |||||
2017-11-16 | Introduce `HasSyntaxExtensions` typeclass (#4074) | Alexander | 2 | -15/+20 | |
+ 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`. | |||||
2017-11-15 | Creole reader: Fix performance issue for longer lists. (#4075) | Sascha Wilde | 1 | -1/+1 | |
Fixes #4067. | |||||
2017-11-14 | Text.Pandoc.Parsing.uri: allow `&` and `=` as word characters. | John MacFarlane | 2 | -1/+10 | |
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. | |||||
2017-11-14 | RST reader: better support for 'container' directive. | John MacFarlane | 1 | -1/+3 | |
Create a div, incorporate name attribute and classes. Closes #4066. | |||||
2017-11-14 | EPUB writer: Fixed path for cover image. | John MacFarlane | 1 | -1/+1 | |
It was previously `media/media/imagename`, and should have been `media/imagename`. | |||||
2017-11-14 | EPUB writer: fix paths for cover image. | John MacFarlane | 1 | -2/+2 | |
Closes #4069. | |||||
2017-11-14 | LaTeX template: include natbib/biblatex after polyglossia. | John MacFarlane | 1 | -10/+10 | |
Otherwise we seem to get an error; biblatex wants polyglossia language to be defined. Closes #4073. | |||||
2017-11-13 | LaTeX reader: allow optional arguments on `\footnote`. | John MacFarlane | 2 | -2/+8 | |
Closes #4062. | |||||
2017-11-13 | Markdown writer: fix bug with doubled footnotes in grid tables. | John MacFarlane | 2 | -12/+36 | |
Closes #4061. | |||||
2017-11-13 | Replace "emacs" extension with "amuse" extension | Alexander Krotov | 4 | -11/+12 | |
It makes clear that extension is related to Muse markup. | |||||
2017-11-12 | More efficient wordcount.lua example. | John MacFarlane | 1 | -2/+1 | |
2017-11-12 | lua-filters.md: add wordcount example. | John MacFarlane | 1 | -0/+47 | |
2017-11-12 | Fix comment that confuses haddock. | John MacFarlane | 1 | -1/+1 | |
2017-11-12 | Improve handout example. | John MacFarlane | 1 | -2/+5 | |
2017-11-12 | Fixed typo in lua-filters exmaple. | John MacFarlane | 1 | -1/+1 | |
2017-11-12 | lua-filters.md doc: Added handout example. | John MacFarlane | 1 | -0/+21 | |
2017-11-12 | LaTeX reader: support column specs like `*{2}{r}`. | John MacFarlane | 2 | -4/+27 | |
This is equivalent to `rr`. We now expand it like a macro. Closes #4056. | |||||
2017-11-12 | LaTeX reader: allow optional args for parbox. | John MacFarlane | 2 | -1/+12 | |
See #4056. | |||||
2017-11-12 | README: fixed link. | John MacFarlane | 1 | -2/+2 | |
2017-11-12 | Muse reader: accept Emacs Muse definition lists | Alexander Krotov | 2 | -1/+14 | |
Emacs Muse does not require indentation. | |||||
2017-11-12 | Add emacs extension | Alexander Krotov | 1 | -0/+1 | |
2017-11-12 | Fix a typo: "uisng" -> "using" | Alexander Krotov | 1 | -1/+1 | |
2017-11-11 | Functor instance to fix ghc 7.8 warning. | John MacFarlane | 1 | -1/+1 | |
2017-11-11 | Update changelog. | John MacFarlane | 1 | -0/+62 | |
2017-11-11 | Require latest pandoc-types. | John MacFarlane | 1 | -2/+2 | |
2017-11-11 | Fixed URIs in jats.csl. | John MacFarlane | 1 | -4/+1 | |
They were being rendered twice, leading to invalid XML. | |||||
2017-11-11 | lua-filters.md: use real-world man page filter as example. | John MacFarlane | 1 | -4/+17 | |
2017-11-11 | Bump to 2.0.2. | John MacFarlane | 1 | -1/+1 | |
2017-11-11 | Use lua filter to generate man page from MANUAL. | John MacFarlane | 7 | -321/+281 | |
Instead of three Haskell filters. This is easier and faster. | |||||
2017-11-11 | Add lua filter functions to walk inline and block elements. | John MacFarlane | 5 | -149/+241 | |
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. | |||||
2017-11-11 | Use pandoc-types 1.17.3 | John MacFarlane | 2 | -2/+2 | |
2017-11-11 | MANUAL: update date. | John MacFarlane | 1 | -1/+1 | |
2017-11-11 | Fixed YAML metadata with "chomp" (`|-`). | John MacFarlane | 2 | -2/+14 | |
Previously if a YAML block under `|-` contained a blank line, pandoc would not parse it as metadata. | |||||
2017-11-11 | MediaWiki reader: hlint | Alexander Krotov | 1 | -13/+13 | |