A cookiecutter template for writing LaTeX articles in Joyner Document Format (JDF) 2.0!
Here is a sample PDF.
Install LaTex. If you are on Linux, then you might already have texlive
installed, but it is suggested to get the current Tex Live Distribution.
- Install cookiecutter:
pip install cookiecutter
- Generate a new LaTeX project:
cookiecutter https://github.com/curiouslearner/jdf-latex.git
-
Answer a few questions.
-
Now, you can start writing your document. Either directly add your text in
main.tex
OR, create a new.tex
file and include it inmain.tex
using:
\input{<file_name>.tex}
After writing your LaTex document, give make
command from the project directory.
make
And your main.pdf
shall be good to go!
NOTE:
- Every time you make changes in
main.tex
file you need to re-generate the PDF withmake
command. - If there is no text present between 2 successive headings, then add the custom command
\notext
between them to match their linespacing with JDF2.0.
Many thanks to the creator of cookiecutter.
This cookiecutter template is based on George Kudrayvtsev, Shiva Saxena and other's work. We're thankful for their contributions.