XeTeX is a Unicode-capable variant of the TeX engine. Use this tag if your question is about Xe(La)TeX specific problems and is not related to standard (La)TeX.

learn more… | top users | synonyms (1)

13
votes
0answers
595 views

Complex ligatures in Devanāgarī

Ligatures are known to the Western European languages, however it isn't that common to spot vertical or complex form of them. As an exercise in typography I tried to get some complex ligatures in ...
11
votes
0answers
97 views

Wrong marginnote positions inside a tikzpicture with XeLaTeX

The marginnote package offers the \marginnote macro. I use this inside a tikzpicture environment to place notes into the margin. While this works without problems when compiling with pdfLaTeX, this ...
10
votes
0answers
124 views

Cannot use pgf-blur twice with XeLaTex

The following code \documentclass{article} %\def\pgfsysdriver{pgfsys-dvipdfmx.def} %this line does not matter \usepackage{tikz}\usetikzlibrary{shadows.blur} \begin{document} \begin{tikzpicture} ...
8
votes
0answers
88 views

Adding full non-English Unicode language (Bengali) support to polyglossia

As we can see in this question, Bengali (Bangla) support in polyglossia is incomplete. The major weak areas are, Support for numerals. Support for other language related areas like dates. For ...
8
votes
0answers
97 views

Correcting wrong choice of character variant from a stylistic set

I'm typesetting a document in German blackletter with XeLaTeX and ran across a peculiar — for want of a better word — error: The hyphenation in itself is okay at that position. However, German ...
8
votes
0answers
451 views

Why php exec() fails .tex→xelatex→.pdf, but succeed .tex→xelatex→.xdv→xdvipdfmx→.pdf?

The call of command: $dir = "/path/to/source/file"; exec("cd $dir;xelatex filesource.tex", $output_array[0]); always fails, but: $dir = "/path/to/source/file"; exec("cd $dir;/usr/texbin/xelatex -...
8
votes
0answers
357 views

Embedding a complete rather than a partial font

Is it possible to make XELatex embed a full rather than a partial font? The reason I ask is that I am trying to induce a fillable form to use the body font (a question asked before by several ...
8
votes
0answers
871 views

otf sans serif math only in figures

I was going to use a serif font (TG Pagella) for most of the text (including captions) and a sans serif font (Candara) for my (tikz) figures. For text this works nice, but not for maths. First I used ...
7
votes
0answers
94 views

Oriental TeX and Husayni

I have recently been typesetting a Quranic Mashaf using a combination of XeLaTeX, bidi, and polyglossia. I am generally pleased with the results so far, but after reviewing Idris Samawi Hamid's work ...
6
votes
0answers
82 views

Why does the picture appear in a different position in XeLaTeX?

Min reprex: \documentclass{article} \usepackage{graphicx} \usepackage{adjustbox} \usepackage{showframe} % just to illustrate \begin{document} \adjustbox{trim={.5\width} 0 0 0,clip}{\includegraphics{...
6
votes
0answers
62 views

Xelatex, and strange textcolor behavior in tikz

Here is a minimal working example: \documentclass{beamer} \usepackage{tikz} \setbeamercolor{background canvas}{bg=black} \setbeamercolor{normal text}{fg=white} \begin{document} \begin{frame} \...
6
votes
0answers
224 views

tikzmark and xelatex

There seems to be a problem with tikzmark and xelatex. Ulrike Fischer from the xetex list helped to track this down. The following code does not work when compiled with xelatex but produces the ...
6
votes
0answers
235 views

Combining diacritical mark is misaligned with luatex, but not with xetex

Consider the following code: \documentclass{article} \usepackage{fontspec} \setmainfont[BoldItalicFont = {* Semibold Italic}]{Linux Libertine O} \begin{document} \textit{\textbf{V\char"0306}} \end{...
6
votes
0answers
1k views

Tufte-book under XeTeX

I am trying to use tufte-book with either XəLaΤεχ or LuaΤεχ. Both give me a ‘Missing \begin{document}’ error, which is obviously not the real cause as it is indeed there. The whole skeleton I am ...
6
votes
0answers
431 views

TeX Gyre fonts in XeLaTeX and LuaLaTeX: call by name or file name?

Is there any downside of using file names with \setmainfont, except for the fact that it takes more typing? I ask because I am experiencing problems with using names for TeX Gyre fonts on my Linux ...
5
votes
0answers
71 views

XeLaTeX font rendering tend to be slightly bolder compared to PDFlatex

I noticed that there is a subtle difference of font rendering result between pdflatex and xelatex. xelatex tend to be slightly bolder compared to pdflatex. Even the file thumbnails in file manager ...
5
votes
0answers
87 views

Whitespace in fractions in XITS

I am using XITS to typeset math, but I have noticed that whitespace in fractions gets larger due to subscripts. The minimal example (typesetted with XeLaTex): \documentclass[11pt]{article} \...
5
votes
0answers
212 views

Beamer and ampersands (XeLaTeX)

There are some known problems with ampersands and beamer (as discussed here, for instance), but I haven't been able to find a good reference... Anyway, the concrete problem I have is with tables (...
5
votes
0answers
127 views

How to load baskervaldx font in xelatex

I'm trying to use the baskervaldx font in XeLaTeX; however it doesn't kern properly. With LaTeX it works as supposed. What is the right way to load the Baskervaldx font? With LaTeX, default install ...
5
votes
0answers
446 views

XeLaTeX and LuaLaTeX: which is faster?

Beacuse I typeset in Japanese, I don't use LaTeX and now want to know which compiles faster: XeLaTeX or LuaTeX? Is Lua language allows to make the compile faster?
5
votes
0answers
178 views

How to make dictionary finderlist with glossaries or index packages?

I am making a bilingual Pohnpeian-English dictionary using XeLaTeX and I am trying to find a way to generate an English finderlist. So far I have the Pohnpeian to English section coded like this \...
5
votes
0answers
216 views

How to make hyperref link boxes in XeLaTeX as big as they are in pdfLaTeX

When typesetting the following sample using xelatex, the various clickable link-boxes produced using \ref, \cite, \footnote, \href, etc. are small and ugly, and sometimes make it hard to read the ...
5
votes
0answers
262 views

Using specific font for the equation in XeLaTex

I want to use a specific font for a specific formula in XeLaTeX. Usually, the math font can be set up using mathspec package. \usepackage{mathspec} \setmathsfont(Digits,Latin,Greek)[Numbers={Lining,...
5
votes
0answers
180 views

Clickable box malformed in TOC when using math in heading and the Latin Modern Math font

The clickable box (the actual hyperlink) in the TOC is too heigh when using the Latin Modern Math font. Using Cambria Math everything looks normal. Using the \texorpdfstring{}{} command does not ...
4
votes
0answers
49 views

How to specify font preferences in XeTeX math mode?

I would like to use specific fonts in the math formulas in a document I am writing. I mainly want to use the "great escape" font. After some search on the web I tried the following code: \...
4
votes
0answers
31 views

XeLaTeX: \mathrm in a footnote uses a different typeface from that specified by \setmathfont

In the following XeLaTeX example, \documentclass{article} \usepackage{fontspec,unicode-math} \setmainfont{Libertinus Serif} \setmathfont{Libertinus Math} \begin{document} $\mathrm{d}$: d\footnote{$\...
4
votes
0answers
45 views

lecturer.tex and xetex

I am experimenting with lighter-weight alternatives to beamer, and found lecturer.tex interesting. However, it depends on PDF-specific features, thus it compiles under pdftex. If I try to use xetex I ...
4
votes
0answers
54 views

XeTeX: special \XeTeXcharclass needed for null glues

\XeTeXcharclass for glues (including null ones) is 255. High punctuation spacing in French with XeTeX is based on \XeTeXcharclass and \XeTeXinterchartoks both in polyglossia and babel/frenchb. As a ...
4
votes
0answers
237 views

XeLaTeX and ifplatform/catchfile (loaded by “minted”): Errors on compilation

I'm using minted along with XeLaTeX, but recently I've run into strange problems. To illustrate what I mean, consider the following MWE (the filename is main.tex): \documentclass{minimal} \...
4
votes
0answers
78 views

How to enable contextual swashes for Arabic

I recently read about Contextual Swashes for Arabic fonts from here. They have shown an example of how it would look. I've already read this question and it helped me set up my MWE. Here is a quick ...
4
votes
0answers
449 views

How to create identical PDF files with xelatex?

The question how to create identical PDF files with pdflatex was basically answered in this question already: How to create identical PDF files? The catch was to filter out the entry /ID in the ...
4
votes
0answers
140 views

Time clock at the footline of a beamer slide is not adjusted in the middle if compiling with XeLaTeX

I'm adding a title clock in the foot line of a beamer slide, if I compile it with pdfLaTeX it works fine; while the clock doesn't align in the middle vertically if compiling with XeLaTeX. How can I ...
4
votes
0answers
103 views

How to use a particular glyph with no unicode point for hyphens?

I’m typesetting some documents with XeLaTeX, using in the OS X distribution of Hoefler Text. Unfortunately, said font has had a nasty bug since forever: its default hyphen character is formatted for ...
4
votes
0answers
199 views

Default language for both polyglossia and fixme

Is it possible to change the default language for both the polyglossia and fixme package at the same time? After v1.2.0 polyglossia no longer supports loading language definition files as package ...
4
votes
0answers
116 views

Unicode and listings - still no luck

Although there are already some discussions on this issue, I can't get any of the proposed solutions to work for me. Take this document and compile it with xelatex: \documentclass[12pt,a4paper,...
4
votes
0answers
262 views

Multilanguage in LaTeX?

\documentclass[12pt]{article} \usepackage{polyglossia} \setmainlanguage{english} \setotherlanguage[numerals=western]{urdu} \newfontfamily\urdufont[Script=Arabic,Scale=1]{Jameel Noori Nastaleeq} \...
4
votes
0answers
280 views

Beamer: problem with \framezoom and XeLaTeX

I have a problem getting the \framezoom command to work when compiling with XeLaTeX, using fully updated MikTeX 2.9. Here is an example: \documentclass{beamer} \usepackage{mwe} \begin{document} \...
4
votes
0answers
200 views

Adobe Reader does not open file created with [xetex]{\attachfile2}

I have been using \attachfile2 successfully to create PDF documents with LaTeX already. However, when switching to XeTeX, I find the Adobe Reader says it cannot open the file due to security settings....
4
votes
0answers
257 views

How to define a style for drawings using a special font and siunitx?

I would like to define a style (e. g. style=techDraw) that gives me the possibility to define the behavior of all technical drawings made by tikz or imported as pdf_tex a. s. o. when the style ...
4
votes
0answers
148 views

Support for all writing systems in a single document — more than just one or two Unicode planes simultaneously

I am working on a document that contains a growing number of representatives from different writing systems. It is mostly an English document, and I have been using the following to ensure that CJK ...
3
votes
0answers
35 views

PDF-1.6 appears with pdflatex but not with xelatex

Adobe Acrobat Pro extract pages from a PDF file and saves them as PDF-1.6 by default. When those PDF-1.6 files are included in a beamer presentation and compiled with Xelatex, they don't appear (...
3
votes
0answers
59 views

Trouble with fonts in XeLaTeX in MacTeX 2016

Consider the code % !TEX TS-program = XeLaTeX % !TEX encoding = UTF-8 Unicode \documentclass[11pt]{book} \usepackage{unicode-math} \setmainfont [Ligatures=TeX] {TeX Gyre Pagella} \setmathfont [...
3
votes
0answers
23 views

Only name appears when using currfile

My problem was partly addressed in this question. Since I cannot comment yet, I will continue Ulrike Fischer's answer with a new question. The expample worked on my system as well with pdflatex, but ...
3
votes
0answers
55 views

Explanatory notes (for BibTex or BibLaTeX “fields”) showing on mouse-hover (a.k.a. tooltip) when hovering over references' fields

Imagine you have a bibtex reference entry with many different (also non-standard: called e.g. this1 here) "fields", as such: @online{foo, title = {...}, url = {...}, urldate = {...}, this1 = {...
3
votes
0answers
136 views

Biber exits with “WARN - No data sources defined!”

I am trying to use biber with XeTeX. Whenever I try to run biber against my .bcf file (generated via biblatex with the biber backend properly stated), I have the following output: INFO - This is ...
3
votes
0answers
112 views

XeLaTeX: mathtools, unicode-math and \text spoil \mathtt

I work on a big XeLaTeX document and encountered a rendering bug(?) with my MiKTeX installation (all packages are updated as per April 10, 2016). Here is a minimal example: \documentclass{article} \...
3
votes
0answers
44 views

Cochin and common ligatures with font spec

I'm using Cochin as main font in a XeLaTeX project, and having Cochin glyphs for common ligatures such a fi and fl, I would expect those ligatures to be used by the fontspec package—but that's not ...
3
votes
0answers
62 views

How to create Tagged PDF using XeLaTeX

I have successfully generated Tagged PDF using PDFMark in \special{ps: } via DVI->PS->PDF method. Now I am trying to achieve the same in XeLaTeX and not success. Can anybody help me to put PDF tags ...
3
votes
0answers
131 views

Copying ligatures from XeLaTeX PDF

For quite a while I am having the problem that copying and searching from my PDFs is a bit difficult as ligatures are not properly translated. I am using XeLaTeX with Libertine/Biolinum. I am a ...
3
votes
0answers
73 views

How can Bengali v.2 (bng2) be used to typeset Bengali with XeTeX?

This is a follow-up to this question about typesetting Bengali. As explained in both answers there, XeLaTeX can typeset Bengali given a suitable font using polyglossia and fontspec. For example, \...