20 lines
524 B
Markdown
20 lines
524 B
Markdown
# Cook2tex
|
|
|
|
Two small python scripts that turn [cooklang](https://cooklang.org/) recipes into LaTeX source files.
|
|
The LaTeX files use the [cuisine](https://ctan.org/pkg/cuisine) package.
|
|
|
|
## cook2tex.py
|
|
|
|
Takes a recipe path as an argument and returns the cuisine recipe block on stdout.
|
|
|
|
### Example
|
|
|
|
`python3 cook2tex.py /path/to/recipe`
|
|
|
|
## cooklangbook.py
|
|
|
|
Takes multiple recipe paths as arguments and returns a complete latex document on stdout.
|
|
|
|
### Example
|
|
|
|
`python3 cooklangbook.py /path/to/recipes/{rec1,rec2,rec3}`
|