Included files
When working with included files, the page number doesn't show in them.
I just tested by including a file (#include "file.typ"). It seems to work for me.
Can you give me an example so that I can reproduce the issue that you're facing?
Found the problem.
When i use
set heading(numbering: none)
the page number disappears. Don't know if is a bug or not.
I tried with #set heading(numbering: none) and the page numbering still shows as expected.
Try the following:
-
Create a new folder, e.g.
test. -
Create a document in the new folder called
main.typwith the following content:#import "@preview/ilm:1.1.1": * #show: ilm.with( title: [Test Document], author: "Max Mustermann", date: datetime(year: 2024, month: 03, day: 19), abstract: [ #lorem(50) ], ) #set heading(numbering: none) = Heading on main document #lorem(50) #include "external-page.typ" -
Create another document called
external-page.typwith the following content:= Heading on external document #lorem(50) #lorem(50) -
Compile
main.typ. You should see page numbering on all pages.