Albert Krewinkel
d1083e15cb
Require hslua-module-path 1.0.3
...
Fixes : #8228
2022-08-19 13:11:08 +02:00
John MacFarlane
ec71e8e05c
stack.yaml - update pandoc-types
2022-08-18 22:51:57 -07:00
Albert Krewinkel
e6d4501feb
Use latest gridtables-0.0.3.0
...
This restores undocumented behavior which allowed to grid tables to have
separator lines that have fewer characters than the cell they delimit.
2022-08-18 23:30:36 +02:00
John MacFarlane
8ddc2fc79a
Integrate server into main pandoc.
...
- Remove server flag.
- Remove pandoc-server executable.
- Add Text.Pandoc.Server as exposed module. [API change]
- Re-use Opt (and our existing FromJSON instance) for Params.
- Document.
2022-08-17 12:28:14 -07:00
John MacFarlane
e4a7ed9e36
stack.yaml - fix server flag.
2022-08-07 23:01:28 -07:00
John MacFarlane
ccc195a983
Remove trypandoc flag from stack.yaml
2022-08-06 16:56:13 -07:00
Albert Krewinkel
fc3b9e763f
Use dev version of gridtables.
...
Closes : #8216
2022-08-05 13:48:30 +02:00
John MacFarlane
6ffc489395
stack.yaml - add skylihting-format-ansi to extra-deps.
2022-08-03 21:45:09 -07:00
John MacFarlane
54f07d259d
stack.yaml - update extra-deps.
2022-08-03 21:17:17 -07:00
John MacFarlane
47796aa89e
Use latest released versions of citeproc, texmath.
2022-08-03 10:44:12 -07:00
Albert Krewinkel
c015c35a8a
Support rowspans and colspans in grid tables ( #8202 )
...
* Add tests for zero-width and fullwidth chars in grid tables
* T.P.Parsing: simplify `gridTableWith'`, `gridTableWith` [API Change]
The functions `gridTableWith` and `gridTableWith'` no longer takes a
boolean argument that toggles whether a table head should be parsed:
both, tables with heads and without heads, are always accepted now.
* Support colspans, rowspans, and multirow headers in grid tables.
Grid tables in Markdown, reStructuredText, and Org can now contain cells
spanning over multiple columns and/or multiple rows; table headers
containing multiple rows are supported as well.
Note: the markdown writer does not yet support these more complex grid
table features.
2022-07-30 08:56:44 -07:00
John MacFarlane
e04ea99326
Use dev version of texmath.
2022-07-22 11:23:45 +02:00
Albert Krewinkel
c724e9cb7c
Require pandoc-lua-marshal 0.1.7
...
Adds a `clone` methods to Pandoc objects and allows to pass Blocks in
instead of full Caption elements.
2022-07-16 15:29:18 +02:00
John MacFarlane
9d256aa19b
Use latest dev citeproc
2022-07-11 23:40:13 +02:00
John MacFarlane
3571352a0a
Use citeproc 0.8.
2022-07-01 12:12:58 +02:00
Albert Krewinkel
6d351df1ed
Lua: ensure that tables marshaled via JSON arrays behave like Lists.
...
This allows to invoke methods like `map` and `includes` on lists like
`PANDOC_WRITER_OPTIONS.extensions`.
2022-06-23 22:53:11 +02:00
Albert Krewinkel
0f573a5368
Require hslua-2.2.1, unless lua53 flag is set.
...
This fixes a problem where the encoding used for Lua filenames would
sometimes mismatch the encoding used by the OS. The file wasn't found
when that happened, for example with an umlaut-containing filename on
Windows. The change ensures that all characters of available in the
default locale can be used in the filename.
2022-06-19 14:30:27 +02:00
John MacFarlane
a6344893b0
Use dev version of citeproc.
2022-06-15 10:52:26 -06:00
Albert Krewinkel
461566aa80
stack.yaml: fix pandoc-lua-marshal version
2022-06-03 11:20:43 +02:00
John MacFarlane
9aff86143e
Require skylighting 0.12.3.1 and update tests.
2022-05-31 19:49:27 -07:00
John MacFarlane
9867b9f8fb
stack.yaml: Use latest unicode-transforms.
2022-04-04 09:40:05 -07:00
John MacFarlane
836c3c5241
stack.yaml - use latest hslua-module-doclayout.
2022-04-03 23:29:14 -07:00
John MacFarlane
c18bb2ab58
Use latest doclayout (0.4)
2022-04-03 23:13:48 -07:00
John MacFarlane
86e53a5dd7
Use released commonmark 0.2.2, commonmark-extensions 0.2.3.1.
2022-04-02 14:27:17 -07:00
John MacFarlane
feb5b03976
Use citeproc 0.7.
2022-04-02 13:33:05 -07:00
John MacFarlane
dec0455725
Use released version of texmath.
2022-04-02 11:21:36 -07:00
John MacFarlane
7ac72fd549
Use released pandoc-types 1.22.2.
2022-04-02 10:13:58 -07:00
John MacFarlane
63de34481a
stack.yaml - remove redundant clause for doclayout.
2022-03-30 14:09:40 -07:00
John MacFarlane
ac2bf2f372
Use latest dev doclayout, pandoc-types
2022-03-30 13:19:06 -07:00
John MacFarlane
f2eb52ad80
Use current dev versions of citeproc, doclayout.
2022-03-23 13:51:14 -07:00
John MacFarlane
5fdcb36c80
Use latest dev citeproc.
2022-03-23 08:52:47 -07:00
John MacFarlane
e2d05626fc
Use latest dev texmath.
2022-03-20 11:51:31 -07:00
John MacFarlane
d128f5ee15
Depend on latest dev texmath.
2022-03-12 10:23:55 -08:00
John MacFarlane
d523eca3d3
Use dev version of pandoc-types.
...
This allows toJSONFilter to work with Meta and MetaValue.
2022-03-11 10:23:06 -08:00
John MacFarlane
f387d9bcd6
Use latest dev commonmark-extensions.
...
Closes #7942 .
2022-02-27 22:42:38 -08:00
John MacFarlane
0ae7b1e1f8
Update texmath version to build against.
2022-02-24 08:54:16 -08:00
John MacFarlane
ba337866e4
Use latest dev texmath.
2022-02-23 10:00:38 -08:00
Albert Krewinkel
a3117bc142
Relax upper bound for hslua, allow hslua-2.2. ( #7929 )
...
Lua 5.4 is used by default after this is merged. Packagers may still include Lua 5.3
instead by building pandoc with `--constraint='hslua <2.2'`.
Differences between 5.3 and 5.4 should not generally affect pandoc Lua filters.
See list of incompatible changes here <https://www.lua.org/manual/5.4/manual.html#8.1 >
2022-02-19 11:26:18 -08:00
John MacFarlane
2a70d9c3c5
Require skylighting 0.12.3.
2022-02-18 12:00:39 -08:00
Albert Krewinkel
910296b745
Lua: Use pandoc-lua-marshal 0.1.5.
...
- Allow any type of callable object as argument to List
functions `filter`, `map`, and `find_if`. These previously
required the argument to be of type `function`, which was too
restrictive.
- Inline: the type of Image captions is now `Inlines` instead
of `List`.
2022-02-17 16:00:20 +01:00
John MacFarlane
139bcb9614
Use latest dev commonmark-extensions.
2022-02-13 13:33:54 -08:00
John MacFarlane
495ae605e3
Use latest dev commonmark, commonmark-extensions.
2022-02-13 12:47:51 -08:00
John MacFarlane
4b1cddd292
Depend on latest commonmark.
...
This resolves an issue with commonmark_x's support of
strikeout.
2022-02-12 15:31:06 -08:00
Albert Krewinkel
49f1e7608e
Lua: add module pandoc.layout
to format and layout text
2022-02-06 16:01:24 -08:00
John MacFarlane
54279149ab
Use unreleased citeproc.
2022-02-03 07:37:13 -08:00
Albert Krewinkel
412596c30b
Switch to hslua-2.1
...
This allows for some code simplification and improves stability.
2022-01-29 08:43:14 -08:00
John MacFarlane
89c8f2866e
Use skylighting 0.12.2.
2022-01-19 15:44:27 -08:00
John MacFarlane
7f4907b2ce
Use commonmark-pandoc 0.2.1.2.
...
Fixes #7769 .
2022-01-14 10:07:06 -08:00
John MacFarlane
a8be26b43d
Add pandoc-lua-marshal-0.1.3.1 to stack.yaml
2022-01-14 10:07:01 -08:00
John MacFarlane
c9d309d84b
Use commonmark-extensions 0.2.3.
2022-01-12 09:58:45 -08:00