Hi Stuart,

> On 24. Oct 2024, at 11:46, Stuart Fox via arts_dev.mi 
> <[email protected]> wrote:
> 
> OFFICIAL
> 
> Hi ARTS devs,
>  I’m trying to build ARTS from source on a new linux system (Red Hat 
> Enterprise Linux 9), and am having some problems with the latex 
> documentation. The system default texlive install doesn’t have lots of the 
> additional packages that are used, so the build fails. A few questions:
>     • How do I disable the build of the latex docs?

Latex docs are automatically enabled if latex is found in the path. You can 
trick cmake into not finding latex by setting LATEX_COMPILER and 
PDFLATEX_COMPILER empty when configuring ARTS (delete your build directory 
before doing this), e.g.: 

cmake --preset=default-gcc-conda -DLATEX_COMPILER= -DPDFLATEX_COMPILER=

Instead, you can also only build pyarts, skipping the documentation altogether:

cmake --build build --target pyarts

>     • Is there an easy way (e.g. through conda) to install a version of latex 
> with all the required dependencies to build the docs?

Not really, they only provide a texlive-core package which is only available 
for python 3.10 and also seems incomplete.

>     • Is there a list of which latex packages are needed?

All latex packages used in the user guide can be found at the top of 
doc/uguide/common.tex

Hope this helps.

Cheers,
Oliver


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to