-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Slide with fletcher diagram and subsection generates different heading numbers #83
Comments
Pamplemousse
changed the title
Slide with fletcher diagram and subsection messes heading numbers
Slide with fletcher diagram and subsection generates different heading numbers
Sep 25, 2024
OrangeX4
added
bug
Something isn't working
upstream
and removed
duplicate
This issue or pull request already exists
labels
Sep 25, 2024
Duplicated with #38. We need to wait for frozen state to do this. |
And you can also consider: #import "@preview/fletcher:0.5.1" as fletcher: edge, node
#import "@preview/touying:0.5.2": pause, slide, themes, touying-reducer
#import themes.metropolis: *
#show: metropolis-theme.with(
header: utils.display-current-heading(level: 1),
config-common(
subslide-preamble: text(weight: "bold", utils.display-current-heading(level: 2)) + parbreak(),
)
)
#set heading(numbering: "1.1")
#let fletcher-diagram = touying-reducer.with(reduce: fletcher.diagram, cover: fletcher.hide)
= foo
== bar
#fletcher-diagram(
node-stroke: .1em,
spacing: 3em,
node((0, 1), `user`),
pause,
node((1, 1), `application`),
edge((0, 1), (1, 1), `uses`, "->"),
) I think it's a more elegant method. |
But it breaks anything more complicated than the minimum example:
instead of the expected
|
Fixed at #124. Wait for the next release. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In a slide containing a fletcher diagram, I wanted to add a subsection title.
However, the same subsection will take different heading number accross the slides.
The following source file:
compiled with the following command:
then we get the following three slides:
I expected the heading for
bar
not to change as the rest of the diagram is revealed (the morepause
are added, the more the heading gets incremented).Note that this example also highlights #84 which I separated because it doesn't seem related to
fletcher
.The text was updated successfully, but these errors were encountered: