help: loading packages and defining macros

145 views
Skip to first unread message

Bruce Yoshiwara

unread,
Sep 12, 2017, 2:57:17 PM9/12/17
to PreTeXt support

Some ptx mark-up works fine for html but not for the pdf produced via latex, and some works fine for latex and pdf but not for html, even when all the mark-up seems to be ok with validation.


When I load the gensymb package in <latex-preamble>, then the ptx mark-up

<m>10\degree</m>

gives me the expected  “o” degree-symbol as a superscript in the pdf output, but gives the plain “10\degree” in html.


When I add in <macros>

       \newcommand\degree[0]{^{\circ}}

then the html comes out fine, but pdflatex stops to complain that \degree is already defined, then the pdf gives nice output as before.


I’m guessing I need to understand better how to load latex packages and define macros in ptx. I don't know when to put something in <latex-preamble> or <latex-image-preamble> or <macros>. I can live with the single pause in pdflatex here, but I have other issues I can’t fix at all.


When I put in <latex-image-preamble>

\usepackage{tikz}

\newcommand*\circled[1]{\tikz[baseline=(char.base)]{

           \node[shape=circle,draw,inner sep=2pt] (char) {#1};}}


then the mark-up <m>\circled{1}</m> gives a very nice circled 1 inline in the resulting pdf document, but in html it shows “\circled1“ (and it shows just "1" in pdf if the newcommand is put in <macros> rather than in the <latex-image-preamble>). Also, <m>\textcircled{1}</m> gives a circled 1 that isn’t centered in the circle but touches the top in pdf but shows “\textcircled1” in html regardless of whether or not \circled is defined.


Kathy's book includes just a couple of instances of circled digits. When I was working only on the html output, I used a font that latex does not like. So now I'm trying to find a way to make both html and latex happy.

Bruce

Rob Beezer

unread,
Sep 12, 2017, 5:56:39 PM9/12/17
to pretext...@googlegroups.com
Dear Bruce,

It will be next week before I can answer fully. I hope following helps.

HTML is limited by what MathJax supports. Macros you define then are limited to using those commands. There are a few latex packages people have implemented for MathJax. In these special cases PTX has a mechanism to support them on both sides.

There is a new comprehensive section of Author's Guide on mathematics which I hope covers all of this in enough careful detail.

Short answer: if you can make HTML behave, odds are good latex will behave. But the converse is wildly false.

Rob

Rob Beezer

unread,
Sep 12, 2017, 6:03:28 PM9/12/17
to pretext...@googlegroups.com
For your degree problem. Retain the macro you defined. Drop adding the gensymb package as part of the latex conversion.

Then the macro should do the job for both conversions, since you have it working for HTML.

Keller, Mitch

unread,
Sep 12, 2017, 7:29:54 PM9/12/17
to pretext...@googlegroups.com
In terms of the circled digits, is there an emoji that could be used? (There are digit emoji that look like calculator/keyboard keys, but I don’t know Kathy’s use of the circled digits.) The TikZ code you’re using is essentially producing an image, which you’re not going to be able to use inline in HTML. For the Bogart conversion, I found emoji of fruit to replace images Bogart had used inline. See http://bogart.openmathbooks.org/ctgd/sec_genfns-idea.html for an example. We also found a public domain font that included them, and so the LaTeX works just fine as well.

-- 
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 post to this group, send email to pretext...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pretext-support/MTAwMDA0OS5iZWV6ZXI.1505253807%40quikprotect.
For more options, visit https://groups.google.com/d/optout.

-- 
Mitch Keller
Assistant Professor of Mathematics
Washington & Lee University, Lexington VA

Bruce Yoshiwara

unread,
Sep 12, 2017, 7:50:04 PM9/12/17
to PreTeXt support
Thanks Rob and Mitch.

But um, how does one find and insert emojis?

I originally had used special characters I found for circled digits, which displayed ok in html but pdflatex gives me

! Package inputenc Error: Unicode char ① (U+2460)
(inputenc)                not set up for use with LaTeX.
See the inputenc package documentation for explanation.

My attempt to get around this led me on multiple scary and unsuccessful paths--at one point my html suddenly displayed multiple "\amp"s where previously I was successfully using \amp for alignment in equations. Which led to this plea for help.

Cheers.

Bruce

Keller, Mitch

unread,
Sep 12, 2017, 7:52:29 PM9/12/17
to pretext...@googlegroups.com
Bruce,

That’s a good start. I should probably have asked about Unicode rather than emoji, since that’s really the right place to look. What command did you use to process your LaTeX when you used that special character? if you’re using Unicode, you should use xelatex instead of pdflatex. I think the error message suggests that you used pdflatex, so can you try that special character with xelatex and report back?

Mitch


For more options, visit https://groups.google.com/d/optout.

Rob Beezer

unread,
Sep 12, 2017, 8:00:54 PM9/12/17
to pretext...@googlegroups.com
Try the xelatex command in place of pdflatex when you use unusual Unicode characters. Where unusual means beyond the first 256.
><javascript:>>
>> wrote:
>>
>> For your degree problem. Retain the macro you defined. Drop adding
>the
>> gensymb package as part of the latex conversion.
>>
>> Then the macro should do the job for both conversions, since you have
>it
>> working for HTML.
>>
>>
>> On September 12, 2017 2:56:28 PM PDT, Rob Beezer <bee...@ups.edu
>> <javascript:>> wrote:
>>
>> Dear Bruce,
>>
>> It will be next week before I can answer fully. I hope following
>> helps.
>>
>> HTML is limited by what MathJax supports. Macros you define then are
>> limited to using those commands. There are a few latex packages
>people
>> have implemented for MathJax. In these special cases PTX has a
>> mechanism to support them on both sides.
>>
>> There is a new comprehensive section of Author's Guide on mathematics
>> which I hope covers all of this in enough careful detail.
>>
>> Short answer: if you can make HTML behave, odds are good latex will
>> behave. But the converse is wildly false.
>>
>> Rob
>>
>> On September 12, 2017 11:57:17 AM PDT, Bruce Yoshiwara
>> email to pretext-suppo...@googlegroups.com <javascript:>.
>> To post to this group, send email to pretext...@googlegroups.com
>> <javascript:>.

Bruce Yoshiwara

unread,
Sep 14, 2017, 12:54:53 PM9/14/17
to PreTeXt support
When I use xelatex, I no longer get the warning about the unicode character, but there is still no circled digit in the output (that does show up in html), and I get a new (possibly not relevant) error

Erroneous variable \c__fontspec_shape_n_n_tl used!
l.3806 \emfontdeclare{ \emshape, \eminnershape }

a few times.

The tex file comes from a ptx file, which in turn I had created from the sample article file by deleting all the content, adding a few packages and macros that I use in Kathy's book, then included only
<p>
    Select the combinations of the products ① and ② whose sum or difference could be the linear term, <m>-21x</m>.
    <me>(8x \hphantom{000} 3) (x \hphantom{000} 3)</me>
</p>


Bruce

Rob Beezer

unread,
Sep 14, 2017, 9:09:41 PM9/14/17
to pretext...@googlegroups.com
Dear Bruce,

Did you find the list of supported Mathjax commands? Is \hphantom on that list?

When you say you added a few packages then there is no way to support obtaining identical latex and html output. And no way for us to help if we do not know what those packages are.

Are these circled numbers references to expressions? We have a way to do that.

Next week maybe I can see if there is a way to get the Unicode numbers to behave naturally in latex with xelatex.

Perhaps you could list the latex packages you are adding with detailed examples of *why* you are employing those packages.

Rob

On September 14, 2017 9:54:53 AM PDT, Bruce Yoshiwara <byosh...@gmail.com> wrote:
>When I use xelatex, I no longer get the warning about the unicode
>character, but there is still no circled digit in the output (that does
>
>show up in html), and I get a new (possibly not relevant) error
>
>Erroneous variable \c__fontspec_shape_n_n_tl used!
>l.3806 \emfontdeclare{ \emshape, \eminnershape }
>
>
>a few times.
>
>The tex file comes from a ptx file, which in turn I had created from
>the
>sample article file by deleting all the content, adding a few packages
>and
>macros that I use in Kathy's book, then included only
><p>
>Select the combinations of the products ① and ② whose sum or difference
>
>could be the linear term, <m>-21x</m>.
> <me>(8x \hphantom{000} 3) (x \hphantom{000} 3)</me>
></p>
>
>
>Bruce
>On Tuesday, September 12, 2017 at 5:00:54 PM UTC-7, Rob Beezer wrote:
>>
>> Try the xelatex command in place of pdflatex when you use unusual
>Unicode
>> characters. Where unusual means beyond the first 256.
>>
>> On September 12, 2017 4:50:04 PM PDT, Bruce Yoshiwara
><byosh...@gmail.com

Keller, Mitch

unread,
Sep 15, 2017, 8:52:03 AM9/15/17
to pretext...@googlegroups.com
That exact bug appears on this page https://sourceforge.net/p/miktex/discussion/33790/thread/fcf98fa1/?limit=25 and the resolution appears to be an update to a package. What worked there was to use the MikTeX package manager (iirc, Bruce is on Windows) to remove the fontspec package and then reinstall it.

That’s step 1 to solving this. I suspect you still won’t have the circled digit at that point, because it’s probably not a glyph in Computer Modern Roman. However, I’ve got a fix for selectively changing certain characters to another font in LaTeX (while allowing the HTML to just pass through unmolested), so report back if/when you’ve got the error message gone but still no circled digit, and we can finish fixing this.

To unsubscribe from this group and stop receiving emails from it, send an email to pretext-suppo...@googlegroups.com.
To post to this group, send email to pretext...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pretext-support/cce82027-abe7-47c4-9b85-5ee22535a7ab%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Bruce Yoshiwara

unread,
Sep 15, 2017, 3:19:36 PM9/15/17
to PreTeXt support
Hi Mitch,

Yep, I have MikTeX on windows, and after using its package manager to update the fontspec package, the fontspec error no longer occurs when I use the xelatex command.

And as you guessed, I still don't see the circled numbers in the resulting pdf document.

In response to Rob's query about exactly what packages I load, this is in my docinfo

        <latex-preamble>
            <package>cancel</package>
            <package>{xcolor}</package>
            <package>{stackengine}</package>
<!--            <package>gensymb</package> -->
        </latex-preamble>

   <macros>
        \newcommand\degree[0]{^{\circ}}
        \newcommand\Ccancel[2][black]{\renewcommand\CancelColor{\color{#1}}\cancel{#2}}
        \newcommand{\alert}[1]{\boldsymbol{\color{magenta}{#1}}}
        \newcommand{\blert}[1]{\boldsymbol{\color{blue}{#1}}}
        \newcommand{\bluetext}[1]{\color{skyblue}{#1}} <!-- comments in aligned equations -->
        \delimitershortfall-1sp
        \newcommand\abs[1]{\left|#1\right|}
    </macros>

Bruce
To unsubscribe from this group and stop receiving emails from it, send an email to pretext-support+unsub...@googlegroups.com.

To post to this group, send email to pretext...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pretext-support/cce82027-abe7-47c4-9b85-5ee22535a7ab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Alex Jordan

unread,
Sep 15, 2017, 3:37:15 PM9/15/17
to pretext...@googlegroups.com
The <package> element is only for LaTeX packages
that are also implemented as MathJax extensions.
This is documented in the commentary in the sample-article,
although maybe not anywhere else.

For example, "cancel" is a LaTeX package
and it is also a MathJax extension (http://docs.mathjax.org/en/latest/tex.html#cancel).

xcolor, stackengine, and gensymb are not MathJax extensions.
Using these may produce expected results in print,
but will either do nothing in HTML or will cause MathJax to throw a console error.
And using commands that rely on commands defined in the package
will cause MathJax elements to fail to render.

Also we should note that some MathJax extensions are intended
to mirror a LaTeX package, but may not come with all its features.



To unsubscribe from this group and stop receiving emails from it, send an email to pretext-support+unsubscribe@googlegroups.com.

-- 
Mitch Keller
Assistant Professor of Mathematics
Washington & Lee University, Lexington VA

--
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-support+unsubscribe@googlegroups.com.
To post to this group, send email to pretext-support@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pretext-support/ca774325-f629-4f8c-976a-78537b6c7948%40googlegroups.com.

Bruce Yoshiwara

unread,
Sep 15, 2017, 4:49:58 PM9/15/17
to PreTeXt support
Thanks Alex!

That helped a lot to alleviate some of my ignorance about packages and macros.

Bruce
To unsubscribe from this group and stop receiving emails from it, send an email to pretext-support+unsub...@googlegroups.com.

-- 
Mitch Keller
Assistant Professor of Mathematics
Washington & Lee University, Lexington VA

--
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 post to this group, send email to pretext...@googlegroups.com.

Rob Beezer

unread,
Sep 18, 2017, 1:18:52 PM9/18/17
to pretext...@googlegroups.com
Dear Bruce,

Back from a few days without a keyboard. Thanks for the "docinfo" information.

* Do you recall why "xcolor" and "stackengine" got braces?

* What use do you have for "stackengine"? It was used in the original
"sidebyside" code and it looked quite technical.

* I just went down a rathole with "Enclosed Alphanumerics" - Unicode characters
like circled digits - and xelatex fonts. I'll go back later and see what I can
conjure up.

xelatex uses *system* fonts, not TeX fonts, so the simple answer would be to
install a font within your system (or locate one there already) and tell xelatex
about it (yes, that last part is not helpful yet). I'm curious to hear what
Mitch has rigged up.

* Alex gave you a good explanation. Could you provide some assistance and read
Subsection 6.6.12 of this section of the Author's Guide about
"docinfo/latex-preamble/package" and suggest improvements?

http://mathbook.pugetsound.edu/doc/author-guide/html/topic-mathematics.html

Thanks,
Rob
>> <javascript:>> wrote:
>>
>> When I use xelatex, I no longer get the warning about the unicode
>> character, but there is still no circled digit in the output (that does
>> show up in html), and I get a new (possibly not relevant) error
>>
>> Erroneous variable \c__fontspec_shape_n_n_tl used!
>> l.3806 \emfontdeclare{ \emshape, \eminnershape }
>>
>>
>> a few times.
>>
>> The tex file comes from a ptx file, which in turn I had created from the
>> sample article file by deleting all the content, adding a few packages and
>> macros that I use in Kathy's book, then included only
>> <p>
>> Select the combinations of the products ① and ② whose sum or
>> difference could be the linear term, <m>-21x</m>.
>> <me>(8x \hphantom{000} 3) (x \hphantom{000} 3)</me>
>> </p>
>>
>>
>> Bruce
>> On Tuesday, September 12, 2017 at 5:00:54 PM UTC-7, Rob Beezer wrote:
>>
>> Try the xelatex command in place of pdflatex when you use unusual
>> Unicode characters. Where unusual means beyond the first 256.
>>
>> On September 12, 2017 4:50:04 PM PDT, Bruce Yoshiwara
>> <http://ups.edu/>
>> ><javascript:>>
>> >> wrote:
>> >>
>> >> For your degree problem. Retain the macro you defined. Drop adding
>> >the
>> >> gensymb package as part of the latex conversion.
>> >>
>> >> Then the macro should do the job for both conversions, since you have
>> >it
>> >> working for HTML.
>> >>
>> >>
>> >> On September 12, 2017 2:56:28 PM PDT, Rob Beezer <bee...@ups.edu
>> <http://ups.edu/>
>> >> <javascript:>> wrote:
>> >>
>> >> Dear Bruce,
>> >>
>> >> It will be next week before I can answer fully. I hope following
>> >> helps.
>> >>
>> >> HTML is limited by what MathJax supports. Macros you define then are
>> >> limited to using those commands. There are a few latex packages
>> >people
>> >> have implemented for MathJax. In these special cases PTX has a
>> >> mechanism to support them on both sides.
>> >>
>> >> There is a new comprehensive section of Author's Guide on mathematics
>> >> which I hope covers all of this in enough careful detail.
>> >>
>> >> Short answer: if you can make HTML behave, odds are good latex will
>> >> behave. But the converse is wildly false.
>> >>
>> >> Rob
>> >>
>> >> On September 12, 2017 11:57:17 AM PDT, Bruce Yoshiwara
>> <http://googlegroups.com/>com <http://googlegroups.com/> <javascript:>.
>> >> To post to this group, send email to pretext...@googlegroups.com
>> <http://googlegroups.com/>
>> <https://groups.google.com/d/optout>.
>> >>
>> >>
>> >> --
>> >> Mitch Keller
>> >> Assistant Professor of Mathematics
>> >> Washington & Lee University, Lexington VA
>> >> 206 Robinson Hall ~ 540.458.8099 ~ http://www.rellek.net
>> <http://www.rellek.net/>
>> >>
>> >>
>>
>>
>> --
>> 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 <javascript:>.
>> To post to this group, send email to pretext...@googlegroups.com
>> <javascript:>.
>> To view this discussion on the web
>> visit https://groups.google.com/d/msgid/pretext-support/cce82027-abe7-47c4-9b85-5ee22535a7ab%40googlegroups.com
>> <https://groups.google.com/d/msgid/pretext-support/cce82027-abe7-47c4-9b85-5ee22535a7ab%40googlegroups.com?utm_medium=email&utm_source=footer>.
>> For more options, visit https://groups.google.com/d/optout
>> <https://groups.google.com/d/optout>.
>
> --
> Mitch Keller
> Assistant Professor of Mathematics
> Washington & Lee University, Lexington VA
> 206 Robinson Hall ~ 540.458.8099 ~ http://www.rellek.net
>
> --
> 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
> <mailto:pretext-suppo...@googlegroups.com>.
> To post to this group, send email to pretext...@googlegroups.com
> <mailto:pretext...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/pretext-support/ca774325-f629-4f8c-976a-78537b6c7948%40googlegroups.com
> <https://groups.google.com/d/msgid/pretext-support/ca774325-f629-4f8c-976a-78537b6c7948%40googlegroups.com?utm_medium=email&utm_source=footer>.

Rob Beezer

unread,
Sep 18, 2017, 4:18:38 PM9/18/17
to pretext...@googlegroups.com
On 09/18/2017 10:18 AM, Rob Beezer wrote:
> * I just went down a rathole with "Enclosed Alphanumerics" - Unicode characters
> like circled digits - and xelatex fonts. I'll go back later and see what I can
> conjure up.
>
> xelatex uses *system* fonts, not TeX fonts, so the simple answer would be to
> install a font within your system (or locate one there already) and tell xelatex
> about it (yes, that last part is not helpful yet). I'm curious to hear what
> Mitch has rigged up.

Back from the rathole. I hacked the *.tex for the sample article to get a
"circled 1" out. See first line of the "introduction" and ignore subsequent bad
things as a consequence of hacking.

Long story short: I forced xelatex to switch to the "DejaVu Sans" font
temporarily for that one Unicode character. (I have that font on my system.)
By default, when processed with xelatex, the "Latin Modern" font is used.
Since it has a wide range of European characters, I have stuck with that. But
it does not have any "Enclosed Alphanumerics."

I'm not sure what the best way forward is. I've gained some understanding the
past year or so about font use in xelatex, mostly to support other languages,
but I'd call even that work "preliminary".

But I believe any Unicode character for which a system font exists should be
realizable via processing with xelatex. HTML is trivial on our end, but does
depend on what fonts a browser has available, and so is also partially out of
our control. The trick will be to design a scheme where fonts, languages, and
characters are easy to "specify" and authors need not go down into the rathole.

Rob
circled-1.pdf

Bruce Yoshiwara

unread,
Sep 18, 2017, 6:40:23 PM9/18/17
to PreTeXt support
Hi Rob,

Thanks for your patience.

I had played with xcolor and stackengine. Because I had no understanding of packages, I tried loading them within latex-preamble and/or latex-image-preamble, with either <package>xcolor</package> or with \userpackage{xcolor}, and evidently with braces inside the <package>.

The hope for xcolor was to allow color with the cancel package. (It worked in pdf but never in html.) The stackengine, was to try to fit long comments next to lines of aligned equations. I don't think I ever got it to work.

Yeah, Subsection 6.6.12 of the Author's Guide about "docinfo/latex-preamble/package" is clear. I evidently didn't remember reading it before, but even now it seems a bit hard to find without your providing the subsubsection number and link. I don't find the subsection title of "Mathematics" as the obvious place to look. Maybe a title something like "Formatting math: LaTeX and MathJax" would be more suggestive of the content.

Cheers.

Bruce

Rob Beezer

unread,
Sep 18, 2017, 6:50:43 PM9/18/17
to pretext...@googlegroups.com
Dear Bruce,

> Thanks for your patience.

Similarly.

> I had played with xcolor and stackengine. Because I had no understanding of
> packages, I tried loading them within latex-preamble and/or
> latex-image-preamble, with either <package>xcolor</package> or with
> \userpackage{xcolor}, and evidently with braces inside the <package>.

I was guessing it was experimental.

> Yeah, Subsection 6.6.12 of the Author's Guide
> about "docinfo/latex-preamble/package" is clear. I evidently didn't remember
> reading it before,

It is fairly new. Last few weeks. ;-)

> but even now it seems a bit hard to find without your
> providing the subsubsection number and link. I don't find the subsection title
> of "Mathematics" as the obvious place to look. Maybe a title something like
> "Formatting math: LaTeX and MathJax" would be more suggestive of the content.

Thanks - that helps.

Rob

Keller, Mitch

unread,
Sep 19, 2017, 8:44:40 AM9/19/17
to pretext...@googlegroups.com
Sorry for the delay in getting back to this. Semi-offline for a few days as had my mom here visiting.

Rob’s solution is essentially what we did for the fruit emoji in Bogart, it sounds like. To say a bit more, I put the following in our custom XSL:

<xsl:param name="latex.preamble.late">
    <xsl:text>% Set up the emoji for the three fruit we use&#xa;</xsl:text>
    <xsl:text>\newfontfamily{\emojifont}{Symbola}&#xa;</xsl:text>
    <xsl:text>\usepackage{newunicodechar}&#xa;</xsl:text>
    <xsl:text>\newunicodechar{<U+1F34E>}{\emojifont{<U+1F34E>}} % Red apple &#xa;</xsl:text>
    <xsl:text>\newunicodechar{<U+1F350>}{{\emojifont{<U+1F350>}}} % Pear &#xa;</xsl:text>
    <xsl:text>\newunicodechar{<U+1F34C>}{{\emojifont{<U+1F34C>}}} % Banana &#xa;</xsl:text>
</xsl:param>

The bits that show up as <U+1F34E> etc. are actual unicode characters as being rendered by my terminal, which doesn’t know about those symbols, but it’s easy to copy/paste them into a text editor that supports Unicode (or type them when you know how to do that). To say a bit about what the code is doing, we declare a font family and load a package that provides the \newunicodechar command. That command is then used to tell xelatex that when it encounters one of the specific characters, it should process it as \emojifont{character}, which switches the font just for that character. since we only needed this stuff in math mode, I also wound up declaring \apple, \banana, and \pear macros in the preamble. MathJax handled everything quite smoothly. (The characters are wrapped in \text{} inside the macros, which may be necessary to get MathJax to pass the handling off to the right font.)

I *think* that the newunicodechar package supports ranges of Unicode characters, so we probably could have taken all of the fruit pictograms and specified to use Symbola for them, but I didn’t want to get that far down the rabbit hole.

The Symbola font is free for any use, and can be obtained from http://users.teilar.gr/~g1951d/ It has very good coverage of Unicode, and is probably the best bet if you need a Unicode character that doesn’t seem to be part of the main system fonts.

In terms of HTML, my experience has been that modern browsers have been good at finding a suitable font for characters that might be lacking from the font a page is being rendered in. Symbola does seem to be available to pull in via CSS from fontlibrary.org https://fontlibrary.org/en/font/symbola if a robust solution were to be developed.

--
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 post to this group, send email to pretext...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pretext-support/MTAwMDAyOS5iZWV6ZXI.1505765832%40quikprotect.

For more options, visit https://groups.google.com/d/optout.
<circled-1.pdf>

Rob Beezer

unread,
Sep 19, 2017, 1:42:50 PM9/19/17
to pretext...@googlegroups.com
Thanks, there is a lot of useful stuff here. (BTW, unfortunately
\newunicodechar only works one character at a time.)

On 09/19/2017 05:44 AM, Keller, Mitch wrote:
> Sorry for the delay in getting back to this. Semi-offline for a few days as had
> my mom here visiting.

No problem. I'm going to be in-and-out a lot this year.
Reply all
Reply to author
Forward
0 new messages