Tagged Questions

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)

3
votes
0answers
593 views

running pdflatex after htlatex causes hyperref error Undefined control sequence [closed]

UPDATE Jne 22, 2013 After installing TexLive 2013, this problem went away on its own. So this question is now resolved for me, as I will be using TL 2013 from now on. This question can closed or ...
2
votes
1answer
345 views

#10 envelope page size — Skim / Adobe default to 8.5“ x 11”

Each time I print an envelope, I've been manually selecting the #10 envelope size from the Skim print menu on an OSX machine because the application thinks it is 8.5" x 11". Is there any ...
12
votes
3answers
5k views

Animation using a sequence of images in a single pdf file

I have a sequence of images in one pdf file. The first page in the pdf corresponds to the first step in the animation, the second page corresponds to the second step in the animation and in general, ...
7
votes
2answers
144 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 ...
2
votes
1answer
1k views

Changing latex font in pdflatex

I have just started to use LaTeX (TeXworks, pdfLatex) and I´m using Windows 7. How can I change font to Garamond with math support? I found this from LaTeX font catalogue but it doesn't work: ...
4
votes
0answers
468 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 ...
5
votes
1answer
1k views

Texshop and inverse search

I just updated to the latest version of TexShop and now my inverse search (from the pdf to the source) does not work anymore. Neither with command+click nor with right click -> sync. It used to work ...
7
votes
3answers
143 views

Command that expands to the contents of a file

I'd like to make a macro that expands to the contents of a file. Basically something like \def{\mycommand}{\input{file.txt}} % file.txt contains "Hello%" \anothercommand{\mycommand} ...
5
votes
2answers
454 views

Timestamp in document / pdf name

Let's assume my document is called test.tex. Instead of creating a test.pdf I would like to add a suffix date stamp to the filename, e.g. test_2013_05_29 (test_yyyy_mm_dd). I am compiling with ...
17
votes
1answer
136 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 ...
3
votes
1answer
816 views

Zero error, but no PDF

I just installed texlive2012 on the new distribution Mageia 3, as well as the libertine font .rpm packages. I have a problem with this code : \documentclass[10pt]{article} \usepackage[T1]{fontenc} ...
7
votes
2answers
171 views

Is there an easy way of producing a pdf without pictures?

I want pdflatex to produce a PDF with the images shown as empty rectangles. pdflatex thesis.tex Will compile my thesis normally with pictures, but it takes about 5 min to compile pdflatex ...
3
votes
1answer
109 views

How to change font sizes in PDFTeX

Is there a solution other than the one listed here? Which I quote: Some current distributions of pdfTeX have a bug (feature?) that using \magnification rescales the paper along with the ...
2
votes
1answer
203 views

[T1]{fontenc} package makes text unselectable for Android Adobe Reader application?

Alright, here's a weird one. I'm writing a paper for my English class and am encountering some problems.** So, I put \usepackage[T1]{fontenc} in my preamble and compile it.** It works! Not so fast. I ...
4
votes
1answer
198 views

LuaTeX renames the .log, .aux, etc [duplicate]

When I ran LuaTeX on my resume, it renamed all the files produced from pdfing the file. This is the first time it has every done this. The file was called resume and it renamed the pdf texput.pdf. ...
6
votes
1answer
168 views

N in M : random choice

What is the most simple way, in pdflatex, to have a command such that \NinM{n}{m}{c}{d} will expand to c with probability n/m and will expand to d with probability 1-n/m ?
4
votes
1answer
345 views

Graphics with bottom border for signature capture

I am generating PDF documents using pdflatex with signature images which are pre-converted with Inkscape to pdf. The current template looks like this ({{ tags }} are django template tags): ...
1
vote
1answer
2k views

Problem with font map

Compiling a beamer project, I get the following error: mktexpk: /home/matthieu/.texlive2012/texmf-var/fonts/pk/ljfour/public/cm/cmss8.525pk: successfully generated. ...
7
votes
2answers
905 views

