Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-10-18 | Groff escaping changes. | John MacFarlane | 1 | -18/+20 | |
- `--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-18 | Add Text.Pandoc.GroffChar. | John MacFarlane | 1 | -20/+2 | |
This will hold common escaping data for groff characters. | |||||
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 | 1 | -0/+149 | |
(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. |