|
|
NRSI: Computers & Writing Systems You are here: Rendering > Resources The XeTeX typesetting system
This is where to get information about XeTeX, a typesetting system based on a merger of Donald Knuth's TeX system with Unicode and modern font technologies. The Mac OS X release of XeTeX runs on Mac OS X 10.3 "Panther" or later; it may run on earlier OS X releases but has not been tested there. (There are reports of success on OS X 10.2 "Jaguar" with some versions of XeTeX, but this is not considered a supported platform.) XeTeX itself is a command-line tool, like standard TeX and pdfTeX processors. It is most commonly used via a graphical environment such as TeXShop (Mac OS X), KILE (Linux), WinEDT (Windows), or others. For new users on Mac OS X, the Alternatively, I also recommend using Gerben Wierda's To provide a graphical user interface (rather than running tools from the command line), I recommend Richard Koch's Updated — February 28, 2007 The latest release of XeTeX is version 0.996, which is included in An earlier version, release 0.995, remains available as a standalone Installer package from the Downloads page or through News: XeTeX in TeX Live As noted above, XeTeX is now a standard component of the complete The TeX Users Group hosts a Warranty and supportNote that the current version of XeTeX is considered experimental software, and comes with no warranty or support. However, bug reports and any other feedback are invited; see below, or look in the ReadMe file in the XeTeX installer for contact information. Where to go for help For questions or discussion about installing or using XeTeX and related packages, please go to the For bug reports about the XeTeX software itself, or specific feature requests (rather than general discussion), there is an The comment form on this page is available for general comments about the software or the web pages themselves (yes, I know they need updating!), but please do not expect technical support through this channel. You are much more likely to get useful responses on the Examples of useA few screenshots showing XeTeX being used within TeXShop are available. (Some of these example documents are included in the Sample Files download.)
To experiment with a new XeTeX installation, some basic sample files are provided as a separate download. Note that some of the samples also serve to illustrate and document new XeTeX features, in the absence of a real User's Guide.
Note: the opinions expressed in submitted contributions below do not necessarily reflect the opinions of our website.
Please Note! The comment form on this page is available for general comments about the software or the web pages themselves, but please do not expect technical support through this channel. For questions or discussion about installing or using XeTeX and related packages, please go to the For bug reports about the XeTeX software itself, please go to the
A recent article I wrote illustrating the power of XeTeX made it to most popular link at reddit/delicious. The Beauty of LaTeX The sources and compiled PDF's of all the examples are available for download. I thought you guys might be interested, feedback and suggestions welcome.
Dario, The first example (kerning) is wrong. Word will kern based on the kerning tables built into the font, it's just switched off by default (bad choice of default by MS). To turn it on (in Word X anyway), select the text, select Format -> Font..., choose the Character Spacing tab, and check the box "Kerning for fonts"). Overall, the premise behind your web page is great, but where it falls down is that you're comparing apples to oranges. Comparing a typographic system like XeTeX to a work processor like MS Word on the basis of their typographic capabilities is a like comparing a calculator to a computer and complaining the calculator can't browse the web, play music, or typeset my thesis. A more valid comparison would be between XeTeX and a professional page layout program like InDesign (it took me about five minutes to duplicate all of your examples, mosts of which was spent on the Zapfino example figuring out how to access the alternate glyphs). If you were going to compare apples to apples (XeTeX to InDesign), you would need to show XeTeX can mimic all the features of Adobe InDesign and/or Quark Xpress: - optical margin alignment: creating visually (as opposed to mathmatically) correct margins, which involves hanging characters like "T" out into the margin; - hanging punctutation: when punctuation like quotes start a paragraph, they are placed in the margin; when hyphens, em-dash and such like end a paragraph, they also are placed out into the margin; - optical character kerning: automatially adjusting the kerning based on the actual shapes of the characters rather than the build in kerning table--very useful when the kerning table is incomplete (or worse, wrong); - automatically import and format an XML document; - anything that Xpress can do that InDesign can't. Then you would need to show that there are things InDesign can't do that XeTex can. [Note: I'm a casual user of InDesign and a complete novice at Tex] Mark.
Mark, thanks for your feedback. > Word will kern based on the kerning tables built into the font, it's just switched off by default Good catch, I'll update the document, however the fact that it's switched off by default means that 99% of Word users will keep producing poorly typeset documents and using bad typographical conventions. > you're comparing apples to oranges Well, yes and no. I take your point about the category of applications (La)TeX should be properly compared to and I'm sure there's a lot to be said about how (La)TeX compares to InDesign and QuarkXPress in terms of layout composition features. I'm not an InDesign or QuarkXPress user so I wouldn't be able to make such a comparison, but I'd be very interested in reading more about this. However I'm afraid what you're suggesting is more a consequence of the advanced features offered by (La)TeX rather than the original use (La)TeX was designed for. You can obviously use LaTeX for, say, professional book design (see for instance the amazing spreads from AAUP http://www.tsengbooks.com/), but that's not its mainstream use. For most users (especially in the academia) (La)TeX is a document preparation application, not an application for layout design. In this sense, LaTeX, MS Word and OpenOffice *are* direct competitors when it comes to writing a paper, a resume, a letter or dissertation. My short article aims to provide a number of reasons (which by the way are not addressed by most LaTeX vs. Word Processors comparisons) why people should consider LaTeX instead of dumb word processors for document preparation. You are possibly underestimating the number of people (including people with a scientific background) who think that MS Word or OpenOffice are good solutions to write a doctoral dissertation or who write scientific papers in MS Word.
Hi! I am a Buddhist monk who uses Lyx (1.5.3) and XeTex (part of TexLive 2007) on Ubuntu Linux (7.10) to type Pali, Sanskrit, phonetic symbols and English together in the same document. The problem is that XeLatex would produce PDF files with seemingly random hyphenation in the middle of lines instead of at linebreaks. So I change the language setting of Lyx to Welsh, of which there is no language file on my system; my purpose is to force manual hyphenation. But that random mid-line hyphenation still appears. What should I do to remedy it?
I don't know exactly how language settings in LyX interact with XeLaTeX, so can't answer this directly. I would suggest that you ask on the
Hi, I have serious problem in using xetex in linux! I have sample which is compiled with xetex in Miktex but when I typecast with xetex (from texlive) on linux output have some differences! specially on using itemize and enumerate! on windows: This is XeTeX, Version 3.141592-2.2-0.997 (MiKTeX 2.7) (preloaded format=xelatex 2007.11.27) 28 JAN 2008 14:27 on linux: This is XeTeXk, Version 3.141592-2.2-0.996 (Web2C 7.5.6) (format=xelatex 2007.12.8) 28 JAN 2008 18:31 I'm using xetex with arabxetex for typecasting Persian. Thanks in advanced...
There was a bug in version 0.996 that affected certain types of formatting in right-to-left text; I think this would have affected the item labels in these environments, for example. This was fixed in 0.996-patch1 and in 0.997. Therefore, the most likely explanation is that you're seeing the correct behavior in MikTeX, but the older TeX Live release is giving incorrect output. If you're able to rebuild from current TeX Live sources, or use a distribution such as Debian, which I believe has applied "patch1" to 0.996, you should get better results. TeX Live 2008 will of course have an updated release of XeTeX. If you have further questions, I recommend asking them on the
The Arabic sample above has a mistake---the laam-alif with hamza ligature is represented in the editor window but not the pdf.
So it did. That was a limitation of the font that was used for the typesetting operation; many (especially older) fonts don't support lam-alef ligatures with marks. I have generated a new image using the current version of Scheherazade, and the ligature now appears correctly.
Hi, I have few questions: 1. How to make OpenType fonts from Adobe FontFolio 11 do OldStyle numerals? E.g. Adobe Garamond Pro from FontFolio 9 does this fine, but from FontFolio 11 I just can't get it work. Other fonts too. 2. How to make footnote markers be OldStyle numerals too? I can't get OldStyle nums for superscript nums in XeTeX. (Fonts are .otf from Adobe FontFolio 9 and 11) 3. How to use mathpazo font generaly (shiped with TeXLive 2007) and XeTeX features only in some part of doc (some Arabic text in particular)? If I use it the usual way (\usepackage[osf]{mathpazo}), it renders "bitmaped" font in .pdf output which doesn't look good. Thanks
1. I don't have the Adobe FontFolio product, but I know that some recent Adobe fonts use a different form of the OpenType tables and require a fairly recent build of XeTeX to support these features. So you might need to update to a newer version than shipped (for example) with TeX Live 2007. 2. Is this feature supported in conjunction with superscripts in these fonts? If not, you'd have to disable the use of "real" superscript digits, and fake them with scaling and shifting instead. I think the fontspec package can do this; check the documentation and/or ask on the mailing list. 3. You should be able to use the fontspec package to change fonts as needed. But in any case I don't think you should be getting bitmapped fonts; this suggests a configuration problem with the font map files. It's not really practical to provide detailed support via comments here; try the
Thanks. But, I have no clue how to disable "real" superscripts and make scaling and shifting. I looked at fontspec.pdf but didn't find how to do it. Can you point me in right direction, suggest some links or doc, please?
I thought I'd seen something about this previously, in connection with the fontspec and/or xltxtra packages, but I don't recall the details, sorry. You might have to redefine the macro that prints the footnote numbers. The XeTeX mailing list or a general TeX/LaTeX list (maybe ask on texhax?) is the likeliest place to find such help.
How to insert pdf file (> 1 pages) in source file? Thank you!
With xetex 0.997 (from MikTeX, W32TeX, or other up-to-date packages), you can use the pdfpages package to do this. With older releases, you'd have to use a separate \includegraphics command for each page, with the 'page' option to select each in turn. Please take questions like this to the
Hi! I installed xetex from scratch on my linux box (ubuntu 8.04, tl2007). Installation with the scripts included was really painless. However, when I tried to invoke xelatex, bash told me it could not find it! The texlive version of xetex has a symlink from xetex to xelatex, which was missing on my build. I don't know whether this is a bug or related to my environment. Besides this minor annoyance, xelatex works great and with the latest version I can play around with unicode-math. As a native greek I struggled for years with latex emacs and unicode. Editing multilingual texts was obviously not a top priority for the programmers. On the other hand, this combination (emacs + latex) has tremendous power. Now, with xftemacs and xetex all my troubles seem so far away ... Congratulations!
Hown to up to date Xetex 997 for Texlive 2007 thank you!
Unless someone provides updated packages for your particular distribution, you'd have to check out a copy of the source and build it yourself; see the "build-xetex" and "install-xetex" scripts provided in the source tree. If you're running on Windows, the W32TeX distribution offers a recent XeTeX build that can be used with a TeX Live installation. TeX Live 2008 will of course include an up-to-date XeTeX release, but is not yet ready.
Hown to use package diagxy in xetex? Thank you!
Try asking for advice on the
Is it possible to crop a image(pdf) file with \XeTeXpicfile(\XeTeXpdffile). I have googled a lot but with no success! thanks in advanced
The mailing list (see above) is the best place to ask something like this.
© 2003-2008 SIL International, all rights reserved, unless otherwise noted elsewhere on this page. |