Tagged Questions
5
votes
2answers
109 views
Conflict between ifxetex and ucs under pdflatex/xelatex - why?
I use TexLive 2012 (on Mac) and the following minimal example does not work:
\documentclass{article}
\usepackage{ifxetex}
\usepackage[mathletters]{ucs} % Need newline here!
\ifxetex
\else
\fi
...
6
votes
1answer
161 views
List of all post original TeX control commands
Is there a well documented list of all control commands added by all post Knuth's Tex like PdfTeX, e-TeX, XeTex, LuaTeX?
20
votes
2answers
172 views
What are lccode and uccode used for?
In TeX, each of the 256 bytes has an associated \lccode and an \uccode, integers in the range [0,255] which indicate among other things how \lowercase and \uppercase act. There are of course a bunch ...
3
votes
0answers
108 views
How do the various LaTeX compilers (LaTeX, XeLaTeX, PDFLaTeX, ???) differ in terms of use(s), purpose(s), pros and cons? [duplicate]
How do the various LaTeX compilers (LaTeX, XeLaTeX, PDFLaTeX, ???, ConTeXt, fill-in-the-gap) differ?
Is there an authoritive list of all currently available LaTeX-related compilers?
Which are the ...
6
votes
1answer
66 views
How is bytefield inducing differences between Pdf-and Xe-TeX and LuaTeX, and what's the fix?
This is a simplification of 'Please explain a strange interaction between bytefield, unicode-math, and mathtools', which arises from a comment by @JLDiaz (to whom my thanks).
Here is the MWE:
...
11
votes
1answer
171 views
Why does XeTeX differ from pdfTeX?
I understand that XeTeX was written to handle UTF-8 input better than pdfTeX. However, it seems to process documents in a slightly different way. That is, documents that don't use special fonts or ...
1
vote
0answers
93 views
How to run this template of latex in a Mac OS TexLive?
CASthesis-v0.2.zip
Above is a template for writing thesis in Chinese. (Fortunately, there is not very much Chinese content in this template.) It works well on a Windows machine. But when I run it on ...
1
vote
1answer
128 views
How do I get LaTeX and XeLaTeX to place my images in the same way?
I've run into a problem when converting a book manuscript from LaTeX to XeLaTeX. The problem is that my image sizing and placement has not survived the conversion.
The book has numerous picture ...
0
votes
0answers
95 views
XeTeX, LuaTeX: a good investment? [duplicate]
Possible Duplicate:
Drawbacks of XeTeX/LuaTeX
I'm only writing in English and French. In order to get the best appearance (ligatures, spacing between words and letters...), would it be a ...
15
votes
3answers
561 views
Starting with TeX (not LaTeX)
I've been using LaTeX for 3 years and I'm decided to switch to (plain) TeX. For the moment I'm reading The TeXbook for the third time (I quietly start to read the double-danger signed paragraphs) and ...
0
votes
1answer
78 views
Xetex: use OTF font (MacPorts)
I have a problem using my own OTF fonts within a LaTeX document. I read I should compile the document with xelatex which I have installed on my Mac with MacPorts (package texlive-xetex)
My minimal ...
6
votes
2answers
275 views
Problem of Arabic numbers in math mode with 'New TX' math font option [Libertine] compiled by XeLaTeX
Recently i decided to use the Libertine font to write my dissertation, because finally there is kinda math font for Libertine: \usepackage[libertine]{newtxmath}. Since I want to enable of the ...
9
votes
2answers
250 views
Half of a document in pdfLaTeX, half in XeLaTeX
As far as I know, I cannot use microtype in XeLaTeX, and cannot use fontspec in pdfLaTeX. I am rendering Chinese symbols only on one page, and I need this line: \newfontfamily{\J}[Scale=0.85]{Osaka} ...
0
votes
1answer
152 views
How to make a PDF/A document [duplicate]
Possible Duplicate:
How to generate PDF/A and PDF/X?
Are there any options that I could give to pdflatex and xelatex to make sure that all outputted documents adhere to the PDF/A standard? ...
4
votes
1answer
222 views
XeLaTeX logo with pdfLaTeX? [duplicate]
Possible Duplicate:
How to write (La)TeX (with braces) [or any other TeX-related logo]
I try to typeset the XeLaTeX logo in a document that has to be run through pdfLaTeX (for a journal). ...
1
vote
2answers
232 views
PDF compatibility, how to validate? [duplicate]
Possible Duplicate:
PDF conformance tool
I have created PDF-files using XeLaTeX and there has been no problem when I have shared these files with co-workers using Acrobat Reader. But when I ...
39
votes
1answer
454 views
The ^^ notation in various engines
Basically, how does the ^^^... notation work in LuaTeX and XeTeX, exactly?
In 8-bit TeX engines (recent TeX, eTeX, pdfTeX, at least), two consecutive identical catcode 7 characters (typically ^), ...
12
votes
2answers
336 views
How to tell when to use pdflatex, latex, and xelatex for any given tex file?
I'm writing an automatic compiling pipeline that should be able to compile any given tex file into a pdf. The diversity of the input tex files mainly shows up in what format of figures they use and ...
5
votes
1answer
252 views
Wrong positioning of images inside tikzpicture with XeLaTeX
Consider following code:
\tikzstyle{box}=[draw, fill=brown!40, text width=7em,
text centered, minimum height=7em, rounded corners]
\tikzstyle{usb}=[draw, fill=blue!40, text width=3em,
...
0
votes
1answer
790 views
TexWorks used to output PDF from TEX file result in XeTex required error
I'm new with TeX and linux, but I want to learn to use it.
I found an open source TeX file from here and I want to be able to compile from the cv.tex file to cv.pdf. After searching around, I found ...
6
votes
2answers
315 views
How to add numerical (ala No Starch Press) listing notes without XeTeX?
I've been following the instructions and code available at:
https://zuttobenkyou.wordpress.com/2010/12/05/latex-saner-source-code-listings-no-starch-press-style/
I would like to add notes (and style) ...
0
votes
1answer
79 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}
...
8
votes
1answer
335 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 ...
11
votes
1answer
664 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.
...
5
votes
1answer
810 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
325 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 ...
9
votes
2answers
506 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, ...
1
vote
0answers
70 views
Including different content based on whether xelatex or pdflatex is invoked [duplicate]
Possible Duplicate:
Can I write a document that is compilable with both latex and xetex?
I use XeLaTeX for my documents, and have a font set that I like. However, I also work with coauthors ...
2
votes
2answers
355 views
How to force pdfTeX and XeTeX to produce the same measurement for the imported image?
resolution is undefined in XeTeX so the following code will produce different values when compiled with pdfTeX and XeTeX.
\documentclass{article}
\usepackage{graphicx}
\newsavebox\IBox
...
8
votes
1answer
487 views
How can I test if a document is being compiled by XeLaTeX?
Is there a way to programatically test whether the current document is being compiled by (pdf)LaTeX or XeLaTeX?
1
vote
2answers
208 views
Using listings' escapebegin/escapeend with short commands
I'm building beamer slides with code set using listings and I want to draw arrows to parts of the code. To achieve that I have a zero width command that defines a named PGF coordinate (given as the ...
2
votes
1answer
593 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 ...
1
vote
1answer
241 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 ...
21
votes
1answer
589 views
Can I write a document that is compilable with both latex and xetex?
I have just started to have a look at XeTeX and I am wondering whether to make the switch, however I am a bit scared... ...and I am basically wondering if I have to take the step fully or if I can ...
10
votes
1answer
702 views
File size difference between XeLaTeX and pdfLaTeX
When working with MacTeX 2010, I noticed that XeLaTeX generates files considerably smaller than pdfLaTeX on the same input.
Even with the small example
\documentclass[11pt]{article}
\begin{document}
...
18
votes
3answers
739 views
Detect which TeX engine is used
How can I detect inside a TeX file which engine (pdftex/xetex/luatex) is used to compile the file? Is there a LaTeX package that provides this functionality?
3
votes
1answer
4k views
PNG: importing it with latex | pdflatex | xelatex
I never understood how (pdf)latex determines the size of imported bitmaps, but many years ago I experimentally elaborated simple rule that allowed me to get same output by running either latex or ...
6
votes
2answers
1k views
Generating PDF without any intermediary files (stdin/stdout)
I am programmatically generating PDF's from a template and would like to avoid hitting the hard-drive all the time. Not so much for optimization but because I run parallell threads on all the cores ...
9
votes
2answers
1k views
Moving from pdfLaTeX to XeTeX - what do I need to know?
I've used pdfLaTeX for some time, but have encountered problems wanting to use other fonts than the defaults. I've been recommended to use XeTeX instead, as this supports usage of system fonts ...
10
votes
1answer
6k views
Is there any way to include an animated GIF directly?
Is there any way to include an animated GIF directly in either PDFLaTeX or XeLaTeX? I realize the animate package can include animations in a PDF, but it doesn't support animated GIFs and you have to ...
0
votes
0answers
1k views
Pros and Cons XeTeX vs pdfLaTeX [duplicate]
Possible Duplicate:
What is XeTeX exactly and why should I use it?
I have been using LaTeX for a while now and compiling via pdflatex on my Mac. I have recently started to want more ...
3
votes
2answers
480 views
Does anything like a “pdfXeLaTeX” exist?
I have generally been using pdfLaTeX to typeset my documents. I recently heard about XeTeX which supposedly is the same thing, except has better support for things like unicode and fonts.
Is there a ...
75
votes
3answers
9k views
Frequently loaded packages: Differences between pdfLaTeX and XeLaTeX
Until now, I have been compiling my LaTeX documents with pdfLaTeX. My standard document preamble includes the "usual suspects" for non-English speakers (inputenc, fontenc, babel) and a bunch of other ...
8
votes
4answers
2k views
Is there a simple way to use the gentium font in latex?
I'd like to use the gentium font in a LaTeX document, and the instructions I found
at this site make it look rather difficult.
Is there a simple package that is now available that would allow me to ...

