Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-09-29 | Adjusted pandoc.hs for changes in Biblio module. | John MacFarlane | 1 | -17/+17 | |
2012-09-25 | Removed need for utf8-string package. | John MacFarlane | 1 | -3/+2 | |
* Depend on text. * Expose Text.Pandoc.UTF8. * Text.Pandoc.UTF8 now exports toString, fromString, toStringLazy, fromStringLazy. * These are used instead of the old utf8-string functions. | |||||
2012-09-23 | Revert "More intelligent handling of text encodings." | John MacFarlane | 1 | -8/+8 | |
This reverts commit 7272735b3d413a644fd9ab01eeae8ae9cd5a925b. | |||||
2012-09-23 | More intelligent handling of text encodings. | John MacFarlane | 1 | -8/+8 | |
Previously, UTF-8 was enforced for both input and output. The new system: * For input, UTF-8 is tried first; if an error is raised, the locale encoding is tried. * For output, the locale encoding is always used. | |||||
2012-09-23 | Added 'UTF8.' to decodeArg. | John MacFarlane | 1 | -1/+1 | |
2012-09-23 | Revert "Use local encoding for input/output rather than forcing UTF8." | John MacFarlane | 1 | -11/+11 | |
This reverts commit c69837adb648a479167be5e2d37279a02be8060c. | |||||
2012-09-23 | Use local encoding for input/output rather than forcing UTF8. | John MacFarlane | 1 | -11/+11 | |
Note that system templates are stored as UTF8 and will still be read as such, even if the local encoding is different. Text downloaded from URLs will also be treated as UTF-8. | |||||
2012-09-23 | Export encodePath/decodePath from UTF8. | John MacFarlane | 1 | -15/+1 | |
Removed duplicate code in src/pandoc.hs. | |||||
2012-09-12 | Added basic mediawiki reader. | John MacFarlane | 1 | -0/+1 | |
Text.Pandoc.Readers.MediaWiki module, tests/mediawiki-reader.{txt,native}. | |||||
2012-09-12 | Changed mathjax cdn url so it doesn't use https. | John MacFarlane | 1 | -1/+1 | |
(This caused problems when used with --self-contained.) See #609. | |||||
2012-08-09 | Changed strict to markdown_strict. | John MacFarlane | 1 | -2/+2 | |
2012-08-09 | Removed `--strict`, added extensions to writer/reader names. | John MacFarlane | 1 | -41/+32 | |
* The `--strict` option has been removed. * Instead of using `--strict`, one can now use `strict` instead of `markdown` as an input or output format name. * The `--enable` and `--disable` optinos have been removed. * It is now possible to enable or disable specific extensions by appending them (with '+' or '-') to the writer or reader name. For example `pandoc -f markdown-footnotes+hard_line_breaks`. * The lhs extensions are now implemented this way, too; you can use either `+lhs` or `+literate_haskell`. | |||||
2012-08-09 | Removed --enable, --disable options. | John MacFarlane | 1 | -28/+2 | |
2012-08-09 | Use safeRead instead of using reads directly (various modules). | John MacFarlane | 1 | -16/+16 | |
2012-08-08 | Changes to literate haskell options. | John MacFarlane | 1 | -4/+0 | |
- Removed writerLiterateHaskell from WriterOptions. - Removed readerLiterateHaskell from ReaderOptions. - Added Ext_literate_haskell to Extensions. Test for this instead of the above. - Removed failUnlessLHS from Shared. Note: At this point, +lhs and .lhs extension no longer has any effect. Need to fix. | |||||
2012-08-06 | Support hard_line_breaks markdown extension. | John MacFarlane | 1 | -2/+2 | |
* Added Ext_hard_line_breaks. * Added section in README on non-pandoc extensions. * Exported pandocExtensions and strictExtensions in Text.Pandoc.Options. Closes #514. | |||||
2012-07-27 | Added --disable and --enable options for markdown extensions. | John MacFarlane | 1 | -8/+37 | |
2012-07-27 | Replaced writerStrict with writerExtensions in WriterOptions. | John MacFarlane | 1 | -1/+4 | |
Still have not implemented individual tests for all the extensions in the markdown writer. | |||||
2012-07-26 | Moved WriterOptions and associated types Shared -> Options. | John MacFarlane | 1 | -1/+1 | |
2012-07-26 | pandoc: Set readerExtensions instead of readerStrict. | John MacFarlane | 1 | -1/+5 | |
2012-07-25 | Changed reader parameters from ParserState to ReaderOptions. | John MacFarlane | 1 | -18/+16 | |
2012-07-25 | Restored stateStandalone as readerStandalone. | John MacFarlane | 1 | -0/+1 | |
It is indeed needed by the RST reader. | |||||
2012-07-25 | Moved stateApplyMacros, stateIndentedCodeClasses to ReaderOptions. | John MacFarlane | 1 | -3/+3 | |
2012-07-25 | stateCitations -> readerCitations. | John MacFarlane | 1 | -2/+2 | |
2012-07-25 | Moved stateLiterateHaskell to readerLiterateHaskell in Options. | John MacFarlane | 1 | -3/+4 | |
2012-07-25 | Got rid of stateStandalone, which was hardly used anyway. | John MacFarlane | 1 | -1/+0 | |
The only possible effect will be with rst fragments that begin with an rst title block, which will now cause the header transform. | |||||
2012-07-25 | Moved stateOldDashes to readerOldDashes in ReaderOptions. | John MacFarlane | 1 | -1/+1 | |
2012-07-25 | Moved stateTabStop to readerTabStop in ReaderOptions. | John MacFarlane | 1 | -2/+2 | |
2012-07-25 | Moved stateColumns to readerColumns in ReaderOptions. | John MacFarlane | 1 | -1/+1 | |
2012-07-25 | Moved ParseRaw from ParserState to ReaderOptions. | John MacFarlane | 1 | -6/+7 | |
2012-07-25 | Options -> ReaderOptions. | John MacFarlane | 1 | -2/+2 | |
Better to keep reader and writer options separate. | |||||
2012-07-25 | Put smart, strict in separate options field in state. | John MacFarlane | 1 | -3/+4 | |
This is the beginning of a larger transition that will make Options, not ParserState, the parameter of the read functions. (Options will also be used in writers, in place of WriterOptions.) Next step is to remove strict, replacing it with granular tests for different extensions. | |||||
2012-07-24 | Use catch from Control.Exception to avoid warnings. | John MacFarlane | 1 | -7/+12 | |
2012-07-24 | Text.Pandoc: writers now an assoc list of String, Writer. | John MacFarlane | 1 | -26/+16 | |
A Writer can be a PureStringWriter, an IOStringWriter, or an IOByteStringWriter. ALL writers are now in the 'writers' list, including the binary writers and fb2 writer. Code simplified at end of pandoc.hs. | |||||
2012-07-24 | Removed unneeded import. | John MacFarlane | 1 | -1/+0 | |
2012-07-24 | Changed signatures of writeODT, writeDocx, writeEPUB. | John MacFarlane | 1 | -4/+8 | |
These now take WriterOptions and Pandoc only. The extra parameters for epub stylesheet, epub fonts, reference Docx, and reference ODT have been removed, since these things are now in WriterOptions. Note: breaking API change! | |||||
2012-07-23 | Set writerTableOfContents for s5 in Text.Pandoc, not pandoc.hs. | John MacFarlane | 1 | -2/+1 | |
2012-07-23 | Set writerSlideVariant in Text.Pandoc rather than pandoc.hs. | John MacFarlane | 1 | -49/+38 | |
2012-07-22 | Added a new FictionBook2 (FB2) writer. | Sergey Astanin | 1 | -7/+17 | |
2012-07-19 | Make `--ascii` work properly with `--self-contained`. | John MacFarlane | 1 | -1/+1 | |
Closes #568. | |||||
2012-07-03 | `-V` option: Add variables to beginning of list, not end. | John MacFarlane | 1 | -2/+1 | |
This means that duplicate variables specified later on the command line take precedence. It also allows the default `-slidy-url` to be overridden even when `--self-contained` is used (provided the `-V` comes after `--self-contained`. Previously this could not be done. Note that when `--self-contained` is used, the `slidy-url` variable is set to `slidy` so that local copies are used. | |||||
2012-06-25 | Test for base 4.4.0 instead of 4.5.0 for argument/filename encoding. | John MacFarlane | 1 | -2/+2 | |
2012-06-24 | Don't encode/decode file paths if base >= 4.5. | John MacFarlane | 1 | -3/+17 | |
Prior to base 4.5 (and perhaps earlier - check), filepaths and command line arguments were treated as unencoded lists of bytes, not unicode strings, so we had to work around that by encoding and decoding them. This commit adds CPP checks for base 4.5 that disable the encoding/decoding. Fixes a bug with multilingual filenames when pandoc was compiled with ghc 7.4. Closes #540. | |||||
2012-05-24 | Add support for Slideous output. | Jonas Smedegaard | 1 | -3/+4 | |
2012-05-17 | Added 'zenburn' highlight style from highlighting-kate. | John MacFarlane | 1 | -1/+2 | |
Depend on h-k 0.5.0.6. | |||||
2012-05-11 | Added writerTeXLigatures to WriterOptions, `--no-tex-ligatures` option. | John MacFarlane | 1 | -2/+12 | |
This is useful for those who want to use advanced OpenType features with xelatex/lualatex. | |||||
2012-04-14 | Input files with .db extension treated as docbook by default. | John MacFarlane | 1 | -0/+1 | |
2012-03-09 | Changed -V so that you can specify a key without a value. | John MacFarlane | 1 | -8/+7 | |
Such keys get the value `true`. | |||||
2012-03-09 | Added beamer+lhs as output format. | John MacFarlane | 1 | -16/+14 | |
2012-02-11 | Print texmath version in --version output. | John MacFarlane | 1 | -2/+2 | |