pdfTeX is an extension of TeX which is capable of directly generating PDF output. Use this tag if your question is about pdf(La)TeX specific problems and is not related to standard (La)TeX.
17
votes
2answers
998 views
Should I load microtype with pdflatex?
Should I always load the microtype package with pdflatex?
Could it produce unwanted effects a naive user (like me) might ignore?
Are there any known issues as for compatibility with other packages?
...
2
votes
1answer
346 views
Including a PDF for dvi output
I want to include a multipage-pdf in latex and get .dvi output. I know \include{pdfpages} only works with pdfLaTeX. I can't convert PDF to .eps since it is multi-page. I want to have .dvi output with ...
2
votes
1answer
230 views
How do I use glyphtounicode to make Caslon Pro ligatures searchable?
I am using Adobe Caslon Pro with a caslon.sty file which activates uncommon ligatures such as st, ct, longsl, longst &c. I use it in the following example (updated to match the answer in the ...
4
votes
1answer
187 views
setting the 'filename' of a file embedded in a PDF using the attachfile package
I'm using the attachfile LaTeX package (in PDFLaTeX) to embed files in a PDF and I've run into a difficulty regarding what I suspect is the 'filename' of the embedded file.
I can attach/embed files ...
6
votes
1answer
106 views
Trailing space to end \input| argument
Why do \message{\input|"texlua ..."} and \message{\input|"texlua ..." } give very different results? Notice the extra space before } in the second case.
Minimal example to be compiled with pdftex ...
8
votes
3answers
171 views
Using \input|texlua… to emulate \directlua in pdfTeX
When --shell-escape is enabled, pdfTeX allows to run external programs and input the result expandably with \input|"...". Together with the Lua interpreter texlua, this could be used to provide a ...
0
votes
0answers
127 views
Error after compiling [closed]
Every time I try to compile my TeX code to PDF the compiler runs and at the end there is a message like:
process ends with an error
But neither the log file nor the error message shows me the ...
1
vote
0answers
122 views
pdflatex embed font names [closed]
I have been using some embedded fonts (AMS, Times) in my PDF document. Last time when I browsed the document in PDF Viewer (Evince, in that particular case) I noticed that most of embedded fonts were ...
4
votes
1answer
236 views
Multiple rotated text boxes with absolute page positions
As part of a layout for a home made recipe book, I'm trying to lay out a series of text boxes at absolute positions on a page. I'm using eso-pic to put a background image on the page which has ...
0
votes
1answer
1k views
Error: I can't find the format file pdflatex.fmt
For no particular reason that I could identify, I was faced with the impossibility to compile any latex document and invariably got this error message each time I tried :
LaTeX: problems after [0] ...
0
votes
0answers
780 views
Unable to use libertine in Windows MiKTeX [closed]
\documentclass[14pt]{article}
\usepackage{libertine}
\usepackage[T1]{fontenc}
\title{Hello World}
\begin{document}
Lorem Ipsum
\end{document}
I have trouble with my MiKTeX installation. I tried ...
8
votes
3answers
386 views
Incompatibilities of cmap with fontenc/hyperref?
The following code doesn't compile (with pdflatex)
\documentclass{article}
\usepackage{cmap}
\usepackage[T1]{fontenc}
\usepackage[pdfa=true]{hyperref}
\begin{document}
Hello.
\end{document}
...
2
votes
1answer
423 views
psfrag equivalent for pdflatex
I am currently updating my workflow from the old tex2ps2dvi workflow (needs a lot of time and matplotlib and other stuff etc. hasn't a EPS output (only PDF, SVG, PS, PNG, etc...).
I am trying to ...
5
votes
2answers
1k views
How to overcome Acrobat Reader error 131 with a pdfLaTeX doc?
I'm generating a PDF document with pdflatex (more precisely, latexmk invoked from TexMaker 3.4. My LaTeX install is TeXLive 20120719). I can read the document fine in Okular and Gmail's attachment ...
13
votes
1answer
507 views
Proper use of cmap and mmap
I am curious about the differences between
\usepackage{cmap}
\usepackage[resetfonts]{cmap}
\usepackage{mmap} (= \usepackage[useTeX]{mmap})
\usepackage[noTeX]{mmap}
What are their precise ...
1
vote
1answer
154 views
How can I execute pdflatex when I'm not in the directory?
I am currently experimenting with lilypod. To generate a PDF from the source, I have to enter
mkdir -p charts-out
lilypond-book --output=charts-out/ --pdf charts.tex
cd charts-out
pdflatex ...
43
votes
4answers
2k views
What are good ways to make pdflatex output copy-and-pasteable?
One frequent aspect of pdflatex output that could be improved is to what extent one can select text output from the generated pdf-file and copy-and-paste it. This is essentially an issue of having the ...
5
votes
2answers
285 views
Is pdflatex an engine or a format?
From http://www.tug.org/levels.html
Engines: TeX, pdfTeX, XeTeX, LuaTeX, … These are the actual executable
binaries which implement the different TeX dialects. The LaTeX format
is implemented ...
1
vote
2answers
238 views
pdfx and “undefined control sequence” caused by Subject meta-tag
According to the pdfx documentation it should be possible to add a Subject field to the XMP metadata file. Addition of this field however seems to cause an unexpected error during compilation of the ...
1
vote
1answer
215 views
How to pass pdflatex option “-synctex=1” to texi2dvi?
How can I pass the option -synctex=1 (for synctex support) of pdflatex to texi2dvi?
0
votes
1answer
457 views
texi2dvi: “I couldn't open database file…” (strange behavior with relative paths to .bib file)
When I use texi2dvi -p --tidy foo.tex where foo.tex contains \bibliography{/home/user/.../mybib.bib}, everything works as expected, mybib.bib is found and references inserted in foo.pdf. Also, when ...
10
votes
3answers
532 views
mysterious error: \pdfendlink ended up in different nesting level than \pdfstartlink
I ran into the "mysterious"
\pdfendlink ended up in different nesting level than \pdfstartlink
error. According to http://www.tug.org/errors, "this happens when hyperref is used under pdftex and a ...
4
votes
2answers
877 views
Good quality images in pdflatex
Generally I include images in my latex document by the command
\includegraphics[scale=0.5]{image.png}
However, after doing pdflatex the image quality is always very poor in the resulting pdf file. ...
2
votes
1answer
2k views
How to change AUCTeX latex compile command? (using Emacs 23)
I'd like to configure AUCTeX to compile without stopping on errors. I can do it from a terminal with
pdflatex -interaction=nonstopmode filename.tex
but AUCTeX apparently does
pdflatex ...
3
votes
0answers
198 views
some greek letters disappear from PDFs included with includegraphics [duplicate]
Possible Duplicate:
Ligatures in figures and pdftex
I have created some graphs in PDF format with PyX that include some labels with greek letters. When these graphs are included with ...
13
votes
2answers
7k views
How to make a real apostrophe or single-quote in LaTeX
I am trying to incorporate programming examples in a LaTeX document.
The document renders nicely with pdflatex; however, the single quotes get transformed into U+2019, a right-single-quotation mark. ...
2
votes
1answer
245 views
How to deal with PDF figures
I can insert JPEG figures in publications, but when it comes the time to include PDF figures (I prefer them for graphics because of its vectorial nature) I cannot scale them properly.
I am using ...
3
votes
2answers
90 views
Pageref inside alltt
Here is minimal working example that shows bug:
\documentclass[a4paper,12pt,openany]{book}
\usepackage{alltt}
\begin{document}
\begin{alltt}
\pageref{asd fgh jkl}
\end{alltt}
\end{document}
I ...
4
votes
1answer
182 views
Problem with alltt package when defining new command
I have following problem. In the code below the second parameter of new command 'chunk' is supposed to output text 'as-is' using alltt package (I need alltt because I will output some other new ...
39
votes
1answer
457 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 ^), ...
3
votes
1answer
664 views
GraphViz and LaTeX; gives blank PDF
I've tried 4 different .sty files (most of which didn't work, some of which gave me errors on rendered page).
Now trying with the dot2texi package, which is giving me a blank PDF.
I have tried ...
0
votes
0answers
375 views
Paragraph ended before \@iinput was complete [closed]
I have a larger document.
main.tex
\--> \include{chapter1.tex}
\--> \input{oneline.tex}
When compiling I get this error
main.tex:285:Pragraph ...
1
vote
1answer
581 views
poor font quality when exporting to pdf
I use LyX 2.0 and export with pdflatex.
When writing standard text and exporting to pdf, the font gets rigid. Text written in math mode, though, is exported crystal clear. I've tested that on several ...
1
vote
0answers
384 views
Problem with viewing interactive PDF content on Mac [closed]
I use packages such as popupmenu and fancytooltips on a Windows system using PDFLaTeX to create some interactive PDF texts to be posted online. The resulting documents behave as expected when viewed ...
16
votes
2answers
671 views
Ensure verbatim code block is copy/paste-able
After rendering a document containing this code block
\begin{verbatim}
if [ ! -d .git ]; then git init; fi # Initialises a new Git repository, if doesn't already exist.
if [ ! -f README.md ]; ...
3
votes
1answer
269 views
Is it possible to adjust natively the size of the PDF file during compilation with pdflatex?
I am a beginner in LaTeX, tentatively using it for industrial documents. I am working on a laboratory report containing little text and a large number of pictures. I prefer to leave the pictures at ...
1
vote
1answer
112 views
Font problem in pdftex [closed]
I am designing a cover page for an online publication, and apparently, the pdf (created with pdftex from the file pasted in below) does not display correctly for some users. Part of the second line of ...
0
votes
0answers
315 views
tikzexternalize won't compile with windows 7 and texniccenter [closed]
i've got a problem compiling my latex document by using texniccenter, pdflatex and windows 7 (with windows xp everything is working fine..)
\usetikzlibrary{external}
\tikzexternalize[prefix=figures/]
...
3
votes
2answers
428 views
using grid from Tikz in Texmaker
I use Tikz for creating figures. But there is a problem. If I use for example
\begin{tikzpicture}
\draw[->] (0,0)--(10,0);
\draw[->] (0,0)--(0,10);
\draw[help lines] (-0.1,-0.1) grid (9.9,9.9); ...
5
votes
0answers
160 views
Selecting a single word in ereaders
ebook readers let user select only a single word in the most PDF documents. However, when I try to select a word in a PDF generated with pdflatex (and also with latex), the ereader (i.e. sony prs600) ...
10
votes
1answer
211 views
Performance of LaTeX and other TeX derivatives
I need to generate thousands of pdf reports, based on some data. Right now I am using pdflatex for this. Are there differences in performance between pdflatex and other TeX derivatives? My content is ...
14
votes
1answer
421 views
Remove hyphen from word spanning two lines in text copied from a pdf file
If I copy text from a PDF and a word is hyphenated and spans two lines, the copied text contains the "-". For example:
Examp-
le
should be copied as
Example
not
Examp-le
The problem is ...
12
votes
1answer
3k views
How to include a movie in a PDF? Step by step instructions
There are a few question/answers regarding the embedding movies in PDF with pdflatex and special packages. However I find the information dispersed all around and confusing. And so far, in the best ...
3
votes
1answer
204 views
auto-pst-pdf: Not working properly with rotations >=45°
I'm using psfrag to replace text in .eps-figures. Since I'm working also with other graphic formats I use pdflatex and therefore the package auto-pst-pdf. Everything worked quite well so far. Today I ...
0
votes
1answer
487 views
Add Latex font for figure labels, legends and equation annotations with .png and .eps figures
For exporting eps figures from Matlab i use matlabfrag and laprint functions so that i split the psfrag commands (.tex) and figure(.eps) streams. During the compilation using pstool or auto-pst-pdf ...
0
votes
0answers
127 views
Very long execution time for simple text [closed]
The process of pdfLaTeX is extremely time consuming. It takes 12 seconds to compile the simple "Hello Word" text (no figure, no table, no nothing). I have tested both TeXmaker and TeXnicCenter with my ...
12
votes
1answer
422 views
Is it possible to render a PDF in sepia tones?
Is it possible to render a PDF in sepia tones, both the font color and overall document background? Preferably using pdflatex.
The final effect could be something like this screenshot of Pocket in ...
3
votes
1answer
1k views
pdflatex, latexmk, synctex: Adding an option to pdflatex causes synctex to fail
The user "Mike" kindly helped me on Latex, Emacs: automatically open TeX Help buffer on error and close it after correction of the error? to create the following function which makes error detection ...
1
vote
1answer
449 views
How to set compatibility level in PDFLaTeX
normally pdflatex produces pdf compatible with acrobat reader 6.0 and later right? How do I make it compatible only with version 9.0 forward acrobat reader?
I use TeXLive 2011
3
votes
3answers
2k views
pstool, pdfLaTeX: Not getting pstool to work, “LaTeX Error: File not found”
I've spent lots of hours trying to solve a problem by myself. Unfortunately it seems that no one else has experienced the same problem. At least, searching through various forums and employing Google ...
