{pdf} is specifically about the PDF file format. If your question is about producing PDF output, choose an appropriate tag such as {pdftex} or {ps2pdf}. If your question concerns PDF reader software, also use {viewer} or a reader specific tag such as {acrobat}, {evince} or {okular}.

learn more… | top users | synonyms

38
votes
7answers
14k views

Is it possible to produce a PDF with un-copyable text?

Is it possible to produce a PDF with un-copyable text? I mean, when you want to copy text from the PDF, you can't copy it or what you copy is nonsense characters.
4
votes
1answer
68 views

Options controlling PDF Output

I came across a line in a LaTeX file reading \pdfoptionsminorversion=6. This changed the minor version of PDF, which I confirmed by looking at the generated PDF. Now, this option doesn't seem to be ...
4
votes
0answers
36 views

Why is the PDF font size 11.911 for Helvetica and 11.955 for Arial when using `xelatex`?

Now that the mystery is solved, why the PDF font size is 11.955 when declaring the documentclass as 12pt (see Why does PDFLaTeX and XeLaTeX generates 11.955 font size for 12pt documentclass option?), ...
0
votes
1answer
60 views

No image in PDF using PDF_Tex

I am using .pdf_tex from InkScape to create figures in my LaTeX file, but when I compile the caption appears with no image above it. Any ideas why? \documentclass{article} \usepackage{geometry} ...
15
votes
2answers
331 views

How to have a precise control on the size of each page?

I would like to produce a pdf document whose pages have various lengths and fixed widths. An easier situation The easiest case would be for instance: the first page has a length of 10cm all the ...
3
votes
1answer
68 views

PDF viewer for LaTeX beamer

