Tag Info

New answers tagged

1

You should not import the inputenc package multiple times (and that goes for all packages), even with different options. In your case, you should use the inputenc package with the utf8x option. Why, in your case, chosing utf8x over utf8, is explained in this document (footnote of the page 32).


2

The hyphenation patterns for the various languages must be loaded at format creation. The plain.fmt file is built with patterns only for English. You can enable languages by creating a format yourself: from the terminal run pdftex -etex -ini "\input bplain\dump" send the command mkdir -p $(kpsewhich -var-value TEXMFHOME)/web2c/pdftex send the command ...


8

The example if fixed by braces around the problematic UTF-8 character inside the text for decorate: text={|\myshift| T{ự} do} Otherwise the text would be scanned byte by byte and disrupting the multi-byte UTF-8 character.


2

I used patgen for Georgian. Georgian UTF-8 is 3 bytes long. so when patgen asks for Number of chars I use 3*N1, 3*N2 Where N1 and N2 are for one byte chars what patgen expects :) I had no succes with opatgen (unicode patgen)/was unable copile it for windows. This is nice program and library. Unfortunately not updated long time/ another way is to convert ...


4

First of all, whatever you are going to achieve, it won't work with ‘classical’ TeX. This is due to a design decision of Knuth – today we know that this was unfortunate, but at the time of writing TeX this was far less obvious: Hyphenation patterns are applied to glyph indices and not to input character codes. Since there are more than 256 Khmer ligature ...


2

First, make sure you have selected "Use non-TeX fonts (via XeTeX/LuaTeX) in the Fonts settings panel. In your preamble, you specify the fonts you want to use for specific languages using XeTeX syntax: \newfontfamily\hebrewfont{FreeSans} \newfontfamily{\devanagarifont}{Sanskrit 2003} etc. Then, in the lyx document, highlight the text in the foreign ...


2

you would like presentation like this First you must define Sans Serif Font ( for headings ) with \newfontfamily\arabicfontsf[]{Name of font} Second To put frametitles on the right you can use \setbeamertemplate{frametitle}[default][right] you must put your Persian text inside \textarabic{text} or with environment \begin{Arabic} \end{Arabic} (for ...


1

Please see this answers and this. I apply the latter in your document on \author as \usepackage{fontspec} \usepackage[utf]{arabxetex}%this line added \usepackage{polyglossia} \setmainlanguage{english} %\setotherlanguage{arabic}%this line removed . . . \author[\textarab{نویسنده}]{\textarab{نویسنده}} and "نویسنده" appears in my output. of course this ...



Top 50 recent answers are included