We changed our privacy policy. Read more.

Questions tagged [pdf]

{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}.

422 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
52
votes
0answers
5k views

Why is 1.5 the default pdf version?

At least TexLive creates PDFs by default in version 1.5. Why this particular version? This question has been asked before in a comment and didn't receive the attention it deserves. (duh!) This site ...
12
votes
0answers
2k views

Obtain an animated PDF from an animated SVG

I have read Animations in LaTeX, but my question (I think) is different. I have an SVG animated file and I want to create the same animation in LaTeX, without rewriting the code. An example is this ...
8
votes
0answers
837 views

Creating a PDF form that accepts uploaded images

I am creating some forms that require users to stick photos in boxes. I was wondering if one could, with some PDF magic, create forms that could accept user supplied (via an upload button on the form) ...
7
votes
0answers
710 views

Using Ghostscript to compress pdf with 3D content

I have used Ghostscript to compress the pdf output of some large files as it seems to do a better job of getting rid of duplicate font information than Adobe Acrobat (which sometimes loses certain ...
6
votes
1answer
88 views

How to help citation managers understand my document's metadata?

When I am importing my PDF to Mendeley, it doesn't correctly recognise the title, author etc of my document. I suspect that it just uses criteria like the size of the font to understand what the title ...
5
votes
0answers
1k views

Interactive graphs in PDF file with Latex?

There are several questions which are asking similar question, but not exactly. I'm looking for a tool/method in Latex to generate really interactive graphs, when by dragging something on the graph ...
5
votes
0answers
183 views

Create PDFs that assume different colours on screen and on paper

Is there a way to make PDFs assume different colours when viewed on screen as opposed to when printed on paper? As an example, I am using the titlesec package to make section labels a fancy dark blue....
5
votes
0answers
844 views

Ansi Encoding for Embedded Fonts in PDF Output

Rendering PDFs with identical fonts using InDesign versus using LuaLaTeX with fontspec in TeXworks, I have found differences in Acrobat Reader's descriptions of the embedded font types and encoding. ....
4
votes
0answers
157 views

Make portions of document images so that text within is not-searchable

I would like to create a macro that converts its paramater into an image with the goal that the text within this macro is not found using the search feature built into standard PDF viewers. Thus, ...
4
votes
0answers
345 views

Reducing PDF size from Latex pipeline

I have this latex document comprising many vector graphics (PDF files) representing plots, each one consisting of many small elements. When I compile it with pdflatex, I end up with a fairly large ...
4
votes
0answers
577 views

Import and split large-sized PDF poster into multiple A4 sheets

I have some large sized PDF posters of varying dimensions. Is it possible with Latex to import each PDF and slice it into multiple A4 pages, so that when printed out and glued together, I basically ...
4
votes
0answers
303 views

A way to open pdf files with Reader in Texmaker on Windows 10

How can I open the generated pdf files with the Windows Reader-App? I am using Texmaker 4.5 and Windows 10. What is the syntax for the "External Viewer" field so any new pdf gets opened with Reader?
4
votes
0answers
246 views

PDF file including a black and white print version

Is it possible to include in a pdf with colours (no images but some simple vector graphics created by TikZ) also information for a black an white print (or a print in general), ie. defining that a ...
4
votes
0answers
870 views

Fuzzy pdf output in the viewer of texmaker (Yosemite OSx)

I have started using tex maker on the Macbook Pro (retina display). And the internal pdf viewer makes shows very low resolution pdf output. While no issue if I look directly via Adobe reader. Does ...
4
votes
0answers
389 views

PDF optimization packages/options

I noticed that when compiling any document in TeX, the resulting PDF can be reduced in size by quite much. For example, take \documentclass{article} \begin{document} Lorem ipsum dolor sit amet, ...
4
votes
0answers
2k views

Previewing bibliography entries on mouse-over of the PDF's citation links

I had the brilliant idea to have my generated PDF display the bibliography entry as a tooltip when someone hovers over the citation number with his/her mouse pointer. I found this question which ...
4
votes
0answers
393 views

PDF portfolio navigators

Using the embedfile package it is possible to create pdf portfolios/collections with pdfLaTeX. The pdf specification describes the use of custom "navigators" to create a pleasing interface for the ...
4
votes
0answers
914 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 ...
4
votes
0answers
116 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 ...
4
votes
0answers
205 views

opening pdf at the cursor on lyx

While creating a preview on lyx , I expect the pdf to show me the position of the text at which cursor is positioned. The default behaviour seem to open pdf at first page. How can I change this ...
4
votes
1answer
294 views

Adobe Reader does not open file created with [xetex]{\attachfile2}

I have been using \attachfile2 successfully to create PDF documents with LaTeX already. However, when switching to XeTeX, I find the Adobe Reader says it cannot open the file due to security settings....
4
votes
0answers
738 views

Windows 8 TTF font problems

We are building a small app which produces a .pdf out of a TeX document. Therefore we copied the pdflatex.exe (pdftex.exe, pdftex.dll) and its configs and packages out of TeXlive 2013. To handle ttf ...
3
votes
1answer
90 views

Connot use \begin{picture} in tex

Found the problem exactly, the tex connot recognize \end{picture},I cannot use any \begin{picture} .... \end{pictue} in tex code. A sample .... \begin{figure} \centering ...
3
votes
0answers
181 views

LuaHBTeX: \copy contents behave differently from \box for copy-paste -- by making contents tofu 􀈽 for reordered glyphs or by adding spurious space

Here's an example of a tex \vbox with some devanagari text in it. My code adds contents of \vbox to document twice, first its copy (using \copy), and later itself (using \box). Both copies look ...
3
votes
0answers
1k views

Syncing pdf with vscode external viewer

Setup: I'm using visual studio code with LaTeX Workshop extension to write latex. I use an external pdf viewer mainly because I want to see the pdf on a different screen. Using Ubuntu 20.04 LTS. ...
3
votes
0answers
1k views

While running pdflatex withing TexStudio92,12,22 under MikTex), I get "pdflatex: security risk: running with elevated privileges" error

