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)

7
votes
2answers
1k views

Fixing an overfull box

I have an overfull box in a French text which looks like this: The sequence at the end of the line is: d'Ananias~: \og Vous "Vous" cannot be hyphenated and \og inserts a non-secable space, so ...
10
votes
2answers
179 views

How to create a table of random characters in XeTeX

I want to create a table of 1000 characters picked randomly from the unicode block "unified CJK ideograms" (4E00-9FFF). Each cell should contain exactly one huge character, no character should appear ...
11
votes
2answers
6k views

\fontspec or \setmainfont do not load fonts from current directory

I am trying to use GARA.TFF (Garamond) in my latex document. \setmainfont can not find the font when I try to load it from the current directory. Here is the document: \documentclass{article} ...
5
votes
1answer
492 views

XeLaTeX forces readers to rotate their heads 90 degrees

My document contains some landscaped pages using lscape package. When I compile the input file using latex-dvips-ps2pdf, the landscaped pages are automatically rotated so readers don't need to rotate ...
1
vote
1answer
176 views

weird spacing with \, and and babel

When using XeLaTeX and babel "francais", I sometimes get weird spacing: e.g. \, makes a wider space than the regular space (see what happens on the second line here). ...
1
vote
3answers
463 views

Latino Elongated, XeTeX and small capitals

I'm using the Latino Elongated LET font with XeTeX and I can't get small capitals to display: \documentclass{scrbook} \usepackage{fontspec} \newfontfamily\lelong{Latino Elongated LET} ...
2
votes
1answer
747 views

pdfpages, XeTeX, and transparency

I'm using pdfpages to include a cover made in Inkscape into a PDF. The PDF has transparent objects. When building with pdflatex, the transparency is kept in the final PDF, but when I build with ...
5
votes
1answer
555 views

XeTeX + movie15_dvipdfmx : can it import SWF ?

I am using the movie15_dvipdfmx package to embed movies to my textbook when it is compiled with XeLaTeX or the movie15 package when it is compiled with PDFLaTeX. Here is my code for the PDFLaTeX ...
5
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
382 views

Is it necessary to use GhostScript to compress pdf outputs of XeLaTeX?

I have tried to compress pdf outputs produced by XeLaTeX. Is it necessary to use GhostScript to compress pdf outputs of XeLaTeX? YES. It is necessary. See Benchmark: xelatex v.s. latex-dvips-ps2pdf, ...
3
votes
2answers
408 views

Why cannot XeLaTeX clip my PSTricks graph plot correctly?

