-
Notifications
You must be signed in to change notification settings - Fork 31
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
Support LuaMetaTeX #436
Comments
Pull request #529 has removed the files |
@andreiborisov: LuaMetaTeX should now be compatible with expl3: latex3/latex3#1518. |
Wow, this is fantastic news! Can we do something with Selene Unicode too? |
There are three functions from Selene Unicode that we use:
The function The function The function I can replace the functions |
@lostenderman: In #551, I am rewriting parts of the code that works with Unicode and I take that as an opportunity to better understand some parts of the code related to CommonMark. Currently, I am looking at the function When we use
However, when we use
I assume we want to either 1) have the values of
However, this seems to be robust against Alternatively, we may want to 2) expand to 1, 2, 3, 4 but not change the starting index in the call to
This seems much more likely to me. In this case, there seems to be little reason for using a for-cycle. Instead, we could collapse the check into a single PEG pattern that would check for the presence of whitespace characters of any length. Can you please help out, @lostenderman? Which one is the expected behavior? Fig 2, 3, 4, or something else? |
Hmm, the Fig 2 does indeed not look quite right. Fig 4 looks more like something what I would expect the function to check. I am surprised none of my tests caught this at the time. |
Thanks for the feedback, Fig 4 was my hunch too! Then, I suppose I can replace all functions
I will probably start off by creating a test file that breaks the current code. It should break somewhere in left-flanking and right-flanking delimiter runs, see also the code. |
As discussed in #402, there are a couple of blockers to supporting LuaMetaTeX:
expl3
no longer works with LuaMetaTeX: latex3/latex3#1518The text was updated successfully, but these errors were encountered: