| Commit message (Collapse) | Author | Age |
| |
|
|\ |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Removed writerDocbookVersion in WriterOptions.
Renamed default.docbook template to default.docbook4.
Allow docbook4 as an output format.
But alias docbook = docbook4.
|
| |
| |
| |
| | |
Also include explicit epub2 output format in CLI tool.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Text.Pandoc.Writers.HTML: removed writeHtml, writeHtmlString,
added writeHtml4, writeHtml4String, writeHtml5, writeHtml5String.
* Removed writerHtml5 from WriterOptions.
* Renamed default.html template to default.html4.
* "html" now aliases to "html5"; to get the old HTML4 behavior,
you must now specify "-t html4".
|
| |
| |
| |
| | |
This reverts commit f02a12aff638fa2339192231b8f601bffdfe3e14.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The type is implemented in terms of an underlying bitset
which should be more efficient.
API change: from Text.Pandoc.Extensions export Extensions,
emptyExtensions, extensionsFromList, enableExtension, disableExtension,
extensionEnabled.
|
| |
| |
| |
| |
| |
| | |
API change.
However, Extensions exports Options, so this shouldn't have
much impact.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Remove exported module `Text.Pandoc.Readers.TeXMath`
* Add exported module `Text.Pandoc.Writers.Math`
* The function `texMathToInlines` now lives in `Text.Pandoc.Writers.Math`
* Export helper function `convertMath` from `Text.Pandoc.Writers.Math`
* Use these functions in all writers that do math conversion.
This ensures that warnings will always be issued for failed
math conversions.
|
| |
| |
| |
| |
| | |
We don't have a good way to set things that aren't in the common
state. That will be the next order of business.
|
| | |
|
| | |
|
| |
| |
| |
| | |
This can be instantiated by both an IO monad or a pure State monad.
|
| |
| |
| |
| |
| | |
These work with a State monad and a Reader monad to produce
deterministic results. It can probably be simplified somewhat.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Introduce a new module, Text.Pandoc.Free, with pure versions, based on
the free monad, of numerous IO functions used in writers and
readers. These functions are in a pure
Monad (PandocAction). PandocAction takes as a parameter the type of
IORefs in it. It can be aliased in individual writers and readers to
avoid this parameter.
Note that this means that at the moment a reader can only use one type
of IORef. If possible, it would be nice to remove this limitation.
|
| | |
|
| | |
|
| | |
|
|/ |
|
|
|
|
| |
Closes #3363.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
So far this just reproduces capacity.
Later we'll be able to add features like warning
messages, dynamic loading of xml syntax definitions,
and dynamic loading of themes.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
+ Removed Text.Pandoc.Readers.Docx.Fonts
+ Moved its code to texmath; we now use (from texmath 0.9)
Text.TeXMath.Unicode.Fonts
+ Use texmath 0.9 (currently from git).
+ Updated epub tests because texmath now handles more mathml.
|
| |
|
|
|
|
| |
See #3169.
|
| |
|
| |
|
|
|
|
|
|
|
| |
Only works on posix. On Windows, pandoc works as before and
requires an output file parameter for binary formats.
Closes #2677.
|
|\
| |
| | |
Use the markdown version of COPYING from GNU
|
| |
| |
| |
| | |
From https://www.gnu.org/licenses/old-licenses/gpl-2.0.md
|
| | |
|
| |
| |
| |
| | |
Use exported Arbitrary instances from pandoc-types instead.
|
| |
| |
| |
| |
| | |
Previously we required 0.5.
Remove CPP conditionals for earlier versions.
|
|/ |
|
| |
|
| |
|
|
|
|
|
|
| |
jgm/doctemplates.
This allows the pandoc templating system to be used independently.
|
| |
|
|
|
|
|
|
|
| |
We already lower-bound tagsoup at 0.13.7, which means we were always
running the compatibility layer (it was conditional on min value
0.13). Better to just use `lookupEntity` from the library directly, and
convert a string to a char if need be.
|