The following screenshot produced by latex-dvips-ps2pdf and the clipping is well done. \documentclass{article} \usepackage{xcolor} \usepackage{pstricks,pst-func} \newpsstyle{gridstyle} { ...
6
votes
2answers
824 views

What steps are done by XeLaTeX when compiling input files with PSTricks codes, jpeg, png, eps, pdf images?

I am confused why XeLaTeX can produce a pdf output from an input file that contains PSTricks codes, PNG, JPEG, PDF, EPS images. It is the first time I use XeLaTeX and I am really surprised that I can ...
12
votes
4answers
1k views

Using package minted with non-english characters

I would like to use LaTeX package minted to colorize my c and Cuda code. I need to write comments in the code in czech. I use package inputenc with utf-8 and czech characters (ěščřžýáíé) work good in ...
4
votes
1answer
347 views

Why doesn't math \fontdimen's work with XeTeX?

Why doesn't the \fontdimen-command change anything with XeTeX? \input pgffor \def\chfndims#1{\foreach\dim in{13,...,19}{\fontdimen\dim#1=20pt}} \font\mymathfn="XITS Math:script=math" at 10pt ...
5
votes
0answers
461 views

In LyX, is it possible to customize the special characters (specifically symbols)? [closed]

This could be a problem to many newcomers to LyX (and LaTeX in general), who are migrating from word processors; the story is that first I try to insert a special character, an arrow for example, so I ...
3
votes
1answer
158 views

How to avoid overlapping when using single quotes (German)

when using the following example I get (probably not surprisingly) overlapping between single quotes and the letter at the beginning of a word (for example starting with A) or the end of a word (for ...
4
votes
0answers
728 views

Enable XeTeX for LyX [closed]

I am trying to enable XeLaTeX for LyX, but I have some problems. I am using Ubuntu 11.04 and LyX 2.0. I followed an online tutorial in order to install XeTeX. Then I opened LyX, but I can't enable ...
2
votes
1answer
596 views

Strange Chapter Style in Hoefler Text

Does anyone know why the bibliography appears as in the picture when using Hoefler Text (and how to fix it)? Here's a minimal working example: \documentclass[11pt, a4paper]{article} ...
4
votes
3answers
1k views

Hyphenation of bibliographies with multiple languages using xelatex,xgreek and biblatex

I am trying to use XeLaTeX to produce a document written in Greek that includes both English and Greek bibliography. i am using for this purpose a combination of xgreek, biblatex packages and biber. ...
0
votes
1answer
420 views

'fi' or 'fl' result in big “S”-like symbol

I use LyX with XeTeX, and the output font is DejaVu Sans. When I write in the input text 'fi' or 'fl', the output text displays a strange big "S"-like symbol. I don't know why is that. Any help would ...
42
votes
1answer
1k views

Is it possible to provide alternative text to use when copying text from the PDF?

I’m using XeLaTeX within MiKTeX and have the following problem. Let there be some acronym, e.g. USA. I would like to write it in real small caps using \textsc{usa} but these are, of course, ...
11
votes
4answers
727 views

Replacing Unicode non-breakable spaces by normal spaces

I am using the Neo keyboard layout, which uses all kinds of modifier keys to input all kinds of characters (e.g. Greek letters and mathematical symbols). It also has shift+Mod3+space mapped to Unicode ...
1
vote
1answer
275 views

XeLaTeX inserts blank double page compared to pdfLaTeX

I've tried recompiling some complex documents meant for pdfLaTeX using XeLaTeX. After a few fixes and \ifxetex in the preamble (regarding input, hyperref and font encodings), it went through... but ...
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 ...
2
votes
1answer
2k views

Computer Modern Unicode + OpenType for XeTeX / fontspec

I'd like to use the most modern version of the Computer Modern fonts for XeTeX [or anything newer, of course] with the FontSpec package. Currently, I'm using \setromanfont{CMU Serif} However, this ...
4
votes
5answers
1k views

Can't use installed fonts

I use Linux and if I go to installed fonts I can see that the 'Adobe Helvetica', for instance, is installed. I also find it if I do fc-list. But I can't use it with XeTeX. If I do ...
9
votes
1answer
379 views

How to refer to a glyph in a font from xelatex?

I have a font, and I want to refer to a specific glyph without any regards to the encoding (I am using Unicode for everything else). Just pick glyph #n out of it. Can this be done in xelatex?
5
votes
2answers
195 views

Charclass/Interchartokes for Umlauts and „“

How can I define a charclass for umlauts, german quotes „“ (and other special characters which are not A–Z/a–z)? I’d like to use this for extra kerning in some cases. \documentclass{minimal} ...
11
votes
1answer
576 views

How can I typeset parallel lists of paragraphs on facing pages?

(Not a duplicate of this question.) I'm trying to typeset a document for my father, which contains a list of paragraphs that must be printed aligned on facing pages. Page breaks must ideally not ...
2
votes
2answers
962 views

applying math formatting to a non-math font

This post summarizes a digression that began in comments to a different post with User JFBU. The basic question here is what commands are needed to get the full character-set of a non-math font (in ...
2
votes
1answer
1k views

XeTeX and graphicx: characters missing in .eps

I'm trying to include an .eps in a XeTeX file I am working on. The eps file contains an image and some painstakingly-spaced text labels. For some reason, however, some of the characters in the text do ...
6
votes
3answers
606 views

Substitute font's glyphs with glyphs from the same font

Is it possible to substitute certain font's glyphs with other glyphs from the same font? I am using Xelatex and Fontspec. More specifically, I am using small caps with Linux Libertine O C and the ...
3
votes
2answers
741 views

compilation problem: “Extended mathchar used as mathchar” with mathastext

When compiling a file using XeLaTex in TeXShop on Mac OS X, the console persistently hangs after the detection of the XeTeX driver: *geometry* driver: auto-detecting *geometry* detected driver: xetex ...
8
votes
1answer
367 views

How do I make make different versions of my document with command line compile flags?

I've found a number of answers online, and plainly none of them have seemed to be able to execute any conditional code. This answer looked particularly promising. One thing I noticed is that in the ...
1
vote
1answer
284 views

texshade: how to change fontshape of sequencelogo's

I realize this is a very specific question about a certain package: texshade, but I also realize that some of the users here also use this package and might be able to help me out I have made a ...
5
votes
3answers
2k views

German quotation marks are broken in XeLaTeX

Although I known nothing about German, I have to complie some German TeX documents. The German quotation marks "' or \grqq and "' or \grqq in my document are replaced by cmr font and the PDF file is ...
2
votes
1answer
2k views

font-not-found error: font “HoeflerText” cannot be found — LuaLaTex error! [closed]

I am running this CV/Resume example from here: Here is a relevant fraction of the code: \documentclass[10pt]{article} %!TEX encoding = UTF-16 % See geometry.pdf to learn the layout options. There ...
17
votes
1answer
8k views

xelatex: I can't write on file `test.pdf'.

Every so often I'll be working and all of a sudden xelatex won't work, saying "I can't write on file `test.pdf'". But why not? Is it something I did? Did I insult xelatex? Now it won't even compile my ...
4
votes
1answer
987 views

CJK-friendly Ubuntu editor or IDE for XeLaTeX

I've seen this discussion about the best IDEs for LaTeX on Ubuntu: XEmacs/AucTeX is recommended by my colleagues off of this site. However, I'm interested in the specific case of mixed CJK/Roman ...
11
votes
3answers
2k views

How to change the PDF producer metadata with XeLaTeX on MikTeX

I tried to change the PDF Producer of the generated PDF file with XeLaTeX, but it always be "MikTeX-xdvipdfmx (0.7.8)", if the PDF is generated with pdflatex, it will change as I wish, does anybody ...
1
vote
1answer
214 views

Is there a way to use long or Unicode filepaths with texify?

I use MiKTeX and it’s TeXworks and there is the command for making XeLaTeX+MakeIndex+BiBTeX at once. This uses texify and when your file is somewhere in the directory tree where there are non-standard ...
1
vote
2answers
835 views

Is there a way to rotate all pages in XeLaTeX?

I known there is a landscape command to set horizontal pages, but this is not I want. My purpose is to typeset vertical CJK with XeLaTeX. The general approach is using \rotatebox{-90} get a vertical ...
3
votes
2answers
999 views

xelatex and apa

I am using biblatex to format my references. Document is book and is written in greek. References are mainly english but I have some in greek as well. While the authoryear style works very well, the ...
4
votes
3answers
449 views

ledpar vs. polyglossia: Problem with \begin{⟨lang⟩}…\end{⟨lang⟩}

I got a little Problem with the combination of polyglossia and ledpar. First the example \documentclass[11pt,a4paper]{scrartcl} \usepackage{xltxtra} \usepackage{libertine} \usepackage{polyglossia} ...
5
votes
1answer
425 views

high and low CJK codepoints in a single XeLaTeX document

I often require a combination of CJK characters with both low and high codepoints in the same line of text. (Here "low" means "in the Basic Multilingual Plane" or BMP, with codepoint lower than hex ...
6
votes
1answer
411 views

Suppress space between Chinese and Roman typeface in XeLaTeX

When the Roman characters [a-z0-9] and Chinese characters alternate in XeLaTeX, a space is automatically entered between the two types of character. For example, both Abcde我fg and Abcde 我 fg produce: ...
5
votes
1answer
457 views

XeLaTeX cannot map letters with diacritics correctly?

I found that XeLaTeX cannot map letters with more than two diacritics correctly. For example, \v{\"{u}} or \v{ü} cannot produce the expected ǚ correctly. I've tried many fonts, so I think it may not ...
3
votes
1answer
506 views

ledmac/-par: No versesyncing but pagesyncing

I tried t get an answer at de.comp.text.tex, comp.text.tex [2] and golatex.de [1, in german] but without success. I hope to find help here. My friend needs to typeset a translation of a latin poem ...
3
votes
1answer
1k views

running biblatex-biber with xelatex (editor:notepad++; distro: miktex)

i would like to set up a workflow that uses biblatex-biber with xelatex, on notepad++. the backend=biber in the biblatex environment. can someone explain the command line sequence to me? as i ...
2
votes
2answers
2k views

Makeindex fails when called from a script

I've written a (python) script to automate my XeLaTeX run. What it does: creates a temp dir copies necessary tex, bib and image files into it from the cwd runs xelatex on the tex file runs ...