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)

10
votes
2answers
650 views

Do XeTeX and LuaTeX always use Unicode?

I am writing some functions to manipulate strings. A typical way to produce a character with a given character code is the \lowercase primitive. The following code produces a character with code 234, ...
8
votes
2answers
571 views

xeCJK messes with punctuation

Neither a question nor really a complain, but I find I cannot use xeCJK in multilingual documents (in the present case French + English + Chinese), simply because it messes with the punctuation in the ...
8
votes
1answer
803 views

Using minted and tabs

I just started using the minted package. When I insert tabs as indentation, it gives me a bunch of characters instead: However, when I copy the example from the documentation it seems to work fine. ...
1
vote
2answers
226 views

Troubleshooting font problems with XeTeX

When using XeTeX, I sometimes get errors like this: LaTeX Font Warning: Font shape `EU1/AdobeSongStd(0)/m/sc' undefined (Font) using `EU1/AdobeSongStd(0)/m/n' instead on input line 181. ...
16
votes
1answer
301 views

Analog of \pdfelapsedtime for LuaTeX and XeTeX

In pdfTeX, the \pdfelapsedtime primitive gives access to the time since this pdfTeX run was started, in "scaled seconds" (1/65536 seconds). This is useful to benchmark code: repeat it many times, and ...
2
votes
1answer
411 views

Follow up question: TeX accents do not seem to work with fontspec and xe/lua/latex

This is a follow up to this question. How would the same look for the dot above? That is, what's the standard definition for \. ? Or does somebody in the meantime know a better solution to the whole ...
3
votes
2answers
2k views

Unicode “undefined control sequence” in XeLaTeX

I have got a TeXLive 2011 on an Apple Time Machine and TeXShop on my local MacBook. When I try to typeset the XeLaTeX template from TeXShop, I get “undefined control sequence” for some of the Unicode ...
2
votes
2answers
917 views

“xelatex: Command not found.” on network installation

I installed a TeX Live 2011 distribution on a network drive, actually an Apple Time Capsule. Even though normal TeXing with LaTeX (via pdfTeX) in TeXShop works fine, when I try to use the %!TEX ...
8
votes
1answer
648 views

long URL's containing “-” in bibtex going beyond page

I have tried several top answers with no luck. Here is what I have in my preamble(compiling with xelatex and bibtex). \documentclass[a4paper,12pt]{article} \usepackage{fontspec} \usepackage{natbib} ...
1
vote
1answer
4k views

Installing and using XeTeX

I have tried to install XeTeX on my Debian system, but this does not appear to work. Here are the steps I took: I loaded TeX Live 2011 with tlmgr -gui. I loaded a repository. I selected "not ...
6
votes
2answers
416 views

Is there a way to control scope of fontspec font change?

I would like to limit the scope of \fontspec to just one or a couple of words in my paragraph, for example: Vivamus gravida lacus a sapien \fontspec{The Font Name}{interdum} eget interdum mi ...
6
votes
3answers
442 views

Force auto-pst-pdf or pst-pdf to work with xetex

Is it possible to force auto-pst-pdf or pst-pdf to create PDF images and include them if I’m using xelatex? Background I have to typset a Book that needs OpenType fonts so I choose xelatex. The ...
4
votes
1answer
1k views

XeTeX and XeLaTeX in TeXworks editor

In TeXworks editor in the Typeset dropdown menu among others I can select XeTeX or XeLaTex typesetting formats. If I understand correctly XeLaTex and XeTex is exactly the same thing, so why does ...
8
votes
1answer
656 views

Can one set a specific font variant in xelatex for uppercase letters only?

I would like to typeset a short, letter-like document using the Zapfino font, with the following twist: I'm OK using Zapfino's "standard" (i.e., Variant 0) glyphs for lowercase letters, but I'd like ...
4
votes
1answer
792 views

How to use \texttt with CMU Typewriter Text in XeTeX?

The following example won't compile \documentclass[xetex,sans,mathserif]{beamer} \usepackage{fontspec} \setmainfont{CMU Serif} \setsansfont{CMU Sans Serif} \setmonofont{CMU Typewriter Text} ...
1
vote
2answers
2k views

Bibtex references not compiling because of LastPage package?

