yihui / xaringan

Presentation Ninja 幻灯忍者 · 写轮眼
https://slides.yihui.org/xaringan/
Other
1.49k stars 280 forks source link

showing a slide in fragments increases the slide number #15

Closed bnicenboim closed 7 years ago

bnicenboim commented 7 years ago

See for example:

http://slides.yihui.name/xaringan/#5 http://slides.yihui.name/xaringan/#6 http://slides.yihui.name/xaringan/#7 http://slides.yihui.name/xaringan/#8

I would like to see the number 5/.. in all the four "slides". This is the default in Beamer at least. I'm not sure if this is a bug here or the desired behavior, but it'll be nice to have the option to not increase the slide number.

yihui commented 7 years ago

I have noticed this myself and definitely agree with you that these slides should share the same page number. You need to file a feature request to remark.js (https://github.com/gnab/remark/issues), though, since these page numbers are generated by remark.js and I didn't touch them in xaringan.

bnicenboim commented 7 years ago

Oh, I see that it's related to this.

yihui commented 7 years ago

Great. Let's keep an eye on that issue. I'm closing this one since I cannot really do anything on my side. Thanks!

yihui commented 7 years ago

@bnicenboim Please see #25.