Latex manuscript preparation
To submit on on HAL/ArXiv, it is mandatory to prepare sources as HAL will use tex sources to compile the PDF. Same for ArXiv with another constraint: ArXiv will share the latex sources (tex, images, …). See here for documentation about the transfer from HAL to ArXiv : https://doc.hal.science/deposer/transfert-hal-arxiv/.
arxiv-latex-cleaner installation
Firs of all, we need to installarxiv-latex-cleaner. This tools is an open source software from Google dedicated to clean your latex sources. It is also able to resize image to avoid having too big PDF. To install it, several options are available.
Option 1: python virtual environment
On can use python virtual environment (venv) to install and use arxiv-latex-cleaner. First, you can create the venv:
python -m venv path/to/arxiv-latex-cleaner.venv
then, you can activate it, under Linux/Mac OSX:
path/to/arxiv-latex-cleaner.venv/bin/activate.sh
Using Windows:
path\to\arxiv-latex-cleaner.venv\Scripts\activate.bat
Last one can install arxiv-latex-cleaner:
pip install arxiv-latex-cleaner
Option 2: conda installation
If you have conda installed and enabled (this document do not present the way to install conda), your can create a new environment with pip inside:
conda create arxiv-latex-cleaner pip
then, you can activate it:
conda create arxiv-latex-cleaner pip
Last you can activate it using:
conda activate arxiv-latex-cleaner
Last to install arxiv-latex-cleaner inside this environment:
pip install arxiv-latex-cleaner
Option 3: UV installation
Todo
Test of arxiv-latex-cleaner installation
You can check that arxiv-latex-cleaner is successfully installed by launching (within a shell where you activate your python envronment):
arxiv-latex-cleaner –help
Prepare the Latex sources
