Skip to content
Snippets Groups Projects
Commit 4e673bab authored by Karl Fogel's avatar Karl Fogel
Browse files

Minor documentation improvements

parent 3e2cc6e7
No related branches found
No related tags found
No related merge requests found
......@@ -77,7 +77,7 @@ underscore.
See the plugins in ./pipeline/plugins for documentation on specific
plugins.
## LaTeX Usage
## LaTeX + Jinja Usage
Mostly you should just use standard LaTeX in OTS Doctools documents.
However, there are some things you should know:
......@@ -92,7 +92,7 @@ input file:
title: "My Life as an Eggplant Hunter:\\\\Nobody Told Me They Could Run So Fast"
date: 31 Nov 2023
draft: true
fish: halibut
fruit: durian
---
```
......@@ -103,17 +103,17 @@ jinja.) If the value of `draft` is `true`, then every page will get a
large, light gray "DRAFT" diagonal watermark.
Other variables are just there to be referred to later. For example,
in the above example, the value of `fish` is `halibut`, so if you put
in the above example, the value of `fruit` is `durian`, so if you put
this in your latex:
```
I always ate eggplant, even when offered \VAR{fish}.
I always ate eggplant, even when offered \VAR{fruit}.
```
It will render as this in the output:
```
I always ate eggplant, even when offered halibut.
I always ate eggplant, even when offered durian.
```
### Avoid accidentally triggering jinja
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment