-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Romanian language PDF broken - font trouble #35
Comments
https://tex.stackexchange.com/questions/347629/issue-with-diacritics-in-romanian-language-document It appears to be a problem with LaTeX and their fonts. LuaLaTeX should support Romanian fonts properly but it appears that the following is missing from main.tex
|
structure.tex has the following lines:
which conflict with Romanian |
replacing this in structure.tex fixes the text but the headings are still broken |
Hm. I wonder if we should also release an HTML version of the book. This would in my view fix these problems as there are many fonts which support many more characters. I do not really know how to fix this as I am not so proficient in latex. |
What do you replace this with? Can you make a pull request? We can also change this content. |
OK. So I have it working. In structure.tex I needed to comment out
The T1 font encoding doesn't work well for Romanian according to that link above. In main.tex I needed to comment out the \afont directive Something in that definition messes with two of the Romanian characters. Now it handles the Romanian characters fine - even with the So now I need to know how we can insert directives with a conditional based on language. |
Is there any if/then/else in Latex? |
The default font for Romanian leaves out some of the letters. For example, the title of "Let's party like it's 2099" in Romanian should be: "Să ne distrăm ca și cum am fi în 2099" - but in the PDF it appears as: "S ne distrm ca i cum am fi în 2099". So all of the 'ă' and 'ș' are missing.
The text was updated successfully, but these errors were encountered: