I use texit a lot, both for foreign people and my friends, which are vietnamese. But i cant use vietnamese in my latex, it would display as garble. I looked up and see this article, but im not sure how to apply it to my preamble
#Vietnamese latex
1 messages · Page 1 of 1 (latest)
It should just be ,preamble --add \usepackage[vietnam]{babel}
i haven't tested it with the bot, but i was able to get it working locally (with the same setup the bot uses) by following the second answer and adding this to the preamble:
\usepackage[utf8]{vietnam}
Your preamble request has been sent to my review team.
You will be messaged when your request is reviewed (usually around 1-2 hours, depending on availability).
If you wish to retract your submission, please use ,preamble --retract.
$3+5$ bằng $8$
Compile Error! Click the
reaction for more information.
(You may edit your message to recompile.)
rn it looks like this
oh
! LaTeX Error: Option clash for package babel.
what does this mean?
says option clash with babel
adding it to texit preamble says Option clash with inputenc which currently explicitly loads utf8x
try \usepackage[utf8x]{vietnam} instead of \usepackage[utf8]{vietnam}
,preamble --add \usepackage[utf8x]{vietnam}
Your preamble request has been sent to my review team.
You will be messaged when your request is reviewed (usually around 1-2 hours, depending on availability).
If you wish to retract your submission, please use ,preamble --retract.
oh it works now, thanks!
np!
but ever since i did this, the riemann preamble is replaced with this
and when i reinstall it, the vietnamese typeset is gone\
any way to have both at once?
What do you mean by Riemann preamble?
ugh
download/clone the original """riemann""" preamble and make changes yourself (since it contains a lot of outdated stuff) before submitting
oh okay
,preamble --replace
Your preamble request has been sent to my managers for review.
You will be messaged when your request is reviewed (usually around 1-2 hours, depending on availability).
If you wish to retract your submission, please use ,preamble --retract.
the only change i added was changing \usepackage[utf8x]{inputenc} into \usepackage[utf8x]{inputenc, vietnam}
u don't need utf8x anymore, utf8 is the default since 2018
u don't need expl3 and xparse since 2020 it's included into LaTeX by default
u don't need ucs
fullpage doesn't do anything since TeXit uses standalone class
don't need to load amsfonts anymore
amssymb loads it by default
etc. etc.
oh thats a lot uhhh
but it should still run fine right? unless i want otherwise, for now i dont want to really change anything that might take me too much time to debug
also if you really want to load utf8x u don't need to load inputenc and ucs because vietnam.sty loads them for you
if something does go wrong (which it will because of utf8x) we're not gonna be responsible
up to you, my suggestions aren't to bring you more pain