Comments (3)
\ddot{q}
parses as
[ EOver False (EIdentifier "q") (ESymbol Accent "\776") ]
The problem is that dot.double is \168
(scraped from the typst documentation on symbols).
776 = Combining Diaeresis
168 = Diaeresis
You'll note we don't have trouble with \dddot
, just \ddot
, and this is why.
In typst-symbols, dot.triple is
8411 - combining three dots above
In my opinion, it would make sense for dot.double and dot.triple both to be mapped to characters with similar unicode properties -- hence 776.
cc @laurmaedje
In the mean time, though, we can probably just add some code to treat 776 as 168 for purpose of typst symbol lookup.
from texmath.
I've fixed this with the workaround. @laurmaedje I'm really not sure about the character mapping issue -- you probably know more than I do about this -- but I thought I'd raise the issue.
from texmath.
If I recall correctly, we did it this way because we generally wanted the non-combining character as the default for the symbol (e.g. tilde
is a normal tilde, not a combining one and diaresis/dot.double is the same), but the triple dot only exists in combining form. I'm not 100% sure though.
from texmath.
Related Issues (20)
- latex/markdown to typst overline conversion
- `U_{\frac{1}{n}}` gets converted to `U_1 / n` for LaTeX to typst.
- \tilde{x} from LaTeX to typst should get converted to accent(x,tilde.op) instead
- $\underbrace{x}_{y}$ from LaTeX to typst
- mathml vector - typeset error HOT 1
- texmath converts $s_n$ to $space_n$ from LaTeX to Typst HOT 1
- MathML <mo> created for each adjacent Rel symbol HOT 5
- texmath-0.12.8 testsuite failure in Nightly HOT 3
- Feature request: color
- Installing `texmath` binary as dependency in Nix project HOT 2
- how to run server HOT 2
- Wrong equation conversion from docx HOT 4
- pandoc cannot convert latex formula containing "*{20}{l}" HOT 1
- Recognise `\allowbreak` in TeX input
- Use Unicode in Typst HOT 5
- Do not use extra lr in typst writer HOT 2
- Minus for subtraction and minus for negative numbers not differentiated in default HTML math output HOT 5
- Pandoc cannot recognize some uppercase Greek letters and lowercase omicron HOT 8
- Math not correctly converted to typst: `\mathbf` should be bold and upright but is only bold
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from texmath.