# Tag Info

4


0

Finally I found that using \iflanguage{english}{this is english} \iflanguage{french}{this is french} is far more simple without using the xstring package.

7

As a work-around you could switch locally to ansinew reading with luainputenc: (edited a bit to reset the catcodes afterwards and also removed the write call back so that the toc now contains again real utf8). \documentclass{article} \usepackage{fontspec} \usepackage{luatexbase} %not needed now, but probably in the future. \PushCatcodeTableNumStack ...

13

The problem is not in mixing Icelandic and German. A smaller example shows the issue in all document classes. \documentclass{article} \usepackage[icelandic]{babel} \begin{document} Test \end{document} Running this through LuaLaTeX produces the same error you see (and similar ones later on): ! String contains an invalid utf-8 sequence. l.144 ...

4

Most likely this is caused by a package (babel language shorthand?) defining - to be active and then trying it to act "as normal" by defining it to be \leavevmode\char\- I get almost the same error (slightly different context, but the same time\unhbox \voidb@x \char \discretionary {-}{}{}step from the following: \documentclass{article} ...

0

There is auto-greek, a package which allows this exactly. I have tested some years ago, but I haven't used it; it was difficult in collaboration to use a package that cannot be installed automatically. You can review and download it here

2

You wrote: ... I tried with \latintext and \foreignlanguage{english}{...}, but apparently I cannot use anything starting with a \ as a value for prefixnumbers. The trick for that is to enclose the \printfield{prefixnumber} with \foreignlanguage: \foreignlanguage{english}{\printfield{prefixnumber}} Complete code (I changed francais to french to ...

2

You have to mark up the entries: \RequirePackage{filecontents} \begin{filecontents*}{\jobname.bib} @ARTICLE{HistoricalDocuments, hyphenation = {russian}, title={\foreignlanguage{russian}{Методы обнаружения разладки'' случайных процессов и их применение для анализа исторических текстов}}, ...

3

With initexmf --dump you are building user formats which are stored in your user profile. With miktex settings (admin) (or initexmf --admin --dump) you are changing and building admin formats. As user formats are found first they win. So use the user version of miktex settings to change and build them through a GUI. See also How should one maintain and ...

1

If you want to write text in math mode use \text{æ,ø,å}. See also Umlauts in math mode and utf-8 characters in latex math mode

0

Try switching between the "hebrew" and "italian" position in the class and babel commands. This is your code with the changes marked: \documentclass[dvips, a4paper, italian, hebrew ,10pt]{book} % <- here \usepackage{ucs} \usepackage[utf8x]{inputenc} \usepackage[italian, hebrew]{babel} % <- and here \usepackage{fontenc} \begin{document} תשץצסןנ ...

Top 50 recent answers are included