Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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 | |||||
2018-10-17 | added old-style test | Yan Pas | 4 | -1/+288 | |
2018-10-15 | Only override --quickcheck-tests=N if N is not default value (100). | John MacFarlane | 2 | -2/+12 | |
Some of the round-trip tests are set to do a maximum of 25 trials when the default value is given. Closes #4956. | |||||
2018-10-16 | builders | Yan Pas | 1 | -4/+4 | |
2018-10-15 | LaTeX reader: make macroDef polymorphic and allow in inline context. | John MacFarlane | 1 | -2/+1 | |
Otherwise we can't parse something like ``` \lowercase{\def\x{Foo}} ``` I have actually seen tex like this in the wild. | |||||
2018-10-15 | Added failing test case for macros. | John MacFarlane | 1 | -0/+18 | |
2018-10-14 | Markdown writer: ensure blank between raw block and normal content. | John MacFarlane | 2 | -0/+8 | |
Otherwise a raw block can prevent a paragraph from being recognized as such. Closes #4629. | |||||
2018-10-14 | Markdown reader: Fix awkward soft break movements before abbreviations. | John MacFarlane | 2 | -1/+32 | |
Closes #4635. | |||||
2018-10-14 | tests, commented debug functions | Yan Pas | 1 | -19/+58 | |
2018-10-11 | HTML reader: fix htmlTag and isInlineTag to accept processing instructions. | John MacFarlane | 1 | -0/+13 | |
Fixes regression #3123 (since 2.0). Added regression test. | |||||
2018-10-10 | Test that Muse reader can parse code with = sign inside | Alexander Krotov | 1 | -0/+2 | |
(fixed by previous commit) | |||||
2018-10-10 | Muse reader: fix parsing of empty cells | Alexander Krotov | 1 | -0/+11 | |
2018-10-09 | posix man files parsed successfully | Yan Pas | 1 | -2/+2 | |
2018-10-09 | Docx writer: added framework for custom properties. | John MacFarlane | 26 | -0/+0 | |
So far, we don't actually write any custom properties, but we have the infrastructure to add this. See #3034. | |||||
2018-10-08 | Fixed tests for new skylighting. | John MacFarlane | 3 | -9/+9 | |
2018-10-08 | LaTeX writer: with `--biblatex`, use `\autocite` when possible. | John MacFarlane | 1 | -0/+22 | |
`\autocites{a1}{a2}{a3}` will not collapse the entries. So, if we don't have prefixes and suffixes, we use instead `\autocite{a1;a2;a3}`. Closes #4960. | |||||
2018-10-07 | RST reader: don't allow single-dash separator in headerless table. | John MacFarlane | 1 | -0/+10 | |
Closes #4382. | |||||
2018-10-07 | LaTeX reader: fix bugs omitting raw tex. | John MacFarlane | 4 | -8/+21 | |
The default is `-raw_tex`, so no raw tex should result unless we explicitly say `+raw_tex`. Previously some raw commands did make it through. Closes #4527. | |||||
2018-10-07 | RST reader: pass through fields in unknown directives as div attributes. | John MacFarlane | 1 | -0/+16 | |
This commit also adds support for `class` and `name` attributes to directives in general. Closes #4715. | |||||
2018-10-07 | test suite and more secapes | Yan Pas | 1 | -0/+22 | |
2018-10-07 | Merge branch 'master' into groff_reader | Yan Pas | 103 | -663/+2355 | |
2018-10-06 | RST writer: use simple tables when possible. | John MacFarlane | 2 | -38/+30 | |
Closes #4750. Text.Pandoc.Writers.Shared now exports hasSimpleCells [API change]. | |||||
2018-10-05 | Org reader: fix behavior for successive calls of `#+EXCLUDE_TAGS`. (#4951) | Brian Leung | 1 | -0/+11 | |
Calling `#+EXCLUDE_TAGS` multiple times should preserve the status of the previously declared tags. | |||||
2018-10-05 | CommonMark writer: add plain text fallbacks. (#4531) | quasicomputational | 1 | -0/+156 | |
Previously, the writer would unconditionally emit HTMLish output for subscripts, superscripts, strikeouts (if the strikeout extension is disabled) and small caps, even with raw_html disabled. Now there are plain-text (and, where possible, fancy Unicode) fallbacks for all of these corresponding (mostly) to the Markdown fallbacks, and the HTMLish output is only used when raw_html is enabled. This commit adds exported functions `toSuperscript` and `toSubscript` to `Text.Pandoc.Writers.Shared`. [API change] Closes #4528. |