Usage: ./run.sh [-k] [-s]
Options:
-k Enable keeping the generated folder after usage
-s Enable silent mode. (Less verbose)
Usage: python process_file.py <yaml_file_path> <input_file_path> <output_file_path>
- <yaml_file_path> is the config file
- <input_file_path> is the file you want to process
- <output_file_path> is the name of your output file
You can create as much config yaml files in the ./configs directory. It will generate an output file for each of them (if you use the run.sh) it will also generate a file for each lang specified in the config file.
# Var section let's you override some useful variables
# All optionals
var:
input: "jack.tex"
comment_symbol: "%"
# -------------------------
# Chapters section let's you choose which part of the document will stay and which will be removed
chapters:
experience: true
education: true
# -------------------------
# Langs section is like the chapters' section but it will create a new document for each lang
langs:
english: true
french: true
On runtime, every file in the ./res directory will be copied in the ./generated folder to be used by the temporary intermediate files.
You can use any tag with the following synthax
%<*tag> opens the section
Anyting between the two will be considered as part of the section.
In works for both chapters and langs
%</tag> closes the section
%<tag> Will consider everything on the same line as part of the section
For langs the 2 first characters are also accepted
%<english> is fine
%<en> is also fine
% The comment symbol can be overriden to be used with other languages
If you're using it with latex you'll need to install latex first. Make sure you can use the pdflatex command.
The sample Latex project is from https://github.com/latex-ninja/simple-hipstercv/. All credit to latex-ninja