#Vietnamese latex

1 messages · Page 1 of 1 (latest)

tepid badge
#

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

lilac wigeon
#

It should just be ,preamble --add \usepackage[vietnam]{babel}

finite tide
#

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}

tepid badge
#

hm

#

,preamble --add \usepackage[vietnam]{babel}

west caveBOT
#

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.

tepid badge
#

$3+5$ bằng $8$

west caveBOT
#

Compile Error! Click the errors reaction for more information.
(You may edit your message to recompile.)

tepid badge
#

rn it looks like this

#

oh

#

! LaTeX Error: Option clash for package babel.

what does this mean?

tepid badge
tepid badge
lilac wigeon
tepid badge
#

,preamble --add \usepackage[utf8x]{vietnam}

west caveBOT
#

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.

tepid badge
#

oh it got approved, nice

#

$3+5$ bằng $8$

west caveBOT
tepid badge
#

oh it works now, thanks!

lilac wigeon
tepid badge
#

hi again

#

ok so my latex has riemann preamble

tepid badge
#

and when i reinstall it, the vietnamese typeset is gone\

#

any way to have both at once?

lilac wigeon
#

What do you mean by Riemann preamble?

finite tide
fervent vortex
#

ugh

fervent vortex
tepid badge
#

oh okay

tepid badge
west caveBOT
#

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.

tepid badge
#

the only change i added was changing \usepackage[utf8x]{inputenc} into \usepackage[utf8x]{inputenc, vietnam}

fervent vortex
#

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.

tepid badge
#

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

fervent vortex
#

also if you really want to load utf8x u don't need to load inputenc and ucs because vietnam.sty loads them for you

fervent vortex
tepid badge
#

hm thats a problem

#

alright ill edit some stuff you mentioned

fervent vortex
#

up to you, my suggestions aren't to bring you more pain