I am trying to compile an essay and it has references in it. I am using BibTeX and XeLaTeX. Here are the last few lines of the log LaTeX Warning: Reference `LastPage' on page 4 undefined on input ...
1
vote
1answer
2k views

latex/xelatex works from command line, but not from Kile

I installed Kile and Texlive 2011. I wrote a very simple test document: \documentclass[11pt]{article} \usepackage{xltxtra} \setmainfont[Mapping=tex-text]{Linux Libertine} \begin{document} Русский: ...
5
votes
1answer
658 views

Can I use Wolfram Mathematica fonts in XeTeX / LuaTeX?

Wolfram Mathematica comes with full (?) set of math fonts. Is it possible to use these fonts in XeLaTeX and LuaLaTeX? I mean something like \usepackage[math-style=ISO,bold-style=ISO]{unicode-math} ...
2
votes
0answers
317 views

Is there any way to find what \settextfont[Scale=XXXXX] equivalent to font size? [closed]

I want to know how can I match \settextfont[Scale=XXX} with MS word font size? For example if I want to write essay in font of 14 in Ms word what should I set instead of XXX in ...
9
votes
2answers
848 views

British hyphenation with either xelatex or lualatex

For several reasons, I am working on a source file that should be compilable by either xelatex or lualatex. I would like British hyphenation for the text and am using csquotes and biblatex with ...
3
votes
0answers
1k views

XeTeX and xdvipdfmx problem in Texstudio [closed]

I am using MacTex2011 and the installation is standard installation, I didn't change a thing.Below is some information of my environment. Sean@mac:~ > which xelatex /usr/texbin/xelatex Sean@mac:~ ...
2
votes
1answer
861 views

Font color in XeLaTeX tables

I defined the font and color of my text in the document preamble with the commands \setmainfont{ConduMoveReg.otf} \setmathfont{ConduMoveReg.otf} \definecolor{darkblue}{cmyk}{1.00, 0.50, 0.00, 0.40} ...
1
vote
1answer
546 views

Can't find Metrics for opentype font; why does XeTeX need them?

I want to use an OpenType font for a document, so I'm trying to compile it with xelatex. I followed the answers on this question: How do I use an OpenType font with my LaTeX document? However, when ...
5
votes
1answer
386 views

TikZ example involving Spies won't typeset properly using XeLaTeX

The example in this answer, illustrating the use of "spies" using the Tikz package, fails to typeset correctly when using XeLaTeX: the magnification circle appears empty. Using pdfLaTeX and LaTeXmk ...
3
votes
1answer
636 views

How to achieve different formats for label and text in a subsection heading using titlesec

How to get a different formatting for the label and text of a subsection using titlesec? Reason: Italic numbers in the subsection heading hurts my eyes and should be avoided at all cost, Label of the ...
8
votes
1answer
507 views

tikz/eso-pic watermark isn't transparent on the first page

I'm seeing odd behavior when trying to use a watermark with tikz and eso-pic. Here is my example document: \documentclass[10pt]{article} \usepackage{eso-pic} \usepackage{tikz} ...
0
votes
1answer
596 views

XeLaTeX: xtabular package fails to work

I am trying to make my resume neat and tidy. So, going for LaTeX/XeLaTex. Resume Here The problem is, even though I use the xtab package to put my long tables across multiple pages, for some reason, ...
6
votes
1answer
2k views

Setting default font size in \newfontfamily

When mixing fonts in XeTeX, some fonts have quite different aspects for the same size. Say, I'm using Linux Libertine as my main font and I want to use Latino Elongated for chapter headings. Latino ...
2
votes
1answer
1k views

\mathrm and \Omega in XeLaTeX

When I write $\mathrm{\Omega}$ and compile it with LaTeX, I get capital omega symbol normally. But when I do the same with XeLaTeX, I get empty symbol. I don't use any special packages or fonts. ...
5
votes
1answer
2k views

Externalising TikZ pictures using XeTeX

I'm trying to use TikZ's external library with XeTeX, for example, and I'm running into some issues. Having set external/system call={xelatex \tikzexternalcheckshellescape -halt-on-error ...
5
votes
3answers
166 views

How best to run through a series of elements {a,1,i}, {b,2,ii}, etc

I am rewriting a package I wrote for XeLaTeX to handle unicode blocks. This means dealing with setting up character classes for all characters from block "BlockName" starting at codepoint 1234 and ...
3
votes
1answer
296 views

New fontspec key/value pairs syntax?

I updated the packages in my TexLive distribution earlier today and noticed that one line of code in my project no longer worked properly, namely the one I used to set the fake options for my ...
3
votes
3answers
342 views

Tweaking numeral height (and baseline)

I am using the Computer Modern Unicode Bright font, in the OpenType version (see http://cm-unicode.sourceforge.net or http://www.ctan.org/tex-archive/fonts/cm-unicode) in a XeLaTeX-compiled document. ...
6
votes
1answer
5k views

XeLaTeX with polyglossia and Greek

I'm struggling a lot with XeLaTeX and polyglossia. Somehow the font selection doesn't seem to work as I would expect it (and as the error messages suggest). Please consider the following example: ...
6
votes
2answers
1k views

Change XeTeX fonts automatically depending on Unicode blocks

I would like to move from p(La)TeX (which was a TeX system specifically tailored to Japanese in a pre-Unicode era) to Xe(La)TeX, and I'm having a problem. In p(La)TeX, Japanese fonts are only used ...
1
vote
1answer
613 views

Xelatex Crashes on item-bullets

I have installed a local version of the latest TeXLive distribution and xelatex crashes with the following error message, using the little document below. This is XeTeX, Version ...
3
votes
0answers
520 views

SyncTeX wrongly placed when XeTeX called with -aux-directory [closed]

I am using MikTeX 2.9 and compiling "hello.tex" containing: \documentclass{minimal} \begin{document} text \end{document} with: xelatex --synctex=1 --aux-directory=auxdir hello.tex produces a ...
2
votes
1answer
2k views

XeLaTeX, \includegraphics and \hyperlink

I have question regarding XeLaTeX. I have switched from LaTeX to XeLaTeX because I wanted to use ttf fonts and now I have a problem with \hyperlink. It works with text, but it doesn't with images. So ...
1
vote
1answer
447 views

How to use texi2dvi to run latex generating PDF?

I use xelatex instead of pdflatex to generate PDFs, but now I want to use texi2dvi to generate them, however every time it shows errors as follows: texi2dvi(file="Letter__Oct11.tex",pdf=TRUE) failed ...
3
votes
1answer
1k views

XeTeX, fontspec and Garamond

I've got the opportunity to play with a machine with some premium fonts installed. I ran some experiments with XeTeX and e.g. Palatino Linotype, which worked, but for some reason cyrillic breaks with ...
5
votes
5answers
629 views

Can't get italics to display for Japanese font using xelatex

I can't get italics to display correctly with xelatex for Japanese or Latin text using Japanese fonts. Sample file: \documentclass{book} \usepackage{fontspec} \setromanfont{MS Mincho} ...
3
votes
1answer
569 views

Can XeTeX | LuaTeX use MetaFont fonts?

Can XeTeX | LuaTeX use MF fonts invented for TeX ? By default (when fontspec package is not loaded) they load Latin Modern fonts as the following exception from eu1enc.def file shows: ...
21
votes
5answers
2k views

Considerations when migrating from XeTeX to LuaTeX?

What are the things to know when moving from XeTeX to LuaTeX, particularly when it comes to TTF/OTF support and OpenType features?
8
votes
2answers
881 views

Compiling latex directly from R

I want to find a programmatic way of converting a .tex latex document to pdf. What I usually do, and this works in most cases, is to use: tools::texi2dvi(latexfile, pdf = TRUE, clean = TRUE) ...
4
votes
1answer
2k views

Can't use fontspec with xelatex after tlmgr update

I updated my MacTeX 2011 installation yesterday. Now, compiling the following with xelatex fails: \documentclass[xetex]{article} \usepackage{fontspec} \begin{document} hello \end{document} The ...
11
votes
1answer
645 views

xelatex stopped working after TexLive2011 update 2 days ago

I updated Tex Live 2011 a couple of days ago and I can't run XeLaTeX anymore on a document I was working on. When it runs it gets stuck and I have to abort it. Resulting in the following error. I've ...
5
votes
3answers
561 views

How to insert Greek with “ascii keyboard” and XeTeX, Polyglossia

How can I write greek without entering the greek characters directly? With babel, I can do this: \documentclass{article} \usepackage[polutonikogreek]{babel} \begin{document} ...
6
votes
1answer
647 views

Fix ligature mapping of obscure old font with LuaLaTeX or XeLaTeX

I have an old font I purchased a while ago. It comes with various ligatures that I need to use. The font was not intended for use with LaTeX, and even though it is a high-quality Type-1 font, the ...
3
votes
2answers
396 views

Half Brackets Not Showing in XeLaTeX

I have a XeLaTeX document with lower half brackets ⸤⸥ (U+2E24,U+2E25) and upper half brackets ⸢⸣ (U+2E22,U+2E23). In the log file I get the complaint like Missing character: There is no ⸤ in font... ...
4
votes
1answer
881 views

XeTeX \left and \right problem

I have a problem with the 〈 and 〉 symbols (Unicode encoding: 27E8 and 27E9) which replace the \langle and \rangle, when I try to combine them with \left and \right commands. The following examples ...