LaTeX report template with JavaScript ES6 and JSON code blocks support.
Includes:
- JavaScript ES6 and JSON code blocks support
- Multi-file structure
- Table of Figures
- Table of Contents
- Glossary
- Common LaTeX commands examples
- French-language ready (see Activate french)
Install MikTeX. It will install the required pdflatex
command and automatically install required packages when building a tex file.
Install Tex Live, I don't know which packages you need to install tbh.
Install the full packages list to make sure you get all you will ever need (4 GB):
$ sudo apt-get install texlive-full
Linux does not have an equivalent of MikTex to automatically install required packages when building tex files.
Quick build (report_output
will be the name of your PDF file):
$ cd src
$ pdflatex --jobname=report_output ./main.tex
Keep in mind that you need to build it 2 times to make sur LaTeX has generated all required references/Table of Contents files.
Or simply use the provided build script (see build.sh
):
$ ./build.sh
This will removes all LaTeX build files in the project (src and dist). It does not remove images/tex/pdf in dist
. It removes pdf files in src
(see clean.sh
).
$ ./clean.sh
When built, the template will output this PDF file: dist/report_output.pdf
.
Example of a ES6 JavaScript code block:
Simply uncomment this line to turn on french.
A package is already included to fix the copy bug on accentuated characters (when you copy é
and get ´e
in your clipboard).