Git Product home page Git Product logo

Comments (8)

matze avatar matze commented on August 19, 2024

Thanks for reporting that issue!

from mtheme.

liantze avatar liantze commented on August 19, 2024

That was fast -- thanks!

from mtheme.

mike-ghes avatar mike-ghes commented on August 19, 2024

Arithmetic overflow now seems to occur at 75 pages. I'm using a version off of overleaf so it may just be out of date.

I've been tinkering with values for "\divide\progressbar@tmpdim by" and "\multiply\progressbar@tmpdim by" but can't seem to find any magic numbers.

from mtheme.

matze avatar matze commented on August 19, 2024

This is indeed an issue again 😦

from mtheme.

bgat avatar bgat commented on August 19, 2024

I haven't worked through all the math in the current template, but at one point I vaguely recall concluding that the problem was actually an underflow, not an overflow. I added an if() to replace a zero result with 1, and the problem seemed to go away.

Darned if I can find that code, though. I meant to send it, but I don't think I ever did...

from mtheme.

eddelbuettel avatar eddelbuettel commented on August 19, 2024

I am also having that issue on sections in a presentation with > 75 pages. When I comment out

\divide\progressbar@tmpdim by 100
\multiply\progressbar@tmpdim by \progressbar@tmpcounta
\divide\progressbar@tmpdim by \progressbar@tmpcountb
\multiply\progressbar@tmpdim by 100

things work. Of course, I also have no "progress" in the progress bar :-/

from mtheme.

eddelbuettel avatar eddelbuettel commented on August 19, 2024

My bad. Only happens with the copy of the code base I took in May (to make minor adjustments). Works fine with the current code -- so 👍.

from mtheme.

liantze avatar liantze commented on August 19, 2024

Current code doesn't seem to have this problem any more with any number of slides -- yeay!

from mtheme.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.