0

I'm noob in lyx. I like Lyx but in terms of multilingual is a pain ass for dummies .... I try so many times I need many languagues error error error..

It is possible for lyx ? similar to this link: Pro I like lyx because I can use mode offline!

How to write multilingual text with differents scripts in latex

Example document:

% Preview source code

%% LyX 2.3.3 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass{article}
\begin{document}
\title{\selectlanguage{american}%
How\foreignlanguage{spanish}{ to write multilingual text with different
scripts in lyx for Dummies}}
\author{\selectlanguage{spanish}%
Lyx Community}
\maketitle

\section{Spanish}

Como escribir diferentes lenguajes en lyx para principiantes

\section{Chinese}

<LyX Warning: uncodable character '如'><LyX Warning: uncodable character '何'><LyX Warning: uncodable character '用'><LyX Warning: uncodable character 'l'><LyX Warning: uncodable character 'y'><LyX Warning: uncodable character 'x'><LyX Warning: uncodable character '中'><LyX Warning: uncodable character '的'><LyX Warning: uncodable character '不'><LyX Warning: uncodable character '同'><LyX Warning: uncodable character '腳'><LyX Warning: uncodable character '本'><LyX Warning: uncodable character '編'><LyX Warning: uncodable character '寫'><LyX Warning: uncodable character '多'><LyX Warning: uncodable character '語'><LyX Warning: uncodable character '言'><LyX Warning: uncodable character '文'><LyX Warning: uncodable character '本'>

\section{Hindi}

कैसे गीत में विभिन्न लिपियों के साथ बहुभाषी पाठ लिखने के लिए

\selectlanguage{spanish}%

\end{document}
  • 1
    Welcome to TeX.SX! Please show us what your have tried and what errors you get. It's hard to help without more information. – siracusa Jul 10 at 5:59
  • @siracusa link – Fernando Prieto Jul 10 at 8:39
  • @siracusa can you help me, please? – Fernando Prieto Jul 10 at 15:07
  • What errors do you receive? Perhaps it is a font encoding problem in LyX. Does your .tex file compile if you use pdflatex directly? You also don't seem to include the babel package. – siracusa Jul 10 at 15:26
  • @siracusa Bro I configure the document in chinese, encoding utf 8 cjk(bkai) no problem, but when I copy and paste another laguage for example hindi, uncodable character... I select aply text hindi! but don't export to pdf! I don't know how to configure if I use more idioms and phrases .. Thank you for you help! I don't speak english very well.. I use Ubuntu 18.04 LTS LyX Version 2.3.2... I installed everythind I look on the website!... For example if a configure the document language hindi works! but I add in the document another phrases languague error! you know? – Fernando Prieto Jul 10 at 17:21
0

New file, Document settings, language spanish, Marcar fonts use nontex / latex Latex preambule add: % Config Chinese \usepackage{xeCJK}

% Font Hindi \newfontfamily{\devanagarifont}{Noto Serif Devanagari}

Work!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.