-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Adding more unicode characters to the generated *.tex file #3511
Comments
You can overwrite it through
Please write code in your
IMO, it is better to use unicode-supported LaTeX engine (XeTeX or LuaTeX). |
Is LuaTeX a replacement without side effect for pdflatex? I'm on Windows with a Miktex (2.9 x86_64) installation. I'm using a translated |
Sorry, I don't know that because I'm not an expert of TeX. |
OK. I have started LuaLaTeX, but it stops with unknown control sequence errors. I also tried XeLaTeX that worked and generated the expected PDF file without adding more Unicode characters. As this is nice to know, but non of the flows is supported on RTD. So I'll stick to manually adding characters to the preamble as propose in the first answer. |
Hi @Paebbels ! I am not familiar with it but there might be a pdflatex alternative which is
It has capacity of handling on the fly Unicode characters, you can also use
In my brief testing I did not need explicit such declarations, but from having looked briefly at The |
About using LuaTeX, this is option only if using always latest TeX install. Indeed, it evolved a lot over the last five years and only recently reached LuaTeX and XeTeX each has its problems with math. They are not 100% backwards compatible with pdfTeX in this respect, but it may not matter to most users. LuaTeX incorporates Lua scripting language and hooks into the core TeX hence it allows things completely impossible at macro level in TeX. LuaTeX and XeTeX are best used with OpenType fonts, although they may be used with classic TeX fonts for backwards compatibility (very good for text, less good for math). Regarding Sphinx, currently on master HEAD, they will load package |
I have an up-to-date Miktex installation. LuaLaTeX reports:
|
Thus, you are all clear for LuaLaTeX use ! but did you use LuaLaTeX via |
The generated
*.tex
file already contains a section for additional Unicode characters like this:However, I need to add more characters, to build my documentation on my local machine. The build on ReadTheDocs seems to have no problems like this. I find it annoying to patch this 3.5 MiB file by hand to insert more characters before I launch the next translation step (starting pdflatex).
The characters are generated from
<mmlalias.txt>
.This is my patched Unicode character list:
I identified these characters by try-and-error debugging. More might follow so I'm looking for a longtime solution.
Questions:
The text was updated successfully, but these errors were encountered: