aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-03-30Merge branch 'jats'John MacFarlane9-6/+2683
2017-03-30Added JATS writer.John MacFarlane7-6/+2485
* New module Text.Pandoc.Writer.JATS exporting writeJATS. * New output format `jats`. * Added tests. * Revised manual.
2017-03-29lstinline with braces can be used (verb cannot be used with braces) (#3535)schrieveslaach2-1/+31
* Fix lstinline handling: lstinline with braces can be used (verb cannot be used with braces) * Use codeWith and determine the language from lstinline * Improve code * Add another test: convert lstinline without language option
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-28Added default.jats template.John MacFarlane3-0/+198
This is copied from Martin Fenner's pandoc-jats project: https://github.com/mfenner/pandoc-jats
2017-03-27Add auxiliary files for command test for #3530 to pandoc.cabal.John MacFarlane1-0/+2
Otherwise builds fail.
2017-03-27LaTeX reader: add support for LaTeX subfiles package.schrieveslaach4-0/+39
Closes #3530.
2017-03-27MANUAL: document that html4 is technically XHTML 1.0 transitional.John MacFarlane1-2/+2
2017-03-26default.ms template: move header-includes and .1C up.John MacFarlane1-5/+5
2017-03-26Add blank lines to #3531 command test.John MacFarlane1-0/+2
2017-03-26Revert "Use file-embed instead of hsb2hs to embed data files."John MacFarlane6-8/+38
This reverts commit 10d91c147968d2e4d63b99b5b0342624827f416f.
2017-03-26Revert "Setup.hs - removed unneeded imports."John MacFarlane1-2/+6
This reverts commit 5354b441706b7c745efecb9174b00625c2d6bab3.
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 MacFarlane2-1/+23
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 MacFarlane3-13/+46
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 MacFarlane2-0/+34
2017-03-26Setup.hs - removed unneeded imports.John MacFarlane1-6/+2
2017-03-26Use file-embed instead of hsb2hs to embed data files.John MacFarlane6-38/+8
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-26Update date on MANUALJohn MacFarlane1-20/+22
2017-03-26Fixed a test not updated on last commit.John MacFarlane1-1/+1
2017-03-26Ms writer: Use @ instead of | for inline math delimiter.John MacFarlane4-91/+91
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 MacFarlane3-84/+165
Also add config options for link color.
2017-03-26Ms writer: better placement of header anchors.John MacFarlane2-40/+36
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 MacFarlane4-13/+60
2017-03-25Ms writer: revise TODO comments.John MacFarlane1-16/+0
2017-03-25Ms writer: use light gray for strikeout.John MacFarlane3-2/+8
Pending groff definitions for striking out an arbitrary section of text (not just a few words).
2017-03-25Ms writer: improved pdf metadata.John MacFarlane3-2/+8
2017-03-25Updated test suite for ms template change.John MacFarlane1-0/+4
2017-03-25ms template: beginnings of support for PDF metadata.John MacFarlane1-0/+4
This will have to be refined along the lines of what is now done in the latex writer/template. For help, see http://pipeline.lbl.gov/code/3rd_party/licenses.win/groff/1.19.2/pdf/pdfmark.pdf
2017-03-25Ms. writer: links: use footnote only for absolute URIs.John MacFarlane2-98/+27
2017-03-25Ms writer: Got figures with ps and eps images working.John MacFarlane1-5/+23
2017-03-25Updated tests.John MacFarlane1-2/+1
2017-03-25Ms template: don't include www macros.John MacFarlane1-1/+0
2017-03-24Ms writer: Use indented paragraphs after first in section.John MacFarlane3-85/+111
Note that the current indentation setting is 0; see the settings in the template.
2017-03-24default.ms: Add settings for document variables like width.John MacFarlane3-5/+60
2017-03-24Ensure compatibility with hslua 0.5.*Albert Krewinkel7-7/+53
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-24Use www.tmac in default.ms.John MacFarlane1-0/+1
This will allow us to use link macros, etc.
2017-03-24Ms writer: support --toc, date, abstract.John MacFarlane4-24/+28
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 MacFarlane2-9/+24
Closes #3529.
2017-03-24Ms writer: changed some names and comments, man -> ms.John MacFarlane1-10/+10