Tag Info

Hot answers tagged


It's very easy with comment package \documentclass{beamer} \usepackage{comment} % for english \includecomment{english} \excludecomment{french} % for french %\includecomment{french} %\excludecomment{english} \begin{french} \usepackage[french]{babel} \end{french} \usepackage{blindtext} \begin{french} \title{Titre} \author{Moi} \end{french} ...


It's a bug in gloss-latin.ldf that doesn't advertise the pattern file name for LuaLaTeX. Workaround: do it yourself. \documentclass{article} \usepackage{polyglossia} \setdefaultlanguage{english} \setotherlanguage[variant=classic]{latin} \setotherlanguage{italian} \makeatletter \def\latin@language{% \language=\l@classiclatin ...


Here I demonstrate only how to use fontspec to select many different fonts for different languages in one document. I use a main font that already covers a wide Unicode range, and then select other fonts as appropriate. I used fonts either available in TeXLive or freely available elsewhere. Compile with lualatex. Note that for Hebrew and Arabic you have to ...


I have fixed the bug in Polyglossia with this commit and will make an upload to CTAN shortly. Many thanks to Enrico for investigating and suggesting a workaround.


After \usepackage{polyglossia} \setdefaultlanguage{dutch} the language name is dutch, but the language setting is still the default language 0 (USenglish). Thus the warning is correct. Package polyglossia sets the language later in \begin{document}. The warning can be avoided: Loading the package later, when polyglossia has set the language: ...


Just put the individual words in curly brackets, as follows: {لها} {عماد} {لا} {بيوتا} {يبني} {العلم} with: \usepackage [utf] {arabxetex}


You may also try egreg's hyplain as a format for Plain TeX. It requires only three files to install, and the documentation is a two page leaflet.


With XeTeX and LuaTeX you don't need inputenc or fontenc, since all strings are assumed to be UTF-8 encoded by default. What you need though is to setup the fonts. If you don't mind cmr like fonts, I recommend you to install the CMUnicode fonts. To get instructions to set them up you may follow the directions given in this question, using the plain-cmu.tex ...

Only top voted, non community-wiki answers of a minimum length are eligible