{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

3
votes
2answers
80 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 ...
0
votes
0answers
25 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 ...
0
votes
0answers
32 views

WinEdt error after compilation : No PDF Output [on hold]

Error reported is: no output PDF file produced
1
vote
0answers
74 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
69 views

pdflatex mysteriously loses half a line [on hold]

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 ...
37
votes
7answers
13k 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.
30
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
120 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
51 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
30 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
68 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
63 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
24 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
566 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
123 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
35 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
24 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
68 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 ...
38
votes
5answers
50k views

How to convert PDF to (La)TeX?

I know that hardly any information is passed to the PDF when a .tex file is compiled. But is there a tool that can convert a PDF document back to (La)TeX?
7
votes
1answer
128 views

How Can I create a PDF background which is not printed (by default)?

I'm looking for a solution to include a PDF background layer, which is not printed by default. I've seen that adobe seems to support a watermark layer, as discussed on graphicdesign.SE. I cannot test ...
48
votes
11answers
10k views

Multiple PDFs with page group included in a single page warning

I updated TeX Live to the Ubuntu Quantal version (2012.20120611-4) and I suddenly got this warning: PDF inclusion: multiple pdfs with page group included in a single page This is a minimal ...
3
votes
0answers
39 views

Make hyperlinks clickable in a DVI converted to PDF

I have a legacy system that "generates" documentation for one of our systems. The resulting DVI file is then converted to PDF using dvipdfm. The DVI contains URLs, but those aren't clickable in the ...
1
vote
3answers
127 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 ...
2
votes
1answer
55 views

How to show the structure of a pdf document with LaTeX?

How to show the document structure with Latex?. I was doing some article and i would like to know once it was been compiled and saved in a pdf file how to show the sections or the strcuture of the ...
1
vote
1answer
149 views

pdf doesn't regenerate after upgrading mac to mavericks

I just upgraded my mac to mavericks and latex is not working anymore. Since I'm really no computer pro I have no idea how to make it work again. though everything is still there it's not regenerating ...
15
votes
3answers
4k views

Phantom spaces in listings (pdf)

I have a problem with SQL code in a PDF document. For code representation I'm using the listings package. Everything works perfect until I copy-paste that code from the created PDF document. I get ...
3
votes
1answer
75 views

Import pdf with white background

I have a beamer presentation where the text is in white and the background is black. For some frames I would like to import some pdfs but have them exactly as they are normally. That is all the white ...
3
votes
2answers
324 views

Hyperlink in moderncv with acrobat reader

The hyperref in moderncv for urls and the email address cannot be opened with adobe acrobat reader. The links are working in other pdf readers. It's only an issue with moderncv opened in adobe acrobat ...
61
votes
6answers
10k views

Is there a specialized Pdf viewer for Latex-Beamer presentations on Linux?

Most of the time when presenting a talk people connect their laptop to a video projector. So they effectively have an extra screen at their disposal. Because of that many Software options for ...
3
votes
1answer
294 views

Pandoc: Markdown to PDF, without cutting off code block lines that are too long

I'm trying to convert a Markdown file into a PDF file using Pandoc. I have a lot of code blocks in my Markdown. And if I have a line of code that is too long, it will just be cut off in the PDF. How ...
-1
votes
0answers
41 views

Unable to generate the pdf file [on hold]

I am writing a paper to inderscience single column journal, I included the .cls file when I compile and build it is not generating the pdf file
3
votes
1answer
59 views

EPS to PDF conversion done by pdflatex is blurry

I have done a figure using TikZ that uses the shadows.blur package. Using qtikz (my TikZ editor), I have exported the image as an eps file. In my document, I use \includegraphics{theimage} and ...
75
votes
2answers
2k views

Revisiting producing structured PDFs from LaTeX

I am trying to produce a structured or 'tagged' PDF from pdftex (Tex Live 2013) that passes automated tests in Adobe Acrobat for tagging. These tests are the de facto indicator for a document ...
1
vote
0answers
26 views

PDF compression automatically with TeXWorks or WinEdt in Windows 7?

Currently I use TeXWorks or WinEdt to generate my PDF then open a command window and execute the following to compress the file: >gswin64c.exe -sDEVICE=pdfwrite -dMaxSubsetPct=100 ...
42
votes
8answers
10k views

Add page and line numbers to a pdf

Is there any quick script to add page and line numbers to each page of a pdf document? 1) I often enough get articles in pdf to review, with no page number. I end up writing them by hand to refer to ...
4
votes
1answer
79 views

