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
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
541 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
291 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
982 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
946 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
913 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
2answers
2k 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 ...
5
votes
1answer
2k 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. ...
13
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 ...
9
votes
1answer
517 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
292 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 ...
7
votes
3answers
2k 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) ...
4
votes
2answers
1k views

Pandoc - Convert XeTeX to HTML

I posted the question here How to Convert XeTeX to Html However I tried something different so decided to ask the issues with the results as a new question. So far my XeTeX file is nicely getting ...
9
votes
1answer
1k views

Basic kerning with XeTeX

Trying to use custom fonts with LyX, so I started using XeTeX. Unfortunately, It seems kerning only works with certain OpenType fonts (Linux Libertine) but not for others (Doulos SIL or Charis SIL). ...
13
votes
1answer
978 views

Linux Libertine, libertineotf package and bold

Being interested by using the Linux Libertine font, I made some test with XeLaTeX and pdfLaTeX. My idea was to find a font that is suitable for use in xelatex, pdflatex and outside of any TeX flavour. ...
6
votes
2answers
224 views

Trying to make japanese characters appear in the title of a section

I have the following in my TeX: \subsection{Buch 1 問題の日本語} In my Table of Contents it is correctly displayed but in the subsection itself you can only see 1.1 Buch 1. I guess this is because the ...
14
votes
1answer
3k views

What math fonts are available that work in xelatex?

For LaTeX, we have the Font Catalogue which is a good resource for fonts available through LaTeX. There doesn't appear to be a similar resource for Xe(La)TeX. So let's say I'm bored of computer ...
6
votes
3answers
712 views

What does 'font name' in the fontspec package refer to on a Mac

On a Mac using XeLaTeX and the fontspec package, what is meant by font name? The Font Book application lists several possibilities: PostScript name Full name Family I.e. which name should I type ...
7
votes
1answer
3k views

XITS font not found

I am running a recently updated TeX Live 2011 on a Mac (OS X 10.7 Lion). I wanted to use the XITS fonts, but the following file generates errors when processed with xelatex: \documentclass{article} ...
7
votes
2answers
2k views

What fonts should I specify to render Tufte documents using XeLaTex?

What font specification commands should I have in my Tufte-based document if I'm rendering it using XeLaTex? My document renders as expected using pdfLaTeX, but when I switch to XeLaTeX, though ...
3
votes
1answer
623 views

Turning Chinese line breaks on and off

I am typesetting a document in Chinese with spaces between words, for the purpose of making it easier for learners. Because of this, I am typesetting most of my document with no line-breaks between ...
7
votes
2answers
1k views

How does one display straight quotes in the normal font?

From this code: \subsubsection{General Escaping Format} Generally, escaping MUST be done in a manner similar to most programming languages, such as C, C++, Java, or similar, for quoted string ...
4
votes
1answer
671 views

How do I change the default typewriter font with XeTeX?

In this question, it is detailed how to convert a project to use TrueType or OpenType fonts by switching from LaTeX to XeLaTeX. I've successfully changed my build over to use XeTeX, but I'd like to ...
4
votes
1answer
164 views

changed response to \fam\z@ command (from dchem) in XeLatex/mathspec

I am a dedicated user of Donald Arsenau's dchem package, which has been distributed privately for a long time but which he has never felt was sufficiently developed to be released publicly (or, if ...
1
vote
1answer
308 views

punctuation marks have different fonts in and out of equations in xetex

I am using xelatex to create a document in Armenian. I have the line \setmainfont [Mapping=tex-text, Scale=MatchUppercase] {DejaVu Serif} in my tex file to change the font to DejaVu Serif for the ...
0
votes
0answers
86 views

Best way to include some Japanese text in a beamer presentation? [duplicate]

Possible Duplicate: How to write Japanese with LaTeX? What's the easiest way to use include some Japanese text in a beamer presentation? I'm looking for a way to include Japanese in a few ...
4
votes
1answer
2k views

kpathsea/fontspec does not recognize a font whose name has a space in it

Using XeLaTeX and the fontspec package, I am experiencing problems using fonts whose name includes the space character. Here is a simple example: \documentclass{article} \usepackage{fontspec} ...
2
votes
0answers
384 views

special font has glyph but is xelatex reports “missing character” [closed]

