-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Encodings #2435
Encodings #2435
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice!
There are some interesting failing CI tests in older texlives, maybe the babel test cases also need an update checked in?
I will take a few minutes to play with the new \accent
defintion, as it has piqued my curiosity...
I found just a couple of inaccuracies with \accent'27{right side}
\accent'27% where TeX would stop the accent read at Also, TeX's accent quietly stops at the end of a line, while latexml seemingly reverts the following Attaching the 7 variations I tried, 5 of which worked well. \accent'27a
\accent'27 a
\accent'27%
\accent'27{right-side}
{\accent'27}right-side
\accent'27\bgroup b \egroup
\accent'27\expandafter b
\bye Idea: Maybe the |
It's ironic that so much of this (& recent) PR's have consisted of chasing |
…t chr) in lcToken,ucToken for 128--256
…; have \DeclareTextSymbol use specified encoding
…ntMaps but assume already Unicode
067a2ab
to
e6afbdf
Compare
Warning rebased on previous merged PR |
@brucemiller I am really not trying to be persnickety, but reading your comment sent my mind into a very interesting corner, leading to a new test: \accent'27\char`^
\bye which does something sensible with pdftex (ha! sensible enough), while latexml throws a curious error. Not entirely related to your PR, but since you're looking at |
Hopefully the last commit fixes the french issue, but I'm going to look more carefully at |
…ve (U+0361 for \t tie) and update tests
…ze the <character>; enhance the test case
OK, that should handle |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Impressive new test, all looks great.
This PR deals with a variety of encoding, accent and font mapping issues. This brings the system closer to doing things the
latex.ltx
way.