-
Notifications
You must be signed in to change notification settings - Fork 482
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix problems with at-index/contents in LaTeXWriter
The \begin{itemize} / \end{itemize} were not correctly paired in the LaTeX generated for at-contents blocks when the items went for than two levels deep. Also, empty at-index and at-contents emitted an empty \begin/\end pair, which errors, as you need at least one \item. When storing the LaTeX build files with DOCUMENTER_LATEX_DEBUG, you can now set it to a directory name, so that it would not generate a new directory every time. Also, except for one file, test/examples is not built with LaTeXWriter on CI too in the new build stage, fixing #950.
- Loading branch information
Showing
5 changed files
with
104 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# LaTeX MWEs | ||
|
||
## `ContentsNode` level jumps | ||
|
||
```@contents | ||
Pages = ["latex.md"] | ||
Depth = 9000 | ||
``` | ||
|
||
#### Level 4 | ||
## Level 2 again | ||
### Level 3 | ||
|
||
## Empty `ContentsNode` and `IndexNode` | ||
|
||
```@contents | ||
Pages = ["does-not-exist.md"] | ||
``` | ||
|
||
```@index | ||
Pages = ["does-not-exist.md"] | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters