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)

1
vote
1answer
219 views

How to set equation numbers in lining numerals?

I'm using XeLaTeX with Linux Libertine (using fontspec) and oldstyle numbers. I'd like, however, to set equation numbers (using amsmath's \eqref) in lining numbers. This does not work: ...
4
votes
1answer
2k views

How to use Palatino-like math fonts in XeLaTeX?

After some fighting with Asana Math, I thought that I could give a Palatino-like math font a chance. So the questions are: (1) what exactly is the difference between pxfonts and mathpazo and (2) how ...
5
votes
0answers
367 views

How to lower the superscripts (and raise the subscripts) [duplicate]

Possible Duplicate: tex4ht problems with footnotes I am preparing a document using XeLaTeX, unicode-math and Asana Math OTF (turned on by \setmathfont{Asana-Math.otf}). I've noticed that ...
3
votes
0answers
650 views

XeLaTeX and unicode-math problems [closed]

I am using XeLaTeX (TeXLive 2011) on OS X. It seems that unicode-math is not working as it should: \usepackage{unicode-math} \setmathfont{XITS Math} Produces: kpathsea: Invalid fontname `XITS ...
5
votes
1answer
839 views

XeLaTeX complaining about fonts

I have TeXLive 2011 installed. My document looks like this: \documentclass[11pt,a4paper]{moderncv} \moderncvstyle{classic} \moderncvcolor{orange} \usepackage{moderntimeline} ...
0
votes
1answer
3k views

AUCTeX XeLaTeX preview fails: fontspec cannot-use-pdftex error

I am struggling setting up AUCTeX preview in a way that I can use it with XeLaTeX documents. When I try to generate the previews I get the following error cannot-use-pdftex generated by the ...
51
votes
1answer
3k views

Small-caps, old-style numbers, and some ligatures produce odd symbols in PDF copy text?

This is a problem I've had consistently with XeLaTeX. Here's a small example: \documentclass{article} \usepackage{fontspec} \setmainfont[Ligatures=TeX,Numbers={OldStyle,Proportional}]{Minion Pro} ...
9
votes
2answers
502 views

Precompile header with xelatex

I read about precompiling the preamble in http://tex.stackexchange.com/a/15606/4918 and it worked fine with pdflatex but how can I do this for xelatex? I tried xelatex -ini -shell-escape ...
1
vote
1answer
361 views

How do I activate hanging punctuation with XeteX under ConTeXt?

I'm noob at ConTeXt. I want to use auto2 font with ConTeXt, I think the easiest way to do that is using the XeTeX backend. ConTeXt can do some protrusion with pdfTeX and LuaTeX, but with XeTeX it ...
9
votes
1answer
230 views

Glyph alternates break hyphenation

Alan Munn explined in Use stylistic set variations only for certain glyphs how to enable glyph alternates for a certain subset of glyphs. I'm using the second method he described (the other method ...
4
votes
2answers
2k views

Linux Libertine Biolinum xelatex and lualatex

This is actually two questions rolled into one. Consider the example file below: \documentclass[a4paper]{article} \usepackage{fontspec} % ...
6
votes
1answer
1k views

Trim, crop, clip not working as expected in XeTeX [duplicate]

Possible Duplicate: Clipping support in XeTeX Why does the crop feature not work in this example? Secondary question: Is there a good and thorough example somewhere floating around the ...
6
votes
2answers
289 views

XMP with XeLaTeX

I got the hyperxmp package to include XMP copyright information with regular LaTeX but with XeLaTeX there seems to be a problem. I need XeLaTeX for its better font support and typographic features. Is ...
8
votes
1answer
706 views

Dashed draw with a node including a fraction

Is this intended behavior (with plain XeTeX): \input tikz \tikz\draw[dashed] node {$3T\over4$}; \bye It renders as: !? The fraction line is dashed, too! Is this intentional? Is there something I ...
11
votes
1answer
461 views

Typesetting boardgame positions using ttf font

For presenting positions in the game of backgammon, there is a commercially developed, but free for personal use, without modifications, font called eXtremeGammon. The ttf font file is available from ...
2
votes
1answer
180 views

Usage of UNC paths in XeTeX Documents

Is it possible to use UNC paths in a XeTeX document?
0
votes
1answer
90 views

containverbatim shows up in output

When I compile the following code in XeLaTeX (also works with pdflatex) under windows, [containsverbatim] shows up in the ouput: Here is the code: \documentclass{book} \usepackage{showexpl} ...
2
votes
1answer
1k views

Xetex and Times New Roman font

I want to create a document using latex, but I discovered that latex only works with plain ascii, and my native language is not English :) So I tried xetex instead (with example from here). The ...
5
votes
1answer
337 views

XeLaTeX exit codes

I'm running XeLaTeX from a shell script and would like to check for exit codes, to see if an error was encountered during processing. So I'm looking for a list of possible exit codes. I've checked ...
2
votes
1answer
332 views

Palatino with text figures, not in math mode or headings

I'm working on a document which is fairly math-heavy, but also contains numbers outside of math mode. I want these numbers to be displayed as old-style/text figures. I also want a Palatino-type font ...
2
votes
1answer
411 views

Trying to create a trifold leaflet on A3 paper using xelatex

I'm trying to make the program for my wedding. Basically what I want is for each program to be a single sheet of A3 printed front and back in landscape orientation and folded into three panels. This ...
1
vote
1answer
209 views

Fontspec transparency problems

I'm using this minimal document to test transparency: \documentclass[11pt]{article} \usepackage{xunicode, xltxtra} \defaultfontfeatures{Mapping=tex-text} \usepackage{fontspec} ...
4
votes
2answers
349 views

On the fly pdf conversion for inclusion

A while ago I asked how to Include Adobe Illustrator files (ai) with XeTeX. However, the PDF version of the Illustrator files is 1.5 and I compile my XeLateX documents to version 1.4 so the newer ...
17
votes
5answers
818 views

Combining \ifxetex and \ifluatex with the logical OR operation

I want to write in the preamble of a LaTeX document code that should be take into account by different compilers when the document is typeset. There are fragments that should be used: only by ...
2
votes
1answer
347 views

Biblatex bibliography quotes break when using fontspec

As soon as I use fontspec in my biblatex xelatex document, my quotes stop appearing as proper quotes ", and start appearing as a pair of `` and ''. My minimal working example, first: ...
4
votes
2answers
478 views

Xelatex math weirdness - misaligned \not

I generally use xelatex for my documents, and the following snippet generally works fine for my math: \usepackage{fontspec} \usepackage{unicode-math} \setmathfont{Asana Math} But I recently ...
1
vote
1answer
380 views

fontspec FakeBold affects text in graphics

In the minimal example below (compiled with XeLaTeX in MacTex), the FakeBold option in package fontspec works as intended for the main text, using Times to represent the non-default font I am using in ...
19
votes
4answers
3k views

What free math font could/should accompany Linux Libertine and Linux Biolinum?

Well, the title of the question pretty much says everything. To be more precise: I'd like to know (1) what font would be visually suitable to use with Linux Libertine and/or Linux Biolinum as the ...
6
votes
1answer
1k views

Custom hyphenation for different languages in XeTeX

When I define custom hyphenation with \hyphenation in XeTeX, it seems to only work for the main body of the text, but not for the bits inside \text<language> (as in \textgerman) environments. I ...
17
votes
1answer
3k views

XeLaTeX warning: Redefining document command \oldstylenums with arg. spec. 'm'

I updated my MiKTeX to the newest version a few days ago, and after this when I compile documents with the fontspec package included, there's a warning. For example: \documentclass{article} ...
7
votes
1answer
6k views

Problem getting biber/biblatex/XeLaTeX/TeXworks working together

OK, here my situation: I'm writing a paper for my class, and I want to include a bilingual bibliography since some of my sources are in Korean and I want the bibliography to show the original Korean ...
4
votes
1answer
1k views

siunitx uses math mode for symbols - workaround needed when using different fonts for math and text

This is a follow up question from Using old style fonts of palatino (mathpazo) in math mode. The original problem has been solved using siunitx instead of dcolumn. However, the problem is that I am ...
2
votes
0answers
92 views

Randomizing font selection in XeLaTeX, per character [duplicate]

Possible Duplicate: The effect of the anonymous letter I have a bit of a programming question, and I think it's in line with what LaTeX (XeLaTeX in my case) is suited to do. I would like ...
15
votes
1answer
691 views

Is there a poisonous interaction between memoir, hyperref, and hyperxmp?

In another, now rather confused, question, I'm struggling to get copyright information into a PDF produced by memoir. The investigations so far have led to this problematical MWE: % !TEX TS-program ...
2
votes
1answer
2k views

hyperref error when using XeLaTeX and fontspec with LaTeXmk

I have defined a compilation tool for TeXWorks as follows: Program: latexmk Arguments: -e $xelatex=q/xelatex $synctexoption %0 %S/ -pdf $fullname It works fine in ...
2
votes
1answer
431 views

How do we install additional fonts for xepersian on MiKTeX 2.9 Win XP/Win 7 [closed]

I want to install several fonts such as IranNastaliq Niloofar and several others. How is this done?
6
votes
1answer
2k views

Unicode characters not displaying in XeTeX

I am trying to get Unicode characters to compile into a PDF file using XeLaTeX. My MWE looks like this: \documentclass[11pt]{article} \begin{document} Here is α, β, and finally γ. \end{document} ...
9
votes
1answer
2k views

How to customize the default xelatex command in TexShop for OSX

I am trying to make use of the minted package for source code highlighting, and am running into an error telling me I need to install pygmentize combined with an message regarding the --shell-escape ...
20
votes
1answer
1k views

Putting quotation marks in TeX document

Have to put double quotes mark for a sentence. I am using Xetex. For the input string ``The work'', the output is also ``The work'' whereas it should be “The work”. Below is the list of packages and ...
7
votes
1answer
519 views

Using XeTeX for automatic transliteration of cyrillic letters

This is a follow-up question to the following question: Serbian Cyrillic using LuaTeX and XeTeX. I actually often need character substitution the other way around, that is, I write cyrillic, but ...
10
votes
2answers
282 views

Accessing side-bearings in LuaTeX

This question has been solved, in XeTeX, by this code: \def\kright#1{\leavevmode #1\kern-\XeTeXglyphbounds3 \the\XeTeXcharglyph`#1 } \def\kleft#1{\leavevmode \kern-\XeTeXglyphbounds1 ...
11
votes
2answers
880 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 ...
2
votes
1answer
853 views

How to make XeLaTeX recognize linked fonts with Windows?

I can not get fontconfig, which XeLaTeX relies on, to recognize fonts that are in the Fonts folder as shortcuts (to fonts in other folders). fc-cache and fc-list ignore the shortcuts, which do not ...
10
votes
2answers
835 views

Kerning issue with Adobe Garamond Pro: XeTeX or font file to blame ?

I have run into a strange kerning issue, limited to the German letter pair Wä, when using the Adobe Garamond Pro font with XeTeX. The document looks great except for that particular pair. But see for ...
10
votes
1answer
1k views

Include trimmed multipage PDF in XeTeX

I have a multipage PDF manuscript (for example, my_PDF.pdf) that I would like to include in a new document. I would also like to trim/clip off the header and footer from each page of this included ...
3
votes
1answer
1k views

Inserting hindi text in between English paragraphs

I want to write some Hindi text along with English using LaTeX for eg: k=क, bollywood or (बॉलीवुड). I have used the below in the preamble but I'm getting the error command: \G already defined. ...
12
votes
3answers
4k views

How do I get the protrusion to work in XeTeX?

When I render my documents using pdfLaTeX and microtype they look fine, but when I switch to XeTeX the right edges of justified text look terrible: some lines overlfow, and hyphens look "indented". Is ...
8
votes
1answer
482 views

How do I configure fonts and package options for different engines?

I would like to be able to rely on the code in my document class to respond correctly to whether it is being rendered using pdfLaTeX or XeTeX engines. The editor I'm using (LyX) does this using ...
2
votes
1answer
274 views

why are the overarrows too short and the sqrt missing its vinculum?

I've been fighting with XeLaTeX (from a full TeX Live 2011 install on a linux box) for the past few hours and am finally almost at the result I want, but (as shown above) the overarrows aren't ...
6
votes
3answers
1k views

Serbian Cyrillic using LuaTeX and XeTeX

This question is directly inspired by Martin Schroder's answer to this question. Namely, I am wondering how would one use LuaTeX or XeTeX to produce Serbian (little bit different than Russian) ...