https://github.com/curiouslearner/jdf-latex
LaTex template for Joyner Document Format (JDF)
https://github.com/curiouslearner/jdf-latex
Last synced: about 1 year ago
JSON representation
LaTex template for Joyner Document Format (JDF)
- Host: GitHub
- URL: https://github.com/curiouslearner/jdf-latex
- Owner: CuriousLearner
- Created: 2019-01-20T11:37:05.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-01-13T21:09:12.000Z (over 4 years ago)
- Last Synced: 2024-04-14T00:59:16.522Z (about 2 years ago)
- Language: TeX
- Homepage:
- Size: 1.54 MB
- Stars: 30
- Watchers: 5
- Forks: 15
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cookiecutter for JDF LaTeX
A cookiecutter template for writing LaTeX articles in Joyner Document Format (JDF) 2.0!
Here is a [sample PDF](https://github.com/curiouslearner/jdf-latex/blob/master/{{cookiecutter.project_name}}/sample/sample.pdf).
## Basic Workflow
### Get LaTeX
Install [LaTeX](https://www.latex-project.org/get/). If you are on Linux, then you might already have `texlive` installed, but it is suggested to get the current [Tex Live Distribution](https://www.tug.org/texlive/).
### Get the template
1. Install cookiecutter:
```
pip install cookiecutter
```
2. Generate a new LaTeX project:
```
cookiecutter https://github.com/curiouslearner/jdf-latex.git
```
3. Answer a few questions.
4. 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{.tex}
```
### Build the PDF
After writing your LaTeX document, give `make` command from the project directory.
```shell
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](https://github.com/audreyr/cookiecutter).
This cookiecutter template is based on George Kudrayvtsev, Shiva Saxena and other's work. We're thankful for their contributions.