CTAN (
https://ctan.org/pkg/xltxtra?lang=en) says:
> This package was previously used to provide a number of features that were
useful for typesetting documents with XeLaTeX. Many of those features have now
been incorporated into the fontspec package and other packages, but the package
persists for backwards compatibility
I remember it has having a bunch of little fixes and add-ons not yet in
mainstream XeLaTeX. Sounds like that has changed.
Have you tested trashing it? Does MathJax provide "\vfrac"? (If not, then it
shouldn't be in PreTeXt source.) Thought on realscripts, \showhypens, \namedglyphs?
On 7/7/24 20:08, Alex Jordan wrote:
> I don't see any explanatory comments in the vicinity. Just:
> <xsl:text>%% begin: xelatex and lualatex-specific default
> configuration
</xsl:text>
> <xsl:text>\ifxetex\usepackage{xltxtra}\fi
</xsl:text>
> <xsl:text>%% realscripts is the only part of xltxtra relevant to lualatex
> 
</xsl:text>
> <xsl:text>\ifluatex\usepackage{realscripts}\fi
</xsl:text>
> <xsl:text>%% end: xelatex and lualatex-specific default
> configuration
</xsl:text>
>
> Three packages loaded (some of which themselves redefine things, so maybe those
> are the smaller tweaks you remember. And then the last three bullets from my
> first message are added. That's all I can see from its documentation, including
> a review of its actual code laid out at the end of the documentation. Certainly
> possible I'm missing things though, wouldn't be the first time.
>
>
>
> On Sun, Jul 7, 2024 at 7:37 PM 'Rob Beezer' via PreTeXt development
> <
prete...@googlegroups.com <mailto:
prete...@googlegroups.com>> wrote:
>
> Can't look right now. Aren't there code comments in the vicinity in the XSL?
>
> I seem to think there were some smaller tweaks, not just a bunch of package
> loading.
>
> On July 7, 2024 4:51:58 PM PDT, Alex Jordan <
jordanc...@gmail.com
> <mailto:
jordanc...@gmail.com>> wrote:
> >Would there be harm in stopping how we laid the xltxtra package? Currently
> >we load it if you are running xelatex. The package loads:
> >* fontspec (which we already load if you are using xelatex)
> >* realscripts (which we could load directly)
> >* metalogo (which we could load directly)
> >* makes \vfrac for vulgar fractions, which we do not seem to use
> >* makes \namedglyph, which we do not seem to use
> >* redefines \showhyphens, which we do not seem to use
> >
> >Am I missing something about this package? Or do we actually use things
> >that I listed as not being used?
> >
> >I would like to remove it, because I am investigating using mathspec
> >instead of fontspec, to get unicode characters in math content. (All under
> >a xelatex situation.) Since we load fontspec explicitly, loading it
> >"secretly" with xsltxtra causes problems with some package option clashing.
> >
>
> --
> You received this message because you are subscribed to the Google Groups
> "PreTeXt development" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
pretext-dev...@googlegroups.com
> <mailto:
pretext-dev%2Bunsu...@googlegroups.com>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/pretext-dev/MTAwMDAyMy5iZWV6ZXI.1720406218%40quikprotect <
https://groups.google.com/d/msgid/pretext-dev/MTAwMDAyMy5iZWV6ZXI.1720406218%40quikprotect>.
>
> --
> You received this message because you are subscribed to the Google Groups
> "PreTeXt development" group.
> To unsubscribe from this group and stop receiving emails from it, send an email
> to
pretext-dev...@googlegroups.com
> <mailto:
pretext-dev...@googlegroups.com>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/pretext-dev/CA%2BR-jrdCE_tAmV3HBL%3DNbh5W2frZn4OjtG2Ct9nLirMbNwozxA%40mail.gmail.com <
https://groups.google.com/d/msgid/pretext-dev/CA%2BR-jrdCE_tAmV3HBL%3DNbh5W2frZn4OjtG2Ct9nLirMbNwozxA%40mail.gmail.com?utm_medium=email&utm_source=footer>.