Commit graph

15697 commits

Author SHA1 Message Date
Albert Krewinkel
90610eb78c
Org writer: prefix code language of ipynb code blocks with jupyter-.
This is the convention used by the *emacs-jupyter* package.
2022-08-22 12:53:57 +02:00
Albert Krewinkel
a31cf9a005
Org writer: keep code block attributes as header args.
This allows to keep more information in the resulting `src` blocks,
making it easier to roundtrip from or through Org. Org babel ignores
unknown header arguments.
2022-08-22 12:53:57 +02:00
Albert Krewinkel
1de40c62fc
Org writer: add code block identifier as #+name to src blocks. 2022-08-22 12:53:50 +02:00
John MacFarlane
eb96defcc6 pandoc-server: handle citeproc parameter as documented.
Closes #8235.
2022-08-21 21:33:52 -07:00
John MacFarlane
a0d1749162 Fix regression with data uris in 2.19.1.
In 2.19.1 we used the base64URL encoding rather than base64.
This works in Safari, apparently, but not in other browsers.

Closes #8239.
2022-08-21 21:22:30 -07:00
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
Albert Krewinkel
5d66166088
Org reader: treat *emacs-jupyter* src blocks as code cells.
This improves support for notebook-like org files that are intended to be used
with emacs-jupyter package.

Closes: #8236
2022-08-21 21:53:33 +02:00
John MacFarlane
e483bc9ff7 More trypandoc improvements. 2022-08-19 10:49:16 -07:00
John MacFarlane
e9bfa94e18 trypandoc: don't treat 500 as a timeout. 2022-08-19 10:33:24 -07:00
John MacFarlane
3e54004415 trypandoc: temporary workaround for #8235. 2022-08-19 09:02:13 -07:00
Albert Krewinkel
d1083e15cb
Require hslua-module-path 1.0.3
Fixes: #8228
2022-08-19 13:11:08 +02:00
John MacFarlane
18ccda2165 Remove redundant line in RELEASE-CHECKLIST. 2022-08-19 00:00:40 -07:00
John MacFarlane
e0a994aa22 Regenerate man pages. 2022-08-18 22:53:58 -07:00
John MacFarlane
4b73c8f529 Allow latest unix package. 2022-08-18 22:52:00 -07:00
John MacFarlane
ec71e8e05c stack.yaml - update pandoc-types 2022-08-18 22:51:57 -07:00
John MacFarlane
7d93aefbbd Bump to 2.19.1, update changelog. 2022-08-18 22:45:04 -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
5092292217 trypandoc: more improvements. 2022-08-18 21:57:00 -07:00
John MacFarlane
3e456f46a6 Minor changes to trypandoc js. 2022-08-18 18:20:31 -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
7574bfda46 trypandoc: better error handling. 2022-08-18 13:58:02 -07:00
John MacFarlane
b2d875e748 Update RELEASE_CHECKLIST 2022-08-18 13:18:16 -07:00
John MacFarlane
60f9c8447e Remove trypandoc Makefile. 2022-08-18 13:16:54 -07:00
John MacFarlane
d01f5e44c5 trypandoc: move version to footer. 2022-08-18 13:04:25 -07:00
John MacFarlane
795392a639 Split javascript from trypandoc/index.html into separate file. 2022-08-18 12:47:17 -07:00
John MacFarlane
748da6d123 Handle haddock 1.11.0 API changes (not noted in their changelog). 2022-08-18 11:37:10 -07:00
John MacFarlane
ecdbd18bc1 Remove pandoc-server from cabal.project. 2022-08-18 11:00:25 -07:00
John MacFarlane
e7c54a8bbe Provisional changelog updates for 2.19.1 release. 2022-08-18 10:59:47 -07:00
John MacFarlane
70aa88a595 Allow haddock-library-1.11.0. 2022-08-18 10:33:42 -07:00
John MacFarlane
2dcd6cbaf4 trypandoc: add canned examples. 2022-08-18 10:26:40 -07:00
John MacFarlane
31b20739b8 trypandoc: More refinements. 2022-08-18 09:58:24 -07:00
John MacFarlane
3c87b31f4b Trypandoc: better error handling. 2022-08-18 08:44:58 -07:00
John MacFarlane
d01c507f25 pandoc-citeproc: Remove maxlength. 2022-08-18 08:09:50 -07:00
John MacFarlane
bfd00eece4 trypandoc: add citeproc and bib formats. 2022-08-18 08:08:17 -07:00
Albert Krewinkel
0d19b859ce
HTML writer: use flex property for column widths
Fixes: #8232
2022-08-18 11:20:42 +02:00
John MacFarlane
e448ad570f Try pandco improvements.
+ Add load from file.
+ Add permalink.  Don't always reload page.
+ Support binary formats in input.
2022-08-17 22:51:30 -07:00
John MacFarlane
fa7669e0a7 trypandoc: allow binary output. 2022-08-17 21:39:22 -07:00
John MacFarlane
c26e3ab3f6 More trypandoc refinements. 2022-08-17 21:15:50 -07:00
John MacFarlane
3e74458143 trypandoc html: new look, do without bootstrap. 2022-08-17 19:58:47 -07:00
John MacFarlane
6534caf7cb pandoc-server.md: fix typo 2022-08-17 16:34:43 -07:00
John MacFarlane
48ec4b55b7 Remove -split-sections from windows release candidate build.
It's not available for Windows ghc.
2022-08-17 14:53:22 -07:00
John MacFarlane
67f6c9eb75 Release candidate: try to speed up and improve windows build. 2022-08-17 14:05:51 -07:00
John MacFarlane
b3fdfb912c macos release candidate: create symlink after download.
Otherwise we seem to get a full copy of the file!
2022-08-17 14:01:36 -07:00
John MacFarlane
704a10a29e Minor trypandoc landing page improvements. 2022-08-17 12:44:19 -07:00
John MacFarlane
e70c6c40c1 Add manual section on pandoc-server. 2022-08-17 12:38:11 -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
John MacFarlane
90d52b7129 Redo FromJSON for Opt so that optional values can be omitted.
It would have been cleaner to make all of these values Maybes,
so the JSON could be derived automatically. But this method preserves
the existing API.
2022-08-17 12:28:14 -07:00
Albert Krewinkel
64bed947ab
Server: add missing import 2022-08-17 17:27:35 +02:00
Albert Krewinkel
f294acff38
Org reader: treat "abstract" block as metadata
A block of type "abstract" is assumed to define the document's abstract.
It is transferred from the main text to the metadata.

Closes: #8204
2022-08-17 16:49:37 +02:00
Albert Krewinkel
90d8205e17
Org template: add abstract from metadata as block of type "abstract"
See #8204.
2022-08-17 16:40:54 +02:00