Skip to main content

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
18 views

Page numbering in table of contents goes wrong after list of tables and list of figures

I have written my PhD thesis as a Quarto book, outputting to pdf. Just about to submit final copy (viva and corrections complete), just noticed the page numbering in the Table of Contents (TOC) goes ...
user27247447's user avatar
0 votes
0 answers
30 views

issue with a large project using the Mathbook class and the XSIM package

I use the mathbook.cls class by Stéphane Pasquet to create a mathematics book. The book contains 400 pages, 12 chapters, with hundreds of exercises. However, I've encountered two major issues with ...
stargazer45's user avatar
0 votes
1 answer
72 views

Adding pdfs from custom directory inserts only one page

When I put the "ToBeInserted.pdf" file in my latex project folder (XeLaTex, TexLive 2024), it inserts all the pages. However, if I put into any other directory it inserts only one page! Why ...
massisenergy's user avatar
-1 votes
0 answers
31 views

LaTeX Error: File `pngfig.sty' not found [duplicate]

LaTeX Error: File `pngfig.sty' not found.
Sonia Simran's user avatar
1 vote
1 answer
119 views

Why is This White Line Between Two Horizontal PDFs?

The forthcoming question is motivated in part by the question asked here: Why is this white line between the two vertical boxes? Consider the following code which produces a vertical strip (and call, ...
DDS's user avatar
  • 10.1k
3 votes
3 answers
124 views

View coordinates of PDF on MacOS - pinlabel needed

I just moved to MacOS from Windows and I am trying to find an app that shows me the coordinates of a given point in a PDF file, which I need to use the package pinlabel. On Windows I have always used ...
Minkowski's user avatar
  • 415
1 vote
0 answers
81 views

Does This Concatenation of PDFs Really Produce a Seam?

This question is in reference to the post: On Adding a Colorized One-Sided Margin to a Tikzpicture While out for a walk today, a pedestrian approach (no pun intended) to solving the question posed ...
DDS's user avatar
  • 10.1k
1 vote
1 answer
128 views

Can't copy-paste text from my latex pdf

I am using TexStudio to write my latex document, wich is using utf-8 encoding. All the pdf file generated can't be copy-paste. It seems like the pdf is generated as an image. Even when I change PDF ...
Pacifique's user avatar
0 votes
1 answer
79 views

PDF with Fadings and Transparencies Does Not Upload Properly

Consider the code: \documentclass[12pt]{book} \usepackage[hmargin=0in,vmargin=0in,paperwidth=4in,paperheight=6in]{geometry} \usepackage{pgfornament, tikzpagenodes} \usetikzlibrary{fadings} \usepackage{...
DDS's user avatar
  • 10.1k
0 votes
1 answer
102 views

Is there a way to compile LaTeX code generated by ChatGPT directly in the browser?

I've been using ChatGPT to generate LaTeX code for various projects, and I often find myself having to copy and paste this code into separate LaTeX editors to compile it and see the results. This ...
ninbit's user avatar
  • 97
0 votes
0 answers
48 views

Workaround for out of memory: TeX capacity exceeded, sorry [input stack size=10000]

I'm trying to generate a PDF in R with this code tools::texi2pdf("Genesmsa.tex", clean=TRUE, quiet = TRUE, texi2dvi = getOption("texi2dvi"), texinputs=system.file(&...
Shika93's user avatar
  • 371
0 votes
0 answers
54 views

Compiling slow!

I have slow compiling, I think it is because these following reasons: I type in Kurdish (Alphabet similar to Arabic), so I have to compile with XeLaTeX. Including a lot of pdf (graphs) files. Any ...
Miry Kurd's user avatar
0 votes
0 answers
19 views

Using pdfrender makes text appear too thick when zoomed out

I'm using pdfrender to make \mathbb look thicker, but when I zoom out the pdf it appears much thicker than the rest of the text. The first print is zoomed in, while the second one is zoomed out. Here ...
nogrodrigo's user avatar
0 votes
0 answers
47 views

PDF file generated by Latex, how to extract (matlab/python) source code (verbatim/listings)

This is a bit bizarre. I have to review a bunch of PDF files, generated by Latex (but I don't have access to the source files) and that includes matlab or python code, that was included with listings ...
Uwe Brauer's user avatar
1 vote
0 answers
23 views

Faded pdf with same code [duplicate]

I excute the same code with the same preambule on the same machine with the same engine (pdflatex): \documentclass[12pt,a4paper,english]{article} \usepackage{cmap} \usepackage{mathtext}...
kissmemiau's user avatar
0 votes
0 answers
29 views

pdfpages includepdfmerge with noautoscale for one document but not for the other

When I use \includepdfmerge[nup=2x1,delta={-17.525cm 0cm}]{A.pdf,1,B.pdf,1} both documents get scaled to the paper limits, and when I use \includepdfmerge[nup=2x1,noautoscale,delta={-17.525cm 0cm}]{A....
yannis's user avatar
  • 2,023
0 votes
0 answers
26 views

Conditional target of hyperlink or hyperref

I am creating a fillable PDF form wherein, depending on the choice from \ChoiceMenu the sequence of next pages need to be changed. I need to set the target of \hyperlink dynamically, however I could ...
Jayant Wakode's user avatar
0 votes
1 answer
53 views

How to create tufte-book frontpage in Rmarkdown

I am utilising rmarkdown to create some PDF handouts for a therapy group. Tufte handout is working brilliantly and I can combine markdown and some latex elements, this all is very well. My main tool ...
r0berts's user avatar
  • 135
3 votes
2 answers
114 views

Generated PDF renders differently on screen from printing [closed]

I'm not sure it is an issue related with LaTeX or due to the printer I use, but well, here is the problem I face. Please forgive me if I'm not submitting the issue in the right place! I generate a pdf ...
Philippe's user avatar
0 votes
0 answers
78 views

Converting English Text and Latex Equations to PDF

I often write small documents involving mathematical equations with English explanations. I write the mathematical equations in LaTeX (I do this all in notepad, i.e. the free version that comes pre-...
stats_noob's user avatar
0 votes
0 answers
22 views

pdf figure repeats and overlays other figures

My tex file seems fine when you download it, but on google preview (like in email but will sometimes go away if you zoom in far enough) and sometimes for others viewing the pdf, the figures get ...
Jennifer's user avatar
0 votes
1 answer
127 views

RStudio/Quarto is unable to make a pdf because it can't find xelatex.fmt, which is in system path

RStudio/Quarto is unable to make a pdf because it can't find xelatex.fmt. I've recently updated tlmgr and all LaTeX packages I've also run fmtutil-sys --all xelatex is in /c/texlive/2024/bin/windows/...
Peter Leopold's user avatar
0 votes
0 answers
20 views

Included pdf figure is not displayed [duplicate]

I am trying to include a pdf figure into my main.tex but do not see anything. The figure pdf file is generated by me through the command pdflatex -shell-escape "C:\Users\saro.harutyunyan\...
saroyr's user avatar
  • 23
0 votes
0 answers
65 views

Include A3 PDF page in A4 LaTeX document

I want to include an A3 map in the appendix of my thesis. When I include the A3 PDF with the code below, it prints as an A4 page. How can I make it A3? \begingroup \includepdf[landscape=true]{...
Guro Lilledal Andersen's user avatar
0 votes
0 answers
23 views

Embbeded pdf viewer not adjourning

I’m new to LateX and I have the following issue : Whenever I change my code the embedded pdf viewer is “stuck” and does not adjourn. Even if my code is correct and when I exit texstudio and open the ...
Francesco Castellana's user avatar
3 votes
2 answers
37 views

Package `keystroke` not drawing borders all the way

As the image shows, the left edge, right edge, part of the top, and part of the bottom all display just fine. However, part of the key is supposed to extend to cover everything in the key. Why is this ...
Private Eye's user avatar
0 votes
1 answer
80 views

LaTeX rendering in source mode but can't knit pdf

I am getting an error with LaTeX saying "You may need to add $ $ around a certain inline expression". The text renders correctly when I look at it in the source mode but I can't knit it. I ...
user24903005's user avatar
0 votes
0 answers
62 views

Asymptote sphere is "blotchy" and conversion from PDF to SVG is fuzzy and marred by lines

I am just starting to use Asymptote to generate a ball diagram of nitric oxide. My MWE is a file called ball.asy: settings.tex = "lualatex"; settings.outformat = "pdf"; settings....
chandra's user avatar
  • 3,104
2 votes
1 answer
117 views

Split a figure automatically [duplicate]

I have a long table as a PDF file about two or three pages. Is there a way to automatically have this PDF continuously shown on pages? I want also to have a caption for that. I prefer to use include ...
6-0's user avatar
  • 239
0 votes
0 answers
38 views

XeLateX stopped compiling

I am using xelatex on vscode and i was working on a lab report when i set up some simple figures and now it doesnt generate the pdf anymore and no problems are detected. It worked perfectly before ...
Hiraethy's user avatar
1 vote
0 answers
51 views

LaTeX infinite page height [duplicate]

I want a single PDF page where the page continues for as much content I have on the page, i.e. the page height increase with the content. I have so far done so by manually increasing the geometry ...
M. Pedersen's user avatar
1 vote
1 answer
53 views

Creating landscape "sheet", two pages per sheet, hyperlinks intact

I have a working document with lots of graphics and everything nicely placed. It is set up for double-sided printing so that every other page has a slightly wider margin on the inside where the book ...
Mike Pugh's user avatar
  • 329
8 votes
3 answers
396 views

How do I change the page size for a pdf-file generated by plain-TeX?

Situation, probably known I know the pdf-page-size can be changed in LaTeX using package geometry. But how to do it in plain-TeX? E.g. changing page related parameters, like \vsize or \hoffset, do ...
MS-SPO's user avatar
  • 14.9k
0 votes
0 answers
88 views

PDF Preview of LaTeX does not refresh in VS Code when PDF is used in another program

When I compile a LaTeX file on VS Code, the PDF viewer does not automatically refresh when this file is open in Adobe Acrobat Reader or syncing in Google Drive. This is despite the PDF file being ...
bixiou's user avatar
  • 73
0 votes
0 answers
87 views

Rendering jupyter notebooks to PDF using LaTex generates unwanted characters?

Cross-posting on SO: https://stackoverflow.com/questions/78337970/fix-rendering-issue-when-converting-jupyter-notebooks-to-pdf. I bring this question over TeX sub as it may be also relevant and ...
NonSleeper's user avatar
0 votes
0 answers
49 views

Latex symbols korean make pdf using GitHub Actions

I'm using latex-action to build from code written in latex into a pdf using GitHub Actions. The problem is that I'm having trouble with the Korean language. Can you give me a hand? Korean.tex \...
Paul's user avatar
  • 101
1 vote
0 answers
56 views

Asymptote and PDF version 1.4

Since version 2.88, Asymptote produces PDF version 1.5 (announcement). I need to produce a PDF version 1.4 with LaTeX. When I use the pdf14 package in LaTeX, I get a warning pdfTeX warning: pdflatex (...
user36236's user avatar
  • 111
1 vote
0 answers
141 views

Why does my PDF from Overleaf look good in Preview but bad in Adobe?

When I write documents in Overleaf, I can see a preview of the document in the right window. I like how the document looks in Overleaf's preview; fortunately, this is also how it looks when I download ...
afreelunch's user avatar
0 votes
0 answers
14 views

Latex2e ijmpa not producing pdf file in overleaf

I'm writing in overleaf using the style files provided here and when I compile the document I can see the pdf without any problems in the built-in viewer but it doesn't create a separate pdf file if ...
Beth Long's user avatar
  • 307
0 votes
0 answers
42 views

How to compile a part of .tex file without commenting out the unwanted sections, to preserve cross-references?

I have my main.tex file which has the main text and sup.tex file which has the supplementary text, in the same project folder in LaTeX (I use overleaf). See the content of main.tex below, which gives ...
Dovini Jayasinghe's user avatar
1 vote
1 answer
79 views

Making a lot of slightly different versions of a PDF with LaTeX

I need to create a large number (say 20) of versions of PDF documents that are slightly different, that come from one LaTeX document. What I envisage is some kind of custom labels that are interpreted ...
dnh37's user avatar
  • 181
0 votes
0 answers
73 views

I'm trying to use latex to generate pdf and svg formats of the pictures I made, but the useage of the dvisvgm tool will make my pdf file look weird

Thank you for reading my question Introduction My latex compile environment is VSCode + Texlive + LaTeX workshop. I want to use the tikz toolkit in latex to draw some pictures and generate .pdf and ...
BqBPdx's user avatar
  • 39
1 vote
1 answer
67 views

How to append a PDF file to a LaTeX and keep its aspect ratio? [duplicate]

I would like to append a PDF file to a LaTeX document and keep its aspect ratio, which is different than the original aspect ratio of the document. To clarify, I have a PDF file which is a standard ...
user avatar
0 votes
1 answer
138 views

How to implement conditional fields in fillable PDF forms created in LaTeX?

Following this question How to dynamically format a number with thousand separators in a `\TextField` of a fillable pdf? My goal now is to have certain fields appear or become hidden based on the user'...
JeT's user avatar
  • 3,652
0 votes
1 answer
60 views

Link to sections/labels from independent PDF file

I have a LaTeX document with sections/labels, and I want to create links to these from a SVG image. This SVG file is created in Inkscape and exported to PDF, and I'm not satisfied with the export ...
telephone's user avatar
  • 127
2 votes
1 answer
56 views

How to dynamically format a number with thousand separators in a `\TextField` of a fillable pdf?

I'm using LaTeX to create a PDF form and would like to display numbers in text fields (\TextField) with thousand separators. For example, converting "5000000" to "5,000,000". Here ...
JeT's user avatar
  • 3,652
0 votes
1 answer
60 views

includepdf not sizing correctly the page

I'm using pdfpages (in overleaf) to include a cover for my document. As you can see in the picture, it doesn't fit to the page. I've tried many options (noautoscale, fitpage, scale) but it is always ...
cluna's user avatar
  • 11
0 votes
1 answer
67 views

Unable to set pdfkeywords

When I use the \RequirePackage{pdfmanagement-testphase}\DeclareDocumentMetadata{testphase=phase-II} packages, I am unable to set the pdfkeywords text as intended; instead, some unwanted content is ...
murugan anbu's user avatar
0 votes
0 answers
21 views

bibliography issues

I have a situation where my bibliography is not automatically getting updated. I run within emacs and previously used TeXShop. I was able to get it to work with the following: $ latex report.tex $ ...
user129393192's user avatar
2 votes
1 answer
75 views

A way to include invisible comments in PDF files

In XeTeX, I would like to include comments such as "LABEL234" into the code of a PDF file, at the current TeX location but neither changing the visual appearance of the document nor changing ...
yannis's user avatar
  • 2,023

1
2 3 4 5
55