View Single Post
Old 08-22-2012, 11:31 PM   #21
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,438
Karma: 27757438
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
It's inefficient to call typeset on a resize, since that would cause all the input jax to be constructed again, when that hasn't changed. Note that this is not modifying math, just relaying out the equations on resize.

As far as I could see from the docs, Rerender is the "best" way to do that. More importantly, if I use Typeset instead of Rerender, I find that the equations with numbers are not re-aligned.
kovidgoyal is online now   Reply With Quote