Another newbie question (from a retired, humanities person!). I have set up a template which does most of what I want, but I do wish to modify it in a couple of ways relating to the outline.
The first is this one: My 4 levels of headings are working as I want with only Headings 1 and 2 appearing in the outline. But what I would like in the outline is for only the text of Heading 1 to be shown, without the dots and the page number.
#show outline.entry.where(level: 1): it => link(
it.element.location(),
// Keep just the body, dropping
// the fill and the page.
it.indented(it.prefix(), it.body()),
)
#outline()
= About ACME Corp.
== History
Hi @vmartel08, thank you very much for your input. This solves the issue.
To tell you the truth, the problem for someone like me, with a background in the humanities and no background in coding, is that it is sometimes difficult to work out how to achieve what one wants because the examples often seem somewhat impenetrable.
Hi again Mark, that’s why there is a forum about it . Lots of it comes from reading around and trial and error. Please come back should you have more questions.
My apologies; I thought I had syntax-highlighted the code correctly, but I must have typed typst rather than typ.
As for “minimum code snippet”, I posted only what I thought would be necessary for others to see; clearly I was mistaken in my estimate, so again I apologise. I have much to learn!