pdfTeX is an extension of TeX which is capable of directly generating PDF output. Use this tag if the used engine – pdftex/pdflatex – is significant to your question.

learn more… | top users | synonyms (1)

1
vote
0answers
37 views

Get rid of box around URL with hyperref [duplicate]

Possible Duplicate: Remove ugly borders around clickable cross-references and hyperlinks Let's say we have document with url: \documentclass[a4paper,10pt]{article} \usepackage{hyperref} ...
2
votes
1answer
254 views

Hyperref problem with mdframed+pdflatex

I'm encountering a problem when I use hyperref with mdframed and pdflatex. Below is a MWE which gives the following error: ! Missing \endcsname inserted. <to be read again> ...
11
votes
2answers
181 views

Inserting statistics of a resulting PDF file back into the document on the next run

This is an example of what I want to do: After a run of pdflatex, calculate and store (into an auxiliary file?) the size of the resulting PDF file, as obtained from the Terminal command "du -h ...
7
votes
4answers
2k views

Export only table of contents

What would be the preferred way to export the Table of contents I use in a .tex file to a separate .pdf? Currently I have a my-report.tex file and I wish to pair the result of pdflatex ...
18
votes
2answers
10k views

PSTricks error “Undefined control sequence <recently read> \c@lor@to@ps”

I have a problem with this file tex: \begin{document} \begin{figure} \begin{center} \begin{pspicture}(0,0)(1,3.8) \psline{-<}(0,0)(0,.2) \psline{-}(0,.2)(0,.4) \psline{*->}(0,.4)(0,.9) ...
4
votes
1answer
1k views

really greyscale pdf

I may miss something: I cannot produce really greyscale or monochrome pdf. If I create a very simple document, say Hello, with no or basic packages, article or book, and compile it with pdflatex ...
6
votes
1answer
861 views

(La)TeX Web browser [closed]

I had an idea this morning and would like to share and to know if someone has already developed it somewhere! A Mozilla group is currently building a JavaScript Application able to transform any PDF ...
2
votes
2answers
3k views

PDFLatex: Unable to Generate Index

Master file: \documentclass[dvipsnames,cmyk]{book} % File Containing All the Control Settings \usepackage{../../Style/mystyle} \makeindex \begin{document} % Front Cover \include ...
2
votes
1answer
204 views

texi2dvi does not run biber/bibtex

I use biblatex for references. When I run `PDFLATEX='pdflatex --shell-escape -synctex=1 -file-line-error' texi2dvi -p foo.tex', I receive: Package biblatex Warning: Please (re)run Biber on the file: ...
2
votes
0answers
7k views

Problem compiling BibTeX bibliography with pdfLaTeX [closed]

I'm sure this is an amateur problem, but I can't seem to get my BibTeX bibliography to compile using pdfLaTeX. It worked before when I did Latex->DVI->PDF, but then I had to add some syntactic ...
2
votes
1answer
441 views

Lines and text doesn't appear on same page in Latex

I was trying to take a dig at LaTeX and wanted to write a resume in it, but before I start writing the resume I wanted to learn the quintessential of latex. While trying to create a line I encountered ...
1
vote
1answer
320 views

pdfTeX or pdfLaTeX under Windows/Java using Bytestream

I'm doing servlet programming and i was wondering if pdfTeX or pdfLaTeX have some handle for input or output bytestreams under windows. This way I could stream a string right in and stream the output ...
1
vote
1answer
446 views

gentium as font with pdflatex from texlive 2012 [closed]

How can Gentium be used as default font with pdflatex from TeX Live 2012? Somehow Gentium is included in TeX Live but cannot be accessed with \usepackage{gentium}, see What font packages are installed ...
4
votes
2answers
1k views

TeXworks + pdflatex + PSTricks autopp suffix problem

I have managed to make PSTricks work with TeXworks. However after compilation it adds -autopp to the basename of the pdf file, e.g. report.pdf becomes report-autopp.pdf. As a result TeXworks is not ...
0
votes
1answer
289 views

How to set up texi2dvi with synctex and error handling?

I would like to set up texi2dvi (with error-handling, synctex for forward and backward syncronization, and Okular as viewer) to compile .tex documents (under Ubuntu 12.04 with Emacs 24). (In case ...
12
votes
2answers
1k views

Package tgpagella and text figures

Is there a way that text figures (old style numerals) can be set as default for text when loading the package tgpagella? I get them if I use the .otf files under XeLaTeX, but I'd like to get them when ...
15
votes
2answers
4k views

How do you suppress specific warnings generated by pdflatex?

A lot of the times I get warnings like "hbox overfull" when a specific part of my document is meant to be extra wide on purpose --> so I am purposefully violating the default width threshold. Or to ...
3
votes
5answers
408 views

How to insert characters with special meaning into a document

I was trying to add the symbol ^ in the document and getting error. How could I do that \documentclass{article} \begin{document} Hello world \^ \end{document} I need to add \,$... to document
3
votes
0answers
412 views

z-order (foreground/background) in pdflatex [closed]

I am using the wallpaper package to put a pre-made PDF on the title page of my LaTeX document. On the same page, I use the textpos package to insert some text and an image (with \includegraphics ...
9
votes
3answers
3k views

LaTeX minimal installation in GNU/Linux distributions (e.g., in Ubuntu and using apt-get)

I am running LaTeX on a Linux VM. I am running a Xubuntu and have very little space to use. I managed to install some of the latex packages without documentation. Currently I am missing fullpage ...
14
votes
2answers
1k views

How to fix missing or incorrect mappings from glyphtounicode.tex

glyphtounicode.tex has been described as the best solution for generating copy-and-pasteable symbols. However, I find that various symbols that I need to use do not paste as the appropriate Unicode ...
2
votes
3answers
2k views

Syntax Error: Expected the optional content group list, but wasn't able to find it, or > it isn't an Array

I am getting the following error when I run pdflatex: Syntax Error: Expected the optional content group list, but wasn't able to find it, or it isn't an Array It SEEMS to build correctly, but I am ...
35
votes
2answers
5k 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? ...
3
votes
1answer
2k 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 ...
3
votes
1answer
448 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 ...
5
votes
1answer
458 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
160 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 ...
9
votes
3answers
279 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 ...
1
vote
0answers
189 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
685 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 ...
9
votes
2answers
9k 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] ...
9
votes
3answers
2k 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} ...
3
votes
2answers
3k 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 ...
40
votes
3answers
15k 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 ...
18
votes
1answer
2k 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 ...
2
votes
2answers
241 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 ...
73
votes
6answers
8k 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 ...
10
votes
2answers
713 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
882 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
457 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
2k 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 ...
25
votes
3answers
7k views

mysterious error: \pdfendlink ended up in different nesting level than \pdfstartlink [duplicate]

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 ...
6
votes
2answers
9k 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. ...
3
votes
2answers
7k 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
204 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 ...
21
votes
2answers
25k 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. ...
3
votes
1answer
4k 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
158 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 ...
5
votes
1answer
497 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 ...
52
votes
1answer
816 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 ^), ...