While running pdflatex within TexStudio (2,12,22 under MikTex), I get "pdflatex: security risk: running with elevated privileges" error. My OS is win7.
3
votes
0answers
148 views

PDF version <1.7>, but at most version <1.5> allowed

I used a C++ function my teacher gave us to create some ppm files, which I then converted to the eps format using an online resource for use in my report. However, these images are causing problems. ...
3
votes
0answers
150 views

Notes between two columns with multicol

I have been working to get notes (possibly margin notes, but doesn't have to be) in between two columns of text. This question has proved useful, however it works with the twocolumn option for the ...
3
votes
0answers
2k views

Is it possible to convert a DWG file to LaTeX?

I think this was never asked, or at least from what I saw questions have been asked more than 15 years ago and has become obsolete (I found this recent link but it did not work for me). I want to tell ...
3
votes
0answers
565 views

Sharelatex, get pdf from standalone figures without download

When doing bigger projects in LaTeX, it's nice to write tikzpictures and graphs in a standalone document, and then include the generated PDF document as a picture. When collaborating with others, it ...
3
votes
0answers
152 views

Can I reduce the number of embedded fonts?

My 63-page document uses four different fonts, Libertinus Sans, Libertinus Serif, Libertinus Math, and Latin Modern Mono. It contains several diagrams with text in Libertinus Sans that were exported ...
3
votes
1answer
2k views

ACM conference template: auto expansion is only possible with scalable fonts

I am workin on ACM conference template (sample-sigconf.tex) from HERE I am using WinShell editor. The script compiles fine but when I click PDFView, I get this error: test.tex(34): Error: pdfTeX ...
3
votes
0answers
50 views

Separate Metadata for Parts of pdf

I've scoured the Interwebs without success. I know that basic metadata can be added to the pdf catalog using various packages, and have used pdfx especially for this. I have no difficulty putting ...
3
votes
0answers
111 views

Displaying a copy-pastable and well structured BibTeX key in my document

Context: I want to insert the BibTeX entry of my document at the beginning thereof. I thus want this code snippet meet two criteria: Be easily copy-paste-able (code seen = code copy-pasted) Looks ...
3
votes
0answers
443 views

XeLaTeX/LuaLaTeX copy and paste broken and document not searchable?

I am on Windows using TeX Live 2016 and both xelatex and lualatex produce broken encodings when building the following \documentclass{scrartcl} \usepackage{fontspec,unicode-math} \...
3
votes
0answers
755 views

Listing cut and paste in PDF

I am trying to get good copy-n-paste'able text from a LaTeX generated PDF using the listings package. I have three listings that all behave not as I'd like: Long lines are broken using breaklines ...
3
votes
0answers
689 views

How can I prepare a PDF file for a colour overlay with `\color`?

I want to include colorised icons in a mdframed environment. Since I think that in the near future I will probably need the icons to have varying colours, I'd like to use the \color{...}{\...
3
votes
0answers
172 views

lecturer.tex and xetex

I am experimenting with lighter-weight alternatives to beamer, and found lecturer.tex interesting. However, it depends on PDF-specific features, thus it compiles under pdftex. If I try to use xetex I ...
3
votes
0answers
469 views

Texmaker error "File not found" when using a "build" subdirectory for output files

I am using Texmaker in Ubuntu and have a file that worked when compiling using Quickbuild: LaTeX + Bib(la)tex + LaTeX (x2) + dvips + ps2pdf + View PDF. In order to tidy up my directory I picked the ...
3
votes
0answers
350 views

Toggle focus between Texmaker 4.5 and pdf viewer

There is a shortcut that enables one to directly jump from the editor of Texmaker 4.5 to the .pdf file and vise versa. Ctrl+space : editor ---> .pdf Ctrl+click : .pdf ---> editor When the ...
3
votes
0answers
116 views

Force equal hinting when combining symbols

I am building a custom operator out of two triangles. But it seems that to the PDF viewers (evince in this case), they are still individual characters and hinted (i.e. pixel-aligned) differently, ...
3
votes
0answers
598 views

XeLaTeX output prints fine, pdfLaTeX print fails

I have generated two PDF files from the same source, one via XeLaTeX and the other via pdfLaTeX. The pdfLaTeX file is larger (as already noted in File size difference between XeLaTeX and pdfLaTeX). ...
3
votes
0answers
1k views

LyX claims it's exporting a PDF, but it isn't

I recently reinstalled both LyX and MiKTeX (on Win10, if it matters), hoping to fix a longstanding error where I couldn't export to pdf via pdflatex. Now, instead, no pdf exports work. It reports that ...
3
votes
0answers
89 views

Does rebuilding a PDF from Tex keep embedded video?

I am investigating Tex as a possible solution to a problem I have: Currently I build PDFs from Microsoft Word and insert lots of legacy videos into them after the fact in a second step (reasons why ...
3
votes
0answers
2k views

TexStudio - internal embedded pdf viewer shows different figure than external pdf viewer of the output pdf

I use TexStudio (2.9.4) on a Mac OSX (10.10.3) with TexLive. The problem here is that when I insert figures, that are saved as pdf files, and compile with PDFLaTex, the output figures deviate from the ...
3
votes
0answers
926 views

Responsive design with LaTeX

Is there any concept similar to responsive design, as in responsive web design, in TeX/LaTeX? That is, is it possible to include hints or directives that optimize layouts for different screens? PDFs ...
3
votes
0answers
1k 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 ...
3
votes
0answers
349 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 ...
3
votes
0answers
109 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 default)....
3
votes
0answers
3k views

Interactive PDF - Click thumbnail images to open in quicklook like window

Is it possible to create an interactive PDF where you can click a scaled down embedded image and it opens it up large in a preview like window hovering in front of the open PDF? Sort of like the PDF ...

1
2 3 4 5
9