2
votes
1answer
140 views

Translating LaTeX document to XeLaTeX or LuaLaTeX

I'm writing a Thesis on the ''use of history to teach mathematics''. The first four chapters are already typed and compiled in pdfTex, I used the memoir document class. Recently I read this Lua post ...
5
votes
2answers
259 views

Command \texteuro unavailable in encoding T1

I want to know how does LaTeX figures out if the Eurosymbol (€) is a glyph of a given T1 font. I tried \iffontchar but it seems the value is not unique. AFAIK it's not a standard symbol of the 256 ...
3
votes
1answer
73 views

Why IEEEtran is blurry with XeLaTeX but not with PDFLaTeX, and how to fix it?

The question is pretty simple. Compiling this code with PDFLaTeX \documentclass{IEEEtran} \usepackage{lipsum} \begin{document} \lipsum \end{document} gives me back whereas compiling the ...
3
votes
1answer
104 views

Hindi words not displayed properly in pdf (generated by xelatex)

The words are not getting displayed properly in the pdf even though they are getting displayed correctly in source file. And when I tried to copy words from the pdf file and paste them, they are ...
9
votes
1answer
206 views

TeX Capabilities with Arbitrary Fonts

I am formatting 85,000 words of text in InDesign that include several (non-negotiable) .ttf and .otf fonts not canonical to LaTeX. I'd like to switch to a TeX-based format for the following ...
4
votes
2answers
36 views

endfloat shifts chunks of text to the end

I am trying to use \endfloat to shift all of the figures to the end of the document. However, some text, several paragraphs typically immediately after some figures also get shifted to the end of the ...
7
votes
1answer
116 views

How to write a LaTeX command that could discriminate if it's being called with pdfLaTeX in order to use PSTricks?

I'm writing a class for LaTeX, and I need to make it general. I want to include a simple image, a logo, within the class, which would be inserted into the document as a simple command ...
2
votes
2answers
174 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
53 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
241 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
245 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
97 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
120 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
169 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
175 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
271 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
146 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
342 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
103 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 ...
5
votes
0answers
238 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
85 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
450 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
424 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
135 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
296 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
216 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
503 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
131 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
96 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
211 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
220 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 ...
4
votes
1answer
352 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
112 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
1k 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
127 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
1k 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
351 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} ...
1
vote
1answer
527 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
616 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
586 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 ...
48
votes
1answer
637 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
464 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
409 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
381 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
90 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
489 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
934 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
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 ...
7
votes
1answer
449 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 ...