Skip to content

Latest commit

 

History

History
50 lines (32 loc) · 1.55 KB

README.md

File metadata and controls

50 lines (32 loc) · 1.55 KB

Cookiecutter for JDF LaTeX

A cookiecutter template for writing LaTeX articles in Joyner Document Format (JDF) 2.0!

Here is a sample PDF.

Basic Workflow

Get LaTeX

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.

Get the template

  1. Install cookiecutter:
    pip install cookiecutter
  1. Generate a new LaTeX project:
    cookiecutter https://github.com/curiouslearner/jdf-latex.git
  1. Answer a few questions.

  2. Now, you can start writing your document. Either directly add your text in main.tex OR, create a new .tex file and include it in main.tex using:

    \input{<file_name>.tex}

Build the PDF

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 with make 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.

Thanks to Contributors

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.