[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet-scheme] 278/324: doc: Use MathML instead of PNG images.
From: |
gnunet |
Subject: |
[gnunet-scheme] 278/324: doc: Use MathML instead of PNG images. |
Date: |
Tue, 21 Sep 2021 13:25:18 +0200 |
This is an automated email from the git hooks/post-receive script.
maxime-devos pushed a commit to branch master
in repository gnunet-scheme.
commit 590d91555348e97b7d1c6ed9004f8d4695162891
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Sun Sep 12 18:04:57 2021 +0200
doc: Use MathML instead of PNG images.
* Makefile.am
(TEXMACS_CONVERT): Remove "-c".
(TEXMACS_HTML_SETTINGS): New variable.
(doc/scheme-gnunet.pdf,scheme-gnunet.html): Add "-c".
(doc/scheme-gnunet.html): Add TEXMACS_HTML_SETTINGS.
---
Makefile.am | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 5735a75..57fb4da 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -172,11 +172,20 @@ TESTS += $(SCM_TESTS)
EXTRA_DIST = $(SCM_TESTS) tests/utils.scm build-aux/test-driver.scm
# For documentation (TODO install, regenerate indices ...)
-TEXMACS_CONVERT = xvfb-run -- texmacs -c
+TEXMACS_CONVERT = xvfb-run -- texmacs
+# Use MathML for formulae instead of PNG images.
+# While the images are prettier than the rendering by the browser,
+# they aren't accessible and it is somewhat difficult to tell Automake
+# to install the PNG images.
+TEXMACS_HTML_SETTINGS = \
+ '(set-boolean-preference "texmacs->html:images" \#f)\
+ (set-boolean-preference "texmacs->html:mathjax" \#f)\
+ (set-boolean-preference "texmacs->html:mathml" \#t)'
+
doc/scheme-gnunet.pdf: doc/scheme-gnunet.tm
- $(TEXMACS_CONVERT) "$<" "$@" -q
+ $(TEXMACS_CONVERT) -c "$<" "$@" -q
doc/scheme-gnunet.html: doc/scheme-gnunet.tm
- $(TEXMACS_CONVERT) "$<" "$@" -q
+ $(TEXMACS_CONVERT) -x $(TEXMACS_HTML_SETTINGS) -c "$<" "$@" -q
dist_doc_DATA = doc/scheme-gnunet.tm doc/fdl.tm
nodist_html_DATA = doc/scheme-gnunet.html
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [gnunet-scheme] 268/324: build: Distribute the tests., (continued)
- [gnunet-scheme] 268/324: build: Distribute the tests., gnunet, 2021/09/21
- [gnunet-scheme] 270/324: nse/client: Report errors and reconnect., gnunet, 2021/09/21
- [gnunet-scheme] 269/324: mq/error-reporting: Support error reporting., gnunet, 2021/09/21
- [gnunet-scheme] 273/324: nse/client: Use 'spawn' instead of hardcoding 'spawn-fiber'., gnunet, 2021/09/21
- [gnunet-scheme] 275/324: nse/client: Remove default for 'spawn'., gnunet, 2021/09/21
- [gnunet-scheme] 277/324: tests/network-size: Make ‘reconnects’ test reproducible., gnunet, 2021/09/21
- [gnunet-scheme] 271/324: tests: Abstract setting of O_NONBLOCK., gnunet, 2021/09/21
- [gnunet-scheme] 272/324: tests/network-size: Abstract configuration creation., gnunet, 2021/09/21
- [gnunet-scheme] 274/324: nse/client: Remove rest arguments., gnunet, 2021/09/21
- [gnunet-scheme] 276/324: nse/client: Stop reconnecting when a disconnect is requested., gnunet, 2021/09/21
- [gnunet-scheme] 278/324: doc: Use MathML instead of PNG images.,
gnunet <=
- [gnunet-scheme] 279/324: build: Remove resolved TODO., gnunet, 2021/09/21
- [gnunet-scheme] 280/324: config/fs: Locate the user and system configuration., gnunet, 2021/09/21
- [gnunet-scheme] 283/324: config/fs: Mark TODO's as done., gnunet, 2021/09/21
- [gnunet-scheme] 286/324: build: Correct location of defaults file., gnunet, 2021/09/21
- [gnunet-scheme] 287/324: doc: Document how the read values from a configuration., gnunet, 2021/09/21
- [gnunet-scheme] 281/324: config: Implement loading a configuration file., gnunet, 2021/09/21
- [gnunet-scheme] 284/324: config: Automatically load defaults, system and user configuration., gnunet, 2021/09/21
- [gnunet-scheme] 282/324: config: Allow expanding loaded configurations., gnunet, 2021/09/21
- [gnunet-scheme] 285/324: examples: Distribute the example., gnunet, 2021/09/21
- [gnunet-scheme] 289/324: guix: Set up .guix-authorizations., gnunet, 2021/09/21