Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
ots-doctools
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ots
ots-doctools
Commits
4e673bab
Commit
4e673bab
authored
1 year ago
by
Karl Fogel
Browse files
Options
Downloads
Patches
Plain Diff
Minor documentation improvements
parent
3e2cc6e7
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+5
-5
5 additions, 5 deletions
README.md
with
5 additions
and
5 deletions
README.md
+
5
−
5
View file @
4e673bab
...
...
@@ -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
f
ish: halibut
f
ruit: 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
`f
ish
`
is
`
halibut
`
, so if you put
in the above example, the value of
`f
ruit
`
is
`
durian
`
, so if you put
this in your latex:
```
I always ate eggplant, even when offered \VAR{f
ish
}.
I always ate eggplant, even when offered \VAR{f
ruit
}.
```
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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment