Experimental, and just for the cognesceti. Working on documentation (which is a
lot of work!) and may post to "pretext-announce" soon.
You can now specify a Unicode math font to use in your LaTeX output. Existing
documentation about LaTeX fonts is pretty much OK, but does need a re-write.
* If you do this, the amssymb package needs to go away, and will. The
"extpfeil" package will still load anssymb and there will be a clash - no good
workaround for that.
* Math in titles of divisions will not migrate to a PDF bookmark anymore
(breaks a hyperref convenience). If you set a #shorttitle with no markup, it
will be used preferentially. Not sure if this is a good long-term solution.
* Documentation by example (for now). This font is likely available if you
have TeXLive "extra" fonts, or similar, set up. In your publication file add
<latex>
<fonts>
<main regular="TeX Gyre Pagella" options="Numbers={SlashedZero}"/>
<math regular="TeX Gyre Pagella Math" options="math-style=french"/>
</fonts>
</latex>
or just un-comment this in the sample article and give that a go (read comments
there no matter what).
Options for the #math font maybe be options to the "unicode-math" package (as
shown), or font features for a math font (uncommon), as is being shown for the
main font. Separate multiple options with commas.
Oscar - built a new template which is used in the construction of the preamble.
Did not include it for the classic build, since I don't think you want to go
there. Right now, an attempt to specify a math font will just (almost) silently
fail, except amssymb will go away and nothing will replace it. Likely easy to
implement the template with a big fat fatal error?
Reports welcome, even if to say this works fine.
Rob