Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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
vote
1answer
15 views

AASTEX62 doesn't allow pdf to contain a table of contents.

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} \...
1
vote
0answers
120 views

Pdf does not compile

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 ...
0
votes
1answer
35 views

proper format for pdfauthor in case of two authors [on hold]

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 ...
0
votes
1answer
20 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 ...
0
votes
0answers
18 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 ...
12
votes
2answers
532 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 ...
0
votes
0answers
9 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 ...
0
votes
0answers
84 views

Problem with knit R Markdown to PDF [closed]

I need your help! I try to knit the following example to pdf: --- title: "Untitled" output: pdf_document --- ```{r setup, include=FALSE} knitr::opts_chunk$set(echo = TRUE) ``` ## R Markdown This ...
1
vote
2answers
39 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 ...
3
votes
0answers
34 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, ...
-1
votes
0answers
27 views

Spacing - How to include a spaced pdf title

I am using the \usepackage{grffile} to include spaced PDF title. It works but for some reason, the title is included in the output as shown in the bottom left of the image. It is shifting the whole ...
5
votes
3answers
516 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 ...
1
vote
1answer
33 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 ...
7
votes
1answer
379 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 (-), ...
0
votes
0answers
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?
0
votes
0answers
24 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 ...
0
votes
0answers
33 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 ...
0
votes
1answer
67 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 ...
2
votes
1answer
46 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} ...
0
votes
0answers
44 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 ...
0
votes
0answers
18 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 ...
4
votes
1answer
200 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 ...
0
votes
0answers
25 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 - ...
0
votes
0answers
43 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 ...
0
votes
0answers
32 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 ...
0
votes
1answer
14 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{...
0
votes
0answers
43 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 ...
0
votes
0answers
122 views

Texstudio doesn't create pdf from .tex [on hold]

I am very new with latex and texstudio. I have created a latex document, I have compiled it without any problems and It works and It showed the output pdf. I unfortunately decided to move it in ...
0
votes
1answer
432 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 ...
0
votes
1answer
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 ...
0
votes
1answer
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}% ...
1
vote
1answer
55 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 ...
1
vote
2answers
118 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
1
vote
0answers
68 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,...
1
vote
0answers
44 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. ...
0
votes
0answers
17 views

Automatically generate citations inside external PDF Figure

I have a massive and complex table that I am designing in an external vector tool and that I import as a PDF figure using \includegraphics. This table has >100 citations in it, and at the moment I ...
0
votes
0answers
39 views

Create PDF emergent boxes

I don't even know if this is supported by the PDF format, but is it possible to create something like what is in this image? I mean, something that it is not a link but when you hover the mouse over (...
0
votes
1answer
28 views

Viewing a separate PDF in Texmaker

I like the functionality where I can type my tex file and compile it and have it show up on the right, but would like if I could switch between viewing my compiled pdf and viewing a separate pdf (in ...
1
vote
0answers
35 views

Package xcolor Error: “Undefined colors when master (classicthesis 3.1) has PDF included” even though the PDF has been deleted from the document

I think this is a bug I've stumbled upon and it's driving me up the wall. Referring to this question, I've got the same setup: Package xcolor Error: Undefined colors “Maroon”/“Royal Blue” when master ...
2
votes
1answer
61 views

Saving an image containing labels produced using LaTeX code

For a paper I'm working on, I have a bunch of figures (pdf files) generated using Mathematica which I label using \put commands in LaTeX. However, I want to now save the labeled figures as pdf files. ...
0
votes
0answers
28 views

Sentences inline with bullet points will not copy correctly

this is my first document created using LaTex and I've been having some issues. This document is a resume so it is really important that all text be easily parsable for online application tracking ...
0
votes
0answers
40 views

Why isn't my output showing up?

I can view the output pdf file if it's from Latex->dvi->pdf but for some reason, it won't show me any figures or my updated title now. If I use latex->pdf, I don't get any pdf output. \documentclass{...
3
votes
1answer
107 views

eforms using a LaTeX (custom) font for text fields \textFont

I'm unable to use a LaTeX font (e.g., Augie) for text fields in a PDF form generated with eforms. I'm using MikTeX 2.9 on Windows 10. Acrobat Reader is choosing another font to display in its place (...
1
vote
0answers
73 views

PDF/A-1b compliance whilst embedding OTF files

As per this wikipedia article (see Fonts section), only pdf v1.6 and above is able to embed opentype fonts in the document. Now the problem is that, my institution requires pdf /A-1b compliance which ...
4
votes
1answer
255 views

Generate non-obfuscated binary content for PDF files

When I open a PDF file compiled from LaTeX with a text editor (e.g. Notepad++), the content of the file is a not human readable and it looks like below, so it seems to me that the information cannot ...
0
votes
0answers
44 views

PDF and PNG different in size

When I use different types of pictures (png and pdf) although defining them with same size, I get different sizes as can be seen in the following . Here are the packages and code I use: \begin{figure}...
0
votes
1answer
39 views

Find the page size in a PDF file using LaTeX

I sometimes use LaTeX in conjunction with pdfpages package to manipulate the pages of a PDF file (not necessarily created by LaTeX), operations like combining several pages into one, or changing the ...
0
votes
0answers
20 views

Hyperref tab order on PDF forms

I'm trying to set the tab order for fields in a PDF with hyperref, but I can't figure out how it works. I assumed it was the tabkey option (from the documentation). Here's my MWE in which I'd like a ...
0
votes
0answers
32 views

addtotoc writes heading on pdf - how do I get rid of it [duplicate]

I want to list an appendix on the table of contents. The appendix there shall be without number (chapter*). I got a quite nice workaround here, however, through addtotoc I get the heading written on ...
6
votes
1answer
496 views

How to embedded source code on-demand into PDF?

I wondered if its possible to embed source code of some software you are writing about into the PDF but not displayed by default. E.g. you have a long script I would be nice if the user/reader could ...