summaryrefslogtreecommitdiff
path: root/src/pandoc.hs
Commit message (Collapse)AuthorAge
* Changed reader parameters from ParserState to ReaderOptions.John MacFarlane2012-07-25
|
* Restored stateStandalone as readerStandalone.John MacFarlane2012-07-25
| | | | It is indeed needed by the RST reader.
* Moved stateApplyMacros, stateIndentedCodeClasses to ReaderOptions.John MacFarlane2012-07-25
|
* stateCitations -> readerCitations.John MacFarlane2012-07-25
|
* Moved stateLiterateHaskell to readerLiterateHaskell in Options.John MacFarlane2012-07-25
|
* Got rid of stateStandalone, which was hardly used anyway.John MacFarlane2012-07-25
| | | | | | The only possible effect will be with rst fragments that begin with an rst title block, which will now cause the header transform.
* Moved stateOldDashes to readerOldDashes in ReaderOptions.John MacFarlane2012-07-25
|
* Moved stateTabStop to readerTabStop in ReaderOptions.John MacFarlane2012-07-25
|
* Moved stateColumns to readerColumns in ReaderOptions.John MacFarlane2012-07-25
|
* Moved ParseRaw from ParserState to ReaderOptions.John MacFarlane2012-07-25
|
* Options -> ReaderOptions.John MacFarlane2012-07-25
| | | | Better to keep reader and writer options separate.
* Put smart, strict in separate options field in state.John MacFarlane2012-07-25
| | | | | | | | | 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.
* Use catch from Control.Exception to avoid warnings.John MacFarlane2012-07-24
|
* Text.Pandoc: writers now an assoc list of String, Writer.John MacFarlane2012-07-24
| | | | | | | 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.
* Removed unneeded import.John MacFarlane2012-07-24
|
* Changed signatures of writeODT, writeDocx, writeEPUB.John MacFarlane2012-07-24
| | | | | | | | | 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!
* Set writerTableOfContents for s5 in Text.Pandoc, not pandoc.hs.John MacFarlane2012-07-23
|
* Set writerSlideVariant in Text.Pandoc rather than pandoc.hs.John MacFarlane2012-07-23
|
* Added a new FictionBook2 (FB2) writer.Sergey Astanin2012-07-22
|
* Make `--ascii` work properly with `--self-contained`.John MacFarlane2012-07-19
| | | | Closes #568.
* `-V` option: Add variables to beginning of list, not end.John MacFarlane2012-07-03
| | | | | | | | | | | 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.
* Test for base 4.4.0 instead of 4.5.0 for argument/filename encoding.John MacFarlane2012-06-25
|
* Don't encode/decode file paths if base >= 4.5.John MacFarlane2012-06-24
| | | | | | | | | | | 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.
* Add support for Slideous output.Jonas Smedegaard2012-05-24
|
* Added 'zenburn' highlight style from highlighting-kate.John MacFarlane2012-05-17
| | | | Depend on h-k 0.5.0.6.
* Added writerTeXLigatures to WriterOptions, `--no-tex-ligatures` option.John MacFarlane2012-05-11
| | | | | This is useful for those who want to use advanced OpenType features with xelatex/lualatex.
* Input files with .db extension treated as docbook by default.John MacFarlane2012-04-14
|
* Changed -V so that you can specify a key without a value.John MacFarlane2012-03-09
| | | | Such keys get the value `true`.
* Added beamer+lhs as output format.John MacFarlane2012-03-09
|
* Print texmath version in --version output.John MacFarlane2012-02-11
|
* Re-added the --ascii option.John MacFarlane2012-02-05
| | | | Now it is implemented in pandoc.hs, not in the HTML writer.
* Text.Pandoc.XML: Export fromEntities.John MacFarlane2012-02-05
| | | | Remove old 'deEntities' from pandoc.hs.
* pandoc: Treat html5+lhs as an html format.John MacFarlane2012-02-05
|
* Complete rewrite of LaTeX reader.John MacFarlane2012-02-04
| | | | | | | | | | | | | | | | | | | | | | | * The new reader is more robust, accurate, and extensible. It is still quite incomplete, but it should be easier now to add features. * Text.Pandoc.Parsing: Added withRaw combinator. * Markdown reader: do escapedChar before raw latex inline. Otherwise we capture commands like \{. * Fixed latex citation tests for new citeproc. * Handle \include{} commands in latex. This is done in pandoc.hs, not the (pure) latex reader. But the reader exports the needed function, handleIncludes. * Moved err and warn from pandoc.hs to Shared. * Fixed tests - raw tex should sometimes have trailing space. * Updated lhs-test for highlighting-kate changes.
* Change copyright date.John MacFarlane2012-01-31
|
* Added `--epub-embed-font` option.John MacFarlane2012-01-30
| | | | | | * This can be repeated for multiple fonts. * Added parameter for fonts to embed to writeEPUB. * Added ttf, otf to Mime types in Text.Pandoc.MIME.
* Made `beamer` an output format, removed `pdf` as output format.John MacFarlane2012-01-28
| | | | | | | | | | | Removed `--beamer` option; instead, use `beamer` as output format. There is no longer a `pdf` output format; instead, pandoc tries to produce a pdf if the output file has a `.pdf` extension. (The output format can be latex -- the default for pdf output, latex+lhs, or beamer.) This seems more consistent with the way pandoc currently works (e.g. we have an `html5` output format, not an `--html5` option).
* Added --atx-headers option.John MacFarlane2012-01-26
|
* Reorganized --help output to match order of options in man page.John MacFarlane2012-01-25
|
* Added --slide-level option to override default.John MacFarlane2012-01-25
| | | | | | | | | | | | This allows users to select a slide level below the first header level with content. Note that content under sections above the slide level will not appear in slides (either in beamer or in HTML slide shows). This is primarily useful for creating documents that can be made into both slides and handouts (which contain additional content outside the slides).
* Slight edits to a couple error messages.John MacFarlane2012-01-21
|
* Removed `beamer` output format; added `--beamer` option.John MacFarlane2012-01-21
|
* pandoc: Better error checking.John MacFarlane2012-01-21
|
* Improved deprecation warnings for --html5, --offline.John MacFarlane2012-01-21
|
* pandoc: Removed deprecated --xetex option.John MacFarlane2012-01-21
|
* pandoc: Check for latex program earlier.John MacFarlane2012-01-21
|
* pandoc: Added optLaTeXProgram.John MacFarlane2012-01-21
|
* Refactored error reporting in pandoc.hs.John MacFarlane2012-01-20
|
* PDF: Use string instead of special TeXProgram type.John MacFarlane2012-01-20
|
* PDF: Better error message.John MacFarlane2012-01-20
|