Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-10-18 | Groff escaping changes. | John MacFarlane | 1 | -23/+23 | |
- `--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 | 1 | -17/+17 | |
(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-04-25 | Ms template: Fix date. | John MacFarlane | 1 | -1/+4 | |
Previously .ND was used, but this only works if you have a title page, which we don't. Thanks to @teoric. | |||||
2018-04-15 | Ms writer: font improvements. | John MacFarlane | 1 | -25/+25 | |
* Use `\f[R]` rather than `\f[]` to reset. The latter returns to the previous font, which gives unintended results in some cases. * Use `\f[BI]` and `\f[CB]` in headers, instead of `\f[I]` and `\f[C]`, since the header font is automatically bold. * Use `\f[CB]` rather than `\f[BC]` for monospace bold. Closes #4552. | |||||
2018-04-14 | Man writer: Don't escape U+2019 as '. | John MacFarlane | 1 | -17/+17 | |
Closes #4550. | |||||
2018-03-18 | Ms writer: don't escape hyphens. | John MacFarlane | 1 | -9/+9 | |
Previously we escaped hyphens as `\-`, but that's a minus sign. Closes #4467. Updated changelog. | |||||
2017-05-25 | Added `spaced_reference_links` extension. | John MacFarlane | 1 | -10/+0 | |
This is now the default for pandoc's Markdown. It allows whitespace between the two parts of a reference link: e.g. [a] [b] [b]: url This is now forbidden by default. Closes #2602. | |||||
2017-04-06 | Ms writer: wider indents for lists. | John MacFarlane | 1 | -96/+96 | |
Previously some indents weren't wide enough, leading the list item to start on a line after the marker. | |||||
2017-04-05 | Ms writer: respect text wrapping options. | John MacFarlane | 1 | -43/+26 | |
2017-04-04 | Ms writer improvements: | John MacFarlane | 1 | -14/+8 | |
- added some variables to the default template. - cleaner output for images (stringify alt text). | |||||
2017-04-04 | Ms writer: ensure that @ is escaped in URIs. | John MacFarlane | 1 | -2/+2 | |
Otherwise we may get unescaped @s that give eqn fits, with @ as the delimiter character. | |||||
2017-04-01 | Ms writer: added syntax highlighting. | John MacFarlane | 1 | -2/+2 | |
Closes #3547. Macro definitions are inserted in the template when there is highlighted code. Limitations: background colors and underline currently not supported. | |||||
2017-03-26 | Ms writer: Hyperlink table of contents and other improvements. | John MacFarlane | 1 | -3/+14 | |
2017-03-26 | Ms writer: Add PDF outline bookmarks. | John MacFarlane | 1 | -0/+31 | |
2017-03-26 | Fixed a test not updated on last commit. | John MacFarlane | 1 | -1/+1 | |
2017-03-26 | Ms writer: Use @ instead of | for inline math delimiter. | John MacFarlane | 1 | -11/+11 | |
The `|` delimiter had a bad interaction with tbl. See discussion in #1839. | |||||
2017-03-26 | Ms writer: Support external links. | John MacFarlane | 1 | -63/+154 | |
Also add config options for link color. | |||||
2017-03-26 | Ms writer: better placement of header anchors. | John MacFarlane | 1 | -31/+31 | |
2017-03-25 | Ms writer: Implement header identifiers and internal links. | John MacFarlane | 1 | -2/+32 | |
2017-03-25 | Ms writer: use light gray for strikeout. | John MacFarlane | 1 | -1/+3 | |
Pending groff definitions for striking out an arbitrary section of text (not just a few words). | |||||
2017-03-25 | Ms writer: improved pdf metadata. | John MacFarlane | 1 | -1/+2 | |
2017-03-25 | Updated test suite for ms template change. | John MacFarlane | 1 | -0/+4 | |
2017-03-25 | Ms. writer: links: use footnote only for absolute URIs. | John MacFarlane | 1 | -97/+24 | |
2017-03-25 | Updated tests. | John MacFarlane | 1 | -2/+1 | |
2017-03-24 | Ms writer: Use indented paragraphs after first in section. | John MacFarlane | 1 | -73/+73 | |
Note that the current indentation setting is 0; see the settings in the template. | |||||
2017-03-24 | default.ms: Add settings for document variables like width. | John MacFarlane | 1 | -2/+30 | |
2017-03-24 | Ms writer: support --toc, date, abstract. | John MacFarlane | 1 | -0/+1 | |
2017-03-24 | Ms writer: Use custom .HRULE macro for horizontal rule. | John MacFarlane | 1 | -36/+27 | |
2017-03-23 | Ms writer: improved definition lists. | John MacFarlane | 1 | -53/+36 | |
Use standard .IP macro. Also properly escape ". | |||||
2017-03-23 | Ms writer: fixed hard line breaks. | John MacFarlane | 1 | -3/+1 | |
2017-03-23 | Updated ms tests. | John MacFarlane | 1 | -6/+16 | |
2017-03-23 | Ms. writer: don't render links in footnotes as footnotes. | John MacFarlane | 1 | -6/+2 | |
2017-03-23 | Ms writer: Improved footnotes. | John MacFarlane | 1 | -5/+0 | |
2017-03-23 | Ms writer: fixed strong/emph combination. | John MacFarlane | 1 | -4/+4 | |
Perhaps something similar is needed in the man writer. | |||||
2017-03-23 | Initial addition of groff ms writer. | John MacFarlane | 1 | -0/+940 | |
* New module: Text.Pandoc.Writers.Ms. * New template: default.ms. * The writer uses texmath's new eqn writer to convert math to eqn format, so a ms file produced with this writer should be processed with `groff -ms -e` if it contains math. |