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)

6
votes
2answers
378 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) ...
6
votes
1answer
557 views

How to use latekmk with feynmf/feynmp?

Background The latexmk tool can be used to automatically process your LaTeX files enough times to generate the output. As discussed here and here, latexmk now supports setting out_dir which passes ...
5
votes
1answer
3k views

Option clash when using graphicx and tikz packages

The following code fails Option clash for package graphicx, it seems to be an incompatibility between the package graphicx (when the option pdftex is used) and the package tikz. ...
5
votes
1answer
488 views

pdfcrop and --bbox command line option

This tool that's distributed with texlive has no actual documentation for the bbox parameter. It just says that --bbox "<left> <bottom> <right> <top>" What units do these ...
4
votes
1answer
590 views

what is the correct way to check for latex, pdflatex and html in the same latex document?

What is the correct way to check for if one is running in pdflatex vs latex vs. an html processor such as tex4ht? Suppose I have some latex code that I only want to show up in html, and not show up ...
3
votes
3answers
2k views

Latex or PdfLatex to generate DVI

I would like to generate DVI output using latex or pdflatex, it doesn't matter. First, I would like to mention that I run the following command to compile my document and it runs successfully - ...
3
votes
5answers
323 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
2answers
505 views

Show output of a full LaTeX document

A couple of days ago, I found showexpl, it is wonderful and works very well. But there is one thing missing that it doesn't let me do and it is to only show the output/result of some commands. For ...
3
votes
1answer
4k views

auto-pst-pdf Problem

I'd like to use pstricks with auto-pst-pdf. However, running the example code on http://tug.org/PSTricks/main.cgi?file=pdf/pdfoutput#autopstpdf gives me the following error: Package auto-pst-pdf ...
3
votes
2answers
4k views

includegraphics choosing pdf instead of eps [closed]

I previously posted this on stackoverflow.com where it was suggested that I post it here. So apologies in advance for cross-posting. I am using LaTeX in ubuntu 10.04 to build a TeX file that uses ...
3
votes
1answer
924 views

Gnuplot subdirectory not found using epstopdf

I'm moving from the gnuplot latex terminal, to the epslatex terminal. I use pdflatex. With the epslatex terminal, I receive two output files, a .tex and a .eps. I can use epstopdf to convert the eps ...
2
votes
0answers
78 views

! Undefined control sequence on tables

I am new in LaTeX. I have created LaTeX and Gnuplot to build my graphs. Currently I have to add new table using LaTeX. but I get error: ! Undefined control sequence. l.60 \mycaption ...
2
votes
1answer
168 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. ...
2
votes
1answer
370 views

Embedded fonts not showing up correctly in PDF generated using pdfpages in pdfLaTeX

I am using the pdfpages package to include some other PDF documents into a LaTeX document I'm processing with pdfLaTeX. One of the included PDFs has some uncommon fonts. They are embedded in the ...
2
votes
1answer
801 views

Issues when compiling TeX files with Vim and LaTeX-suite

I'm having problems compiling a TeX file with LaTeX-suite on Ubuntu. In my .vimrc, I have the following lines : filetype plugin on set grepprg=grep\ -nH\ $* filetype indent on let ...
2
votes
1answer
771 views

TeX Gyre Pagella and itemize enviroment gives font warnings

\documentclass{article} \usepackage{tgpagella} \begin{document} \begin{itemize} \item test1 \item test2 \item test3 \end{itemize} \end{document} Compiling the above minimal LaTeX file ...
1
vote
0answers
143 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 ...
1
vote
0answers
1k views

Fatal error occurred, no output PDF file produced in php file [closed]

We are using following code in .php script for generate .pdf file. $result1 = exec("R CMD Sweave /var/www/html/r/r_latex_sweave.Rnw"); $result2 = exec("pdflatex /var/www/html/r/r_latex_sweave.tex"); ...
1
vote
1answer
178 views

How do I paste codepoints outside of the basic multilingual plane with accsupp or \pdfglyphtounicode?

As described in the answers to this question, the accsupp package can be used to have symbols paste as arbitrary Unicode codepoints. For example you might want to write something like the following, ...
1
vote
1answer
3k views

PSTricks picture not compiling with pdfLaTeX [duplicate]

Possible Duplicate: How to use PSTricks in pdfLaTeX? What is wrong with this code: \documentclass{article} \usepackage{pstricks} \begin{document} \begin{pspicture}(-0.5,0)(2.5,1) ...
1
vote
1answer
2k views

Windows 7: problem with TeXnicCenter, MiKTeX2.9

Please help! They have updated my computer to Windows 7, and I have tried to reinstall MiKTeX2.9 and TeXnicCenter. When I run a LaTeX program, it tries to install 412 files from CTAN, and I get the ...
28
votes
3answers
11k views

How can I generate PDF metadata from LaTeX?

I am writing a document using LaTeX and generating PDF. Can anybody tell me how I can generate the PDF metadata, e.g. author or title, from LaTeX? On Windows XP, I am using MikTex's texify to ...
44
votes
4answers
3k views

Abandon LaTeX2e for LaTeX3 or LuaTeX

I think my question is: Should I abandon pdflatex, possibly for xetex or context, and a TeX/LaTeX based macro writing approach, possibly for a LuaTeX or LaTeX3 based approach? Possibly relevant to ...
28
votes
4answers
2k views

Pop-up references in PDF output

I once saw a maths journal which offered PDFs of published papers, where the bibliographic references were formatted as PDF annotations: if you moused over a reference in the text, the bibliography ...
26
votes
2answers
378 views

