diff options
| author | frozolotl <44589151+frozolotl@users.noreply.github.com> | 2023-11-13 12:04:34 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-13 12:04:34 +0100 |
| commit | 97bb0fbce3b21dcac4334b9d01d27cd83498e460 (patch) | |
| tree | 37efeb028e1150bf7ca36f9111b059eb2f3e2673 /tests | |
| parent | d25e6726e29b65f14ae14cff8518807c2067e690 (diff) | |
Fix bug where inline equations were displayed in the outline (#2662)
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ref/meta/outline.png | bin | 82493 -> 109018 bytes | |||
| -rw-r--r-- | tests/typ/meta/outline.typ | 22 |
2 files changed, 15 insertions, 7 deletions
diff --git a/tests/ref/meta/outline.png b/tests/ref/meta/outline.png Binary files differindex bf9c4abe..38dbf26e 100644 --- a/tests/ref/meta/outline.png +++ b/tests/ref/meta/outline.png diff --git a/tests/typ/meta/outline.typ b/tests/typ/meta/outline.typ index 73b77142..1d0bcf75 100644 --- a/tests/typ/meta/outline.typ +++ b/tests/typ/meta/outline.typ @@ -2,25 +2,33 @@ #set heading(numbering: "(1/a)") #show heading.where(level: 1): set text(12pt) #show heading.where(level: 2): set text(10pt) +#set math.equation(numbering: "1") #outline() +#outline(title: [Figures], target: figure) +#outline(title: [Equations], target: math.equation) -= Einleitung += Introduction #lorem(12) -= Analyse += Analysis #lorem(10) #[ #set heading(outlined: false) - == Methodik + == Methodology #lorem(6) ] -== Verarbeitung -#lorem(4) +== Math +$x$ is a very useful constant. See it in action: +$ x = x $ -== Programmierung +== Interesting figures +#figure(rect[CENSORED], kind: image, caption: [A picture showing a programmer at work.]) +#figure(table[1x1], caption: [A very small table.]) + +== Programming ```rust fn main() { panic!("in the disco"); @@ -33,5 +41,5 @@ Ok ... // Ensure 'bookmarked' option doesn't affect the outline #set heading(numbering: "(I)", bookmarked: false) -= #text(blue)[Zusammen]fassung += #text(blue)[Sum]mary #lorem(10) |
