* The image scale param is shared by XHTML and DocBook
* It does not only apply to math
* Get rid of redundant group headers (#12902)
(cherry picked from commit 1429552063dfe9909dd5789b9fb1715ddee7d77d)
This is needed to provide ePub and other DocBook-based exports with
the right (renamed) images (fixes#12372)
(cherry picked from commit 03c58420060fef520d74d835bb39e1b1c9fd7c1e)
It turns out that Qt font selection via style name is broken on
Windows (QTBUG-101436). As we use our own style name for discriminating
our math fonts and applying proper kerning, we need a fallback method.
With this commit we check for the family name when the style name does
not match. In computing the kerning we also consider the right bearing
reported by the font instead of the width of the enclosing bounding box,
as this produces better results (see bug 13087).
Fixes#13087.
(cherry picked from commit d632753dea7cd3985f64b0c7e9db055c5a6c48f4)
Each token could be delimited by quotation marks or not. The previous
regexes only considered this for two tokens and hence produced wrong
matches for cases such as
\Format gnuplot "gp, gnuplot, plt" "Gnuplot" "" "" "" "vector" "text/plain"
where the extension list wasn't parsed as a single token.
(cherry picked from commit 1efdc11296b0acf98d1180e18c0daa3e9a79bfec)
Previously, the tooltip was assigned during updateBuffer. But then
we could not determine the value for forward references.
(cherry picked from commit b494286a9c271b1f39d6248d977d2ef14a71f64c)
There are several reasons to do it this way, among which is odd
behavior of the TOC filter if we put anything else there. This also
allows for filtering of the references themsevles in a natural way.
The change, I think, was really an unintended consequence of other
changes connected to showing formatted references in the work area.
(cherry picked from commit 1de4645286e5e51d2e5f6084ee53f3fcb463475d)
At least in German "label" in a form and "label" as in \label
translate differently
(cherry picked from commit 7ac4e53e37d10dc2e4b99fc5527db366bcc504f4)