summaryrefslogtreecommitdiff
path: root/src/pandoc.hs
Commit message (Collapse)AuthorAge
...
* Minor code formatting.John MacFarlane2011-01-16
|
* Moved --chapters to before --number-sections in option list.John MacFarlane2011-01-16
|
* Added --chapters option affecting docbook and latex.John MacFarlane2011-01-16
| | | | | | | | * Added writerChapters to WriterOptions. * Added --chapters command-line option. * --chapters causes top-level headers to be "chapter" instead of "section" in LaTeX and DocBook. * Resolves Issue #225.
* Improvements to --html5 support:John MacFarlane2011-01-11
| | | | | | | | | | | + <nav> for TOC, <figure> for figures, type attribute in <ol>. + Don't add math javascript in html5. + Use style attributes instead of deprecated width, align. + html template: move <title> after <meta>. Note: charset needs to be declared before title. + slidy and s5 templates: move <title> after <meta>. + html template: Added link to html5 shim for IE. + Make --html5 have an effect only for 'html' writer (not s5, slidy, epub).
* Preliminary support for HTML5.John MacFarlane2011-01-11
| | | | | | | | | | | + Added writerHtml5 writer option. + Added --html5 option. + Added support for lang in html tag (so you can do 'pandoc -s --V lang=en', for example). + Updated html template with conditionals for HTML5. + When HTML5 selected, use <header> tag around title in document, and use <section> tags instead of <div>s if --section-divs specified.
* pandoc: Test standalone' rather than standalone for final newline.John MacFarlane2011-01-07
|
* pandoc: Add newline to output unless standalone.John MacFarlane2011-01-06
| | | | | | | This avoids output that does not end with a newline, which is inconvenient when working with many tools. Updated tests accordingly.
* Added new prettyprinting module.John MacFarlane2010-12-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added Text.Pandoc.Pretty. This is better suited for pandoc than the 'pretty' package. One advantage is that we now get proper wrapping; Emph [Inline] is no longer treated as a big unwrappable unit. Previously we only got breaks for spaces at the "outer level." We can also more easily avoid doubled blank lines. Performance is significantly better as well. * Removed Text.Pandoc.Blocks. Text.Pandoc.Pretty allows you to define blocks and concatenate them. * Modified markdown, RST, org readers to use Text.Pandoc.Pretty instead of Text.PrettyPrint.HughesPJ. * Text.Pandoc.Shared: Added writerColumns to WriterOptions. * Markdown, RST, Org writers now break text at writerColumns. * Added --columns command-line option, which sets stColumns and writerColumns. * Table parsing: If the size of the header > stColumns, use the header size as 100% for purposes of calculating relative widths of columns.
* Support multiple bibliography files with natbib and biblatex output.Nathan Gass2010-12-15
|
* Added option to write citation markup in markdown writer.Nathan Gass2010-12-13
|
* Added support to write natbib or biblatex citations in latex output.Nathan Gass2010-12-13
|
* Recognize .json extension as json reader/writer.John MacFarlane2010-12-12
|
* Removed deprecated -C/--custom-header option.John MacFarlane2010-12-11
| | | | Use --template instead.
* Moved 'readers' and 'writers' to Text.Pandoc.John MacFarlane2010-12-10
| | | | This allows library users to avoid repetitive case statements...
* Removed HTML sanitization.John MacFarlane2010-12-10
| | | | | | | | | This is better done on the resulting HTML; use the xss-sanitize library for this. xss-sanitize is based on pandoc's sanitization, but improves it. - Removed stateSanitize from ParserState. - Removed --sanitize-html option.
* Added Org-mode writerPuneeth Chaganti2010-12-04
| | | | | | + Added Text/Pandoc/Writers/Org.hs + Added to pandoc.cabal + Added to pandoc.hs and Text/Pandoc.hs exports.
* Merge branch 'citeproc' into master.John MacFarlane2010-12-03
|\ | | | | | | | | Conflicts: src/Text/Pandoc/Definition.hs
| * Merge branch 'master' into citeprocJohn MacFarlane2010-11-27
| |\
| * | More flexible handling of --csl.John MacFarlane2010-11-23
| | | | | | | | | | | | | | | Look for csl files in ~/.csl if not found locally. Add .csl extension if it is not provided.
| * | Removed citeproc flag and CPP conditionals.John MacFarlane2010-11-23
| | |
| * | Citation related changes.John MacFarlane2010-11-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Don't look for bibliography in ~/.pandoc. Reason: doing this requires a read + parse of the bibliography even when the document doesn't use citations. This is a big performance drag on regular pandoc invocations. * Only look for default.csl if the document contains references. Reason: avoids the need to read and parse csl file when the document contains no references anyway. * Removed findFirstFile from Shared.
| * | Use default biblio.{xml,json,bib} in pandoc data dir if none specified.John MacFarlane2010-11-19
| | |
| * | If --csl not specified, read from data files or default.John MacFarlane2010-11-18
| | | | | | | | | | | | Thus --csl behaves like --reference-odt, --template, etc.
| * | Removed unneeded format argument in call to readBiblioFile.John MacFarlane2010-11-16
| | |
| * | Improve handling of bibliography not found error.John MacFarlane2010-11-13
| | |
| * | Replaced --biblio-file with --bibliography, removed --biblio-format.John MacFarlane2010-11-13
| | | | | | | | | | | | | | | | | | | | | Bibliography format is guessed from the file extension of the bibliography. Also, the bibliography entries are now read during option parsing.
| * | Merge branch 'master' into citeprocJohn MacFarlane2010-11-12
| |\ \
| * | | Changes to use citeproc 0.3.John MacFarlane2010-10-27
| | | | | | | | | | | | | | | | | | | | Patch from Andrea Rossato. Note: the markdown syntax is preliminary and will probably change.
* | | | Use textile reader by default for .textile extension.John MacFarlane2010-12-03
| | | |
* | | | Basic Textile Readerpaul.rivier2010-12-03
| |_|/ |/| |
* | | Merge branch 'textile'John MacFarlane2010-11-27
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | Conflicts: README man/man1/pandoc.1.md pandoc.cabal
| * | Added Textile writer module.John MacFarlane2010-05-17
| | |
* | | Treat argument as URI only if it has http(s) scheme.John MacFarlane2010-11-12
| |/ |/| | | | | | | | | Previously pandoc would treat the c: in some windowns filespecs as a URI scheme and try to download... Thanks to Peter Wang for pointing this out.
* | Added support for MathJax for displaying math in HTML.John MacFarlane2010-10-26
| | | | | | | | | | | | | | | | Added --mathjax option. Added MathJax to HTMLMathMethod. Supported MathJax in HTML writer. Resolves Issue #259.
* | Process LaTeX macros in markdown, and apply to TeX math.John MacFarlane2010-10-26
| | | | | | | | | | | | | | | | | | | | | | Example: \newcommand{\plus}[2]{#1 + #2} $\plus{3}{4}$ yields: 3+4
* | Changed --help message for --variable to KEY:VALUE.John MacFarlane2010-10-24
| | | | | | | | Was previously FILENAME.
* | Encode filenames as UTF8.John MacFarlane2010-09-10
| | | | | | | | Resolves Issue #252 (pandoc doesn't properly handle unicode filenames).
* | --offline implies --standalone.John MacFarlane2010-07-24
| |
* | Moved Text.Pandoc.Writers.S5 -> Text.Pandoc.S5.John MacFarlane2010-07-22
| | | | | | | | Now it doesn't export a writer, just some CSS and JS.
* | Moved s5 writing from S5 module to HTML.John MacFarlane2010-07-22
| | | | | | | | | | Now s5 is handled in more or less the same way as slidy, as a variant of HTML.
* | Extended --offline to s5.John MacFarlane2010-07-22
| | | | | | | | | | S5 default is now to include links, rather than a full copy of scripts and stylesheets.
* | Added new --offline option for slidy.John MacFarlane2010-07-22
| | | | | | | | Added slidy/slidy.min.{css,js}.
* | Export HTMLSlideVariant in Text.Pandoc.John MacFarlane2010-07-22
| |
* | Avoid shadowing when compiling with citeproc.John MacFarlane2010-07-21
| |
* | Made spacing at end of output more consistent.John MacFarlane2010-07-20
| | | | | | | | | | | | | | | | | | | | | | | | Previously some of the writers added spurious whitespace. This has been removed, resolving Issue #232. NOTE: If your application combines pandoc's output with other text, for example in a template, you may need to add spacing. For example, a pandoc-generated markdown file will not have a blank line after the final block element. If you are inserting it into another markdown file, you will need to make sure there is a blank line between it and the next block element.
* | Added --section-divs option.John MacFarlane2010-07-15
| | | | | | | | | | | | | | + Header identifiers now get attached to the headers, unless --section-divs is specified, in which case they are added to enclosing divs. By default, the divs are not added. + Resolves Issue #230, #239.
* | Added --webtex option for HTML math.John MacFarlane2010-07-15
| | | | | | | | | | | | | | | | | | + Added --webtex command-line option, with optional parameter. (Defaults to using google charts API.) + Added WebTeX HTMLMathMethod. + Removed MimeTeX HTMLMathMethod. (WebTeX is generic and subsumes it.) + Modified --mimetex option to use WebTeX. + Thanks to lpeterse for the idea and some of the code.
* | Added a slidy writer.John MacFarlane2010-07-13
| | | | | | | | Resolves Issue #122.
* | Moved headerShift from pandoc.hs to Shared.John MacFarlane2010-07-11
| |
* | Get default stylesheet in EPUB writer, rather than pandoc.hs.John MacFarlane2010-07-08
| |