Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-04-03 | Add class to footnote back references | Timm Albers | 3 | -11/+11 | |
The HTML writer now also adds the class footnoteBack to back references of footnotes. This allows for easier CSS styling. | |||||
2017-04-03 | Merge pull request #3553 from nunull/master | John MacFarlane | 1 | -2/+5 | |
Include \VerbatimFootnotes for highlighted code blocks | |||||
2017-04-03 | Include \VerbatimFootnotes for highlighted code blocks | Timm Albers | 1 | -2/+5 | |
Updated the LaTeX writer to also include \VerbatimFootnotes in the preamble for highlighted code blocks. Previously this was only done for raw code blocks. | |||||
2017-04-03 | Removed unused import. | John MacFarlane | 1 | -1/+0 | |
2017-04-03 | Removed unused imports from Setup.hs. | John MacFarlane | 1 | -6/+2 | |
2017-04-03 | Merge pull request #3550 from tarleb/lua-readers-submodule | John MacFarlane | 6 | -32/+172 | |
Lua module: add readers submodule | |||||
2017-04-02 | Make sure docx/_rels/.rels gets into data files. | John MacFarlane | 1 | -1/+5 | |
embedDir in file-embed excludes hidden files, so we need to add this manually. | |||||
2017-04-02 | MANUAL: document highlighting support in ms. | John MacFarlane | 1 | -6/+6 | |
2017-04-02 | Revert "Revert "Use file-embed instead of hsb2hs to embed data files."" | John MacFarlane | 6 | -38/+8 | |
This reverts commit 1fa15c225b515e1fa1c6566f90f1be363a4d770f. | |||||
2017-04-02 | Text.Pandoc.App: Throw errors rather than exiting. | John MacFarlane | 6 | -57/+72 | |
These are caught (and lead to exit) in pandoc.hs, but other uses of Text.Pandoc.App may want to recover in another way. Added PandocAppError to PandocError (API change). This is a stopgap: later we should have a separate constructor for each type of error. Also fixed uses of 'exit' in Shared.readDataFile, and removed 'err' from Shared (API change). Finally, removed the dependency on extensible-exceptions. See #3548. | |||||
2017-04-02 | Lua module: add readers submodule | Albert Krewinkel | 6 | -32/+172 | |
Plain text readers are exposed to lua scripts via the `pandoc.reader` submodule, which is further subdivided by format. Converting e.g. a markdown string into a pandoc document is possible from within lua: doc = pandoc.reader.markdown.read_doc("Hello, World!") A `read_block` convenience function is provided for all formats, although it will still parse the whole string but return only the first block as the result. Custom reader options are not supported yet, default options are used for all parsing operations. | |||||
2017-04-01 | Added data/default.theme to repository. | John MacFarlane | 1 | -0/+177 | |
2017-04-01 | Allow a theme file as argument to `--highlight-style`. | John MacFarlane | 3 | -3/+17 | |
Also include a sample, `default.theme`, in `data/`. | |||||
2017-04-01 | Ms writer: added syntax highlighting. | John MacFarlane | 3 | -7/+90 | |
Closes #3547. Macro definitions are inserted in the template when there is highlighted code. Limitations: background colors and underline currently not supported. | |||||
2017-04-01 | Use latest skylighting. | John MacFarlane | 2 | -2/+2 | |
This means we no longer need language.dtd when loading custom highlighting definitions. See #3334. | |||||
2017-04-01 | OpenDocument writer: wider labels for lists. | John MacFarlane | 2 | -191/+191 | |
This avoids overly narrow labels for ordered lists with () delimiters. However, arguably it creates overly wide labels for bullets. Also, lists now start flush with the margin, rather than indented. Fixes #2421. | |||||
2017-04-01 | Change MathJax CDN default since old one is shutting down. | John MacFarlane | 1 | -1/+1 | |
New URL: https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js Announcement: https://www.mathjax.org/cdn-shutting-down/ NOTE: The new URL requires a version number, which we'll have to update manually in subsequent pandoc releases in order to take advantage of mathjax improvements. Closes #3544. | |||||
2017-03-31 | JATS writer: don't include jats.csl in metadata if csl already specified. | John MacFarlane | 1 | -1/+3 | |
2017-03-31 | JATS template: always include `<back>` element even if empty. | John MacFarlane | 2 | -2/+4 | |
2017-03-31 | JATS writer: put references in `<back>`. | John MacFarlane | 4 | -1596/+1606 | |
Modified template to include a `<back>` and `<body>` section. This should give authors more flexibility, e.g. to put acknowledgements metadata in `<back>`. References are automatically extracted and put into `<back>`. | |||||
2017-03-30 | Fix compiler warning. | John MacFarlane | 1 | -1/+1 | |
2017-03-30 | Add JATS to description in pandoc.cabal. | John MacFarlane | 1 | -1/+1 | |
2017-03-30 | jats template: added xml-stylesheet variable. | John MacFarlane | 1 | -0/+3 | |
2017-03-30 | Allow dynamic loading of syntax definitions. | John MacFarlane | 7 | -31/+74 | |
See #3334. * Add writerSyntaxMap to WriterOptions. * Highlighting: added parameter for SyntaxMap to highlight. * Implemented --syntax-definition option. TODO: [ ] Figure out whether we want to have the xml parsing depend on the dtd (it currently does, and fails unless the language.dtd is found in the same directory). [ ] Add an option to read a KDE syntax highlighting theme as a custom style. [ ] Add tests. | |||||
2017-03-30 | ZimWiki writer: put in PandocMonad, added warnings for raw. | John MacFarlane | 1 | -17/+32 | |
2017-03-30 | Textile writer: moved into PandocMonad. | John MacFarlane | 1 | -31/+48 | |
Warnings for omitted raw content. | |||||
2017-03-30 | Org writer: move everything into PandocMonad. | John MacFarlane | 1 | -23/+35 | |
2017-03-30 | Don't read jats.csl unless we actually need it. | John MacFarlane | 1 | -5/+6 | |
2017-03-30 | Automatically include URI-encoded jats.csl for jats output. | John MacFarlane | 4 | -2/+223 | |
This way people can do pandoc -s -t jats --filter pandoc-citeproc and it will just work. If they want to specify a stylesheet, they still can. | |||||
2017-03-30 | SelfContained: export makeDataURI | John MacFarlane | 1 | -1/+1 | |
2017-03-30 | JATS writer: use both tex and mml alternatives for math when possible. | John MacFarlane | 2 | -13/+28 | |
2017-03-30 | Compile with latest pandoc-citeproc. | John MacFarlane | 1 | -1/+1 | |
2017-03-30 | JATS writer: Fixed bibliography handling. | John MacFarlane | 2 | -11/+16 | |
2017-03-30 | Merge branch 'jats' | John MacFarlane | 9 | -6/+2683 | |
2017-03-30 | Added JATS writer. | John MacFarlane | 7 | -6/+2485 | |
* New module Text.Pandoc.Writer.JATS exporting writeJATS. * New output format `jats`. * Added tests. * Revised manual. | |||||
2017-03-29 | lstinline with braces can be used (verb cannot be used with braces) (#3535) | schrieveslaach | 2 | -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-28 | Custom writer: remove old preprocesesor conditionals | Albert Krewinkel | 1 | -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-28 | Added default.jats template. | John MacFarlane | 3 | -0/+198 | |
This is copied from Martin Fenner's pandoc-jats project: https://github.com/mfenner/pandoc-jats | |||||
2017-03-27 | Add auxiliary files for command test for #3530 to pandoc.cabal. | John MacFarlane | 1 | -0/+2 | |
Otherwise builds fail. | |||||
2017-03-27 | LaTeX reader: add support for LaTeX subfiles package. | schrieveslaach | 4 | -0/+39 | |
Closes #3530. | |||||
2017-03-27 | MANUAL: document that html4 is technically XHTML 1.0 transitional. | John MacFarlane | 1 | -2/+2 | |
2017-03-26 | default.ms template: move header-includes and .1C up. | John MacFarlane | 1 | -5/+5 | |
2017-03-26 | Add blank lines to #3531 command test. | John MacFarlane | 1 | -0/+2 | |
2017-03-26 | Revert "Use file-embed instead of hsb2hs to embed data files." | John MacFarlane | 6 | -8/+38 | |
This reverts commit 10d91c147968d2e4d63b99b5b0342624827f416f. | |||||
2017-03-26 | Revert "Setup.hs - removed unneeded imports." | John MacFarlane | 1 | -2/+6 | |
This reverts commit 5354b441706b7c745efecb9174b00625c2d6bab3. | |||||
2017-03-26 | Revert "Text.Pandoc.Data: ensure it compiles even without embed_data_files." | John MacFarlane | 1 | -11/+3 | |
This reverts commit 453970c6b34ed7cc2f52181e5e77b9182a3639e9. | |||||
2017-03-26 | MediaWiki writer: don't softbreak lines inside list items. | John MacFarlane | 2 | -1/+23 | |
Closes #3531. | |||||
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 | 3 | -13/+46 | |
2017-03-26 | PDF: when running pdfroff, don't do second pass to relocate toc. | John MacFarlane | 1 | -1/+2 | |