aboutsummaryrefslogtreecommitdiff
path: root/src/Text
AgeCommit message (Collapse)AuthorFilesLines
2017-03-28Custom writer: remove old preprocesesor conditionalsAlbert Krewinkel1-36/+0
The minimum required hslua version is 0.4.0, the conditionals inserted to support hslua-0.3.* can hence be removed.
2017-03-27LaTeX reader: add support for LaTeX subfiles package.schrieveslaach1-0/+1
Closes #3530.
2017-03-26Revert "Use file-embed instead of hsb2hs to embed data files."John MacFarlane1-5/+4
This reverts commit 10d91c147968d2e4d63b99b5b0342624827f416f.
2017-03-26Revert "Text.Pandoc.Data: ensure it compiles even without embed_data_files."John MacFarlane1-11/+3
This reverts commit 453970c6b34ed7cc2f52181e5e77b9182a3639e9.
2017-03-26MediaWiki writer: don't softbreak lines inside list items.John MacFarlane1-1/+4
Closes #3531.
2017-03-26Ms writer: update TODO comments.John MacFarlane1-3/+0
2017-03-26Ms writer: Hyperlink table of contents and other improvements.John MacFarlane1-9/+21
2017-03-26PDF: when running pdfroff, don't do second pass to relocate toc.John MacFarlane1-1/+2
2017-03-26Text.Pandoc.Data: ensure it compiles even without embed_data_files.John MacFarlane1-3/+11
In this case we don't depend on file-embed or use TH.
2017-03-26Ms writer: Add PDF outline bookmarks.John MacFarlane1-0/+3
2017-03-26Use file-embed instead of hsb2hs to embed data files.John MacFarlane1-4/+5
I think template haskell is robust enough now across platforms that this will work. Motivation: file-embed gives us better dependency tracking: if a data file changes, ghc/stack/cabal know to recompile the Data module. This also removes hsb2hs as a build dependency.
2017-03-26Ms writer: Use @ instead of | for inline math delimiter.John MacFarlane1-3/+3
The `|` delimiter had a bad interaction with tbl. See discussion in #1839.
2017-03-26Ms writre: Added some escapes.John MacFarlane1-2/+4
2017-03-26Removed unused imports.John MacFarlane1-3/+3
2017-03-26Ms writer: Support external links.John MacFarlane1-21/+7
Also add config options for link color.
2017-03-26Ms writer: better placement of header anchors.John MacFarlane1-9/+5
2017-03-26Ms writer: more spacing fixes for internal links.John MacFarlane1-4/+9
2017-03-26Ms writer: improved internal links.John MacFarlane1-2/+3
2017-03-25Ms writer: added TODO comment.John MacFarlane1-0/+3
2017-03-25Ms writer: Implement header identifiers and internal links.John MacFarlane2-10/+28
2017-03-25Ms writer: revise TODO comments.John MacFarlane1-16/+0
2017-03-25Ms writer: use light gray for strikeout.John MacFarlane1-1/+3
Pending groff definitions for striking out an arbitrary section of text (not just a few words).
2017-03-25Ms writer: improved pdf metadata.John MacFarlane1-0/+4
2017-03-25Ms. writer: links: use footnote only for absolute URIs.John MacFarlane1-1/+3
2017-03-25Ms writer: Got figures with ps and eps images working.John MacFarlane1-5/+23
2017-03-24Ms writer: Use indented paragraphs after first in section.John MacFarlane1-11/+37
Note that the current indentation setting is 0; see the settings in the template.
2017-03-24Ensure compatibility with hslua 0.5.*Albert Krewinkel3-3/+45
The 0.5.0 release of hslua fixes problems with lua C modules on linux. The signature of the `loadstring` function changed, so a compatibility wrapper is introduced to allow both 0.4.* and 0.5.* versions to be used.
2017-03-24Ms writer: support --toc, date, abstract.John MacFarlane1-21/+11
2017-03-24Revert "LaTeX reader: be more picky about beamer angle arguments."John MacFarlane1-1/+1
This reverts commit b98a05d604ab4353c2e684beecf669b182d88906.
2017-03-24LaTeX reader: be more picky about beamer angle arguments.John MacFarlane1-1/+1
We now only allow them if they contain only numbers, spaces, `-`, and `,`.
2017-03-24Markdown writer: don't emit a simple table if `simple_tables` disabled.John MacFarlane1-9/+9
Closes #3529.
2017-03-24Ms writer: changed some names and comments, man -> ms.John MacFarlane1-10/+10
2017-03-24Ms writer: fixed rawblock/inline to accept "ms" format.John MacFarlane1-4/+4
2017-03-24Recognize .roff extension as ms format.John MacFarlane2-0/+10
2017-03-24PDF via groff ms: use -t and -KUTF-8 options to pdfroff.John MacFarlane1-1/+1
2017-03-24Ms writer: Use custom .HRULE macro for horizontal rule.John MacFarlane1-1/+2
2017-03-24Ms writer: warning for non-rendered raw content.John MacFarlane1-6/+10
2017-03-23Allow creation of pdf via groff ms and pdfroff.John MacFarlane3-25/+43
pandoc -t ms -o output.pdf input.txt
2017-03-23Ms writer: improved definition lists.John MacFarlane1-1/+3
Use standard .IP macro. Also properly escape ".
2017-03-23Ms writer: use .IP for more standard definition lists.John MacFarlane1-2/+1
2017-03-23Pipe tables: impose minimum cell size.John MacFarlane1-5/+7
This might help with #3526. At any rate, it fixes another bug (see test/command/3526.md).
2017-03-23Grid tables: remove unnecessary extra space in cells.John MacFarlane1-1/+1
2017-03-23Ms writer: fixed hard line breaks.John MacFarlane1-2/+1
2017-03-23Writers.Shared.gridTable: defensive coding around 'maximum'.John MacFarlane1-1/+2
2017-03-23MS writer: updated TODO comment.John MacFarlane1-1/+0
2017-03-23Ms writer: Super/subscript support.John MacFarlane1-2/+2
Also added some macro definitions to default template to support subscripts + better superscripts.
2017-03-23Ms writer: support for fake smallcaps.John MacFarlane1-28/+52
2017-03-23Ms. writer: don't render links in footnotes as footnotes.John MacFarlane1-5/+15
2017-03-23Ms writer: Improved footnotes.John MacFarlane1-2/+7
2017-03-23Ms writer: fixed strong/emph combination.John MacFarlane1-13/+54
Perhaps something similar is needed in the man writer.