luz paz
aff726b460
Fix typos
...
Found via `codespell -q 3 -S changelog.md -L bu,fo,ist,mke,multline,noes,ot,pard,pres,tabl,te,tothe`
2022-08-21 20:23:00 -07:00
John MacFarlane
d3aa51b1ee
pandoc-server.cgi: allow setting timeout
...
via PANDOC_SERVER_TIMEOUT environment variable.
2022-08-18 22:33:19 -07:00
John MacFarlane
6534caf7cb
pandoc-server.md: fix typo
2022-08-17 16:34:43 -07: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
Albert Krewinkel
5a99747063
Lua: add function pandoc.utils.citeproc
...
The function runs the *citeproc* processor on a Pandoc document.
Exposing this functionality to Lua allows to make citation processing
part of a filter or writer, simplifies the creation of multiple
bibliographies, and enables the use of varying citation styles in
different parts of a document.
2022-08-13 12:30:13 -07:00
Albert Krewinkel
4633fc3ca0
doc/libraries.md: add hslua packages written specifically for pandoc
2022-08-02 11:09:51 +02:00
John MacFarlane
bec41531fc
Add gridtables to doc/libraries.md.
2022-07-30 09:56:51 -07:00
John MacFarlane
4ba72aaa2e
Fix bug in filter example. Thanks to Jiří Wolker.
2022-07-27 08:40:31 -07:00
Albert Krewinkel
daef24f022
Lua: extend pandoc.system module. ( #8184 )
...
The module now has the additional functions `list_directory`,
`make_directory`, and `remove_directory`. This makes it easier to write
cross-platform scripts that need to inspect or modify the file system.
2022-07-15 21:22:33 +02:00
John MacFarlane
7119fee963
lua-filters.md: Add link to @wlupton's logging.lua.
...
Closes #8146 .
2022-07-15 21:18:21 +02:00
Albert Krewinkel
12cc140272
Lua: add fields pandoc.readers
and pandoc.writers
. ( #8177 )
...
The set of supported input and output formats is made available to Lua
users.
2022-07-12 20:14:42 +02:00
John MacFarlane
f2f9c896ee
Add FAQ on preventing column widths in pipe tables.
...
See #8139 .
2022-07-04 13:35:12 +02:00
Masataka Ogawa
6c31cae68b
Update filter.md Noto Sans CJK TC -> JP ( #8153 )
...
Noto Sans CJK TC, that is suggested as a character set that contains Japanese characters, may not be suitable to properly display Japanese characters. Rather, Noto Sans CJK JP is much more recommendable for that purpose.
Although some characters originated from China are quite similar among countries/regions, most of them have evolved into different shapes in Mainland China, Hong Kong, Taiwan, Japan, Korea, and Vietnam. Therefore, it is best to use a character set that the language of the country/region uses for the readability/recongnizability sake. See also [an webpage that discusses the glyph appearance issue in Chinese, Japanese, Korean, and Vietnamese languages](https://heistak.github.io/your-code-displays-japanese-wrong/ ).
[README of Noto CJK](https://github.com/googlefonts/noto-cjk/blob/main/README.md ) may be also good resource to know which font should be used to display characters of each language.
2022-06-30 14:48:45 +02:00
Albert Krewinkel
41af476a3d
JATS template: mark authors with cor-id as corresponding authors
...
Corresponding authors are marked by setting the attribute
`corresp="yes"` in their respective `<contrib>` element.
2022-06-24 15:44:38 +02:00
Albert Krewinkel
37fc412daa
doc/lua-filters.html: add list of common pitfalls
...
A list with common filtering and Lua pitfalls is added to the
"debugging" section.
Closes : #6077
2022-06-16 17:40:33 +02:00
Elliot Bobrow
6ff4972ca9
add --embed-resources
flag ( #8121 )
...
* Add `--embed-resources` flag for `--self-contained` without implying
`--standalone`
* Deprecate `--self-contained flag`
Closes #7331
2022-06-14 17:00:18 -06:00
Bastien Dumont
7244821705
Make clear that walk performs a deep copy ( #8124 )
...
Relevant discussion here: https://groups.google.com/g/pandoc-discuss/c/-NoL3Ft9AC8
I felt that it could be useful to inform that walk is the only way to get a deep copy of a List. I wrote this where I think that users will likely loop up for this feature, but it may be out of place.
2022-06-14 16:14:19 -06:00
John MacFarlane
39fdf08fcc
Add press.md (formerly press.txt in website).
2022-06-06 10:07:29 -07:00
Albert Krewinkel
b2b21bb4c5
Lua: add function pandoc.mediabag.fill ( #8104 )
...
The function allows to fill the mediabag with all images in a given
document. Images that cannot be fetched are replaced with a Span
containing the image description.
2022-06-06 09:25:09 -07:00
Albert Krewinkel
dbc80c1a6b
JATS template: allow multiple licenses to be given.
...
The `license` metadata field can now be used to set the license of an
article; a list can be used to add multiple license statements.
2022-04-04 10:05:32 +02:00
Albert Krewinkel
c694a6e4f5
JATS template: allow multiple copyright statements, years, holders
2022-04-02 15:29:37 +02:00
Albert Krewinkel
ad726953b9
Lua: allow to pass Sources to pandoc.read ( #8002 )
...
Sources, the data type passed to the `Reader` function in custom
readers, are now accepted as input to `pandoc.read`.
2022-03-30 14:10:30 -07:00
Mario Lang
6e94c8ddcd
doc/lua-filters.md: Fix typo ( #7981 )
2022-03-23 11:15:43 +01:00
John MacFarlane
4f2e126d62
Add faq on converting from latex + bibtex.
2022-02-18 10:05:27 -08:00
Albert Krewinkel
7d3db1dd2d
Lua docs: fix typos, missing links
2022-02-07 09:30:12 +01:00
John MacFarlane
2b3433404e
Remove sample RIS custom reader (since we now have a native one).
2022-02-06 19:13:34 -08:00
Albert Krewinkel
0f0b042139
Custom writer: support new-style Writer function.
2022-02-06 16:37:39 -08:00
Albert Krewinkel
49f1e7608e
Lua: add module pandoc.layout
to format and layout text
2022-02-06 16:01:24 -08:00
Albert Krewinkel
faf99ad356
docs/lua-filters.md: revert changes made in 3169367475
...
Partially reverts 3169367475
. The result is
unpleasant, auto-generating module docs requires a different approach.
2022-02-06 09:43:58 +01:00
Albert Krewinkel
3169367475
Lua docs: allow to auto-generate Lua module documentations
...
No documentations are generated for now, this just adds the necessary
code and auto-formats file `doc/lua-filters.md`.
2022-02-05 13:32:02 +01:00
John MacFarlane
04d365623b
doc/org.md: remove obsolete citations section.
...
This mostly described citation formats we no longer
support.
2022-02-03 18:59:40 -08:00
John MacFarlane
5c6b0c3abd
Fix identifier in lua-filters doc.
2022-01-30 11:07:44 -08:00
John MacFarlane
96ab241056
lua-filters: put all parameters in code font.
2022-01-30 11:06:30 -08:00
Even Brenden
bd8b7ca62b
Add metadata file paragraph to Pandoc API doc ( #7865 )
2022-01-25 08:59:03 -08:00
John MacFarlane
7ddb609aae
Fix div position in faqs.
2022-01-24 19:25:06 -08:00
John MacFarlane
623fa4e1b9
Fix lua-filters documentation for table column widths.
...
See #7864 .
2022-01-24 09:29:34 -08:00
Benson Muite
9da69c4759
epub.doc: Update links to KindleGen ( #7846 )
...
KindleGen has been deprecated and we need to link to archived versions.
Co-authored-by: Mauro Bieg <mb21@users.noreply.github.com>
2022-01-22 15:31:29 -08:00
John MacFarlane
1e48297304
Fix pattern syntax in sample readability custom reader.
2022-01-16 11:02:03 -08:00
John MacFarlane
039c7e925a
Minor edits to new custom reader example.
2022-01-16 10:44:26 -08:00
John MacFarlane
1be49f11f7
doc/custom-readers.lua: add example for "readable HTML."
2022-01-16 10:41:04 -08:00
John MacFarlane
0856eb3d1d
Add FAQ on images in ipynb containers.
...
Closes #7749 .
2022-01-14 10:21:29 -08:00
Martin Fischer
a0f9467b90
doc/jats.md: link JATS
2022-01-10 10:45:52 +01:00
Lucas Viana
fd43e0693f
Docs: document fancy_lists
in doc/org.md ( #7820 )
...
Document the changes introduced in #7812
2022-01-09 15:58:53 -08:00
John MacFarlane
268bec1808
Further improvements to doc/lua-filters.md.
2022-01-07 23:35:32 -08:00
John MacFarlane
95b0645276
lua-filters.doc: use header attributes, not spans.
2022-01-07 23:24:39 -08:00
John MacFarlane
2fb903336b
lua-filters.doc: use headings instead of nested def lists.
...
See #7807 .
2022-01-07 23:22:18 -08:00
Albert Krewinkel
1f8638fb54
Lua: add pandoc.template
module
...
The module provides a `compile` function to use strings as templates.
2022-01-04 11:55:59 -08:00
Albert Krewinkel
974a9d353a
Lua: marshal templates as opaque userdata values
2022-01-04 11:55:59 -08:00
Albert Krewinkel
6a5ac90bf1
Lua: add pandoc.WriterOptions
constructor
2022-01-04 11:55:59 -08:00
Albert Krewinkel
0d1d52f0a0
Lua: add function pandoc.write
2022-01-04 11:55:59 -08:00