summaryrefslogtreecommitdiff
path: root/src/pandoc.hs
Commit message (Collapse)AuthorAge
...
* 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
|
* pandoc: Output to pdf now works.John MacFarlane2012-01-20
|
* PDF: Removed TeXError type, just return a bytestring.John MacFarlane2012-01-20
|
* Added Docx writer.John MacFarlane2012-01-19
| | | | | | | | | | | * New module `Text.Pandoc.Docx`. * New output format `docx`. * Added reference.docx. * New option `--reference-docx`. The writer includes support for highlighted code blocks and math (which is converted from TeX to OMML using texmath's new OMML module).
* New treatment of dashes in --smart mode.John MacFarlane2012-01-01
| | | | | | | | | | | | * `---` is always em-dash, `--` is always en-dash. * pandoc no longer tries to guess when `-` should be en-dash. * A new option, `--old-dashes`, is provided for legacy documents. Rationale: The rules for en-dash are too complex and language-dependent for a guesser to work reliably. This change gives users greater control. The alternative of using unicode isn't very good, since unicode em- and en- dashes are barely distinguishable in a monospace font.
* Unescape entities in citation refId.John MacFarlane2011-12-29
| | | | | | | | Closes #357. The refIds coming from citeproc contain XML numeric entities, and these don't match with the citation keys parsed by pandoc. Solution is to unescape them.
* DZSlides: Added dzslides/template.html.John MacFarlane2011-12-29
| | | | | | | | | | | | | | | | | | This is the unaltered file from the dzslides repository. Pandoc now reads it, looking for the core part, and includes this in the new dzslides template via the 'dzslides-core' variable. When dzslides is updated, you can just put the new template.html in your `~/.pandoc/dzslides` directory, and things should work -- provided the core part can be identified as everything from <!-- {{{{ dzslides core to the end of the file. This should make it a bit easier to keep up to date.
* Made `--version` informative about versions of dependencies.John MacFarlane2011-12-29
|
* Better formatting for list of highlighting languages.John MacFarlane2011-12-29
|
* Added "beamer" a few places where we test for latex.John MacFarlane2011-12-29
|
* Don't use `--smart` automatically with `man` output.John MacFarlane2011-12-29
| | | | | Previously pandoc used smart mode automatically when `man` output was selected.
* Better formatting of input/output formats in `--help`.John MacFarlane2011-12-29
|
* Made `html5` and `html5+lhs` output formats.John MacFarlane2011-12-29
| | | | | Deprecated the `--html5`/`-5` flag. Use the output format instead.
* Added `--highlight-style` and `--no-highlight` options.John MacFarlane2011-12-27
|
* Removed highlighting flag. Highlighting support is now standard.John MacFarlane2011-12-22
|
* Added writerHighlight to WriterOptions.John MacFarlane2011-12-22
|
* Use blaze-html instead of xhtml for HTML generation.John MacFarlane2011-12-17
| | | | | | | | | | | * This is a breaking API change for `writeHtml`. * It introduces a new dependency on blaze-html. * Pandoc now depends on highlighting-kate >= 0.4, which also uses blaze-html. * The --ascii option has been removed, because of differences in blaze-html's and xhtml's escaping. * Pandoc will no longer transform leading newlines in code blocks to `<br/>` tags.
* New slidy directory for "self-contained."John MacFarlane2011-12-03
|
* pandoc.hs : changed a couple `writerName` to `writerName'`.John MacFarlane2011-11-23
| | | | | This fixes a bug in which `pandoc --self-contained` would only work properly if `-t html` were specified explicitly.
* Set `--standalone` implicitly when non-text output format.John MacFarlane2011-11-22
| | | | | | | | (ODT, EPUB). This restores pandoc's previous behavior. You can again do `pandoc test.txt -o test.odt` and get a standalone ODT file. Resolves #351.
* Added --self-contained, integrated into src/pandoc.hs.John MacFarlane2011-11-21
| | | | | | --offline is now a deprecated synonym for --self-contained. TODO: Documentation, remove old S5 module.
* Added an asciidoc writer (partial).John MacFarlane2011-11-16
| | | | | | | | | | | | | Still TODO: - documentation in README - add default.asciidoc to templates/ - lists - tables - proper escaping - footnotes with blank lines - print separately at end? currently they are just ignored. - fix header (date gives weird result on pandoc README)
* Implemented --citation-abbreviations option.John MacFarlane2011-11-11
| | | | Mostly due to Andrea Rossato.
* Removed redundant import.John MacFarlane2011-10-26
|
* Added dzslides output option.John MacFarlane2011-10-01
| | | | | | * Added DZSlides to HTMLSlideVariant. * Added support for dzslides in HTML writer. * Added dzslides template.
* Fixed slidy css.John MacFarlane2011-07-24
| | | | | | * Use non-minimized version of `slidy.css` with `--offline` option, so users can more easily edit it. * Fixed bug in slidy css that prevented proper centering of title.
* Changed `--mathjax` to link to mathjax CDN by default.John MacFarlane2011-07-23
| | | | | | `--mathjax` now takes an optional URL argument. If it is not provided, pandoc links directly to the (secure) mathjax CDN. This is what they now recommend. Thanks to dsanson.
* Changed default template naming scheme.John MacFarlane2011-07-22
| | | | | | | | | Instead of latex.template, we now have default.latex. An appropriate extension is added automatically if the value of `--template` has no extension. So, `pandoc --template=special -t latex` looks for `special.latex`, while `pandoc --template=special -t man` looks for `special.man`.
* Look for value of --template in datadir if not found.John MacFarlane2011-07-22
| | | | | This way, you can put your special.template.latex in ~/.pandoc and use it from any directory.
* Deprecated `--xetex` option - it is no longer needed.John MacFarlane2011-07-22
| | | | | | | | | | Deprecated `writerXeTeX` and the `--xetex` option. The latex writer now produces a file that can be processed by latex, pdflatex, lualatex, or xelatex, so this option isn't needed. The option is still neded in markdown2pdf, however, which has been modified to take some options that aren't in pandoc.
* Revert API change in EPUB writer.John MacFarlane2011-04-16
| | | | | | | Instead of passing the epub cover image as a parameter, we now pass it in the list of variables. This avoids the API change introduced in f5cbb68534c52b292c57aaf741ab94442ddadd7a without losing the new functionality.
* Added --epub-cover-image option.John MacFarlane2011-03-13
| | | | | | | | API change: Added a parameter for the cover image path to writeEPUB. Followed best practices outlined in http://blog.threepress.org/2009/11/20/best-practices-in-epub-cover-images/
* pandoc.hs: Updated copyright notice.John MacFarlane2011-02-06
|
* Added --ascii option.John MacFarlane2011-02-06
| | | | Currently supported only in HTML writer.
* pandoc.hs: Simplified code for writing result.John MacFarlane2011-01-30
|
* Add possibility to use listings package for code blocks andJosef Svenningsson2011-01-28
| | | | inline code in the LaTeX writer.
* RTF writer: Embed images when possible.John MacFarlane2011-01-28
| | | | | | * Resolves Issue #275. * PNG and JPEG supported. * Export rtfEmbedImage.
* Default to textile writer on .textile extension.John MacFarlane2011-01-23
|
* Added --normalize option.John MacFarlane2011-01-20
|
* Removed '--no-citeproc' as alias for '--natbib'.John MacFarlane2011-01-16
| | | | | This was confusing, I think, as no-citeproc could be either natbib or biblatex.