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
0answers
10 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 ...
0
votes
1answer
28 views

Convert pdf(generated from tex) to a .tex file [duplicate]

I have a pdf which is generated from tex. Is it possible to convert into the tex file? Thanks
1
vote
0answers
54 views

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

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
38 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
34 views

Borrow font from pdf to use for myself [closed]

Please see the attached screenshot: This font is used in a PDF I have. I want to know what font it is and/or extract it from the file and use it in Latex documents I produce (I will only use the ...
0
votes
0answers
38 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
26 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
28 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
52 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
12 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
86 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
65 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
249 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
43 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
36 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
14 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
490 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 ...
2
votes
1answer
29 views

Biblatex: bibliography force title to line break when needed

Hey I recently discovered a problem in my bibliography and I somehow can't solve it. Its appearing when the titles are too long, but its working with urls normally as you see in the 2nd example as ...
0
votes
1answer
99 views

How to reconvert a pdf to LaTeX [duplicate]

I have a really good book (.pdf) that i would like to take some code from there. I know that book was written with LaTeX, so my question is if there are any kind of way to take that .pdf and reconvert ...
0
votes
0answers
39 views

Margin problem with equation in .dvi file

I have a Latex file and I need a .dvi output file from that for final submission of my article. Until now, I use the PDF outputs but when I obtain a .dvi output, one of the equations get over the side ...
0
votes
0answers
36 views

Tikz fading not shown properly in some pdf viewers

When I use tikz fading options, something simple like this code: \usepackage{tikz} \usetikzlibrary{fadings} \tikz \filldraw[blue, rounded corners = 0.6mm, path fading = east] (0,0) rectangle (\...
6
votes
1answer
113 views

what top-level style should I use to mimic MSWord?

I am trying to devise a (possibly easy) way to replace our documentation system. Currently we are bound to two different and apparently irreconcilable systems: internally we use a wiki system based ...
2
votes
0answers
44 views

How to flatten or postprocess a Latex generated PDF to crop image outside of viewport? [closed]

I have a large PDF document that includes lot of complex figures. To build these figures I used the viewport feature of the \includeGraphics command from Graphics package extensively. I am aware that ...
5
votes
0answers
72 views

How can I produce s separate PDFs for each one of my floats, when their code isn't self-contained

I've written this document (say it's an article) with a bunch of float - figures and tables. Some of them are just \includegraphics, so the figure essentially exists outside as well inside the ...
7
votes
1answer
440 views

Can we change (La)TeX linebreaking character so that Word understands it?

Sometimes I need to send someone a .doc file of something I did using LaTeX. But when I copy+paste the PDF content generated by (La)TeX into Word the linebreaks are understood as paragraph characters (...
0
votes
0answers
25 views

Directly use pdf generated by tikzexternalize in latex

I'm using tikzexternalize to generate separate pdfs for each Tikz figure of a paper. In my preamble, I have: \pgfplotsset{compat=newest} \usetikzlibrary{pgfplots.groupplots} \usetikzlibrary{arrows} \...
2
votes
0answers
46 views

Montserrat font/package, “invalidfont” error when printing

I'm using the montserrat package to use the Montserrat font and I'm having troubles printing the resulting PDF. This is a trivial minimal example: \documentclass{article} \usepackage[utf8]{inputenc}...
0
votes
0answers
29 views

How to convert font of included .pdf-“image” [duplicate]

I'm writing my thesis and I need to include specific P&ID-Diagrams that I made in MS-Visio. I safe them as a .pdf, but the font isn't similar with the one in LateX. Is there a tool in Latex to ...
0
votes
2answers
30 views

Trimming the blank space in PDF image for insertion in TeX file

I have an image in PDF format like this: There's a lot of empty space in the bottom half of the image. When I insert the PDF image in main.tex using \includegraphics[width=\textwidth]{...
7
votes
2answers
464 views

Keep two pdf views of the same tex file

Often, I would like to have two different views of the pdf file associated to a tex file. A typical use case is: you wrote a mathematical paper including several theorems, and the proofs are in an ...
0
votes
0answers
24 views

Ubuntu xelatex PDF wont find the existing pictures

I am trying to use xelatex to convert a .tex file to pdf, which is working fine doing so in the directory where the pictures and the tex file are in but i need to execute xelatex from a folder above. ...
1
vote
1answer
52 views

Why are eps files of the graphics of my latex document covnerted to pdf?

The graphics in my latex document as eps image files and I would like the latex output pdf file to be as small as possible in size and with higher resolution, but whenever I run the compiler of the ...
6
votes
1answer
79 views

How to make some character “unreadable” as text in the pdf output but still visible?

This question might be seen is a follow up/complement to this question and answer. I'm actually taking the example from there: \documentclass{article} \usepackage{xcolor} \usepackage{transparent} \...
3
votes
1answer
127 views

Is it possible to not copy numeration using lstlisting?

Please consider the following MWE: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[spanish]{babel} \usepackage{color} \usepackage{enumitem} \usepackage{listings} \definecolor{...
1
vote
1answer
35 views

Make appear hypertarget labels in PDF

Some time ago (TeX Live 2013), xelatex stored labels of hypertarget in PDFs. Then (at least in TeX Live 2016) the behaviour was changed, there are no more symbolic names inside. How can I get the ...
39
votes
1answer
973 views

How to get pdftex to have same PDF output for each run on the same input

Is there a way to get pdftex to output the exact same pdf each time it is run on the same input? We are using an in-house tool to generate LaTeX for engineering design documentation. We run the ...
2
votes
0answers
65 views

Includegraphics error - “PDF contains invalid UTF-8 characters”? [closed]

I have a PDF figure (a PGFplot created by matlab2tikz). However, when I include it in my LaTeX document (using \includegraphics, I get loads of errors complaining String contains an invalid utf-8 ...
1
vote
1answer
68 views

Output PDF should only be part of the page

I have a paper that was accepted and now I have to convert my Latex document to their style. All of it is hidden inside the document class. An example code is of the form \documentclass{ws-m3as} \...
1
vote
0answers
20 views

Problem with PDF output, huge stickybox/comment [closed]

There seems to be a problem with the PDF generated by PDFLatex. I need very small magnification levels(7.5%) to read the file properly. Moreover, if I want to comment something, the commentbox is HUGE ...
0
votes
1answer
26 views

New blank page after pdfinclude?

I'm working on a latex document in which I have to include a automatically generated pdf from my university as the titelpage. Directly after the titelpage, the table of content (and obviously the rest ...
0
votes
0answers
378 views

What does “Couldn't read xref table” mean?

I want to concatenate some PDFs into one via pdftex, so wrote the tex file like: % foo.tex \documentclass[a4paper]{article} \usepackage{pdfpages} \begin{document} \includepdf[nup=1x1, pages=-]{01-...
0
votes
0answers
28 views

Texstudio: Can't write on file [duplicate]

I've had this issue for a while now, asked around before on this site, but it didn't get solved so i thought i'd try again but with some more details. When i write some text into a new file, i can ...
2
votes
1answer
47 views

Plot symbols not showing properly using R + knitr with 'pdf' device

When I include R plots in a latex document using knitr, symbols do not show properly when knitr's graphic device is 'pdf', while everything is OK when the graphic device is 'png'. Here is a MWE: \...
0
votes
0answers
66 views

PDF build not updating

I just downloaded Latex on a new computer. On my old computer, I was able to preview my build outputs in Adobe...on my new computer, I can't. It locks. So I started digging a little and read that the ...
-1
votes
1answer
73 views

TeXstudio for macOS doesn't show PDF in embedded viewer

If I close the internal PDF viewer on the right panel in TeXstudio, after a rebuild I can't see the generated PDF document anymore. Before it has been working without any sort of problem. I tried to ...
25
votes
2answers
2k views

Adobe eats hospitalised hedgehogs: Reader 2017 reports PDFs as damaged

I create slides for teaching on a GNU/Linux machine and test in Okular. I then transfer the files to university storage so that I can use them in class. This has been working well. However, today, ...
0
votes
0answers
19 views

Auto-adapt width on output file [duplicate]

How can I make sure that in the output .pdf file the layout width is adapted automatically, without having to do it manually? Here is what my document looks like when it is opened I know I should ...