John MacFarlane
cd90bffa8c
More make_artifacts fixes.
2022-08-16 10:55:36 -07:00
John MacFarlane
473a9b15be
LaTeX writer: use \textquotesingle
for straight quotes in text.
2022-08-16 09:52:16 -07:00
John MacFarlane
3202a288ac
Update INSTALL.md installation from source instructions.
2022-08-16 09:31:10 -07:00
John MacFarlane
97288cea56
Make sure we test building the server.
2022-08-16 09:14:10 -07:00
John MacFarlane
46eecf72c3
Fix rc action for pandoc-server.
2022-08-16 09:12:55 -07:00
John MacFarlane
9bf6c4918e
make_artifacts.sh: use --installdir not --bindir.
2022-08-15 23:18:10 -07:00
John MacFarlane
f46e70d4b0
Small improvements to pandoc-server.md.
2022-08-15 23:16:50 -07:00
John MacFarlane
e7fa9c4c23
make debpkg: get rid of docker.log.
...
Let things come out on the CI output.
2022-08-15 22:47:14 -07:00
John MacFarlane
ce3cd28a6a
More make_artifacts fixes.
2022-08-15 18:59:13 -07:00
John MacFarlane
b157abedb7
Fix make_artifacts.sh.
2022-08-15 17:38:28 -07:00
John MacFarlane
2b4b565040
Split linux/control.in into two parts...
...
for pandoc and pandoc-server.
2022-08-15 16:10:21 -07:00
John MacFarlane
455d11ec18
pandoc.cabal: small update to description.
2022-08-15 16:09:07 -07:00
John MacFarlane
386705f818
linux/make_artifacts.sh: fix paths.
2022-08-15 14:37:06 -07:00
John MacFarlane
f094381378
make_artifacts.sh: create doc directory.
2022-08-15 13:07:32 -07:00
John MacFarlane
7c34908493
Improve linux/make_artifacts.
...
Structure code more cleanly.
Make separate deb, tarball for pandoc-server.
2022-08-15 10:09:32 -07:00
John MacFarlane
88a31332cd
Makefile: Add man target.
2022-08-15 09:58:58 -07:00
John MacFarlane
3c2b97df32
server: add --version.
2022-08-15 09:57:08 -07:00
John MacFarlane
3f2b44b694
Beginning of man page for pandoc-server.
2022-08-15 09:51:17 -07:00
John MacFarlane
87daaa37a9
Server: allow setting Accept:'application/octet-stream'...
...
to receive raw bytes instead of base64 encoded binary output,
e.g. docx.
2022-08-15 09:20:15 -07:00
John MacFarlane
5416c7f82d
Server: minor changes. Add Blob type for auto base64 decoding.
2022-08-15 09:00:25 -07:00
John MacFarlane
9d12fcb0c7
Server: TODO comments.
2022-08-14 23:40:14 -07:00
John MacFarlane
5ae98d4e08
Server: add more options.
...
Still need to document these and to support some cli options
that are handled as transforms.
2022-08-14 22:55:50 -07:00
John MacFarlane
4f8ee2212a
T.P.Highlighting: Export lookupHighlightingStyle
.
...
[API change]
Previously this lived in an unexported module
T.P.App.CommandLineOptions, under the name `lookupHighlightStyle`.
2022-08-14 22:50:57 -07:00
John MacFarlane
5d9b36ae53
Server: support more writer options.
2022-08-14 21:50:00 -07:00
John MacFarlane
257587f55b
Server: add citeproc support.
2022-08-14 21:22:24 -07:00
John MacFarlane
3966b016d1
Server: add files.
...
This allows the user to upload auxiliary files to be used in
the conversion.
2022-08-14 17:14:59 -07:00
John MacFarlane
4e04947470
Server: add abbreviations, defaultImageExtension, ...
...
... trackChanges, stripComments.
2022-08-14 16:57:33 -07:00
John MacFarlane
6625e9655e
Use base64 instead of base64-bytestring.
...
It is supposed to be faster and more standards-compliant.
2022-08-14 16:33:37 -07:00
John MacFarlane
2f5c75132a
Server: support tabStop, indentedCodeClasses
2022-08-13 23:16:47 -07:00
John MacFarlane
6274327398
App: Remove unneeded MonadIO constraints in readSources.
2022-08-13 20:36:44 -07:00
John MacFarlane
62ddc1ae54
PDF: Use some standard PandocMonad functions instead of liftIO.
2022-08-13 18:18:26 -07:00
John MacFarlane
34e00caee5
Factor out convertWithOpts' from convertWithOpts.
...
This runs in any PandocMonad, MonadIO, MonadMask instance.
2022-08-13 17:10:31 -07:00
John MacFarlane
4dfc30ca10
Server: add Default instance for Params.
2022-08-13 16:47:16 -07:00
John MacFarlane
55c524e83c
Support --strip-comments in commonmark/gfm.
...
This change makes the commonmark reader sensitive to
`readerStripComments`.
Closes #8222 .
2022-08-13 12:58:40 -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
eb18267407
LaTeX template: fix behavior of colorlinks
variable
...
Fixes a regression that required the `boxlinks` variable to be set in
addition to the usual link coloring variables. Otherwise links were
never colored in LaTeX PDF output.
Fixes : #8226
2022-08-12 00:11:10 +02:00
John MacFarlane
7a35e7ee68
Server - set standalone by default to true if binary output.
2022-08-09 15:37:47 -07:00
John MacFarlane
5db3f96400
server /babelmark - make text a required param.
2022-08-09 10:56:51 -07:00
John MacFarlane
59ac2933c9
server - have /babelmark accept form params rather than JSON.
2022-08-09 10:24:48 -07:00
John MacFarlane
30074c12e5
Server: Re-add /batch endpoint. We need it.
2022-08-08 15:17:08 -07:00
John MacFarlane
007483b2c3
server: change 'input' param back to 'text'.
2022-08-08 13:36:01 -07:00
John MacFarlane
1f3f9d6dda
Switch CI to ubuntu-latest.
2022-08-08 13:32:28 -07:00
John MacFarlane
0aeb7aec1a
server: make babelmark endpoint accept GET.
2022-08-08 10:12:33 -07:00
John MacFarlane
5335410ace
pandoc-server: allow binary writers/readers.
...
The expectation (which needs to be documented, along
with everything else about this server) is that the binary
content be base 64 encoded.
2022-08-08 09:53:19 -07:00
John MacFarlane
297e48661d
server: Accept POST instead of GET at babelmark endpoint.
2022-08-08 08:35:32 -07:00
John MacFarlane
4e003e9cdb
trypandoc Makefile revisions.
2022-08-07 23:15:24 -07:00
John MacFarlane
3a5168af90
Fix pandoc-server on linux make_artifacts.sh.
2022-08-07 23:02:35 -07:00
John MacFarlane
e4a7ed9e36
stack.yaml - fix server flag.
2022-08-07 23:01:28 -07:00
John MacFarlane
2b30d27669
Rename pandoc-cgi -> pandoc-server.
2022-08-07 21:26:17 -07:00
John MacFarlane
4359e60b93
pandoc-cgi: change babelmark endpoint to GET, as expected.
2022-08-07 19:37:11 -07:00