Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-10-02 | Removed Text.Pandoc.Groff. | John MacFarlane | 1 | -1/+0 | |
Moved groffEscape function to Text.Pandoc.Writers.Shared. [API change, since T.P.W.S is exported.] | |||||
2018-10-01 | Shared: new export `splitSentences` [API change]. | John MacFarlane | 1 | -26/+0 | |
This was duplicated in the Man and Ms writers, and really belongs in Shared. | |||||
2018-09-30 | Implement `--ascii` (`writerPreferAscii`) in writers, not App. | John MacFarlane | 1 | -1/+3 | |
Now the `write*` functions for Docbook, HTML, ICML, JATS, Man, Ms, OPML are sensitive to `writerPreferAscii`. Previously the to-ascii translation was done in Text.Pandoc.App, and thus not available to those using the writer functions directly. In addition, the LaTeX writer is now sensitive to `writerPreferAscii` and to `--ascii`. 100% ASCII output can't be guaranteed, but the writer will use commands like `\"{a}` and `\l` whenever possible, to avoid emiting a non-ASCII character. A new unexported module, Text.Pandoc.Groff, has been added to store functions used in the different groff-based writers. | |||||
2018-09-04 | hlint some writers | Alexander Krotov | 1 | -1/+1 | |
2018-04-15 | Ms writer: font improvements. | John MacFarlane | 1 | -3/+14 | |
* 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 | Ms writer link improvements. | John MacFarlane | 1 | -5/+13 | |
+ Create pdf anchor for a Div with an identifier. + Escape `/` character in anchor ids. + Improve escaping for anchor ids: we now use _uNNN_ instead of uNNN to avoid ambiguity. This is intended to help with #4515; however, in my tests, the link to the reference does not seem to work. I'm not sure why. | |||||
2018-04-14 | Man writer: Don't escape U+2019 as '. | John MacFarlane | 1 | -1/+0 | |
Closes #4550. | |||||
2018-03-18 | Ms writer: don't escape hyphens. | John MacFarlane | 1 | -1/+0 | |
Previously we escaped hyphens as `\-`, but that's a minus sign. Closes #4467. Updated changelog. | |||||
2018-03-18 | Use NoImplicitPrelude and explicitly import Prelude. | John MacFarlane | 1 | -0/+2 | |
This seems to be necessary if we are to use our custom Prelude with ghci. Closes #4464. | |||||
2018-03-09 | Ms writer: asciify pdf anchors, since unicode anchors don't work. | John MacFarlane | 1 | -4/+11 | |
Closes #4436. Internal links should be converted automatically, so this shouldn't affect users directly. | |||||
2018-01-05 | Update copyright notices to include 2018 | Albert Krewinkel | 1 | -2/+2 | |
2017-12-10 | Changes for skylighting-0.5. | John MacFarlane | 1 | -2/+2 | |
This fixes a bug in 2.0.4, whereby pandoc could not read the theme files generated with `--print-highlight-style`. It also fixes some CSS issues involving line numbers. Highlighted code blocks are now enclosed in a div with class sourceCode. Highlighting CSS no longer sets a generic color for pre and code; we only set these for class `sourceCode`. This will close #4133 and #4128. | |||||
2017-10-29 | Source code reformatting. | John MacFarlane | 1 | -3/+3 | |
2017-10-29 | hlint suggestions. | John MacFarlane | 1 | -23/+20 | |
2017-10-27 | Automatic reformating by stylish-haskell. | John MacFarlane | 1 | -25/+25 | |
2017-06-20 | Writers: adjusted for renderTemplate' changes. | John MacFarlane | 1 | -2/+3 | |
Now we raise a proper error on template failure. | |||||
2017-06-17 | Use Control.Monad.State.Strict throughout. | John MacFarlane | 1 | -1/+1 | |
This gives 20-30% speedup and reduction of memory usage in most of the writers. | |||||
2017-06-11 | Switched Writer types to use Text. | John MacFarlane | 1 | -5/+7 | |
* XML.toEntities: changed type to Text -> Text. * Shared.tabFilter -- fixed so it strips out CRs as before. * Modified writers to take Text. * Updated tests, benchmarks, trypandoc. [API change] Closes #3731. | |||||
2017-05-13 | Update dates in copyright notices | Albert Krewinkel | 1 | -2/+2 | |
This follows the suggestions given by the FSF for GPL licensed software. <https://www.gnu.org/prep/maintain/html_node/Copyright-Notices.html> | |||||
2017-04-28 | Ms writer: make use of already defined render' (#3613) | Alexander Krotov | 1 | -2/+2 | |
2017-04-06 | Ms writer: wider indents for lists. | John MacFarlane | 1 | -5/+6 | |
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 | -1/+6 | |
2017-04-04 | Ms writer improvements: | John MacFarlane | 1 | -4/+3 | |
- 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 | -1/+5 | |
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 | -5/+84 | |
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: update TODO comments. | John MacFarlane | 1 | -3/+0 | |
2017-03-26 | Ms writer: Hyperlink table of contents and other improvements. | John MacFarlane | 1 | -9/+21 | |
2017-03-26 | Ms writer: Add PDF outline bookmarks. | John MacFarlane | 1 | -0/+3 | |
2017-03-26 | Ms writer: Use @ instead of | for inline math delimiter. | John MacFarlane | 1 | -3/+3 | |
The `|` delimiter had a bad interaction with tbl. See discussion in #1839. | |||||
2017-03-26 | Ms writre: Added some escapes. | John MacFarlane | 1 | -2/+4 | |
2017-03-26 | Removed unused imports. | John MacFarlane | 1 | -3/+3 | |
2017-03-26 | Ms writer: Support external links. | John MacFarlane | 1 | -21/+7 | |
Also add config options for link color. | |||||
2017-03-26 | Ms writer: better placement of header anchors. | John MacFarlane | 1 | -9/+5 | |
2017-03-26 | Ms writer: more spacing fixes for internal links. | John MacFarlane | 1 | -4/+9 | |
2017-03-26 | Ms writer: improved internal links. | John MacFarlane | 1 | -2/+3 | |
2017-03-25 | Ms writer: added TODO comment. | John MacFarlane | 1 | -0/+3 | |
2017-03-25 | Ms writer: Implement header identifiers and internal links. | John MacFarlane | 1 | -9/+27 | |
2017-03-25 | Ms writer: revise TODO comments. | John MacFarlane | 1 | -16/+0 | |
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 | -0/+4 | |
2017-03-25 | Ms. writer: links: use footnote only for absolute URIs. | John MacFarlane | 1 | -1/+3 | |
2017-03-25 | Ms writer: Got figures with ps and eps images working. | John MacFarlane | 1 | -5/+23 | |
2017-03-24 | Ms writer: Use indented paragraphs after first in section. | John MacFarlane | 1 | -11/+37 | |
Note that the current indentation setting is 0; see the settings in the template. | |||||
2017-03-24 | Ms writer: support --toc, date, abstract. | John MacFarlane | 1 | -21/+11 | |
2017-03-24 | Ms writer: changed some names and comments, man -> ms. | John MacFarlane | 1 | -10/+10 | |
2017-03-24 | Ms writer: fixed rawblock/inline to accept "ms" format. | John MacFarlane | 1 | -4/+4 | |
2017-03-24 | Recognize .roff extension as ms format. | John MacFarlane | 1 | -0/+9 | |
2017-03-24 | Ms writer: Use custom .HRULE macro for horizontal rule. | John MacFarlane | 1 | -1/+2 | |
2017-03-24 | Ms writer: warning for non-rendered raw content. | John MacFarlane | 1 | -6/+10 | |
2017-03-23 | Allow creation of pdf via groff ms and pdfroff. | John MacFarlane | 1 | -20/+3 | |
pandoc -t ms -o output.pdf input.txt |