Equivalent of bounding box when compile with pdflatex

I'm having an issue inserting a .pdf image into my .tex file (an .eps works fine). A description of my problem is below. When I insert an .eps figure by doing: \documentclass[a4paper,11pt]{article} ...
5
votes
1answer
251 views

Using ConTeXts cow font with pdfTeX

So I have really become intrigued with the Cow font of context, however I really wish I would be able to use this with latex. I found a place, where it listed the steps on what to do, but it was ...
5
votes
1answer
888 views

Quality loss at adding images to a LaTeX file

I have a LaTeX file (compiled with pdflatex) with some images in pdf added via the \includegraphics command. The problem is that the images are really big (up to 10MB) and the output file is too large ...
5
votes
1answer
804 views

problem with including pdf using pdfpages

I am trying to use \includepdf with about 20 different PDFs. The first 19 have worked fine, but the last one which can be found below ...
4
votes
2answers
234 views

Difference with standalone and preview? [duplicate]

I have a table, but for cleanliness (I'll use the figure in a paper and in talks), I'd like to compile to a single PDF and include it with includegraphics instead of having the table rendered within ...
0
votes
0answers
225 views

Missing $ inserted - did I make something wrong? [duplicate]

Im writing a paper using Latex and I get repeatedly this "! Missing $ inserted. $ l.92 ?" error. Its only in two passages and I don't see any obvious mistake I made. The code is: ...
2
votes
1answer
64 views

pdflatex: Handling of fonts when including other pdfs

I was curious about one fact: How will pdflatex deal with fonts embedded in pdfs it includes? For example: When I include 100 pdf-files (e.g. using \includegraphics) will the generated output file ...
2
votes
1answer
209 views

Problems with installation of MinionPro [closed]

I am trying run my .tex-file after I installed MinionPro in TeXLive, but the following problem appears: !pdfTeX error: pdflatex (file MinionPro-Bold.pfb): cannot open Type 1 font file for reading ...
5
votes
1answer
495 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 ...
2
votes
1answer
156 views

LaTeX compiles but not pdfLaTeX [duplicate]

I have a "project", which has a main.tex in Main folder, and in Main folder, there are subfolders called tex and fig. In fig folder, there is a logo.eps file. In tex folder, there is a content.tex ...
22
votes
2answers
688 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 ...
5
votes
2answers
309 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
145 views

hyperref: can I control how to display the PDF?

I use the method described in this link for getting hyperlinks from different PDF files: Can you have hyperlinks to locations in different PDFs? I would like to remain with two open PDF files, ...
0
votes
0answers
33 views

pdfTex, hyperref: jumps beetwen two pdf files [duplicate]

I use hyperref package and pdftex to generate a PDF file. I have file_A.pdf and file_B.pdf. I will assign a destination point in a file_B.pdf (not at first page) and use this destination to make ...
11
votes
2answers
14k views

Is is possible to install only the required LaTeX tool “pdflatex” in Ubuntu?

I do not know the dependencies b/w the tools provided by the LaTeX bulky lib. A suggested command to install LaTeX tools on Ubuntu is: sudo apt-get install texlive-full It's full installation ...
3
votes
0answers
37 views

what's the best solution to split a .tex file into separate compiled files? [duplicate]

I have a .tex file that includes several chapters (all through the \input command). I would like to run pdflatex in one command such that it saves each chapter into a separate PDF file, while ...
1
vote
1answer
88 views

Vim shortcut to pdflatex a specific tex file

I'm working on a document that is structured as follows: /Document/ | |--Chapter1/chap1.tex | |--Chapter2/chap2.tex | |--Chapter3/chap3.tex | \--main.tex where the ...
9
votes
2answers
466 views

Embedding a flv (or mp4) video using pdfTeX (plain TeX only)

I am attempting to find out how to embed a flv video in a pdf file created using plain TeX and pdfTeX. I was successful at manually (via Adobe Acrobat's menu: Tools->Multimedia->Video Tool) embedding ...
3
votes
1answer
636 views

Merge PDFs, fix page numbering and compress

Say there is a book that has been split into several PDFs. I want to do two things: Merge the PDFs and reduce the size of the resulting PDF. Fix the page numbering. (1) can be done with pdftk or ...
4
votes
1answer
318 views

Why do LaTeX and pdflatex produce different margins?

I am working with TeXStudio on Windows. When I use latex + dvips + ps2pdf and pdflatex the margins in the resulting PDF file are different. Has anyone else encountered this? Is there a way to avoid ...
1
vote
0answers
85 views

Some errors with a little document [closed]

I have some errors with my paper in LaTeX, and I don't understand how to fix the problems : The first is : pdfTeX warning (ext4): destination with the sa me identifier (name{page.1}) has been ...
6
votes
1answer
1k views

Export Beamer doc to 2 slides per page

I'm a total LaTeX/beamer newbie looking for a way to export a slide deck I created into a sort of "book" form. I tried "handout" but that didn't seem to be what I'm looking for. Basically, I want to ...
0
votes
1answer
162 views

Error with ASCII characters [closed]

I have an apostrophe as in educator's, which is displayed as eductaor's and prevents TeX from generating a pdf. I have used this as well: \usepackage[utf8]{inputenc} how can I fix that? ...
5
votes
1answer
1k views

Ghostscript 9.07: Error: A pdfmark destination … points beyond the last page

I use gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -dFirstPage=$2 -dLastPage=$3 -sOUTPUTFILE=$4 $1 in a script to extract pages from a pdf file with Ghostscript 9.07. I obtain a lot of warnings (as in ...
5
votes
1answer
592 views

How to run LaTeX and lilypond-book in one command?

I was wondering if there was any command which would let me create a PDF from a LyTeX source in one step. Currently, I am first executing lilypond-book: lilypond-book --latex-program=pdflatex --pdf ...
6
votes
1answer
2k views

“shell escape” is not enabled - chemscheme/chemstyle

I am having issues with -shell-escape. I do not know really what this is, and how to apply it. Furthermore, I have read elsewhere that I is possibly dangerous to summon this command. Any help would be ...
3
votes
1answer
208 views

Make entire document heavier using pdfrender

This is a follow up question to this answer of this question. The code given in the answer above seems to break for any extensible horizontal bars such as the vinculum, square root bar, and ...
0
votes
1answer
161 views

libertineGlyph and pdflatex [duplicate]

This is a follow-up question to How to get Wikipedia W from Linux Libertine? How can \libertineGlyph{W.alt} set with pdflatex? This MWE works fine \documentclass{article} \usepackage[T1]{fontenc} ...
3
votes
1answer
185 views

Cannot compile using the newpx package

As basic as: \documentclass[letterpaper]{article} \usepackage{newpxtext} \begin{document} test \end{document} does not compile. It issues an error: !pdfTeX error: pdflatex (file ...
4
votes
0answers
1k views

Mathscr fonts from the mathrsfs package not showing up in PDF [closed]

Long time lurker, first time poster: I am having trouble getting mathscr to work properly. In the past, I have always created PDFs by LaTeX->DVI->PDF, and when I do this, the package has always worked ...
11
votes
2answers
2k views

It is possible to make fonts appear heavier (darker) in pdf output of Latex?

[Edited to include what I have learned from the answers.] I am using Latex in TeX Live on my Mac, through TeXLive. I compile .pdf files using Pdflatex. I use the default fonts. [These fonts are ...
4
votes
1answer
71 views

How do I customize a WikiPublisher tex file?

I've been using WikiPublisher (an addon for pmwiki) with quite a bit of success. Lately though, I have been wanting to customize the tex file that is used to generate the final pdf file from a ...