Skip to content

Counters are updated during #pause in touying #7

Description

@Orbion-J

The following code produces two pages with "Theorem 1. a" and "Theorem 2. a b" but it should be "Theorem 1" in both pages since it is the same theorem block, just on another page.

#import "@preview/touying:0.6.1": *
#import themes.metropolis: *
#import "@preview/great-theorems:0.1.2" : *

#show: metropolis-theme

#show: great-theorems-init
#let theorem = mathblock(
	blocktitle: "Theorem",
	counter: counter("math") 
)

== 

#theorem[ a #pause b ]

Using rich-counters does not help.

I don't know if this is more of a touying issue but there should be a way to make it work, right ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions