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)

7
votes
1answer
75 views

Prevent scaling of printout of PDF without using hyperref

pdftex produces PDF. We need a viewer to view the PDF and print it. Some of those viewers tend to scale the printout: the letters shrink. This is a bug especially of the Adobe Reader and explained ...
7
votes
1answer
779 views

Properly sort index containing utf8 characters?

If my input file is utf8 encoded, how to I create an index where the entries are properly sorted? Minimal example \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{makeidx} \makeindex ...
5
votes
3answers
2k views

Appendices in PDF Outline appear as childs of last section

I'm using the following general outline in book class: \mainmatter \include{introduction} \part{...} \include{chapter1} ... \part{...} ... ...
4
votes
2answers
984 views

Insert hyphenation point in BibTeX using PDFLaTeX and hyperref

How to tell PDFLaTeX to make hyphenation in place where I want it to be? I have my document file: \documentclass[10pt,a4paper]{article} \PassOptionsToPackage{hyphens}{url}\usepackage{hyperref} ...
3
votes
2answers
405 views

How can I keep browsing my pdf with synctex at the same time as LaTeX is rebuilding it?

As discussed here pdflatex preview problem: white pdf pages with only hyperref-rectangles visible during compile? when working on my dissertation which takes a long time to compile (even when ...
14
votes
3answers
1k views

Hyperref: Scandinavian characters (æø) don't work in \url, hyperlink is wrong

Background A while ago it became possible to use the letters æ, ø and å in URLs, and some websites, like the encyclopaedia Store Norske Leksikon, has made use of this. Recently, a question was ...
7
votes
1answer
1k views

Get high resolution for bitmap fonts under pdflatex?

I’m using the Boisik font/package, which is not available as Type 1 and so (unless I’ve missed something) is only able to produce bitmapped fonts in the pdf output. By default, the resolution of ...
5
votes
1answer
2k 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 ...
5
votes
1answer
433 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 ...
3
votes
1answer
284 views

How to include interactive java-based web pages inside LaTeX generated PDF documents

Is it possible to open an interactive web page, such as this, inside a latex generated pdf page?
2
votes
1answer
2k views

pdflatex and pstricks

Sometimes ago I wrote a style file for drawing GANNT charts with pstricks. I typically compile my code with latex+dvips+ps2pdf, and everything works fine. However, I am now preparing a presentation ...
37
votes
4answers
14k 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 ...
29
votes
5answers
2k views

Which packages can you use to improve the typographic quality?

List here which packages can be used to make text easier to read and nicer to look at. After all, the superior typographic quality is one of the main reasons to prefer LaTeX to, for example, MS Word.
27
votes
2answers
15k views

Is there any way to include an animated GIF directly?

Is there any way to include an animated GIF directly in either PDFLaTeX or XeLaTeX? I realize the animate package can include animations in a PDF, but it doesn't support animated GIFs and you have to ...
21
votes
2answers
5k 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 ...
26
votes
2answers
409 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 ...
26
votes
5answers
3k views

Making an anonymous PDF file using PDFLaTeX

When writing a referee report for a journal, it would be preferrable to have the resulting PDF file generated by pdflatex be completely anonymous. Does one need to take special actions to ensure ...
28
votes
3answers
1k views

Create bitmap within TeX file

I'd like to create a bitmap (black and white) from within LuaTeX (or pdfTeX) and rescale it afterwards. For example (a 4x4 bitmap) could be made by \makebitmap{0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0} I ...
15
votes
1answer
12k 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 ...
14
votes
6answers
6k 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 ...
12
votes
3answers
2k views

How to get accented unicode characters that can be copy-pasted?

The aim is to generate the .pdf with accented characters (the .tex file has mixed macro and unicode input), in a way that the .pdf text can be copy-pasted. An example: \documentclass{article} ...
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 ...
3
votes
0answers
143 views

How do the various LaTeX compilers (LaTeX, XeLaTeX, PDFLaTeX, ???) differ in terms of use(s), purpose(s), pros and cons? [duplicate]

How do the various LaTeX compilers (LaTeX, XeLaTeX, PDFLaTeX, ???, ConTeXt, fill-in-the-gap) differ? Is there an authoritive list of all currently available LaTeX-related compilers? Which are the ...
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 ...
22
votes
1answer
657 views

Can I write a document that is compilable with both latex and xetex?

I have just started to have a look at XeTeX and I am wondering whether to make the switch, however I am a bit scared... ...and I am basically wondering if I have to take the step fully or if I can ...
8
votes
4answers
3k views

Included png appears too big in PDF

I'm a beginner with LaTex and writing an article in it (letter-sized). WinEDT and MikTeX (versions seen in the log). I have a PNG chart (obtained from R/ggplot2) which is 471 x 335 pixels and which ...
7
votes
2answers
803 views

Is there a “ForwardPDF” tool available?

When I am working on a big document, I find the srcltx package to be extremely useful. However, I also really like the hyperref package. Is it possible to use both? In particular, is there a way to ...
24
votes
5answers
28k views

Unicode degree symbol ° in math formulas: \textdegree invalid in math mode

I'd like to be able to simply input a degree symbol as ° in my source code. German keyboards have a key for this, and it makes the source so much more readable. I'm using pdflatex from TeXLive 2012, ...
22
votes
2answers
2k views

Ensure verbatim code block is copy/paste-able

After rendering a document containing this code block \begin{verbatim} if [ ! -d .git ]; then git init; fi # Initialises a new Git repository, if doesn't already exist. if [ ! -f README.md ]; ...
15
votes
2answers
687 views

Easily assign undefined ligatures with pdfLaTeX?

Ulrike Fischer showed how Linux Libertine's special ligatures are accessible. Even though she also pointed me at a chapter of the LaTeX Graphics Companion, I'm not really sure how to get these ...
14
votes
3answers
1k views

Deactivating Anti-Aliasing when typesetting QR-Code

Using the following LaTeX-Code: \documentclass[a4paper]{article} \usepackage[pdf]{pstricks} \usepackage{pst-barcode} \begin{document} \begin{pspicture}(0.7in,0.7in) ...
13
votes
3answers
4k views

Using Asymptote with pdfLaTeX

I have recently started using LaTeX and have found it amazing. I now use LaTeX for all my documents :). However, now that I need to include some graphs and diagrams in my documents, I have found the ...
12
votes
2answers
633 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 ...
11
votes
2answers
3k views

