Age | Commit message (Collapse) | Author | Files | Lines |
|
Some code was duplicated (copy-pasted) or placed in an inappropriate
module during the modularization refactoring. Those functions are moved
into a `Shared` module, as was originally intended but forgotten.
Better documentation of the respective functions is a positive
side-effect.
|
|
Block parsing code is moved to a separate module.
This is part of the Org-mode reader cleanup effort.
|
|
Inline parsing code is moved to a separate module. Parsers for block
starts are extracted as well, as those are used in the `endline` parser.
This is part of the Org-mode reader cleanup effort.
|
|
The Org-mode reader uses many functions defined in the
`Text.Pandoc.Parsing` utility module. Some of the functions are
overwritten with versions adapted to Org-mode idiosyncrasies. These
special functions, as well as the normal Pandoc versions, are combined
in a single module to increase the ease of use.
This leads to decoupling of Org-mode and Pandoc and hence to slightly
cleaner code. The downside is code-bloat due to repeated import/export
statements.
|
|
|
|
This reverts commit 285bbf61cf2b21278792e48aee7c25fa0ee62faa.
|
|
This reverts commit 07a4320ba97cdd219e5cbb18f21dbbda00bc5543.
|
|
We need `createProcess_` to be exported.
|
|
Org reader: basic support for export settings
|
|
The org reader code has become large and confusing. Extracting smaller
parts into submodules should help to clean things up.
|
|
Now instead of using `findExecutable`, which has limitations
on Windows, we just do `progname --version` and see if it
returns successfully. Closes #2903.
|
|
|
|
We need a minor version bump because of the addition
of `writerDocbook5` to `WriterOptions`.
|
|
Closes several texmath-related bugs: #2775, #2310, #2310.
This fixes issues with sub/superscript positioning and
matrix column alignment in docx.
|
|
|
|
This fixes behavior of roots, e.g. `\sqrt[3]{x}`.
See #2824.
|
|
|
|
closes #2811
|
|
|
|
|
|
|
|
The docx reader used to use a Modifiable typeclass to combine both
Blocks and Inlines. But all the work was in the inlines. So most of the
generality was wasted, at the expense of making the code harder to
understand. This gets rid of the generality, and adds functions for
Blocks and Inlines. It should be a bit easier to work with going forward.
|
|
|
|
This fixes entity-related problems.
Closes #2734.
|
|
|
|
API change in type of Text.Pandoc.Shared.uniqueIdent.
|
|
|
|
|
|
|
|
See fpco/stackage#1096.
|
|
|
|
This reverts commit 363ecfebc32c6fe15d81634422e8607847f588fb.
|
|
Windows cmd doesn't expand wildcards; the application has to
do this. So on windows we use 'glob' to expand.
|
|
Avoids the dreaded "the version of cabal being used has
changed" error.
https://www.reddit.com/r/haskell/comments/3f4bgr/the_version_of_cabal_being_used_has_changed/
|
|
|
|
|
|
|
|
|
|
Closes #2605.
|
|
|
|
|
|
mb21-new-image-attributes
* Bumped version to 1.16.
* Added Attr field to Link and Image.
* Added `common_link_attributes` extension.
* Updated readers for link attributes.
* Updated writers for link attributes.
* Updated tests
* Updated stack.yaml to build against unreleased versions of
pandoc-types and texmath.
* Fixed various compiler warnings.
Closes #261.
TODO:
* Relative (percentage) image widths in docx writer.
* ODT/OpenDocument writer (untested, same issue about percentage widths).
* Update pandoc-citeproc.
|
|
|
|
|
|
Otherwise they don't get into the tarball. Closes #2537.
|
|
|
|
This is enabled by default in `markdown_github`.
Added `Ext_emoji` to `Extension` in `Text.Pandoc.Options` (API change).
Closes #2523.
|
|
|
|
Don't use custom prelude for latest ghc.
This is a better approach to making 'stack ghci' and 'cabal repl'
work. Instead of using NoImplicitPrelude, we only use the custom
prelude for older ghc versions. The custom prelude presents a
uniform API that matches the current base version's prelude.
So, when developing (presumably with latest ghc), we don't
use a custom prelude at all and hence have no trouble with ghci.
The custom prelude no longer exports (<>): we now want to
match the base 4.8 prelude behavior.
|
|
This reverts commit c423dbb5a34c2d1195020e0f0ca3aae883d0749b.
|