Giter Site home page Giter Site logo

Comments (7)

YuanshengZhao avatar YuanshengZhao commented on June 16, 2024

This should be due to that the map partialriff -> partialdiff.x.ss is not set correctly. I will fix this after finishing current fix on spacings.

from garamond-math.

YuanshengZhao avatar YuanshengZhao commented on June 16, 2024

This should have been fixed now.

update: Seems with LuaTeX this is not working... There is still somethings to to.

from garamond-math.

YuanshengZhao avatar YuanshengZhao commented on June 16, 2024

ss06 and ss10 also does not work on LuaTeX.
Seems that all combination of look-ups is not working.

from garamond-math.

ndandanov avatar ndandanov commented on June 16, 2024

Hi @YuanshengZhao,
Thank you for your excellent work!
I am using XeLaTeX and it seems that ss10 for Garamond-Math does not work with it, too.

from garamond-math.

YuanshengZhao avatar YuanshengZhao commented on June 16, 2024

@ndandanov Could you please tell me the version you are using and provide a minimum example?
The current version (both on GitHub & ctan) does not produce error with XeTeX (though still has some problems with LuaTeX):

\documentclass{article}
\usepackage[math-style=ISO, bold-style=ISO]{unicode-math}
\setmathfont{Garamond-Math.otf}[Path=./,StylisticSet={10}]
\begin{document}
  \[h_{h_h}\hbar_{\hbar_\hbar}\]
\end{document}

image

from garamond-math.

ndandanov avatar ndandanov commented on June 16, 2024

@YuanshengZhao,
Sorry for the confusion, this turned out to be a misconfiguration on my end.
I had the following in my preamble:

    \RequirePackage{mathspec}
    \setmathsfont(Digits,Latin,Greek)[Numbers={Proportional}]{EB Garamond}

After removing this, the stylistic set works as expected. I could not find any significant difference between XeTeX and LuaTeX.
Thank you for the beautiful font and for the support!

from garamond-math.

YuanshengZhao avatar YuanshengZhao commented on June 16, 2024

In LuaTeX the following are not working:

  • Sub/super script or anything equivalent (such as small fraction or matrix)
  • Cannot use this ss10 with hbar with horizontal bar (ss06).

The reason might be that in LuaTeX all nesting of glyph substitutions are ignored, and I have no idea how to make this work currently.
The above case is for script: h -> h.out_bending -> h.out_bending.ssty (a slightly thicker glyph for script) or h -> h.ssty -> h.out_bending.ssty. And similar situation for the latter.

from garamond-math.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.