| Age | Commit message (Collapse) | Author |
|
The `T.P.Lua.writeCustom` function changed to allow either a TextWriter
or ByteStringWriter to be returned. The global variables
`PANDOC_DOCUMENT` and `PANDOC_WRITER_OPTIONS` are no longer set when the
writer script is loaded. Both variables are still set in classic writers
before the conversion is started, so they can be used when they are
wrapped in functions.
|
|
in favor of writeJatsArchiving.
|
|
This exports `toName`, which previously had been part of
T.P.Citeproc.BibTeX. T.P.Readers.RIS,EndNote can now depend on
this module without transitively depending on the LaTeX reader,
which is used in T.P.Citeproc.BibTeX.
Closes #8345.
|
|
in the limited contexts that accept it.
Closes #8344.
|
|
Print flag settings (lua, server) and versions of all relevant packages.
Add suffix for nightly builds.
Move `nightly` flag from pandoc to pandoc-cli.
Closes #8339.
|
|
|
|
The flag 'lua53` must now be used with that package if pandoc is to be
compiled against Lua 5.3.
|
|
|
|
|
|
|
|
|
|
Pass the scripting engine as a parameter so it can be swapped out.
|
|
The function returns the Lua scripting engine.
|
|
The module Text.Pandoc.Filter.Lua has been merged into Text.Pandoc.Lua.
The function `applyFilter` now has type
``` haskell
applyFilter :: (PandocMonad m, MonadIO m)
=> Environment-> [String]-> FilePath-> Pandoc-> m Pandoc
```
where `Environment` is defined in Text.Pandoc.Filter.Environment.
|
|
|
|
The functions `writeCustom` and `readCustom` are available from module
Text.Pandoc.Lua.
|
|
The exit code for this error is 89.
|
|
The module contains the central data structure for scripting engines.
|
|
and add a new `pandocVersion` value with type `Version`. This is
consistent with the type used for `pandocTypesVersion` and allows to use
the value where a Version type is required.
|
|
|
|
|
|
|
|
[API change] Add writerListTables to WriterOptions.
RST writer: Remove sensitivity to "list-table" class in table attributes.
Instead, just check `writerListTables` in writer options.
See #4564.
|
|
When a table is marked with a "list-table" attribute class, it will
now be rendered using the list table syntax documented here
http://docutils.sourceforge.net/docs/ref/rst/directives.html#list-table
|
|
...and include the `svg` package.
Closes #8334.
|
|
tt is a deprecated element in HTML, but is still used in the wild in
some places, support reading it as just another 'code' element.
Commit 4abb9d0ad8dbb88fbc443a78d5a1b116cb7a5816 was originally
part of this PR as well.
|
|
It was no longer being parsed as Code.
See #8330.
|
|
If a link text contains a link, we replace it with a span.
See #7585.
|
|
|
|
|
|
|
|
|
|
[API change]
|
|
[API change]
|
|
|
|
|
|
This field is not officially supported, but many styles
can handle it (<https://www.bibtex.com/f/url-field/>),
and others will ignore it.
Closes #8287.
|
|
|
|
instead of generating an invalid command in the preamble.
Closes #8325.
|
|
This is a change in the term's canonical name in citeproc.
As a result of this change, `sub verbo` locators have not worked
in pandoc since citeproc 0.7.
This patch fixes `sub verbo`.
Closes #8315.
|
|
|
|
Previously we whitelisted the language for begin_src, and produced
begin_example if the language was not found on the whitelist.
Closes #8278.
|
|
|
|
This also removes the unnecessary Setup.hs from pandoc.
Cabal does not need this with build-type 'simple'.
|
|
The caption of headless tables was repeated on each page that contained
part of the table. It is now made part of the "first head", i.e. the
table head that is printed only once.
|
|
|
|
Motivation: now we need not have any logic referring to hslua
types (LuaE) in T.P.Filter.Lua. This restricts the parts of Pandoc
that deal directly with hslua to T.P.Lua (and in tests,
Tests.Lua).
[API changes]
T.P.Lua now exports `applyFilter`, `readCustom`, and `writeCustom`.
The lower-level function `runFilterFile` is no longer exported.
|
|
(Unexported modules, presently.)
These contain the definitions of `readCustom` and `writeCustom`
that were previously in T.P.Readers.Custom and T.P.Writers.Custom.
Motivation is to ensure that all of the Lua-related code is under
the T.P.Lua tree. This will make it easier to make pandoc-lua
a separate package or put lua support under a flag, if we decide to
do that.
|
|
[API change]
|
|
Previously they were being translated to eqn as inline equations.
Closes #8308.
|