This commit is contained in:
tavo-wasd 2023-11-16 16:18:55 -06:00
parent d9af374eb7
commit c9aa68cb32

View file

@ -33,25 +33,20 @@ systemctl reload nginx
## Configuration ## Configuration
These are included in the `public/compiler.sh` file, the binaries' PATH can Here, you can change the groff binary PATH, and also settings
be modified in case you want to compile groff from source, for example. an external compilation script if you prefer.
As for the preprocessors, `grap` isn't installed by default in most systems,
so you might want to remove the `G`, also `chem` gives me a bit of trouble
when used with `eqn`.
```shell ```php
SOELIM="/usr/bin/soelim" # soelim PATH <?php
REFER="/usr/bin/refer" # refer PATH ...
GROFF="/usr/bin/groff" # groff PATH # groff settings
PRE="-ketpG" # Preprocessors $groff = "/usr/bin/groff";
``` $comp = "$groff -ketpG -mspdf -Tpdf tmp/$uid.ms > tmp/$uid.pdf";
# In case you want to use an external
These are not set, but you can set them if you want a directory with macros, # script to compile with groff:
or a custom bibliography file. #$comp = "sh groff-compiler.sh";
...
```shell ?>
BIB="bibliography" # Bibliography file
MAC="macros" # Macros dir
``` ```
## License ## License