-
Notifications
You must be signed in to change notification settings - Fork 56
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
Local enumeration on the website #132
Comments
Yes we can certainly do that I just experimented here https://davidcarlisle.github.io/ll/ I hope that's the correct digit sequence, apologies if not. The code for that is in
Then (conditionally for mr but in my test I did it always), replace direct use of the number
by casting to an integer and looking up in the array
So subject to getting in the conditional tests in the right place we can certainly make this work |
Thank you so much for this information. There is a tiny mistake in number '10'. The symbol used for zero in 10 is wrong and should actually be Doubts
Apart from this thanks for suggesting me the code, but I hardly know this programming language and I don't want to mess things up in my commit history, so is it okay if I ask you to add these few lines as an MR for my fork? |
Hey I only got one wrong, better than I hoped, I will correct thanks:-)
Because I originally wrote this using html
That was what I originally intended but liquid scripting is very weird and just having a simple array where the Marathi (or in principle other languages) can simply use digits[number] turned out to be a lot simpler.
No that is nonsense, I'll delete.
Yes, of course: I was just checking it could work, also I just did it in my test site (which still has the old table of contents layout) we can sort it out later when we merge your files in. |
😅
No problem. I see that you have removed it in the MR. That's great.
Okay. So in case I need a number greater than 17, I just have to add it in the above array, right?
I can see your MR. I am merging it and closing this. Thank you so much for this help 😄 |
This issue is related to this comment. Auto-generated numerals are Arabic on the website, is there any way to change the script of the numerals. I need Devanagari numerals on my fork for Marathi translation.
https://niranjantambe.github.io/learnlatex.github.io/mr/
The text was updated successfully, but these errors were encountered: