Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-03-18 | Use NoImplicitPrelude and explicitly import Prelude. | John MacFarlane | 1 | -0/+2 | |
This seems to be necessary if we are to use our custom Prelude with ghci. Closes #4464. | |||||
2018-01-05 | Update copyright notices to include 2018 | Albert Krewinkel | 1 | -2/+2 | |
2017-10-29 | Small reformat. | John MacFarlane | 1 | -1/+1 | |
2017-10-27 | hlint suggestions. | John MacFarlane | 1 | -1/+1 | |
2017-10-27 | Automatic reformating by stylish-haskell. | John MacFarlane | 1 | -6/+6 | |
2017-08-11 | Added support for translations (localization) (see #3559). | John MacFarlane | 1 | -14/+0 | |
* 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-06-26 | parseBCP47: Parse extensions and private-use as variants. | John MacFarlane | 1 | -4/+20 | |
Even though officially they aren't. This suffices for our purposes. | |||||
2017-06-25 | BCP47: split toLang from getLang, rearranged types. | John MacFarlane | 1 | -10/+16 | |
2017-06-25 | Refactored ConTeXt writer to use BCP47. | John MacFarlane | 1 | -5/+5 | |
BCP47 - consistent case for BCP47 fields (e.g. uppercase for region). | |||||
2017-06-25 | Moved BCP47 specific functions from Writers.Shared to new module. | John MacFarlane | 1 | -0/+117 | |
Text.Pandoc.BCP47 (unexported, internal module). `getLang`, `Lang(..)`, `parseBCP47`. |