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)

22
votes
1answer
1k views

How to make text copy in PDF previewers ignore lineno line numbers?

I'm using lineno for a document. I have it configured to put line numbers in the margins of the document. I generate PDF using pdflatex. Here's the problem: when people copy a region of text in a ...
17
votes
3answers
2k views

Using non ASCII characters in author names and titles within hyperref pdfinfo

I am trying to generate a PDF file (using pdflatex) with hyperref references; both the title and author should be visible as pdf properties, and both contain accents or non us-ASCII. The rest of the ...
16
votes
1answer
10k views

How to enable shell-escape in TeXworks?

I require use of the minted package of similar one which support Prolog syntax-highlighting. Given that I use the TeXworks "IDE", how do I enable shell-escape? Though I attempted—see above—I still ...
9
votes
5answers
3k views

knitr and biblatex

I'd like to create a PDF report with knitr with LaTeX-code in RStudio with biblatex for citations. However, the in-text-citations are always undefined and no bibliography is printed. The same ...
50
votes
7answers
49k views

Convert LaTeX to HTML

Is there a converter that will convert LaTeX to HTML? I have tried several services but the LaTeX diagrams and some of the maths came out weird. I actually converted the Latex to PDF without a ...
36
votes
2answers
5k views

How can I draw an arc from point A -> B on a 3D sphere in TikZ?

I'm basing myself on http://www.texample.net/tikz/examples/spherical-and-cartesian-grids/ and now I need to add a arc from point P to Q. What I was able to get so far: ...
13
votes
2answers
3k 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 ...
18
votes
1answer
2k views

In which order should I load inputenc and fontenc?

When I’m using pdfLaTeX, my preamble usually contains \usepackage[utf8]{inputenc} and \usepackage[T1]{fontenc} Should these two be loaded in any particular order? What problems could arise if ...
15
votes
4answers
623 views

Expandable full expansion of tokens that preserves catcodes

Is it possible to fully expand tokens in an expandable manner and preserves category codes? I'd like to do this just using pdfTeX. I'm looking for something that would work like this: \def\foo{foo} ...
14
votes
2answers
8k views

Increasing TeX's main memory

I have a plot with a lot of measurement datapoints. I exported this plot from Matlab2tikz. When I wanted to compile this, it said that the memory was exceeded. Now I found this, How to expand TeX's ...
23
votes
3answers
5k 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 ...
8
votes
2answers
649 views

How does “libertine-type1” work?

I am really struggling to understand how the packages libertine-type1 and biolinum-type1 work now that libertine-legacy is depreciated. According to the new libertine.sty all options when using ...
81
votes
2answers
4k views

pgf-Tikz QR code generator

I am looking for a Tikz QR code generator. I am aware of pst-barcode as well as several "local" programs, a luatex solution and web services to do this. Nevertheless, if at all possible, I would much ...
43
votes
10answers
2k views

Workflow for reviewing PDFs generated from TeX?

I am currently letting friends and family spellcheck my thesis written with LaTeX. Since my markup is macro-heavy and not all of them have ever used another editor but MS Word, I cannot let them work ...
19
votes
1answer
13k 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 ...
17
votes
4answers
3k views

How to create PDF and HTML output from the same source

I'm working on a document that has been published only as a PDF file until now. To utilize some of PDF's features, it uses the packages pdfpages and pdftex and commands like includepdf{}. But soon ...
26
votes
3answers
18k views

pdftex reduce PDF size: reduce image quality? [duplicate]

Possible Duplicate: How to make the PDFs produced by pdflatex smaller? I wrote my thesis in LaTeX and so far I always compiled with pdflatex. The thesis is 150 pages with many pictures and ...
15
votes
1answer
1k views

Which version of LaTeX permits more than 16 alphabets?

Sometimes I receive a message: ! LaTeX Error: Too many math alphabets used in version normal. I know that there is a limit of 16 alphabets at most allowed to one article. However this message ...
13
votes
3answers
4k views

Precompiled preamble with TikZ/Externalize

I'm using the externalize capability of TikZ (external library) to speed up compilation of my TikZ pictures (as explained in Script to automate externalizing tikz graphics). In addition, I would like ...
9
votes
4answers
4k views

pdflatex bash script to supress all output except error messages?

I have a bash script which I use to compile a file with pdflatex twice (to make sure it sorts out references properly, etc.). This is the 'latexbuild' script I use: module load ctan pdflatex ...
19
votes
3answers
3k views

Includegraphics maximum width

With \includegraphics I can give the width of the resulting image (which would be scaled). How can I give a maximum width of the image? That is, if the original is smaller than X, I'd like to keep ...
14
votes
6answers
11k views

How to export matlab figures to (pdf) LaTeX?

I am writing a student thesis in LaTeX and need to import several figures created in Matlab. I found some programs to do this task: matfig2pgf matlab2tikz fig2texPS The problem is that using one ...
5
votes
2answers
1k views

Conditional Compiling and \documentclass

I am quite new to latex and don't quite get it how to compile different versions of my presentation. If this is important: I am using pdflatex and beamer. There are three documentclasses I am ...
15
votes
2answers
881 views

What is the status of pdfsync?

The pdfsync homepage states that: At the end of this summer (2007), pdfsync is slowly migrating to pdftex itself. We are working at giving pdftex all the pdfsync ability and more... The pdfsync ...
11
votes
2answers
3k views

Moving from pdfLaTeX to XeTeX - what do I need to know?

