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)

2
votes
1answer
65 views

Workaround for too many pages when using preview with pgf or tikz

The following document produces a PDF with two pages, while only one is called for: \documentclass{article} \usepackage{pgfcore} \usepackage[active]{preview} \begin{document} Text ...
2
votes
0answers
138 views

! Undefined control sequence on tables [closed]

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
237 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
993 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 ...
1
vote
0answers
195 views

Someone has redefined \pdfoutput? [closed]

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
4k 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
214 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

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 ...
-1
votes
1answer
139 views

how can I create a chapter heading like this?

Hi I want to format my chapter of my thesis as shown in the figure. How can I do it? Can you suggest me some fancy latex templates for a phd thesis?
47
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 ...
30
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 ...
18
votes
2answers
99k views

Latex error. Unknown graphics extension: eps [duplicate]

Possible Duplicate: I encountered an 'errorUnknown graphics extension: .eps.' I have the error like in the title. I found some pages on the web with a solution to this problem. They ...
30
votes
2answers
4k 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? ...
21
votes
2answers
4k views

Generating PDF/A-1b compliant documents using pdfx and pdfLaTeX

There are several discussions on the web on how to generate PDF/A-1b compliant documents. One approach can be found on ...
16
votes
4answers
3k views

How to have pdfLaTeX output PDF/X-3:2002 format pdfs?

I'm using Blurb to publish a manuscript, and they require PDF/X-3:2002 format pdfs. How do I get pdfLaTeX to output pdfs that match that specification? I'm using MiKTeX 2.9.
25
votes
1answer
1k 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 ...
36
votes
4answers
4k 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 ...
22
votes
1answer
368 views

How to create identical PDF files?

If I run pdflatex on the same .tex file, the resulting PDF files are not bitwise identical. How can I achieve that? Minimal example: \documentclass{article} \usepackage[pdftex]{hyperref} ...
17
votes
2answers
705 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
714 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
2answers
846 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 ...
20
votes
0answers
565 views

Customizing the height of the pages

The question I would like to control the height of the pages of the PDF documents I produce with LaTeX. Starting with a LaTeX document and two parameters: a given page size (heightPage and ...
9
votes
2answers
2k 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 ...
8
votes
1answer
1k views

Hide image in PDF, reveal with mouseover

Is there a way to load a hidden image into a pdf output document that will show up when the user moves the cursor over a relevant piece of text? E.g., a pdf file generated by tex contains this ...
7
votes
2answers
154 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 ...
16
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 ...
14
votes
1answer
3k 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
2answers
30k views

How to include a PDF image into a PDFLaTeX document

I am generating a PDF file using pdflatex and need to include another PDF file. The reason is that I have a graphMl file which I exported from yEd graph editor to a PDF file, named sample.pdf. The TeX ...
13
votes
3answers
844 views

How to make fractions in powers look good

Quick question. When I type $e^{\frac{1}{2x}}$ it makes the fraction very small and hard to read. However when I type $e^{\displaystyle\frac{1}{2x}}$ it makes the fraction way to big. I guess in ...
13
votes
3answers
740 views

Accessibility issues

Currently, I'm generating the following pdf with pdflatex: http://dl.dropbox.com/u/2682197/book.pdf Unfortunately, this document is a bit incompatible with adobe screen reader (for blind people). ...
11
votes
0answers
403 views

Changing colors of included cmyk jpg

I am trying to convert a pdf containing grayscale pictures and black text into shades of a single color in cmyk color space (for printing). I was thus very happy to learn, from a side remark in one ...
11
votes
3answers
46k views

Where to download pdflatex.exe?

I ran a Google search but nothing too clear showed up. I'm looking for a Windows 7 compatible version of pdflatex.exe to help me in typesetting some math I have in an Illustrator project. I heard ...
10
votes
1answer
8k views

Switching color and grayscale mode for \includegraphics

Suppose I have a document that includes a lot of colorful PDFs. Now I'd like to easily switch between "color" version and "greyscale version". I'm aware of \DeclareGraphicsRule, but I think this needs ...
9
votes
1answer
3k views

Trouble using ffmpeg to encode a h264 video in a .mp4 container to use with media9

I can't get an ffmpeg encoded libx264 video in a .mp4 container to work with media9 and beamer. The pdf is created using pdfLaTeX. It seems to be some kind of ffmpeg issue since the following work ...
9
votes
3answers
159 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
3answers
246 views

How to include a second file only if environment variable is set?

I have a LaTeX document which exists in two versions, a short version and the long version. The long version has an additional chapter inserted in the middle of the document. What I want to do, is if ...
8
votes
1answer
2k views

How can I get the actual relative path using \import and \subimport?

I have structured my PDFLaTeX document in folders. Inside them there are .tex files, .PDF figure files. And all works using \import and \subimport commands from the Import package: Main/ |-- ...
5
votes
0answers
375 views

Unknown TikZ/pgfplots error with external [closed]

I am trying to compile a large document (PhD thesis) and I have no problems compiling without using external, but as soon as I enable that feature, it has problems. So far I haven't found the answer ...
5
votes
1answer
579 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
279 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 ...
3
votes
1answer
378 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
4answers
3k 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 ...
28
votes
2answers
2k views

pdftex and javascript forms with automatic calculations

I would like to create a PDF document in TeX with a form. Some of the fields in the form will be calculated based on the values of other fields. Here is a MWE, thanks to Victor Ivrii on the pdftex ...
16
votes
1answer
1k 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 ...
13
votes
3answers
3k views

Generating a separate pdf file of tables and figures from a latex file?

Is it possible to generate a pdf of figures and tables of a paper from latex itself? I saw Journals and Conferences asking for a separate file of tables and figures. In this question, questioner ...
13
votes
2answers
373 views

How to produce character-by-character-pastable visual output that is a function of the (intended-to-paste-as-such) source code input?

Note: The original phrasing of my question was this: How to use accsupp to produce all-upercase in the visual output from input that should paste in its original, ordinary-case form? However I think a ...
13
votes
3answers
1k views

Preprocessor for LaTeX?

I'm curious to find out whether anybody has suggestions for a preprocessor for LaTeX documents. What I'm thinking of is something like cpp. The motivation for my question is that I'm writing a large ...
12
votes
2answers
3k 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 ...
11
votes
2answers
344 views

\foreach with \newcommand how to use them together?

What I want to do is to shorten this \newcommand with a \foreach since this is just a very little part of what I will use. \newcommand{\CC}{{\mathbb C}} % the set of complex numbers ...