const files =console
$ git clone firstname.lastname@example.org:davidpomerenke/scigen.js && cd scigen$ node lib/cli.js --helpUsage: node cli.js --save [<directory>] [--authors "<author1>, <author2>, ..."] [--bibinlatex] [--silent]directory all files will be saved hereauthors list of the authors in the paperbibinlatex avoids dependency on BibTex
$ git clone email@example.com:davidpomerenke/scigen.js && cd scigen$ npx webpack$ python -m http.server -d docs$ xdg-open http://localhost:8000
See also the TexLive.js Wiki.
The almost original rule files from the original SciGen project are found in
rules/rules-original. They can be compiled to JSON by running
perl rules/compile-rules.pl. The JSON files are required for running the module. They are already included in the module and only need to be re-compiled for applying changes in the original
.in rule files.
- Bibtex is not available for the browser (cf. here). An almost perfect workaround is implemented for the parameter
--bibinlatex(or setting the second/third function parameter to
truein Node, see the above examples).
- Works in Firefox Desktop & Mobile and in Chrome Mobile, but not in Chrome/Chromium Desktop. Cf. this issue with TexLive.js.
The server-side code at the original SciGen website appears to be broken. The aim of this project is therefore to provide a more server-independent implementation.