I've used pdfLaTeX for some time, but have encountered problems wanting to use other fonts than the defaults. I've been recommended to use XeTeX instead, as this supports usage of system fonts ...
4
votes
3answers
2k views

Can (pdf)LaTeX recognize text strings and replace (expand) them?

I'd like LaTeX to replace e^ with \mathrm{e}^. I know I could just make a macro \e that does this, but I know I'll forget using it.. Can LaTeX find and replace and replace letter combinations (I ...
14
votes
2answers
7k views

“Font shape undefined” with LaTeX and isodoc

I'm trying to create a simple invoice with pdflatex and the isodoc class. Unfortunately, the "INVOICE" opening is appear in all lowercase, and I suspect this warning is the reason why: LaTeX Font ...
11
votes
2answers
7k views

What's the difference between pdfTeX and pdfLaTeX?

I've been working on a project and compiled it using pdfLaTeX, then tried to compile using pdftex and got a whole lot of errors. I'd like to know why that would happen since it's a very plain file and ...
10
votes
2answers
2k views

How to use downloaded fonts with pdfLaTeX on Ubuntu

I want to use the Fontin font in my pdfLatex document. What steps should I do for using a downloaded font Should I download the TTF or the OpenType version? Where should I store the font? Should ...
7
votes
2answers
971 views

PSTricks + pdfLaTeX resulting in fonts not embedding into eventual PDF

I want my eventual PDF to have all fonts embedded. Using special psdots in pstricks is causing this to fail. Here is a MWE of something which results in non-embedded fonts: ...
2
votes
1answer
7k views

Including pdf_tex images from inkscape

I am trying to use pdftex to lay out a document including images made in inkscape. From inkscape I can output the images as pdfs with accompanying pdf_tex files and put these in a figure environment. ...
9
votes
2answers
2k views

Can't silence a pdftex “PDF inclusion: multiple PDFs with page group” error

I am having an issue with PDFs generatied in Inkscape. If multiple files generated in this way are included on a single page I get the following error: pdfTeX warning: pdflatex.exe (file ...
5
votes
3answers
2k views

Gnuplottex basic example fails with 'undefined control sequence'

I'm using latest TeXLive on Linux, and have gnuplot installed. I have also installed gnuplottex package. Then, I'm trying to compile the basic gnuplottex CTAN example, example-pdf.tex; however, I ...
15
votes
3answers
382 views

Include the file size of the generated pdf

How can I include the (approximate) file size of the generated pdf within a pdflatex document? I envision having to compile it three times: once to create the pdf, a second time to write the size to ...
12
votes
2answers
23k views

LaTeX Error: Unknown graphics extension: .ps

When I try to compile this file http://danjer.doudouke.org/_media/tech/dokutexit/playground.zip this error occurs: ! LaTeX Error: Unknown graphics extension: .ps. I'm using TeXworks Version 0.4.3 ...
1
vote
1answer
4k 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) ...
42
votes
1answer
981 views

What are the incompatibilities of pdftex, xetex and luatex?

[Please correct me if my statements are wrong] TL;DR: pdftex, xetex and luatex exhibit different behaviour. What are these differences and why are they present. I know of three engines, which ...
20
votes
1answer
285 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):
52
votes
1answer
759 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 ^), ...
22
votes
2answers
6k views

Is it possible to embed a YouTube video using LaTeX?

I'd like to embed a YouTube video inside a PDF generated by LaTeX, now I know it is possible to embed videos using the movie15 package but that includes the video in the PDF. I was hoping there would ...
31
votes
4answers
11k 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 ...
25
votes
1answer
1k views

How to make pdfLaTeX multithreaded when `--shell-escape` is enabled?

I am using \write18 enabled (or --shell-escape) with externalization to compile a bunch of PGFplots. The first run takes much time, and I noticed that pdflatex only runs on one CPU core. Is there any ...
16
votes
1answer
14k views

How do I create a PDF file that can be digitally signed?

We are using Acrobat digital signatures in my organization. With Acrobat Professional you can put in a signature block that allows signing with a client-side digital signature. This is something ...
17
votes
6answers
7k views

Can pdflatex (or any tex package) automatically rescale included images which have been reduced in size?

I'm writing my thesis in LaTeX, generating it with pdflatex. I have a large number of figures, many of which are bitmaps (as opposed to SVG) in PNG/JPEG format. I've generally created them to be ...
17
votes
2answers
6k views

pgfplot: plotting a large dataset

I try to plot a dataset which is large using pgfplots. Since I'm aware of problems with large files, I used the external mode. I additionally increased main_memory from 3000000 to 6000000. It crashes ...
16
votes
3answers
424 views

Print 'system information' in LaTeX doc

I've used TeX quite a bit before but am getting back into it at the moment. I want to print a document details page with info such as: Compiled on: Compiled by: OS version: LaTeX version: ...
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 ...
11
votes
1answer
2k views

Can't copy-paste from my PDF. Any idea why?

When using copy paste from the PDF generated from my Latex document, the text comes out garbled. What could be causing this? This is an example of the original text: At last, and taking the risk ...
6
votes
2answers
7k views

Local font installation problems

Recently I tried to reinstall the MathTimePro II fonts in my local texmf directory. I already have Lucida fonts installed which works fine. So I carefully copied all the relevant files/folders to the ...
14
votes
1answer
3k views

Determine height of the line you are in

Is there a way in PDFLaTeX to determine the height of the line you are in? Maybe something similar to PDFsavepos. In a normal line (i.e. no heading etc.), you might approximate the height by a fixed ...