Eliminate/Edit PDF properties added by pdfLaTeX

Is there a way to change the properties that are added to PDF docs? For instance, when I go the Properties panel in Acrobat, I see: Application: LaTeX with hyperref package PDF Producer: ...
9
votes
1answer
540 views

\write18 pass % through to shell

This has sort of been touched on in some other postings, but for path reasons I would like to avoid using a shell script and just use ImageMagick's (IM) convert command line executable directly from a ...
7
votes
2answers
448 views

Extracting characters from the new libertine (with pdflatex)

The issue: I need to access e.g. libertine's delta glyph in pdflatex. This question notes that the \libertineGlyph command is no longer provided by the latest version of the libertine package. It ...
13
votes
2answers
502 views

Are itemize and EBGaramond compatible?

This MWE works: \documentclass[english]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{luainputenc} \makeatletter %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands. ...
9
votes
2answers
3k views

How to determine the true size of a font?

A colleague of mine is submitting a research proposal to one of the UK research councils, whose guidelines stipulate a minimum font-size of 10pt. My colleague, who is of course using LaTeX, uses the ...
6
votes
3answers
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 ...
4
votes
1answer
599 views

Installing EBGaramond for pdfLaTeX

I made a foolish choice to play around with fonts a few days ago, and haven't escaped since. After getting very kind and useful help here yesterday, I decided to follow the advice given, and change to ...
4
votes
1answer
525 views

Pixelated font as on Texas Instruments calculators

For pedagogical reasons, I would like to build one environment to display something like the screen of one Texas Instruments calculator. What I'm looking for is a way to produce, via pdflatex, one ...
2
votes
1answer
920 views

Specifying CJK fonts for pdftex and CJK.sty

I'm compiling a Japanese TeX file written with CJK.sty, and using the IPA fonts. I used ttf2tfm to generate tfm files. Is there a way to tell pdftex that a set of tfm files correspond to one Unicode ...
13
votes
1answer
420 views

Hyphens at end of line disappear upon pasting, even if they were present in the input

When I paste text from pdflatex output, there are two things about hyphens that I would like to change: Hyphens paste as "hyphen-minus" (U+002D, "-"), but I would prefer the newer Unicode character ...
13
votes
1answer
1k views

File size difference between XeLaTeX and pdfLaTeX

When working with MacTeX 2010, I noticed that XeLaTeX generates files considerably smaller than pdfLaTeX on the same input. Even with the small example \documentclass[11pt]{article} \begin{document} ...
13
votes
2answers
853 views

Regular expressions with pdfTeX

How can one use \pdfmatch with regular expressions and where can one find a listing and description of all the available pdfTeX primitives and help on their use? Edit The latest issue of the pdfTeX ...
12
votes
1answer
18k views

Including GIF image in pdflatex document

I'm trying to include GIF image in my LaTeX document. To my understanding this is possible. I'm using pdflatex and I get the following message: ERROR: LaTeX Error: Unknown graphics extension: .gif. ...
12
votes
2answers
4k views

Conflict between color, graphicx and libertine

Compiling the following with pdflatex (TeXLive 2009/Debian on Ubuntu 10.04 "Lucid Lynx") \documentclass{article} \usepackage{ifpdf} \ifpdf \usepackage[T1]{fontenc} \usepackage{libertine} % ...
10
votes
1answer
912 views

Linux Libertine and pdfTeX: glyph `a' undefined

I have little doubt, usually, in the Linux Libertine font with LaTeX / pdflatex, but a couple of weeks ago, the following happened to me: I have the file with the following test.tex ...
10
votes
3answers
2k views

Replacing greek glyphs in math mode

I want to switch fonts, away from computer modern. I'm pretty sure that I will end up with a mixture of fonts. I can't provide a full list of required features, but Linux Libertine's feature set ...
9
votes
2answers
314 views

How can some eastern European diacritics be correctly displayed with the Alegreya font and pdftex?

I would like to use the Alegreya font in a document that features several diacritic symbols from eastern European languages. Whith xelatex everything works fine, but I would like to use pdftex, and ...