soegaard2
2021-3-13 14:53:15

@soegaard2 has joined the channel


soegaard2
2021-3-13 14:53:15

@soegaard2 set the channel purpose: Discussion of the math-scribble package


comer
2021-3-13 14:53:31

@comer has joined the channel


georges-duperon
2021-3-13 14:53:31

@georges-duperon has joined the channel


soegaard2
2021-3-13 14:55:08

encomer wrote:

Concerning Scribble (and particularly the package Scribble-math), *when using multiple .scrbl sources* (generating HTML) *is there a way to use* the folder katex, and the auxiliary files (e.g. autobib.css, footnote.css, manual-fonts.css,…,scribble-style.css) *just once*?

The idea is to be able to _have these *common files* in a particular folder_, (possible name: scribble-support-folder) and refer to it, from several instances of the .scrbl sources. *Benefit*: If we reuse these files, then we won’t need to upload them  each time that we generate a new scribble HTML document. I’m assuming that the several scribble documents share the same needs concerning the support files.

Reflection: One possible way to approach the above issue is (may be) to just use a kind of flag (e.g. *scribble-support-folder-mode*, with the two possible values *’local, ’parent*). In case the mode is ’local, then it’s the current implementation mode, and no change is needed. In case the mode is ’parent: then *all the creation and search for* the s_cribble support files_, will be done in the parent directory, instead of the local directory.

Thank you for your suggestions and guidance concerning this possibility.


soegaard2
2021-3-13 14:55:31

Hello. I think it was Georges Dupéron <> that added support for KaTeX. I think it would be a great feature, being able to avoid copying multiple instances of KaTeX. I don’t know of any current solution, but I am sure Georges would be happy to merge such an enchancement.

The repo is here: https://github.com/jsmaniac/scribble-math

I see the source of scribble-math uses install-resource and the docs say:


soegaard2
2021-3-13 14:56:11