Skip to content

Commit 4b374be

Browse files
Remove show rules for pause
1 parent 19eb47e commit 4b374be

File tree

2 files changed

+18
-13
lines changed

2 files changed

+18
-13
lines changed

examples/flipbook.typ

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#import "../polylux.typ": *
2+
#import "@preview/cetz:0.1.0"
3+
4+
#set page(paper: "presentation-16-9", margin: 2em)
5+
#set text(size: 30pt, font: "Kalam")
6+
7+
#polylux-slide[
8+
== A sunrise on Capri
9+
#alternatives-fn(count: 30, position: top+left, subslide =>
10+
cetz.canvas({
11+
import cetz.draw: *
12+
stroke(none)
13+
circle((0, 7), radius: 1pt)
14+
fill(orange)
15+
circle((3, subslide * 3. / 30), radius: 3)
16+
})
17+
)
18+
]

logic.typ

-13
Original file line numberDiff line numberDiff line change
@@ -281,19 +281,6 @@
281281
repetitions.update(1)
282282
pause-counter.update(0)
283283

284-
show par: paused-content
285-
show math.equation: paused-content
286-
show box: paused-content
287-
show block: paused-content
288-
show path: paused-content
289-
show rect: paused-content
290-
show square: paused-content
291-
show circle: paused-content
292-
show ellipse: paused-content
293-
show line: paused-content
294-
show polygon: paused-content
295-
show image: paused-content
296-
297284
// Having this here is a bit unfortunate concerning separation of concerns
298285
// but I'm not comfortable with logic depending on pdfpc...
299286
let pdfpc-slide-markers(curr-subslide) = locate( loc => [

0 commit comments

Comments
 (0)