aboutsummaryrefslogtreecommitdiff
path: root/pandoc.cabal
AgeCommit message (Collapse)AuthorFilesLines
2017-11-21Relax `http-types` dependency. (#4084)Justus Sagemüller1-1/+1
2017-11-20Version to 2.0.3.John MacFarlane1-1/+1
2017-11-18Lua filters: preload text module (#4077)Albert Krewinkel1-0/+1
The `text` module is preloaded in lua. The module contains some UTF-8 aware string functions, implemented in Haskell. The module is loaded on request only, e.g.: text = require 'text' function Str (s) s.text = text.upper(s.text) return s end
2017-11-11Require latest pandoc-types.John MacFarlane1-2/+2
2017-11-11Bump to 2.0.2.John MacFarlane1-1/+1
2017-11-11Use lua filter to generate man page from MANUAL.John MacFarlane1-3/+1
Instead of three Haskell filters. This is easier and faster.
2017-11-11Add lua filter functions to walk inline and block elements.John MacFarlane1-0/+1
Refactored some code from Text.Pandoc.Lua.PandocModule into new internal module Text.Pandoc.Lua.Filter. Add `walk_inline` and `walk_block` in pandoc lua module.
2017-11-04Use skylighting 0.4.3.2.John MacFarlane1-1/+1
2017-11-04Bump to 2.0.1.1.John MacFarlane1-1/+1
2017-11-03Use texmath 0.10.John MacFarlane1-1/+1
2017-11-03Use latest skylighting.John MacFarlane1-1/+1
2017-11-02Use latest skylighting; ensure no duplicate ids on code lines.John MacFarlane1-1/+1
The line identifiers are built using the code block's identifier as a prefix. If the code block has null identifier, we use "cb1", "cb2", etc. Closes #4031.
2017-11-02Bump tasty upper bound.John MacFarlane1-1/+1
2017-11-01Merge pull request #4001 from labdsf/fb2-testsJohn MacFarlane1-0/+1
Add new style FB2 tests
2017-10-31Version to 2.0.1.John MacFarlane1-1/+1
2017-10-30Bump to 2.0.0.1.John MacFarlane1-1/+1
2017-10-29Added creole reader test files to pandoc.cabal.John MacFarlane1-0/+2
2017-10-28Add new style FB2 testsAlexander Krotov1-0/+1
2017-10-27Removed unnecessary build-deps.John MacFarlane1-7/+2
2017-10-26Use CamelCase for JavaScript for uniformityKolen Cheung1-1/+1
other instances when javascript is refered to in pandoc is also in CamelCase, the official casing of JavaScript.
2017-10-26Bring MANUAL, README, and pandoc.cabal description in sync.John MacFarlane1-10/+10
2017-10-26Creole reader (#3994)Sascha Wilde1-0/+2
This is feature complete but not very thoroughly tested yet.
2017-10-26Use skylighting 0.4.2.John MacFarlane1-2/+2
This prevents the problem with extra space around highlighted code blocks (closes #3996). Note that we no longer put an enclosing div around highlighted code blocks. The pre is the outer element, just as for unhighlighted blocks.
2017-10-23Updated Glob upper bound.John MacFarlane1-1/+1
2017-10-20Use doctemplates 0.2.1: allows `$--` line comments in templates.John MacFarlane1-1/+1
Closes #3806.
2017-10-17Export Text.Pandoc.BCP47John MacFarlane1-1/+1
2017-10-17Split list of authors from MANUAL.txt into separate file, AUTHORS.md.John MacFarlane1-1/+2
It was getting too long for a man page.
2017-10-16Improved handling of include files in LaTeX reader.John MacFarlane1-0/+1
Previously `\include` wouldn't work if the included file contained, e.g., a begin without a matching end. We've changed the Tok type so that it stores a full SourcePos, rather than just a line and column. So tokens keeep track of the file they came from. This allows us to use a simpler method for includes, which doesn't require parsing the included document as a whole. Closes #3971.
2017-10-15Remove openURL from Shared (API change).John MacFarlane1-0/+1
Now all the guts of openURL have been put into openURL from Class. openURL is now sensitive to stRequestHeaders in CommonState and will add these custom headers when making a request. It no longer looks at the USER_AGENT environment variable, since you can now set the `User-Agent` header directly.
2017-10-05Use hslua v0.9.0Albert Krewinkel1-2/+2
2017-09-24Added ghc 8.2.1 to tested-with stanza.John MacFarlane1-1/+1
2017-09-24Require pandoc-types 1.17.2.John MacFarlane1-2/+2
2017-09-15Use skylighting 0.4.John MacFarlane1-2/+2
2017-09-14FromJSON/ToJSON instances for Reader, WriterOptions.John MacFarlane1-2/+2
Depends on skylighting 0.3.5.
2017-09-09Require skylighting 0.3.4.1 or higher.John MacFarlane1-2/+2
2017-09-08Removed old beamer template.John MacFarlane1-1/+0
We now use the default.latex template for both latex and beamer. It contains conditionals for the beamer-specific things. `pandoc -D beamer` will return this template.
2017-09-07cabal: add custom-setup stanza, lowercase field names.John MacFarlane1-93/+96
2017-09-04Add 'static' Cabal flag, use it for linux statically linked.John MacFarlane1-1/+6
2017-08-27RST reader: Fixed `..include::` directive.John MacFarlane1-0/+1
Closes #3880.
2017-08-20Use pandoc-types 1.17.1. Tests updated for new simpleTable behavior...John MacFarlane1-2/+2
with empty headers.
2017-08-17HTML reader: support column alignments.John MacFarlane1-0/+1
These can be set either with a `width` attribute or with `text-width` in a `style` attribute. Closes #1881.
2017-08-16Update to hslua-0.8.0Albert Krewinkel1-2/+2
hslua no longer provides lua stack instances for Int and Double, the necessary instances are added to the Custom writer and the lua filtering system.
2017-08-14Changed command test for #2994 so it actually tests the writer.John MacFarlane1-1/+0
2017-08-13Delete Text.Pandoc.Lua.SharedInstancesAlbert Krewinkel1-1/+0
Stack instances for common data types are now provides by hslua. The instance for Either was useful only for a very specific case; the function that was using the `ToLuaStack Either` instance was rewritten to work without it. Closes: #3805
2017-08-13Use hslua >= 0.7, update Lua codeAlbert Krewinkel1-3/+2
2017-08-12Docx writer: pass through comments.John MacFarlane1-0/+1
We assume that comments are defined as parsed by the docx reader: I want <span class="comment-start" id="0" author="Jesse Rosenthal" date="2016-05-09T16:13:00Z">I left a comment.</span>some text to have a comment <span class="comment-end" id="0"></span>on it. We assume also that the id attributes are unique and properly matched between comment-start and comment-end. Closes #2994.
2017-08-12Change to yaml for translation files.John MacFarlane1-1/+1
2017-08-11Added support for translations (localization) (see #3559).John MacFarlane1-1/+4
* readDataFile, readDefaultDataFile, getReferenceDocx, getReferenceODT have been removed from Shared and moved into Class. They are now defined in terms of PandocMonad primitives, rather than being primitve methods of the class. * toLang has been moved from BCP47 to Class. * NoTranslation and CouldNotLoudTranslations have been added to LogMessage. * New module, Text.Pandoc.Translations, exporting Term, Translations, readTranslations. * New functions in Class: translateTerm, setTranslations. Note that nothing is loaded from data files until translateTerm is used; setTranslation just sets the language to be used. * Added two translation data files in data/translations. * LaTeX reader: Support `\setmainlanguage` or `\setdefaultlanguage` (polyglossia) and `\figurename`.
2017-08-10Added data file to pandoc.cabal.John MacFarlane1-0/+1
2017-08-10RST reader: Basic support for csv-table directive.John MacFarlane1-1/+3
* Added Text.Pandoc.CSV, simple CSV parser. * Options still not supported, and we need tests. See #3533.