2
votes
2answers
101 views

pdflatex problem

I just use latex to grid a pdf file. the code like follow \documentclass[ letterpaper, 10pt]{article} \usepackage{tikz} \usepackage{pdfpages} \newcommand\su[1]{ \begin{tikzpicture}[overlay,remember ...
1
vote
0answers
49 views

Hyphen between page number gets (blured/diluted) in reference when viewing

Title says this weird problem. The hyphen in the end, between the page number 770-808, gets blurred and diluted. (In this case, if I select and paste in somewhere else, 770808 will show and the hyphen ...
8
votes
1answer
112 views

teTeX Distribution in Slackware

I have installed slackware 14. It has an in-built support for TeX. The distributions provided are teTeX and eTeX. Does it make a difference if I install TeXLive 2013? Secondly, I am not able to ...
5
votes
1answer
134 views

Changing page margins in {pdf-,Xe-}TeX

In TeX, changing the \hsize and the \vsize changes the main text size and the page size of the dvi output. When I compile a document with pdftex or xetex, the page size remains at A4. How can I change ...
6
votes
1answer
83 views

How can you use both fontspec and xmpincl?

Is there a way to use both the fontspec and the xmpincl packages? Using PDFTeX returns Fatal fontspec error: "cannot-use-pdftex" The fontspec package requires either XeTeX or LuaTeX to ...
5
votes
1answer
108 views

Plain TeX: missing symbol

I've tried to compile (both pdfTeX and XeTeX) simple code: ☺ \bye But in result I have a plain page, without anything. What's wrong?
5
votes
1answer
104 views

Document in Spanish with IPA and Greek, failing in PDFLaTeX and XeLaTeX

I was passing some documents I had in HTML to LaTeX for a better printout. While the main language of those documents is Spanish (and a few more are in English) there have snips in other languages, ...
2
votes
1answer
132 views

kvoptions and conditional environment

I'm trying to create a package with a single option, which provides an environment, which behaves differently if called by latex or pdflatex XeLaTeX. I tried to use kvoptions, but I'm a little lost. ...
4
votes
1answer
152 views

Error 32512 (driver return code)

I'm using XeTeX, Version 3.1415926-2.4-0.9998 I'm creating tex file using PHP and storing it on linux server. [ex: abc.tex] Then creating .sh file with command to execute *.tex file using xelatex ...
1
vote
0answers
114 views

Someone has redefined \pdfoutput?

I am very confused by my TeX Live (2012). I used XeLaTeX to run a .Rnw file in RStudio and got the following message: Compiled PDF failed ...
0
votes
1answer
212 views

How to clear LaTeX cache?

I'm executing .tex file using pdflatex and xelatex. Surprising getting different results (as PDF) in both. It looks like xelatex is picking data from some cache and generating output with some old ...
6
votes
2answers
90 views

Macro psGTriangle leads to pdfLatex ignoring the figure

I've noticed that the pstricks macro psGTriangle, to draw triangles with Gouraud shading does not work in combination with auto-pst-pdf/pdflatex. There is no error message, the pspicture environment ...
0
votes
0answers
135 views

How to get “XeLaTeX + unicode-math” output as close as possible to that of pdflatex?

I've started exploring XeTeX and the unicode-math package in order to use unicode in my input. Of the six math fonts described in unimath-symbols.pdf, Latin Modern Math seems to be closest to what ...
4
votes
1answer
76 views

What is the macro/primitive for the current run time? [duplicate]

I've seen (I don't know where) a couple of interesting metadata-oriented control sequences, and I was wondering if such a sequence exists for the job runtime. I can't expect it to give me the total ...
3
votes
1answer
328 views

Paper size in XeLaTeX and pdfLaTex

I was working with pdfLaTeX, and I set the size of the A4 paper; but for some reasons I have to change to XeLaTeX. And I realize that it isn't the same size of the paper, because the header and foot ...
4
votes
0answers
297 views

PGFPlots pattern bug [closed]

I tried to compile the example in How to combine fill and pattern in a pgfplot bar plot? to answer the question here PGFplots ybar patterns not showing and the pattern doesn't appear when I use ...
17
votes
1answer
125 views

What primitives can expandably tell us about the current horizontal list?

I've been writing some code that expands macros and catches characters and non-expandable primitives as they reach TeX's stomach, and I encountered an issue: since I gather letters one by one, with ...
5
votes
2answers
276 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
201 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?
25
votes
2answers
394 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
128 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 ...
7
votes
1answer
95 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
199 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 ...
2
votes
1answer
192 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
276 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
110 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 ...
17
votes
3answers
961 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
106 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
3answers
845 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
333 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
417 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
487 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
488 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 ...
47
votes
1answer
576 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
415 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
366 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, ...
2
votes
1answer
2k 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
363 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
87 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
442 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 ...
12
votes
1answer
874 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
1answer
1k 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 ...
7
votes
1answer
423 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 ...
10
votes
2answers
628 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
71 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
451 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
855 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
273 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
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 ...
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 ...