Commit Graph
15668 Commits
Author SHA1 Message Date
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
Albert Krewinkel 81e31ee637 LaTeX writer: add label to tables that have an identifier
Tables with an identifier are marked with a `\label`. A caption is
always included in this case, even if the caption is empty.

Closes: #8219
2022-08-17 12:39:07 +02:00
John MacFarlane c5f8a38f38 Finished pandoc-server documentation. 2022-08-16 16:11:04 -07:00
John MacFarlane 9a9fd0720a Improve documentation for pandoc-server. 2022-08-16 15:38:44 -07:00
John MacFarlane 9b03a01af4 Update RELEASE-CHECKLIST. 2022-08-16 12:48:15 -07:00
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