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

1,888 questions
28 views

### Subsection Appears Twice

I'm writing a report including images and pdf files, and I just realized there was a bug with the last subsections: they appear twice when I create the pdf It only happens with the two last ...
42 views

### margins in pdf document [on hold]

I created a latex document with a header and converted it to pdf with luatex. When I open the document with a pdf viewer (I tried Acrobat and pdf exchange editor) and try to print it, the pdf viewers ...
54 views

### High quality figures in my latex document is making the pdf document very slow and laggy

I am in the process of writing a manuscript and I have decided to use overleaf to make that document. I used inkscape to make my figures and every image in my figure is a vector graphic. The problem ...
20 views

### Copying text from pdf created using xelatex containing Malayalam text

When I create a pdf file containing English text using pdflatex, I can copy text from it and get a reasonably fair text when pasted in a text editor. But when I do the same with a pdf of Malayalam ...
36 views

### PDF couldn't build in EM site

I am trying to submit a manuscript in the Springer journal. Although I could build pdf on my PC, when I submit latex files (.tex, .ds and .clo) as well as all figures separately as .pdf files, ...
33 views

### pdfliteral stroke shape after transformation

Is it possible to modify coordinates in PDF while keeping the stroke square-shaped? My problem is the following. If I use code like this: \pdfliteral{q 0.5 w 1 0 0 3 0 0 cm 0 0 m 0 20 l 50 20 l ...
21 views

### hide text from displaying but retain it selectable and searchable

Continuing https://tex.stackexchange.com/a/463516, is there a way to create an invisible PDF text associated with a drawn symbol? Assume that we have some command (say, \sqp) which draws some symbol ...
24 views

### Windowed Beamer presenter mode on Linux

There are several Linux solutions to show beamer presentations listed here: Is there a nice solution to get a "presenter mode" for Latex presentations? However, all of them use fullscreen ...
33 views

### “error in the flux reading” and black image in PDF output

I wrote my thesis on Latex using overleaf but when I downloaded the pdf on my pc I found out that one of the images was left black with this error message on the reader: error in the flux reading ...
18 views

### LYX error when trying to convert to PDF

I downloaded LYX 2.3.1-1 and miktex. I'm writing documents in Hebrew - Set up a shortcut for Using both Hebrew and English. But no matter what i do - I can't convert the Docs to any other format. ...
28 views

### How do I generate a PDF without compressing the page count?

I need to submit a PDF to an online submission portal that searches the plaintext PDF file for the page count in order to verify that it has the correct number of pages. PdfTeX by default compresses ...
38 views

### Font supporting all UTF-8 characters in XeLaTeX

I'm generating a pdf with xelatex that could contain arbitrary utf8 printable characters. Is there a font that will support all unicode printable characters? If not, what are the pluses and minuses ...
327 views

### How to use LaTeX on VS Code?

I am very new to using VS Code and am very lost in it. I would like to edit and preview tex documents in VSC like I can on overleaf. I Installed LaTeX Workshop through VSC, but I can't see any preview....
43 views

### PDF views stopped updating, no longer detecting errors

Using windows 10, MikTex and TeXmaKer. Have been using Latex for a while to make simple documents without many problems. I was starting to learn how to use the wrapfigure environment. When i loaded \...
135 views

### Overleaf cannot render any LaTex

I'm new to overleaf and I'm trying to render a basic document and I get: "PDF Rendering Error Something went wrong while rendering this PDF." Does anyone know what might cause this? I have tried ...
33 views

### How to add a dynamic footer to multiple pdf files?

I'm looking for an automated solution(application, tool, script...) to the following problem. I've got multiple pdf files and for each file I want to put a footer on the first page of the document. I ...
31 views

I am trying to compile a pdf from Latex source using TexStudio, which calls pdflatex. Take a look at the following code: %\documentclass[]{aastex62} \documentclass{article} \usepackage[]{hyperref} \...
204 views

### Pdf does not compile [closed]

I am seeing this in miktex/logs/ pdflatex.log: starting with command line: pdflatex.exe -synctex=1 -interaction=nonstopmode ModBook.tex 2018-11-18 08:04:04,769-0800 INFO pdflatex - allowing known ...
41 views

### proper format for pdfauthor in case of two authors [closed]

Assuming a paper has two authors: John Smith and Sally Sixpack, what's the "right" (i.e., most useful) way to put them into the pdfauthor option of hyperref? Choices: pdfauthor={John Smith and Sally ...
27 views

### Unicode error when inserting PDF figure into LaTeX document

I receive the following error when attempting to compile a LaTeX document: Package inputenc Error: Unicode character \GenericError {(inputenc)}{Package inputenc Error: Unicode character (U+2069) The ...
20 views

### showkeys as pdfnotes

I usually use the latex package showkeys in interactive mode: I just look up the pdf file on my screen (rather than printing it). For this reason I would prefer that the labels produced by showkeys ...
543 views

### How do I create a PDF document whose height exactly matches the contents?

I have a document that is about 1/3 to 1/2 page long. I want to compile it to a PDF document. That PDF document will be included in another document, so I want it to be short - it should contain only ...
10 views

### Problem to add part pdf page under same page in latex

why can't i include a pdf page into a page already having text in latex? when I insert a PDF page under a section or subsection, latex takes it to a fresh new page. I tried scaling down but it didn't ...
44 views

### I'd like to put a full pdf page in my document, but it doesn't work!

i've got an issue. I'm writing a LaTeX document, i would like to make a page of my final document as a pdf file (that is a text). I searched on this site but no one of the existing topic helped me. I ...
35 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, ...
536 views

### Hidden pages in LaTeX

I'm trying to create a resume that would be one page only with 'hidden pages' (so the document would have a number of pages of which only main page would be shown). The idea is that on the main page I ...
39 views

### Jumping colors in beamer presentation

I have a very strange problem in my beamer presentation: I create a lot of tikz pictures externally and then include them as pdf pictures in the presentation. If you look at these pdf documents ...
381 views

### How to copy minus as hyphen?

There is a question about minuses in listings. Is it possible to make (document-wide) the minus sign (−) to look like the typographic minus, but be copied from the resulting PDF as the hyphen (-), ...
38 views

### How to make latex output PDF unrecoverable from extracting latex code?

I have a book in latex and I want to give the output PDF to a book publisher, I want to lock or do something to this output PDF so they cannot recover the latex code. Is this possible?
25 views

### Preserve hyperlinks in included PDF in LyX?

It seems that in LaTeX, it is not generally possible to preserve the hyperlinks in an included PDF (see e.g. "How to preserve hyperlinks in included PDF?"). However, I was wondering: Does this ...
36 views

### How to create PDF using LualaTex and CMD

I have MikTex installed. Now I would like to batch process a number of .tex files to .pdf using command line input and lualatex as a compiler. Is this possible ? So I tried: lulalatex main.tex and it ...
69 views

### Can I sabotage attempts to make EPUB from my PDF?

Suppose that I have a tex-based PDF manuscript with math content. I am wondering if it is possible to "sabotage" attempts to convert that PDF to EPUB. Specifically, I am wondering if all math ...
51 views

### How to add an image tooltip annotation in hidden mode using the LaTeX pdfcomment module?

Using the pdfcomment package to create an interactive tooltip when hovering over an image can be created with: \usepackage{pdfcomment} \pdftooltip{\includegraphics{img.png}}{This is the ALT text} ...
46 views

### Compiling to PDF without line breaks

This has been asked before, but the discussion veered off course to using TEX as the source instead of a PDF. So to borrow the previous question's phrasing: "I want to be able to copy text from PDF to ...
21 views

### Inverted colors for TexMaker built-in PDF viewer

I'd like to invert colors of TexMaker built-in PDF viewer. I believe there's no option in the user interface for this. Has anyone ever done this? I'm aware of solutions such as generating the PDF ...
215 views

### Convert DVI into PDF properly

For viewing my work when I'm programming LaTeX, I decided to use the DVI format. The reason is that the result is perfect compare to the PDF. For example, the borders of tabulars appear perfeclty ...
26 views

### fontawesome icons too big using XeLaTeX

I have the exact same problem as this from 5 years ago: fontawesome icons are getting too big using XeLaTeX, but as I have no reputation I can't comment on the post so need to ask as a new question - ...
44 views

### Latex PDF encoding issue

I've generated a PDF using summatraPDF. the code was written using algorithmicx and algpseudocode. THe problem arises when i try to read the PDF using some java code(PDFBOX). whenever the code gets to ...
33 views

### Question Refresh: Is anybody using TeX for business reporting?

I note this question has already been asked about 8 years ago: Is anybody using TeX for business reporting? So I figured it might be time for a refresher... My needs are similar to the ones the ...
15 views

### How to fit and insert PDF onto a page with a subsection?

So i tried this: \documentclass[11pt]{article} \usepackage[utf8]{inputenc} \usepackage[german]{babel} \usepackage{setspace} \usepackage{graphicx} \usepackage{float} \usepackage{pdfpages} \begin{...
48 views

### Can LaTeX embed PDF into the QR code too?

In this package, where strings, or texts are embedded into QR code. I recently learned that we can also include PDF into a QR code. Many online site does not provide this service for free. I am ...
709 views

### Algorithm pseudocode in markdown

I am writing a project report in markdown. Use LaTeX inside the markdown to write formulas. Then I convert the markdown file to PDF with pandoc. All works like a charm. But, I would like to include ...
49 views

### “\pageref” produces wrong page number. It's time to argue!

I know this can be considered as duplicate question. I'm not here to find solution for it. I asked this question just to argue about reliability of pageref. I mean, why this malfunctioning happens so ...
19 views

### path to image is also plotted in pdf

I have the following problem: If I export the tex file to pdf, I get the figure but also the path written above it. How can I avoid this ? \documentclass{article}% \usepackage[T1]{fontenc}% ...
84 views

### Multiple Page PDF Export Issue With pylatex

Multiple page issue: I am trying to export a multiple page pdf and there seems to be an error. I cannot find the source... I suppose that it is because of the text " âchemical exchangeâ " where non ...
135 views

### Get the .tex source of a PDF file (generated from TeX) [duplicate]

I have a PDF file (example), which was generated from TeX. Is it possible to convert into a tex file, or obtain the .tex source? Thanks
70 views

### When I try to print my LaTex PDF from a PDF viewer, it prints the source [closed]

I'm on Ubuntu 16.04. I compile the document with TexStudio, open it with Okular, Document Viewer, etc., document looks great, but when I print it from the PDF viewer I'm using (Okular, Document Viewer,...
45 views

### Can't view pdf after compiling

EDIT: I solved this by replacing 'figure' with 'figure*'. Thank you all for your input. I'm using Texmaker and MiKTeX on Windows 10. The file compiles without any issues but the pdf isn't available. ...