{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

2
votes
1answer
43 views

Error with using \pdfpxdimen: “Undefined control sequence”

I am trying to change the DPI of the output PDF using \pdfpxdimen in the preamble, but it returns an error: "! Undefined control sequence \pdfpxdimen". I guess that is because I am using XeLaTeX ...
1
vote
1answer
109 views

How to add SyncTex support for evince (or Okular) and LaTeXing for forward and backward navigation between source and pdf

I'm currently using LaTeXing in sublime text 3. Unfortunately I couldn't find a proper solution for enabling forward and backward synctex between source and pdf. The LaTeXing uses evince (on Linux). ...
19
votes
4answers
383 views

Two pdf versions from one single .TEX file?

I publish a lot for science journals and some of them are very strict on the number of pages your manuscript will be, as usual the final version of the articles is double column but for review and ...
1
vote
0answers
83 views

Error with pdf image and texstudio [closed]

I'm writing a .tex file with texstudio. In the tex there are some pdf figures. When i compile it the pdf viewer of texstudio shows me this: . while if i open the compiled pdf with another program, i ...
4
votes
1answer
37 views

How to save a figure with multiple sub floats to a single pdf file

How to save a figure with multiple sub floats to a single pdf file. Here is the code: \documentclass[12pt]{article} \usepackage[percent]{overpic} \begin{document} \begin{figure}\centering ...
4
votes
1answer
75 views

What are hyperref’s PDF bookmarks and how do I use them?

I have very often met the Package hyperref Warning: Token not allowed in a PDF string. Being fed up about it and curious to know what it meant, I was about to ask the n-th duplicate of that questions. ...
0
votes
1answer
72 views

Two graph - same page? (R/LaTeX)

I am using R to create my graph, and I am doing a paper, where I have to put two graph, as showed in the image: In R, my output looks like: y1 <- c(6524, 6701, 6946, 7080, 6920, 6887, 6660, ...
2
votes
0answers
184 views

XeLaTeX Ghostscript call for EPS to PDF conversion failing

Updated with properly minimalistic example.. I've been wrestling with this for a while now. I had a setup using pdfLaTeX with epstopdf that works nicely, but I need mathspec so I've moved to XeLaTeX. ...
3
votes
2answers
353 views

T1 Encoding causing bad PDF quality? [duplicate]

I recently noticed that some of the papers I've listed on my homepage look a lot sharper than others when rendered in a PDF viewer. Curious about this, I tracked it down to this import: ...
1
vote
1answer
90 views

How can I avoid blank spaces when I insert a pdf figure?

in the following piece of latex code, I would like to place a pdf figure called sharpideq2 at page 1 among the text rows, avoiding blank space. What I get instead is the figure placed alone in the ...
3
votes
1answer
27 views

how to print the heading from my appendix on the first page of an inserted pdf file

I have an appendix in my document but it only consists of a large pdf file. When I do it in the following way, I get my title from the Appendix at the end of the previous page or on a new page, but ...
1
vote
0answers
28 views

embedded pdf inside original pdf

Is it possible to embed or show a pdf inside a main pdf. Suppose user click on "Address" - is there a way to popup another pdf showing the detailed address from which the user can copy.
1
vote
0answers
122 views

Why do fonts look thinner in adobe and different and richer in sumatra pdf

Same question posted on other portal : Why do fonts look thinner in adobe and different and richer in sumatra pdf. Sumatra Adobe Adobe reader settings:
0
votes
1answer
46 views

How do I get rid of vim-latex's output from PDF viewing?

I use vim with VIM-LaTeX. I can use \ll to compile and \lv to view. I've set the following options in my .vimrc file: let g:tex_flavor='latex' let g:Tex_DefaultTargetFormat='pdf' When I type \lv, ...
7
votes
2answers
223 views

Randomly assign color to background in the PDF whenever page is turned

Is it possible to change the background color of a Beamer presentation in the PDF in such way, that whenever I switch a page, the color is switched as well? Note that I do not seek a solution to ...
1
vote
0answers
163 views

How do I make it so that pdf outputs open in a maximized screen?

I'm using a recent version of MikTeX and my pdf outputs open in a window not maximized. This is quite annoying. How can I make it so that they open in Adobe reader in a maximized window? Please ...
11
votes
1answer
246 views

How to produce unicode copyable alternative text? (with accsupp)

In the following example, I can't manage to make accsupp store the unicode alternative text. The resulting PDF looks as expected but the copyable text is not the correct one. I tried this with ...
1
vote
0answers
20 views

Why might I not want to set naturalnames and hypertexnames both equal to false in hyperref?

I know from these questions that you can solve a lot of internal linking problems in your PDF by setting naturalnames and hypertexnames both equal to false (naturalnames being set to false by ...
5
votes
1answer
53 views

pdftooltip color assign

How can we assign a color for the pdftooltip ? For example I want the text CD to be blue. How can I get the color of my choice in RGB? \documentclass{article} \usepackage{pdfcomment}% ...
2
votes
0answers
153 views

Problem with converting from lyx file to PDF

I'm trying to convert from latex to PDF but whenever i hit CTRL+R, a message appears that reads: File does not exist: C:/Users/name/AppData/Local/Temp/lyx_tmpdir.Hp6680/lyx_tmpbuf2/assignment1.pdf ...
3
votes
1answer
119 views

Do not count appendix with total page count

When you open a PDF file made by TeX, you usually have some means of telling what the total page count is in the client GUI. I want to modify this page count such that the appendices is not counted ...
3
votes
1answer
231 views

Metrics of natwidth parameter in includegraphics when dealing with PDF

I need to get the .bbl file from the .bib and so need to compile the .tex in LaTex, but I have included PDF graphics which can be compiled in LaTex using natwidth, natheight params. \begin{figure} ...
3
votes
0answers
129 views

How to automatically optimize the PDF output of TiKZ externalize?

I use pgfplots with externalization for generating plots in my document. For heavy plots the output PDF for a figure can grow to few hundred KB. I used Adobe Acrobat to optimize the PDFs which ...
0
votes
0answers
167 views

How to batch convert PS to PDF without leaving windows open?

I am new to TexShop and new to this forum so please forgive me if the question is dumb. I need to convert about 13,800 postscript files to PDF. TexShop can do it but the only ways I know how means ...
1
vote
0answers
54 views

Remove off-page vertices in PDF [closed]

I have asked a similar question before, but this time my goal is different: I have a PDF containing blueprints on a single page. There object it depicts is drawn a couple of times: from the side, ...
1
vote
2answers
89 views

Font problem when editing TeX produced pdf in external software [closed]

When I try to import TeX/LaTeX produced pdf code in Inkscape, then I loose a lot of the interletter and interword spacing, almost all interword spacing is shown wrong, the exponents are not at their ...
5
votes
1answer
139 views

Break in square root line

I'm having a problem where the line that runs the top length of my square root sign is discontinuous. \begin{equation} N_t(\text{V})=\sqrt{\sum_{i=0}^{n}N_i^2} \end{equation} Yields this... ...
5
votes
1answer
105 views

Implementing full-page Screen-Only & Print-Only in PDF

I am interested in displaying some things (e.g.: title page) in full color on screen, while having the same object/page display in a black and white friendly form when printed. According to this SO ...
0
votes
0answers
73 views

Text font thinner on pages with pictures

I have a problem with font thickness on pages containing heavy pictures, the font looks slightly thinner than usual (see the example). Does anyone know how to solve this? FYI: I use TeXShop to ...
5
votes
1answer
137 views

PDF inverse search in acrobat revisited

I've found this question about impossibility of inverse search with acrobat, but it is from 2012 so I decided to post in case there is some update. Does anybody know if situation has changed in any ...
1
vote
1answer
104 views

Make table of contents appear on a PDF index

I want the entries for my table of contents at the beginning of my document to appear in the PDF index, for a PDF generated with pdflatex. Currently only my \chapter entries appear there, and adding ...
2
votes
0answers
39 views

How to enable security in LaTeX using pdflatex 1.40.14 [duplicate]

I want to disable copy/write/edit ... option in my .pdf document. I don't want the document to be password protected ... I am using LaTeX to produce the document. Here is the shapshot of the ...
3
votes
1answer
60 views

pdftitle and such ignored if specified after \maketitle with report and book classes, not with article class

The following MWE shows that, with report (and book) class, PDF information entries such as pdftitle specified thanks to \hypersetup are ignored if they are inserted after \maketitle (and not ignored ...
6
votes
1answer
100 views

How do I make pdfcrop output all pages of the same size?

I am trying to crop a powerpoint animation that I converted to pdf for import into beamer (using ppsplit), but when I run pdfcrop (from texlive) to reduce the whitespace, it crops the pages ...
4
votes
1answer
125 views

How to provide alternative grayscale images in pdf?

Is it possible to provide different versions of an image/figure, and have the pdf viewer choose which one is the best at viewing time? I would like to have a color image on screen and on color ...
7
votes
2answers
174 views

Invisible markers in PDFs using pdflatex

I'm using latexdiff to show changes that I make in a large text (200+ pages). Most of my changes affect only a few pages though, so I don't want my readers to sift through 200 pages looking for the ...
3
votes
2answers
355 views

Live-Preview of LaTeX on OSX

I use the following to live-preview my LaTeX files: latexmk -pvc -pdf my_file.tex However, in OS X, Preview only updates when you bring it into focus (e.g. you click on the the window). In many ...
2
votes
0answers
65 views

Copying latex from scanned book [duplicate]

Suppose I have a scanned book with equations, is there a convenient way to obtain latex that reproduces them?
1
vote
0answers
35 views

obfuscate latex->pdf document [duplicate]

Is there any package that can easily allow you to obfuscate a Latex->PDF generated document such that copy-paste is not longer possible and produces random letters for instance. And if yes, is it ...
9
votes
1answer
52 views

Protect footnotemarks from selection in pdf

Inspired by this question i used accsupp to protect the headers of my pdf from being copied which works nicely so far. I tried to do the same thing for the footnotemarks which hasn't worked so far. ...
3
votes
0answers
58 views

text wrapping around an image across several A4 sheets

I am doing a project that intends to cover a wall with the words of a book. It will consist of 84 sheets of A4 paper, (cut to remove the margin), with six columns on each sheet. The text is printed in ...
1
vote
0answers
60 views

Intensity and contrast of black text [closed]

I noticed that the black color of the text in some PDF documents (especially products with InDesign) is more or less intense. Some PDF documents produced by TeX / LaTeX have different shades of ...
3
votes
0answers
109 views

Include PDF images with interpolate=true

I was happy to read that \includegraphics allows setting the interpolate flag for imported images: \includegraphics[interpolate]{testimg} This works wonderfully if testimg is a PNG image. ...
3
votes
1answer
374 views

Vertical orientation landscape page in a PDF output file

I'm using the lscape environment to produce landscape pages in my LaTeX document for pages that have large figures or tables, so that my page numbering is in the right place when it comes to printing ...
9
votes
2answers
178 views

Different hierarchical levels in TOC and hyperref-generated PDF bookmarks

I would like to make hyperref generate bookmarks for all available hierarchical levels of my documents, but only in the produced PDF. For the TOC itself (i.e. the one printed at the beginning of the ...
3
votes
2answers
174 views

Fragile frame in lyx

I'm working on a document in LyX and I'm trying to create a frame around some verbatim text. I've tried a number of different things including ERT \begin{frame}[fragile] and \end{frame} around the ...
4
votes
1answer
171 views

sidewaysfigure: how to suppress rotation in pdf output

I am using sidewaysfigure from the rotating package. The orientation of the figure is as desired for the double-page layout. In the pdf (generated through Latex->PS->PDF), the page is rotated so that ...
40
votes
2answers
448 views

producing embossed tactile graphics with Tikz for a student who is blind

I work at disability services at a university and recently started working with a student who is blind in upper level computer theory, automaton, and programming classes. I learned LaTeX about 3-4 ...
2
votes
0answers
62 views

Creating PDF-forms with TeX/LaTeX? [duplicate]

I've been looking at the creation of PDF-forms - ie. PDF-documents with boxes where the user may fill in information like name and phonenumber or simply check a box to confirm something - in ...
2
votes
1answer
79 views

Shaped pdf page

I don't think this is possible but, is the PDF format able to stand shaped pages? The idea is to produce documents giving a reading experience like this one's: but to bee seen on a screen. Should ...