Linked Questions

3
votes
2answers
12k views

solve “Unicode char is not set up for use with LaTeX” without special handling of every new interesting UTF-8 character [duplicate]

on topic of duplicate claims - I tested Tell Latex to ignore ALL unicode errors? - "solution" it resulted in LaTeX displaying "?" rather than ​"⌀". Thanks to people who provided high quality and very ...
19
votes
2answers
2k views

Unicode in XeTeX with automatic font substitution?

I've got a word processor (WordGrinder) which supports Unicode. It can export LaTeX files, which then get run through XeTeX. Unfortunately, it seems that while XeTeX understands the Unicode correctly,...
18
votes
1answer
2k views

Define fallback font for specific Unicode characters in LuaLaTeX

This closed question prompts me to propose a more general question and a solution I don't think has been demonstrated here. When compiling with LuaLaTeX and using Unicode input, how do you set up a ...
13
votes
1answer
2k views

Font substitution with XeLaTeX

I have an automatically generated document (using Doxygen) that has many different Unicode characters for many languages: Hebrew, Japanese, Greek, Arabic and more. Some parts of text displayed using ...
7
votes
2answers
259 views

XeTeX text layout strangely sensitive to spaces

I have a document in a script that requires complex text layout which I believe is supposed to work in XeTeX. But I get surprising results: \documentclass{article} \usepackage{fontspec} \...
6
votes
2answers
645 views

Cannot typeset cyrillic text in italics and bold at the same time using the LinuxLibertine font

I cannot tell if the following is a bug in the LinuxLibertine OTF files or if it is a bug in XeLaTeX (or both?). The problem is: when I try to typeset cyrillic text in italic and bold, the glyphs ...
7
votes
2answers
534 views

Setting a fallback font for non-Arabic charset not supported by a certain Arabic font

the desired Arabic font is Droid Arabic Naskh source here. Problem is that when I compile the document using xetex I get funny boxes instead of non-Arabic charset as in the MWE below: MWE \...
1
vote
1answer
274 views

Write real UTF32 in Latex?

Is it possible to write a Latex document independent of the input language (Latin, Arabic, Japanese, Hindi)? I though \usepackage[utf8]{inputenc} was there to do exactly that, but for instance ...
4
votes
1answer
408 views

Use a different font for characters not in my main font

I'm writing a document in XeLaTeX which includes some weird unicode characters such as █. The main font I want to use is OpenSans, which I have specified using \setmainfont{OpenSans} When I build ...
2
votes
1answer
110 views

Inserting _any_ unicode character in Latex document

I am totally new to XeLaTex and LuaLaTex, but I have read that both allow to write LaTeX documents in UTF-8. That actually works for some unicode characters, but not for all. See the following ...
1
vote
0answers
139 views

Define font faces fallback with fontspec

If a font doesn't contain a specific face, it is substituted by default face (like \mdseries), while I want to define a chain of fallbacks, so LaTeX keeps searching for an existing face, until it ...
1
vote
0answers
108 views

Parentheses don't appear after the compilation

I have an Arabic text. When compiling using XeLaTeX and the Noto Naskh Arabic font I can't get the parentheses, instead I got rectangles. An extract from the code: \documentclass[14pt,a4paper]{book} ...