I am using TeXLive 2011 on Linux with a font called sasmono. When I compile my LaTeX source with xelatex, it reports (./myoutput.lst Missing character: There is no ^^83 in font ...
1
vote
1answer
336 views

Japanese tikz-qtree

I'm having trouble using the example code from tikz-qtree to typeset a Japanese syntax tree. Here's my MWE: \documentclass[10pt,letterpaper]{article} \usepackage{xeCJK} \setCJKmainfont{MS Mincho}% ...
7
votes
1answer
2k views

pdflatex/xelatex problems with MinionPro

I am successfully using package MinionPro for pdflatex. I would like to use it also in xelatex (the math part, actually), so that I can add opentype features to the main text font. However, I am ...
6
votes
1answer
419 views

Numbers, punctuation and parenthesis reversed in RTL

Contrary to my belief and to what's shown here, the above are coming up reversed for me: I've seen this happen in other places too (enumerations off the top of my head), but these are the most ...
78
votes
7answers
7k views

I am new to TeX. Should I use LaTeX, XeLaTeX, …?

I am starting to learn LaTeX and I really like what I am seeing. However, I get the feeling I should actually start with another 'TeX' version. I've been reading about different options. Some ...
1
vote
1answer
982 views

MacTeX 2011, Xetex and Tex Live Utility

I tried several times to play with XeLaTeX (being used to "classical" LaTeX) but since I installed MacTeX 2011 and updated it with TeX Live Utility, I got that kind message : ...
3
votes
1answer
593 views

Automatic switching of math font based on current text font

I'm writing a document using xelatex and have set up my document fonts using fontspec as follows: \usepackage{fontspec} \setmainfont[Mapping=tex-text,Numbers=OldStyle]{Linux Libertine O} ...
7
votes
1answer
459 views

Small capitals if available, normal (large) capitals if not

In French, it is customary to typeset centuries and other numbers in Roman numerals in small capitals if available, or normal (large) capitals if not. If I use \textsc{vi} to typeset "6", I risk it ...
3
votes
2answers
794 views

Weird behavior when using small caps and slanted fonts with fontspec in XeLaTeX

I use XeLaTeX and the fontspec package. Now, I like to use Linux Libertine as standard font. The slanted (not italics) characters are stored in a different font. Now, to use them with \slshape, I ...
2
votes
1answer
843 views

The symbol \hbar is not recognized (but shows up as “h”) when using XeLaTeX

I am using XeLaTeX with the packages fontspec,xunicode,xlxtra (which I believe is pretty standard) to process my documents into a PDF file with the TeX Gyre Pagella font. I have been doing so ...
1
vote
1answer
306 views

How to avoid specifying the size of included graphic when the file has no extension?

I'm rendering the following code with xelatex: \documentclass{article} \usepackage[debugshow]{graphicx} \begin{document} %% This gives ! LaTeX Error: Cannot determine size of graphic in lowres (no ...
15
votes
2answers
631 views

What is the XeTeX equivalent of \pdfcreationdate?

I need the time to 1-second resolution. datetime uses \pdfcreationdate for this, but only under pdf(La)TeX. As a result under XeLaTeX, this: \usepackage{datetime} ... ...
1
vote
2answers
1k views

Getting xeCJK package to work with MikTeX

I am trying to write Chinese in LaTeX with MikTeX 2.9, and at the moment I am using fontspec, something like the below. However, I have heard good things about xeCJK, and I am considering switching to ...
5
votes
2answers
300 views

Finding and displaying UTF-8 characters with xesearch

The xesearch package allows one to replace text with other text. E.g.: \documentclass{ctexbook} \usepackage{fontspec} \usepackage{xesearch} \SearchList{list1}{newspaper}{book} \begin{document} ...
12
votes
4answers
2k views

Include Adobe Illustrator files (ai) with XeTeX

Adobe Illustrator files are PDF compatible. That is a regular PDF reader, ex. Sumatra-pdf, can open and view them. I was hoping it would be possible to have xetex (with xelatex) and graphicx to ...
9
votes
1answer
934 views

Getting started with Chinese in ConTeXt

I am trying to setup a basic document with ConTeXt, but I am having difficulty even getting started. First, I tried the documentation at ConTeXt wiki: Chinese. I tried the sample code on that page: ...
10
votes
1answer
273 views

Is there a way to use unicode-math in a limited fashion?

At the moment, I am using mathspec and some traditional math packages such as mathpazo to typeset my mathematics. The results are mostly satisfactory, but I would like to expand the repertoire of some ...
1
vote
1answer
172 views

xetexCV vertical alignment

I'm using Rob Oakes' xetexCV document class. Everything works fine except for the vertical alignment of the years. When there are two lines, the years are aligned to the bottom, I, however want them ...
0
votes
0answers
81 views

Citations: Sort and Compress with superscript (Nature style) using non-superscript dash (xetex+Linux Libertine) [duplicate]

Possible Duplicate: How to change parameters for \textsuperscript{} in french? solution: How to change parameters for \textsuperscript{} in french? I passed the no-sscript option to ...
5
votes
1answer
2k views

xetex complains about missing kanjix.map

I've just installed TL2011 on Windows 7 and updated it from the net. The installation produced no errors and everything is fine - but now xelatex (and not pdflatex nor lualatex) ends every invocation ...
7
votes
1answer
365 views

Getting xetex to complain when a character is missing

Consider the following minimal document: \documentclass{article} \begin{document} tām आ ṁ \end{document} If you compile it with xelatex se.tex, you get something normal and innocuous, like: This ...
2
votes
1answer
431 views

Forcing smaller line spacing (risking that text overlaps) in XeTeX

I am writing some XeTeX code to display Chinese text with ruby (tone marks, translation or pronunciation) above and below the characters. If on any one line, I have ruby below, and then on the next ...