Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-08-11 | More redundant imports. | John MacFarlane | 1 | -2/+1 | |
2017-08-11 | Avoid some warnings when compiled wo/ embed_data_files flag. | John MacFarlane | 1 | -2/+3 | |
2017-08-11 | Add getFileName to PandocMonad. | John MacFarlane | 1 | -2/+16 | |
We need this for getDefaultDataFile. | |||||
2017-08-11 | Travis: try a cabal build without embed_data_files. | John MacFarlane | 1 | -6/+6 | |
2017-08-11 | Removed redundant import. | John MacFarlane | 1 | -1/+0 | |
2017-08-11 | Added support for translations (localization) (see #3559). | John MacFarlane | 16 | -358/+682 | |
* 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-11 | Command tests; print stderr when a test fails. | John MacFarlane | 1 | -1/+4 | |
2017-08-11 | Makefile - disable parallel build on 'make quick'. | John MacFarlane | 1 | -1/+1 | |
Interleaved error messages too confusing. | |||||
2017-08-10 | Fixed writer tests not to use writerUserDataDir. | John MacFarlane | 1 | -3/+3 | |
2017-08-10 | Remove writerUserDataDir from WriterOptions. | John MacFarlane | 3 | -4/+0 | |
It is now carried in CommonState in PandocMonad instances. (And thus it can be used by readers too.) | |||||
2017-08-10 | Removed datadir param from readDataFile and getDefaultTemplate. | John MacFarlane | 6 | -37/+45 | |
In Text.Pandoc.Class and Text.Pandoc.Template, resp. We now get the datadir from CommonState. | |||||
2017-08-10 | Class: add setUserDataDir and getUserDataDir. | John MacFarlane | 1 | -5/+21 | |
* Add stUserDataDir to CommonState. * Rename stUserDataDir/stCabalDataDir in PureState to stUserDataFiles/stCabalDataFiles. | |||||
2017-08-10 | Expose getDefaultDataFile in both Shared and Class. | John MacFarlane | 4 | -7/+18 | |
2017-08-10 | Added data file to pandoc.cabal. | John MacFarlane | 1 | -0/+1 | |
2017-08-10 | RST reader: implement csv-table directive. | John MacFarlane | 4 | -48/+120 | |
Most attributes are supported, including `:file:` and `:url:`. A (probably insufficient) test case has been added. Closes #3533. | |||||
2017-08-10 | RST reader: Basic support for csv-table directive. | John MacFarlane | 3 | -1/+157 | |
* Added Text.Pandoc.CSV, simple CSV parser. * Options still not supported, and we need tests. See #3533. | |||||
2017-08-10 | Slidy writer: use h1 for all slides... | John MacFarlane | 1 | -1/+5 | |
even if they were originally level 2 headers. Otherwise the built-in table of contents in Slidy breaks. Closes #3566. | |||||
2017-08-09 | RST reader: reorganize block parsers for ~20% faster parsing. | John MacFarlane | 1 | -3/+4 | |
2017-08-09 | RST writer: don't wrap term in definition list. | John MacFarlane | 1 | -1/+1 | |
Wrapping is not allowed. | |||||
2017-08-09 | Removed spurious comments. | John MacFarlane | 1 | -4/+0 | |
2017-08-09 | EPUB writer: don't strip formatting in TOC. | John MacFarlane | 1 | -10/+23 | |
Closes #1611. | |||||
2017-08-09 | Reorganized Makefile. | John MacFarlane | 1 | -6/+8 | |
2017-08-09 | Makefile: use nightly + colored output for quick. | John MacFarlane | 1 | -1/+1 | |
2017-08-09 | Makefile: use nightly. | John MacFarlane | 1 | -1/+1 | |
2017-08-09 | Use haddock-library 1.4.3, since 1.4.5 requirse cabal 2. | John MacFarlane | 2 | -2/+2 | |
2017-08-09 | Added haddock-library-1.4.5 to stack.yaml for nightly. | John MacFarlane | 2 | -0/+2 | |
2017-08-09 | Build config that works with lts-9.0 and nightly. | John MacFarlane | 3 | -6/+8 | |
2017-08-09 | Support svg in PDF output, converting with rsvg2pdf. | John MacFarlane | 1 | -3/+12 | |
Closes #1793. | |||||
2017-08-09 | stack.pkg.yaml - add cmark-gfm. | John MacFarlane | 1 | -1/+1 | |
2017-08-09 | Remove cmark from stack.yaml. | John MacFarlane | 1 | -1/+0 | |
2017-08-09 | Org reader: use org-language attribute rather than data-org-language. | John MacFarlane | 2 | -10/+10 | |
2017-08-09 | Org reader: use tag-name attribute instead of data-tag-name. | John MacFarlane | 2 | -2/+2 | |
2017-08-09 | LaTeX reader: Use `label` instead of `data-label` for label in caption. | John MacFarlane | 2 | -2/+2 | |
See d441e656db576f266c4866e65ff9e4705d376381, #3639. | |||||
2017-08-09 | HTML reader: parse <main> like <div role=main>. (#3791) | bucklereed | 2 | -7/+26 | |
* HTML reader: parse <main> like <div role=main>. * <main> closes <p> and behaves like a block element generally | |||||
2017-08-09 | Muse reader: simplify tableCell implementation (#3846) | Alexander | 1 | -3/+1 | |
2017-08-08 | Travis: more options tweaks. | John MacFarlane | 1 | -3/+3 | |
2017-08-08 | Don't put fancy warnings in pandoc.cabal ghc-options. | John MacFarlane | 1 | -1/+1 | |
2017-08-08 | Travis: don't use -Wincomplete-uni-patterns. | John MacFarlane | 1 | -1/+1 | |
2017-08-08 | Travis: Don't use -Wcompat. | John MacFarlane | 1 | -1/+1 | |
2017-08-08 | Travis: only use fancy warnings for recent ghc. | John MacFarlane | 1 | -6/+6 | |
2017-08-08 | RST reader: support :widths: attribute for table directive. | John MacFarlane | 1 | -3/+13 | |
2017-08-08 | Use extra ghc warnings. | John MacFarlane | 2 | -3/+3 | |
In addition to `-Wall`: `-Wincomplete-uni-patterns -Wincomplete-record-updates -Wredundant-constraints -Wcompat -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances` | |||||
2017-08-08 | Parsing: added gobbleSpaces. | John MacFarlane | 1 | -0/+12 | |
This is a utility function to use in list parsing. | |||||
2017-08-08 | Removed redundant import. | John MacFarlane | 1 | -1/+0 | |
2017-08-08 | Muse writer: update test results (#3845) | Alexander | 1 | -3/+6 | |
2017-08-08 | Muse writer: insert two blanklines between lists of the same type (#3844) | Alexander | 2 | -1/+96 | |
2017-08-08 | Templates: Have gfm use commonmark template. | John MacFarlane | 1 | -0/+1 | |
2017-08-08 | CommonMark writer: avoid excess blank lines at end of output. | John MacFarlane | 2 | -9/+1 | |
2017-08-08 | Thread options through CommonMark reader. | John MacFarlane | 2 | -81/+85 | |
This is more efficient than doing AST traversals for emojis and hard breaks. Also make behavior sensitive to `raw_html` extension. | |||||
2017-08-08 | Support `hard_line_breaks` in CommonMark reader. | John MacFarlane | 1 | -0/+7 | |