Automating the appearance of email addresses as images

Publishing pdf manuscripts on the web with emails embedded in the file results in spam. More generally, I am looking for a way to automate the conversion of a string to an image. It's quite easy to ...
11
votes
1answer
159 views

Clickable chapters on the right side of each page

Is it possible with pdfLaTeX to create a clickable "table of contents" on the right side of each page as you could see here (it is a screenshot of a PDF):
29
votes
2answers
3k 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? ...
34
votes
4answers
3k views

What's the maximum number of pages a PDF produced by pdfTeX can have?

Are there some limitations regarding the pdflatex command with respect to the count of pages of the input files? My highest page count, when compiling, was 90 without any troubles. (2008) Currently ...
17
votes
2answers
398 views

Why characters UTF-8 encoded are ISO-8859-1 encoded when written in an external file

For an UTF-8 encoded file as follows: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} % \newwrite\outtmp \immediate\openout\outtmp=out.tmp % \begin{document} ...
10
votes
2answers
614 views

pdf files show “fi”, but searching for or copying them does not work

When I pdflatex text containing "fi", e.g. "infinite", the resulting pdf-file looks correct, e.g. "infinite" is shown in the text. But when I search the pdf file for "infinite", 0 occurrences are ...
7
votes
4answers
3k views

Customizing pdfLaTeX for a particular file with AUCTeX?

I'm trying to use the TikZ 'external' library, available as of PGF 2.10. This requires running pdfLaTeX with the option -shell-escape. I usually run pdfLaTeX from AUCTeX with the option ...
22
votes
3answers
3k views

Arxiv.org: remove borders around hyperlinks

The answers to this question already explain how to remove the borders around hyperlinks. However, if I submit a manuscript to Arxiv.org, it seems that their system somehow manages to override the ...
17
votes
5answers
6k views

Save fillable forms

I am using the eforms package in order to build pdf fillable forms. However there is something I haven't found yet, which Adobe product do I need to purchase in order to save the edited forms? Does ...
16
votes
3answers
6k 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 ...
7
votes
2answers
135 views

Colorize external pictures using pdflatex

I have several greyscale-pictures that I would like to get colorized within pdflatex (so it will be automatically colorized to a given color, from black-to-white lets say black-to-red). Is there a ...
7
votes
2answers
1k views

moderncv - filesize of pdf too big

I managed to work out how to create a job application that is entirely written in the moderncv style. I use the moderncv class itself for my CV and the attachments (making each document a section with ...
22
votes
2answers
601 views

How to divide document for black and color printing?

Most of my document is black text, but there is a color figure here and there. I would like to print the text on a black and white printer, and the figures on a color printer. I know i could just ...
22
votes
1answer
903 views

Why does pdflatex produce bigger output files than latex+dvipdfm?

Consider this sample code: \documentclass{article} \usepackage{lipsum} \begin{document} \lipsum[1-4] \end{document} When I compile this with latex and then use dvipdfm, the output file is 7893 ...
14
votes
1answer
2k views

How to force pdfminorversion globally?

I have a problem with opening PDF files in Acrobat Reader. It comes up with error 131. I have solved this issue thanks to How to overcome Acrobat Reader error 131 with a pdfLaTeX doc? The solution to ...
14
votes
1answer
1k 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 ...
12
votes
2answers
548 views

Insert web content dynamically (Javascript?)

This year in my field we have a large conference overlapping with the European soccer championship. Luckily my talk does not overlap with any match, but in case it will happen in the future I was ...
8
votes
3answers
132 views

Trouble using \oldstylenums with decimal points and hyphens

I am using Computer Modern font (default) with \oldstylenums command to typeset numbers in oldstyle format. However I am having trouble using it with non-numeric characters such as decimal points and ...
8
votes
2answers
1k views

Invert Background and Text Colours across Whole Document with pdflatex

When using pdflatex is there a simple way to invert the colors to give white text on a black background across the whole document? I'd like the colours to be inverted whilst I write and edit the ...
5
votes
1answer
443 views

pgfplots with gnuplot

I got a problem with latex implementing a gnuplot code. I use PdfLatex with argument "--enable-write18". The following code should works with the first commented-out line %plot 'data.dat' u 1:2;, but ...
4
votes
1answer
250 views

Why does pasting the contents of a tikz file into my main file compile properly but not when using \input

If I place the contents of my tikz picture in my main.tex file it works like a charm using \usepgfplotslibrary{external} \tikzexternalize and subsequently: pdflatex --enable-shell ...
4
votes
2answers
8k views

Including a PDF page in latex with pdfpages without scaling

I am writing a document in LaTeX and I'm trying to include a frontpage in PDF (aptly called "Frontpage.pdf") the document, to be compiled with Pdflatex. I tried to include it with the pdfpages ...
3
votes
1answer
229 views

Creating Interactive graphs like Stack exchange reputation tab

I like to prepare an interactive timeline graph (static on load, but dynamic on MouseHover event). Somehow is similar to the Stack-exchange reputation tab for an user. One classic example is here. ...
2
votes
3answers
1k views

Typesetting option that includes makeindex (TeX Live, TeXworks)

I used to work with the MiKTeX distribution and the included TeXworks program. The latter provided me with a typesetting-configuration that was something like pdfLaTeX + BibTeX + MakeIndex. (It ...
15
votes
1answer
886 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 ...
14
votes
2answers
9k views

Add PDF bookmark manually

I would like to add a bookmark to the table of contents. This page shows a method, but \pdfbookmark is not recognised as a command. This is my document header: \documentclass[a4paper]{report} ...