Skip to content

Commit 093117f

Browse files
committed
Update docs to introduce c.LatexConfig.run_times
1 parent 6dec587 commit 093117f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,13 @@ by setting
8989
c.LatexConfig.bib_command = '<custom_bib_command>'
9090
```
9191

92+
To render references (`\ref{...}`), such as equation or chapter numbers, you would
93+
need to compile in multiple passes by setting
94+
95+
```python
96+
c.LatexConfig.run_times = 2
97+
```
98+
9299
### Security and customizing shell escapes
93100

94101
LaTeX files have the ability to run arbitrary code by triggering external

0 commit comments

Comments
 (0)