pstricks rput does not place stuff precisely

Description I want to use pstricks to place some stuff in a large (almost A0) pspicture. Any stuff I place in the picture with the \rput command, is not placed precisely. Why? The farther away from ...
2
votes
0answers
44 views

Convert included .eps files to .pdf with xetex during the first compilation only

Is there a way to have xetex convert .eps files, included with \includegraphics, to .pdf during the first compilation only and subsequently use the generated .pdf files, as pdflatex does?
69
votes
5answers
13k views

LaTeX options for kindle?

I was wondering if there are any good settings to produce a PDF suitable for reading on a (6 inch) kindle. Main use is for intermediate reading of academic papers while they are being written: Text ...
1
vote
2answers
78 views

How to add a logo in every page, without any margin?

I want to use a little pdf picture as a logo in every page of my file, exactly in the top of every page, no margin on top, no margin on left and right side, how to make it? I use below simple ...
6
votes
1answer
64 views

Keeping URLs clickable while decorating?

I want URLs in the rendered PDF to appear as follows: <http://website/blah> I have declared the URLS in my document using the 'url' package, in the form: \url{https://tex.stackexchange.com/} ...
35
votes
2answers
592 views

Viewer-independent copyable spaces at the beginning of a line?

I need to include a couple of Python code listings, where the indentation of the lines (using some number of spaces) is significant. I would like for the code listings to be copyable, so the spaces at ...
6
votes
2answers
95 views

Nicely recover embedded images

I have the latex source code and final generated PDF, but not the image files. I'd like to modify the document, so I'd like to recover the image file so that I can recompile. I can (very slowly) ...
0
votes
1answer
41 views

Sweave and R 3.1.0: no pdfs generated

After upgrading R to version 3.1.0 (from some version 2.x.x), the following sweave code does not produce any pdfs for the plots anymore: \documentclass[a4paper,10pt]{article} \SweaveOpts{echo=FALSE} ...
3
votes
2answers
2k views

Texmaker: showing the same old pdf

I recently installed Mepis on my computer, so I had to install LiveTex, TeXmaker, etc. from scratch. Everything works fine in TeXmaker, except for the .pdf. Every time I compile and want to see the ...
1
vote
1answer
64 views

create pdf figures from pdf_tex and pdf files

I am writing an academic article and I saved all my figures in svg format. Then I converted (after a few cosmetic stuffs) it to pdf_tex/pdf so that they fit the paper . The problem is that my editor ...
3
votes
0answers
23 views

Paralist package breaks hyperref pdf links [duplicate]

Something bizarre is happening with the clickable links that hyperref creates in my PDF file. Here is an example LaTeX file: \documentclass[12pt]{article} \usepackage{amsmath,amsthm,paralist} ...
2
votes
1answer
45 views

PSTricks figure too big

I have the following MWE \documentclass{article} \usepackage{pst-plot} \usepackage{pstricks} \begin{document} \begin{pspicture}(0,0)(5,5) \psgrid[gridcolor=red,subgridcolor=green, ...
7
votes
1answer
199 views

Libertine fonts: spaces in PDF files

I am having trouble with the "libertine" font package using TexLive 2014. A PDF file generated will display properly, including interword spaces, but when I save from Acrobat to some other format ...
3
votes
2answers
153 views

PDF fonts are very thin

I found that the fonts in my pdf file are very thin while printing. I use the path latex->dvi->ps->pdf. I tried including \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} ...