Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-10-27 | Man reader: allow block-level content in table cells. | John MacFarlane | 2 | -1/+26 | |
Closes #5028. | |||||
2018-10-28 | Muse: Make tables round-trip | Alexander Krotov | 1 | -2/+16 | |
2018-10-28 | Muse reader: try to parse lists before trying to parse table | Alexander Krotov | 1 | -0/+12 | |
This ensures that tables inside lists are parsed correctly. | |||||
2018-10-27 | Remove misleading comment from Muse reader tests | Alexander Krotov | 1 | -1/+0 | |
pandoc follows Text::Amuse rules instead of being bug compatible with Emacs Muse | |||||
2018-10-27 | Muse reader: forbid whitespace after opening and before closing markup elements | Alexander Krotov | 1 | -2/+10 | |
See https://github.com/melmothx/text-amuse/issues/44 for discussion on these rules | |||||
2018-10-26 | Muse reader: parse page breaks | Alexander Krotov | 1 | -0/+8 | |
2018-10-25 | Man reader: support tables. | John MacFarlane | 2 | -1/+218 | |
Closes #4982. | |||||
2018-10-25 | Lua: allow access to pandoc state (#5015) | Albert Krewinkel | 2 | -0/+25 | |
* Lua: allow access to pandoc state Lua filters and custom writers now have read-only access to most fields of pandoc's internal state via the global variable `PANDOC_STATE`. * Lua: allow iterating through fields of PANDOC_STATE * Lua filters doc: describe CommonState * Lua filters doc: mention global variable PANDOC_STATE * Lua: add access to logs Log messages can currently only be printed, but not decomposed. | |||||
2018-10-25 | Muse writer: add support for grid tables | Alexander Krotov | 1 | -11/+24 | |
2018-10-24 | GroffChar: added @ to list of standard escapes. | John MacFarlane | 1 | -1/+1 | |
Because we use it as a delimiter for tables (in man) and for math (in ms). | |||||
2018-10-24 | Vimwiki reader: test empty preformatted text | Alexander Krotov | 2 | -1/+8 | |
2018-10-23 | Groff writer character escaping changes. | John MacFarlane | 4 | -31/+31 | |
T.P.GroffChar: replaced `essentialEscapes` with `manEscapes`, which includes all the escapes mentioned in the groff_man manual. T.P.Writers.Groff: removed escapeCode; changed parameter on escapeString from Bool to new type `EscapeMode`. Rewrote `escapeString`. | |||||
2018-10-22 | Man reader: Handle optional argument in ME, UE macros. | John MacFarlane | 2 | -5/+5 | |
Closes #4995. | |||||
2018-10-22 | Groff writers escaping changes. | John MacFarlane | 2 | -32/+32 | |
- Improve escaping of accented characters with `--ascii`. Combining accents are now handled properly. - Don't escape spaces and tabs in code blocks. This doesn't seem to be necessary. | |||||
2018-10-22 | LaTeX reader: add support for `nolinkurl` command. (#4992) | Brian Leung | 1 | -0/+10 | |
2018-10-23 | Muse writer: do not insert newline before lists | Alexander Krotov | 1 | -0/+1 | |
2018-10-22 | Man reader: don't parse \[ul] as unicode escape. | John MacFarlane | 1 | -1/+1 | |
2018-10-21 | Man reader: fix code block tests. | John MacFarlane | 1 | -3/+3 | |
They incorporated a spurious newline which needs to be removed. | |||||
2018-10-21 | Man reader: support .ds, .ds1; also fix macro arguments. | John MacFarlane | 2 | -2/+4 | |
Closes #4997. | |||||
2018-10-22 | Muse reader: allow footnotes to start with empty line | Alexander Krotov | 1 | -0/+17 | |
A space character was required after footnote marker, now newline is allowed. | |||||
2018-10-21 | Man reader: Moved handling of B, I, BI, IB, etc. to parsing phase. | John MacFarlane | 1 | -1/+1 | |
Ultimately groff lexing should not handle man-specific macros. This approach also gives more correct results for the test case. | |||||
2018-10-21 | Man reader: move macro resolution to lexer phase. | John MacFarlane | 2 | -1/+15 | |
We also introduce a new type ManTokens (a sequence of tokens) and remove MComment. This allows lexers to return empty strings of tokens, or multiple tokens (as when macros are resolved). One test still fails. This needs to be fixed by moving handling of .BI, .I, etc. to the parsing phase. | |||||
2018-10-21 | Muse writer: use lightweight markup after </em> tag | Alexander Krotov | 1 | -0/+3 | |
2018-10-20 | Man reader: support UR/UE, MT/ME for links. | John MacFarlane | 2 | -1/+14 | |
Closes #4989. | |||||
2018-10-20 | Man reader: Fixed handling of nested fonts. | John MacFarlane | 1 | -0/+7 | |
Closes #4978. | |||||
2018-10-21 | Muse reader: allow empty headers | Alexander Krotov | 1 | -0/+7 | |
Previously empty headers caused parser to terminate without parsing the rest of the document. | |||||
2018-10-20 | Man reader: Fix .B, .I, .BR, etc. | John MacFarlane | 1 | -1/+4 | |
2018-10-20 | Man reader: major restructuring, support macros. | John MacFarlane | 2 | -5/+5 | |
- Improved support for custom macro definitions. - LinePart type has been added. RoffStr is now one constructor of LinePart (the other being MacroArg). - MComment has lost its argument. - MEndMacro has been removed. - MStr has been removed (we now simply use LinePart). - Macros now store a list of tokens. - Each macro argument is a [LinePart], instead of a LinePart. - .BR now behaves as documented in man (and doesn't create a link). | |||||
2018-10-20 | Man reader: block quotes (using RS..RE). | John MacFarlane | 2 | -2/+4 | |
2018-10-20 | Man reader: parse TP as definition lists. | John MacFarlane | 2 | -1/+19 | |
Closes #4981. | |||||
2018-10-20 | Man reader: handle shift in list style. | John MacFarlane | 1 | -6/+10 | |
Closes #4987. | |||||
2018-10-20 | Powerpoint tests: test raw openxml | Jesse Rosenthal | 4 | -1/+7 | |
Output files confirmed not to be corrupt, and with content as expected, on PowerPoint 2013 on Windows 10 (virtualbox on linux). | |||||
2018-10-19 | Man reader: improve treatment of .TH. | John MacFarlane | 1 | -3/+2 | |
This should just add to metadata (title, date, section), and not produce a level-1 header. (That might be done in the template, depending on the output format.) | |||||
2018-10-19 | Man reader: Improved header parsing. | John MacFarlane | 2 | -14/+14 | |
- .SH should be level 1, .SS level 2. - The header title can come on the next line. | |||||
2018-10-19 | Man writer: avoid unnecessary `.RS`/`.RE` pair in defn lists. | John MacFarlane | 1 | -38/+0 | |
When the definition is just one paragraph, we don't need the `.RS\n.RE`. | |||||
2018-10-19 | Man reader: properly handle multi-block list items. | John MacFarlane | 2 | -31/+31 | |
Closes #4985. | |||||
2018-10-19 | Man reader: Added more tests for escapes. | John MacFarlane | 1 | -6/+11 | |
Closes #4983. | |||||
2018-10-19 | Man reader: minor improvements. | John MacFarlane | 2 | -7/+13 | |
use `trimInlines` for Para content to avoid leading and trailing spaces. Fix handling of \" in middle of line. Add more tests for escapes. | |||||
2018-10-19 | More man reader test updates. | John MacFarlane | 1 | -6/+6 | |
2018-10-19 | Update tests for last change to man reader. | John MacFarlane | 1 | -42/+42 | |
2018-10-18 | Update man reader tests. | John MacFarlane | 3 | -32/+30 | |
2018-10-18 | GroffChar: fixed interpretation of `\-`. | John MacFarlane | 2 | -19/+19 | |
It is the ascii - sign, not the unicode hyphen. | |||||
2018-10-18 | Merge branch 'Yanpas-groff_reader' | John MacFarlane | 6 | -0/+394 | |
2018-10-18 | Groff escaping changes. | John MacFarlane | 5 | -44/+44 | |
- `--ascii` is now turned on automatically for man output, for portability. All man output will be escaped to ASCII. - In T.P.Writers.Groff, `escapeChar`, `escapeString`, and `escapeCode` now take a boolean parameter that selects ascii-only output. This is used by the Ms writer for `--ascii`, instead of doing an extra pass after writing the document. - In ms output without `--ascii`, unicode is used whenever possible (e.g. for double quotes). - A few escapes are changed: e.g. `\[rs]` instead of `\\` for backslash, and `\ga]` instead of `` \` `` for backtick. | |||||
2018-10-17 | man/ms writers: use `\[at]` for escaped `@`. | John MacFarlane | 1 | -1/+1 | |
2018-10-17 | Move common groff functions to Text.Pandoc.Writers.Groff | John MacFarlane | 6 | -64/+65 | |
(unexported module). These are used in both the man and ms writers. Moved groffEscape out of Text.Pandoc.Writers.Shared [cancels earlier API change from adding it, which was after last release]. This fixes strong/code combination on man (should be `\f[CB]` not `\f[BC]`), mentioned in #4973. Updated tests. Closes #4975. | |||||
2018-10-17 | Man writer: use \f[R] instead of \f[] to reset font | Alexander Krotov | 2 | -44/+45 | |
Fixes #4973 | |||||
2018-10-17 | Muse reader: allow examples to be indented with tabs | Alexander Krotov | 1 | -0/+8 | |
2018-10-17 | Muse reader: remove indentation from examples indicated by {{{ and }}} | Alexander Krotov | 1 | -0/+6 | |
2018-10-16 | Merge branch 'groff_reader' of https://github.com/Yanpas/pandoc into ↵ | John MacFarlane | 6 | -0/+394 | |
Yanpas-groff_reader |