26 Aug
2021
26 Aug
'21
3:56 p.m.
Taco Hoekwater via ntg-context schrieb am 26.08.2021 um 16:34:
Hi,
On 26 Aug 2021, at 16:07, Fabrice Couvreur via ntg-context
wrote: Hi, I know I asked the question a few years ago, but I don't remember ! The idea is to test whether the document contains only one page or not.
Perhaps not the nicest solution, but this works:
\doifvalueelse {\lastpage} {1} {\message{true}} {\message{false}}
Same solution but better counter name: \doifelse{\totalnumberofpages}{1}{...}{...} Wolfgang