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
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

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

6
votes
1answer
473 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
24 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
64 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
35 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
109 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
39 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
71 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
434 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
20 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
31 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
28 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
28 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
457 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
23 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
50 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
73 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
125 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
34 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 ...
38
votes
1answer
932 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
57 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
67 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
21 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
168 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
26 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
41 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
47 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
44 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 ...
1
vote
1answer
120 views

Synctex bug? Emacs/LuaLaTeX with Evince/Zathura on Ubuntu 18.04

I am having a problem similar to that one and already posted there, with emacs, LuaLaTeX, and two PDF viewers (evince, zathura) on Ubuntu 18.04. Problem: The forward/backward search has gotten really ...
3
votes
1answer
55 views

lualatex not correctly setting PDF page boxes? [closed]

I want to specify PDF page boxes using lualatex. But no version of Adobe Reader (9.5.5 04/26/2013 under Linux; DC 2018.011.20040 under Mac OS) or Acrobat Pro (8.0.0 under Windows) I have access to ...
1
vote
1answer
91 views

Create text-file of references

How can I generate a text-file (without any formatting) of the references used in a tex file? This is needed quite often when submitting scientific papers to journals, because they want a separate ...
0
votes
0answers
47 views

making pdf using latex gives error for platex

I have been trying to make my paper but ive been having all types of problems. I am using ubuntu 18.04, and installed make and texlive-full. I am trying to make a paper that I am writing but I get the ...
14
votes
1answer
378 views

Show document title instead of file name in PDF-Reader

Today I opened a PDF document with Acrobat Reader DC and noticed that it showed the document title (not the filename) in the tab and title bar (which I like). Apparently, it is a property of the PDF ...
-1
votes
1answer
101 views

Convert a PDF/Word title page to TEX file

Is there any way I can convert a PDF containing a title page like the following into a working TEX file? I have tried different converters like AbiWord or Grindeq, but the result never works properly....
1
vote
0answers
90 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 ...
1
vote
1answer
73 views

Work-around for Error: Float(s) lost

======================================================= -> Update <- After a half day trial and error, it's safe to say that this is caused by the "famous" error Error: Float(s) lost. I have ...
0
votes
0answers
24 views

How to keep last page view after compiling on TexMaker?

I normally use TexMaker with the window divided in two, being the left half the text code and the right half the pdf visualization. However, every time I compile the text on the left, the pdf view ...
0
votes
0answers
26 views

XeTex not generating PDF after migrating from ShareLatex to TexBuilder

I've been using ShareLatex to write my thesis for the past few months. For various reasons I want to change over to an offline compiler. I downloaded MikTex 2.9 and TexBuilder (version 3.5.2) as ...
0
votes
0answers
20 views

Extra page when including a PDF-page

Whenever I am including a PDF in my document I get an extra page before the PDF with the text "pdfpages". How do I get rid of that extra page?
0
votes
0answers
49 views

identify the begin and end of PDF page in latex

Is it possible in Latex to identify where PDF pages begin and end? E.g. PDF page X begins at line Y and ends at line Z in Latex.
0
votes
0answers
55 views

Don't render environments/commands in PDF and let the space empty

I don't want some of the environments and macros in latex to be rendered in PDF but the space should stay empty. E.g. in the code blow I don't want the sections (only the macro and the argument) and ...
0
votes
0answers
11 views

How can I manually set where the text starts inside the beamercolorbox?

I have this bit of code that adds a header to each page in a PDF with the title of the slide and the logo. However, my problem is that even though the title is centered, it is centered in that column ...
1
vote
0answers
167 views

TeXstudio can't write on file '.pdf' [closed]

Having this problem for a while now while using TexStudio: I write a paper in TeXstudio and use the "Build & View" button, no problems, code works and example view appears on the right side. ...
4
votes
1answer
94 views

How to create an animation from a 30-page PDF file?

I've made a sequence of 30 vector graphics in one PDF file. (Each page of the PDF file contains one graphic). I want to make an animation and display it in a beamer presentation. I've found an answer ...
1
vote
2answers
65 views

Section on one page with includepdf [landscape]

I want to include a PDF in landscape (its a table in PDF form) with include PDF. I want a section on the same side, but when I use this command, the section heading is not on top (of that landscape ...
0
votes
0answers
18 views

Page break options in a TextField

Yesterday I helped a friend who was working on a template of a school certificate. Basically he has written it with OpenOffice. Now he wanted to see how it looks in MS Office. There are different ...
1
vote
1answer
103 views

What's making my file large?

I'm working on a document which incorporates a lot of figures and tables etc. The PDF file size is creeping up and up, to the point that github complains about it now too. I've already got a list of ...