--
You received this message because you are subscribed to the Google Groups "PreTeXt support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pretext-suppo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pretext-support/48f4f16a-fbd3-40f1-91c9-df748f69b099%40googlegroups.com.
What does the code look like to set a font for an asymptote image?If PTX had a "latex.typeface" publisher switch, could it double as away to set the font in asymptote images?
On Thu, Aug 15, 2019 at 9:32 AM Sean Fitzpatrick <dsfitz...@gmail.com> wrote:
--In Asymptote code, it's possible to specify the fonts to be used for labels.Useful, if you're writing a LaTeX book, and want the label font to match the rest of the book.But what happens to this font specification when we want to generate SVG files for the HTML version of the book?Say you decide your LaTeX should use the Carlito font, and build this into all your asymptote images.On the PreTeXt side, font is a publisher option, not an author choice.So maybe your Asymptote code should say nothing about fonts?I don't think it's trivial to have MathJax switch to using the Carlito font in your HTML output.
You received this message because you are subscribed to the Google Groups "PreTeXt support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pretext...@googlegroups.com.
Unless you're on Windows asymptote will hang on this code, because Calibri is a Microsoft font.
So step 1 was to comment this out to have any hope of compiling.
But maybe there's a way to replace those lines with something using a parameter that's set in latex-preamble.