How to troubleshoot problematic glyph in table of contents?

I’m trying to have a well formated pdf document. I’ve added a frontpage, and then the table of content. But between them (frontpage & table of content), there is some emoji that pops up.

When selecting in this 2nd page (between the frontpage and the table of content), I see that I can grab something that is white upper white. And after copying it, I pasted it on my editor and I see something that looks like my tableOfContent.

I have the impression, that normally this 2nd page dislay white texts on white backgroud. But as I use emoji within my chapter (such as :index_pointing_at_the_viewer: or as :wastebasket:), they show up.

I’ve made a mve as suggested where you can see both, the code and the problem. Here is the link

https://typst.app/project/we3rxuRLBeM6RMsXl1aTQy

Hello @cedric.briner,

Would you please share a MWE leading to this situation?

Hi,

I didn’t know where to store the mve. I’ve finally put it here:

https://www.swisstransfer.com/d/1d7559be-e376-473d-824a-6ea137cebaf3

Thanks in advance for your help.

You can just type it in your post surrounded with back ticks ```:

```
#let x = "Hello There!"
#x
```

Another good way is to create a project on typst.app and share it here like this one:

https://typst.app/project/rDRvZutUgMPteBnc9JLGhx

Oh thank you,

I’ve reposted everything in :

https://typst.app/project/we3rxuRLBeM6RMsXl1aTQy

Is that better for you ?

Thanks in advance.

Thanks! It’s actually much better for you as you are more likely to get some help by other forum users if you allow your code to be seen / edited without extra steps.

Next, may I suggest that you edit your initial post to reflect the change? This will keep everyone focussed.

Thanks. :pray:

Hi, your document is drawing two outlines explicitly.

One is part of the title page: align(horizon, outline(indent: auto)) and it uses the title page’s white text colour, so you only see the emojis. The second outline is #outline(title: [Table des Matières]) in main.typ. I think that might be the whole explanation?

That was it !

Thank you very much for your precious help.