I'm searching a PDF viewer for FreeBSD (Linux) which supports beamer's transition effects (I've some presentation with timed items). Adobe Acrobat Reader drops Unix-support. I don't need two-monitor, ...
7
votes
3answers
1k views

Is it possible to use LaTeX tools with pdf preview?

So I want to use LaTeX in sublime text 2, and I came across the plugin LaTeXTools. It works great, but it requires me to install Skim PDF Viewer. Is it possible to set it up so that when I compile the ...
1
vote
1answer
22 views

Appendices appears in PDF file as part of previous chapter

I have a LaTeX report structured as follows: \documentclass[oneside,11pt]{report} \usepackage{appendix} \usepackage{hyperref} \begin{document} \begin{abstract} ... \end{abstract} \tableofcontents ...
3
votes
1answer
50 views

How to use `epstopdf` in batch mode?

The top voted answer to the following question is a really good way to convert eps files to pdf. What are good ways to convert EPS to PDF? I really prefer it over ps2pdf because it preserves the size ...
15
votes
1answer
595 views

Why does PDFLaTeX and XeLaTeX generates 11.955 font size for 12pt documentclass option?

I am currently working on post-processing PDFs that are generated from either pdflatex or xelatex with the 12pt documentclass option. Since I am looking at the uncompressed PDF sources, I noticed ...
7
votes
2answers
723 views

Turning off font subsetting in pdftex?

I give pdf files to a print-on-demand house (lulu.com) that is very picky about fonts. They want all fonts embedded, no multiply embedded fonts, and no subsetting. Recent versions of pdftex seem to ...
15
votes
2answers
1k views

How to convert a png into pdf using LaTeX?

I have a larger png image: width is 5400 pixels and height is 3850 pixels. I need to transform it into a pdf file in SPA3 size, which means 320mm x 450mm. Is there a way to do it with LaTeX? What I ...
0
votes
0answers
32 views

TeXnicCenter project - Print to separate chapter pdf

I have a project that includes 2 chapters and when I compile the main program it combines the pdf's of these two into one single file. How can I configure it to print to separate pdf's ?
1
vote
3answers
158 views

How to autorotate pdflscape landscape pages when n-upping

I'm using pdflscape for my landscape pages in an A5 portrait document. Then I use the following command line to prepare the PDF to be printed on A4 paper: pdftk blank.pdf document.pdf output ...
7
votes
1answer
149 views

Simpler alternative to hyperref?

I've been trying to get a hyperlinked table of contents working with a preexisting large book project. I've tried hyperref, and have had problems getting it to work right. In case it's of interest, ...
5
votes
2answers
368 views

On the fly pdf conversion for inclusion

A while ago I asked how to Include Adobe Illustrator files (ai) with XeTeX. However, the PDF version of the Illustrator files is 1.5 and I compile my XeLateX documents to version 1.4 so the newer ...
11
votes
4answers
2k views

Include Adobe Illustrator files (ai) with XeTeX

Adobe Illustrator files are PDF compatible. That is a regular PDF reader, ex. Sumatra-pdf, can open and view them. I was hoping it would be possible to have xetex (with xelatex) and graphicx to ...
2
votes
0answers
54 views

How to generate a PDF/E with pdflatex?

I'm interested to generate a PDF/E subset file with pdflatex. I know the pdfx package, but it's only works with PDF/A and PDF/X.
2
votes
0answers
78 views

Is it possible to force LaTex to put fonts into the pdf output?

Sometimes when I make a document with Hungarian letters, the pdf is perfect on the screen, but my printer cannot handle the Hungarian letters. I don't know where is the source of the problem (in the ...
1
vote
1answer
35 views

\MakeUppercase in \section and \chapter with hyperref cause trouble

I use hyperref package to make TOC in the pdf file (you know, the pdf reader can display a toc). But, when hyperref is used, the command \MakeUppercase in a structure command (like \section or ...
4
votes
1answer
979 views

Hyperref links generated by Glossaries pointing to wrong page

In a long document I have two title pages and want to start the page numbering from one on the first non-title page. Thus I use \addtocounter{page}{-2} at the begin of the document. Pages before the ...
1
vote
0answers
29 views

Saving hyperref when inserting pdf in LaTeX [duplicate]

I am trying to insert a pdf document in LaTeX using \includepdf[pages={1}]{myfile.pdf} But the inserted .pdf loses all its hyperreferences. Is there a way to retain hyperrefs while doing so? ...
0
votes
1answer
8 views

Increase pdflatex limits

A pdf is generated from doxygen generated tex files. One function prototype is extremely long, generating a line in the corresponding tex file that is 1122 characters long. When pdflatex is run, no ...
3
votes
1answer
39 views

Undefined control sequence when including pdfpages package

Problem: I try to include the following packages in my .tex file: \usepackage{graphicx} \usepackage{pdfpages} For this I get the following errors: thesis.tex (line 186) Undefined control sequence ...
67
votes
2answers
14k views

How to make the PDFs produced by `pdflatex` smaller?

I feel that the PDFs produced by pdflatex are too huge. So for example my 50 page book with no illustrations is 500KB. I feel it should be more like 50K or even less. The .tex files together are just ...
68
votes
7answers
10k views

How to create small PDF files for the Internet

I feel that PDF documents when intended to be uploaded to the Internet should be of a minimal final size in bytes. Many strategies exist to create a small document: Pay attention to the size of the ...
1
vote
0answers
64 views

Wrong page numbers in the table of contents of a LaTeX document

I am writing my thesis in LaTeX. Everything was going fine until I decided to insert some of my publications into the LaTeX thesis document. The error is in the table of contents, which is showing ...
1
vote
0answers
31 views

Best practice for ggplot transparency in pdf figures

I lost a couple of hours because of few transparent figures which Adobe Professional couldn't flatten to print (it crashed in the process). I wonder if there's any trick to produce PDF figures with ...
0
votes
0answers
46 views

pdflatex not producing .pdf file

I have been using latex and running it through TexMaker now all of a sudden running latex will, pdflatex or PS->PDF will not produce a .pdf file. I have tried to delete all output files and run ...
0
votes
0answers
52 views

converting LaTex pdf into a powerpoint [duplicate]

I want to make a power point presentation with LaTex. I used the presentation template in sharelatex but the output was a .pdf. I want it to be ppt formate. is there any way I can get a direct .ppt ...
0
votes
0answers
23 views

Infinite canvas [duplicate]

It seems that all LaTeX formatting assumes we will ultimately print the document but if the goal is to publish online - under some circumstances, we might desire to have all the document in one ...
2
votes
0answers
33 views

Setting paths for different types

I wonder if it is possible to set several paths for different types of images, that im including in my document. Currently im using \graphicspath{{./Figures/}} for saying that, it should use ...
1
vote
0answers
68 views

Lyx won't create PDF - “File doesn't exist” [closed]

I'm new using Lyx, and apparently I don't understand it very well. My problem is when I try to compile a file to pdf. When I click "View", the debug messages shows the following: 08:46:53.880: ...
1
vote
0answers
53 views

Running pdflatex does not update file in Adobe Reader

I am using Adobe Reader 9 to display PDF files in Ubuntu. When I run the pdflatex command, the file itself is updated as usual. But if the file is currently open in Adobe Reader, then the displayed ...
5
votes
2answers
203 views

Get number of pages of external PDF

Is there a possibility to get the total number of pages of an external PDF file within a LaTeX document? Assuming that there exists a PDF file test.pdf with 8 pages in the same directory my LaTeX ...
1
vote
0answers
93 views

How to use cmap to create an un-copyable pdf with pdftex?

For some reason I want to create a pdf with an un-copyable text. There is a solution which manipulates the font. It's from an older post(see Is it possible to produce a PDF with un-copyable text?): % ...
1
vote
0answers
70 views

pdflatex mysteriously loses half a line [closed]

I have encountered a very mysterious problem. When I send my document to my professor, he found half a line of text is missing in the PDF file, meaning that it left as blank but occupies correct ...
31
votes
5answers
12k views

How to setup synctex with vim, pdflatex and an open-source PDF-viewer under Linux?

Inspired by the comments to this answer I am curious how to actually setup and use forward/reverse (inverse) search with vim, pdflatex and an open-source PDF-viewer under Linux. Btw, to give more ...
1
vote
1answer
134 views

DVItoPDF gives an error

I have previously compiled my tex file with images, and everything worked alright. Lastly, I have changed only the text in my tex file and when compiling the pdf I received in error of DVItoPDF due to ...
1
vote
0answers
57 views

Hide the LaTeX output after importing PDF files generated by mathematica version 10

\documentclass[10pt,a4paper]{article} \usepackage[latin1]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{makeidx} \usepackage{graphicx} \begin{document} ...
15
votes
3answers
2k views

hypertarget seems to aim a line too low

I made a small example: \documentclass[a4paper,12pt]{article} \usepackage[pdfstartview=FitH]{hyperref} \usepackage{bookmark} \begin{document} we want to go\hypertarget{t1}{} here.\\ instead we go ...
2
votes
0answers
33 views

next, previous and up links

This question must have been asked and answered before on this forum, but I can't find the discussion. Sorry. I have a document that has a natural tree structure. So I want "next", "previous" and ...
9
votes
1answer
74 views

Other methods to determine the page size of an external pdf?

I would like to query the page size of an external PDF in a document. I can box an included PDF and measure the box (with or without actually using the box), as shown in the MWE, but I'm wondering if ...
3
votes
1answer
67 views

Scanned PDF inclusion problem with XeTeX driver

I have this specific problem about inclusion of my scanned PDF pages with existing LaTeX document. I use an iPad application Scanner Pro to scan and create PDF copies of my hand-written notes. Then I ...
0
votes
0answers
48 views

how to open the right pdf file using \lv with LaTeX-suite on vim

I'm new to the scene of LaTeX-suite on vim. I am now able to compile a latex project using \ll (which invokes the Makefile). However, when I tried to open the pdf file using \lv, it always attempts to ...
15
votes
1answer
594 views

XeLaTeX and TikZ - how do I ensure my PDFs are using the CMYK color model?

The place I want to print my document at needs the PDF to be provided in CMYK. The document is mostly text, except for a few graphs and plots which are done in TikZ or pgfplots. As suggested in this ...
4
votes
2answers
124 views

Do different TeX distributions produce PDFs of different quality?

Let's say I have the same TeX input, do different TeX distributions produce different PDF, and if so, which would produce best quality for print? I know my Miktex uses fontconfig to some intent, would ...
2
votes
1answer
38 views

PDF Bookmark hierarchy incorrect

I'm having the same problem as that noted in This question: namely, the pdf bookmarks are incorrect, with some sections incorrectly subsumed under others. However, the code that I'm using is somewhat ...
2
votes
0answers
31 views

Beamer PDF presentation - how can i invert colors easily?

Suppose you are going to do a presentacion using a beamer PDF file and you dont know what size the rooms is, neither how much light there is. Under this circumstances, it would be better to have a ...
3
votes
1answer
72 views

Why IEEEtran is blurry with XeLaTeX but not with PDFLaTeX, and how to fix it?

The question is pretty simple. Compiling this code with PDFLaTeX \documentclass{IEEEtran} \usepackage{lipsum} \begin{document} \lipsum \end{document} gives me back whereas compiling the ...