summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* update manual accordinglyKolenCheung2016-10-09
|
* removed mmd raw_tex in src/Text/Pandoc/Options.hsKolenCheung2016-10-09
|
* add a temp file to keep track of all files involving markdown_mmd and ↵KolenCheung2016-10-09
| | | | multimarkdownExtensions
* Added a small clarification on --webtex with Markdown output.John MacFarlane2016-10-06
| | | | Thanks to @ickc.
* fix typoKolenCheung2016-10-06
|
* Replace Google Chart API by CodeCogsKolenCheung2016-10-06
|
* Docx writer: Move one more env var to Reader monadJesse Rosenthal2016-10-05
| | | | | | PrintWidth is set at the beginning and stays the same throughout the document writing, so we just set it as an env variable in the Reader monad.
* Docx writer: code legibility fixups.Jesse Rosenthal2016-10-05
| | | | More meaningful variable name, and explanatory comment.
* Docx writer: Clean up and streamline RTL behaviorJesse Rosenthal2016-10-04
| | | | | | | | | | | | Now RTL is turned and off by a general function, `withDirection` wrapping `inlineToOpenXML` and `blockToOpenXML`. This acts according to the `envRTL` variable. This means we can just set the environment at the outset, and change the environment with `local` as need be. Note that this requires making the `inlineToOpenXML` and `blockToOpenXML` functions into wrappers around primed-versions (`{inline,block}ToOpenXML`) where the real work takes place.
* Docx writer: move a couple more vars to ReaderTJesse Rosenthal2016-10-04
| | | | | | | | | | | | | | | In general, we want things that are either: 1. unchanging environment variables, or 2. environment variables that will change for a the scope of a function and then pop back to be in the reader monad. This is safer for (1), since we won't accidentally change it, and easier for (2), since we can use `local` instad of setting the old value and then resetting. We keep the StateT monad for values that we will want to accumulate or change and then use later.
* Merge pull request #3141 from ickc/masterJohn MacFarlane2016-10-04
|\ | | | | Update KaTeX to v0.6.0
| * Update KaTeX to v0.6.0KolenCheung2016-10-03
|/
* Clean up commented-out codeJesse Rosenthal2016-10-03
| | | | | A few commented out functions were left in the code during the conversion from StateT to ReaderT. This removes them.
* Remove bool on setRTL.Jesse Rosenthal2016-10-03
| | | | | | | We had to use this because we set the env, which means that setRTL wouldn't do anything at the top level. We now don't set the env (it will always be false at the outset), which means the toplevel setRTL will work if necessary.
* Filter text/para props correctly.Jesse Rosenthal2016-10-03
| | | | We only filter on the name, not the prefix.
* Add a boolean flag to the setRTL function.Jesse Rosenthal2016-10-03
| | | | At the toplevel we don't check to see if RTL is already set.
* Test for "dir" metadata.Jesse Rosenthal2016-10-03
|
* Add setRTL and setLTR functions.Jesse Rosenthal2016-10-03
|
* Move more enviroment vars to Reader Monad.Jesse Rosenthal2016-10-03
| | | | | Things that get pushed and then reset are better in ReaderT, because they can be run with `local`.
* Add ReaderT env to the docx writer:Jesse Rosenthal2016-10-03
| | | | | | | | This will allow us to add text and paragraph properties depending on if rtl is already set or not. (It would probably be cleaner and safer to move the paraprops and textprops to this part of the stack in the future.)
* MediaWiki writer: transform filename with underscores in images.John MacFarlane2016-10-02
| | | | | | | `foo bar.jpg` becomes `foo_bar.jpg`. This was already done for internal links, but it also needs to happen for images. Closes #3052.
* EPUB writer: use stringify instead of plain writer for metadata.John MacFarlane2016-10-02
| | | | | | | | This means that underscores won't be used for emphasis, or CAPS for bold. The metadata fields will just have unadorned text. Closes #3066.
* AsciiDoc writer: avoid unnecessary use of "unconstrained" emphasis.John MacFarlane2016-10-02
| | | | | | | | In AsciiDoc, you must use a special form of emphasis (double `__`) for intraword emphasis. Pandoc was previously using this more than necessary. Closes #3068.
* Revert overhasty bounds change for pandoc-types.John MacFarlane2016-10-02
|
* Use doctemplates 0.1.0.2.John MacFarlane2016-10-02
|
* Removed unneeded stack.hsb2hs.yaml.John MacFarlane2016-10-02
|
* Use doctemplates 0.1.0.1.John MacFarlane2016-10-02
|
* Added doctemplates to stack.lts6.yaml.John MacFarlane2016-10-02
|
* Moved template compiling/rendering code to a separate library.John MacFarlane2016-10-02
| | | | | | jgm/doctemplates. This allows the pandoc templating system to be used independently.
* Removed cabal 1.16 cruft from .travis.yml.John MacFarlane2016-10-01
|
* Merge pull request #3136 from nichtich/patch-1John MacFarlane2016-09-30
|\ | | | | Execute .js filters with node
| * Execute .js filters with nodeJakob Voß2016-09-30
|/
* Update changelog.John MacFarlane2016-09-28
|
* Markdown reader: added bracket syntax for native spans.John MacFarlane2016-09-28
| | | | | | | See #168. Text.Pandoc.Options.Extension has a new constructor `Ext_brackted_spans`, which is enabled by default in pandoc's Markdown.
* Updated test suite.John MacFarlane2016-09-28
|
* Updated changelogJohn MacFarlane2016-09-28
|
* LaTeX template: use footnote package to fix notes in tables.John MacFarlane2016-09-28
| | | | Thanks to Václav Haisman.
* revealjs template: Added `notes-server` option (Yoan Blanc).John MacFarlane2016-09-28
| | | | jgm/pandoc-templates#212
* Updated changelog.John MacFarlane2016-09-28
|
* LaTeX template: set default figure placement.John MacFarlane2016-09-28
| | | | | | | | | Thanks to Václav Haisman. This accompanies #3093. This change allows users to set the default figure placement for figures, instead of enforcing one choice. Users with custom templates will need to add this.
* Merge pull request #3093 from wilx/master-figure-placementJohn MacFarlane2016-09-28
|\ | | | | LaTeX: Do not set [htbp] figure placement options.
| * LaTeX: Do not set [htbp] figure placement options.Vaclav Zeman2016-08-29
| | | | | | | | | | | | Do not set `[htbp]` placement options on each figure to allow overriding them by them using `\fps@figure` redefintion either in header or in template.
* | Whitespace fixes.John MacFarlane2016-09-28
| |
* | Update MANUAL.txt for new filter behavior.Jesse Rosenthal2016-09-27
| |
* | Check `$DATADIR/filters` for filtersJesse Rosenthal2016-09-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the `$DATADIR/filters` is present, pandoc will look in it for filters specified without a path, before looking in the $PATH. Note that unlike executables in $PATH, the `filters` dir may contain scripts that are not executable (pandoc will try to execute them using an associated interpreter, if possible). Note: the `filters` dir has priority over the user path. In order of preference, pandoc will look in: 1. a specified full or relative path (executable or non-executable) 2. `$DATADIR/filters` (executable or non-executable) 3. `$PATH` (executable only) This closes #3127.
* | Updated man page and MANUAL date.John MacFarlane2016-09-26
| |
* | USe latest pandoc-citeproc in binary package stack.yaml.John MacFarlane2016-09-25
| |
* | Use p tags for subtitle, author, date in epub, revealjs, slidy templates.John MacFarlane2016-09-25
| | | | | | | | See #3119.
* | HTML template: use p instead of h1 for subtitle, author, date.John MacFarlane2016-09-25
| | | | | | | | Closes #3119.
* | Updated changelog.John MacFarlane2016-09-23
| |