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

0
votes
1answer
14 views

Pdfcomment stopped working; icons still appear in pdf, text not showing up

I use the 'pdfcomment' package in latex to produce a pdf document with annotations. All of a sudden it stopped working: icons still appear in the pdf, but the text of the comment is not showing up. ...
-2
votes
1answer
44 views

how to write this is paper by latex [duplicate]

how to write this paper by LateX i don't know write this is paper by latex please help me ?
1
vote
1answer
44 views

Make icon fonts in PDF searchable by name

Nowadays, icon fonts are quite popular on the web. There have been latex bindings to these icon fonts through packages such as academicons, fontawesome5 and fontmfizz. This brings in new ...
0
votes
0answers
19 views

Error in TexStudio: “Build and View”

I am facing an issue when i click on "Build and view" this error appears. Error: Could not start the command: pdflatex.exe -synctex=1 -interaction=nonstopmode "elsarticle-template".tex Is there ...
0
votes
1answer
31 views

\pdfpkresolution=250

Is it possible to put \pdfpkresolution=250 ? The only possible values I can assign are 300 and 100 but not any number between them. \documentclass[12pt]{article} \pdfmapfile{-pdftex.map} \...
2
votes
0answers
27 views

How to include pdf without it always starting on a new page

When including a pdf in my document I use: \includepdf[pages=-]{myfile.pdf} For some reason every time that I do this it wants to start the pdf on a new page. I would like to start it without going ...
2
votes
1answer
47 views

pdfx: incomplete CIDset in some fonts

I try to compile a document as pdf/x and pdf/a with pdfx under LuaLaTeX, and I am already quite successful. One thing still poses problems though: With some fonts I get the following error if I check ...
5
votes
2answers
56 views

Avoiding overprinted outlines with pdfrender when converted by Ghostscript

In my document the pdfrender package is used to give some text with a special font a bold outline. Then the resulting file is converted into a PNG (for the website) as well as a PDF with all ...
0
votes
1answer
50 views

Me too: \includepdf only shows first page [closed]

I have the same problem as described by adam.baker in this post: \includepdf only shows first page, despite having multiple pages. (This seems to be not limited to pdfpages, because graphicx with ...
0
votes
0answers
21 views

Repeating texture renders with lines between the instances

Assume I have some repeating texture file texture.png. I use it like this (ConTeXt, but I assume using LaTeX would not really make a difference): \usemodule[tikz] \starttext \starttikzpicture[x=...
3
votes
0answers
103 views
+50

Converting Math Symbols from PDF into LaTeX

I am trying to extract Math content from LaTeX generated PDF files. Most extracted symbols get extracted fine. However some, such as \epsilon, \Updownarrow, \simeq use non Unicode codes and others ...
1
vote
1answer
47 views

Compile to PDF file with different name than the source

I have a latex document containing some problems and their solutions. I also have a macro \excludecomment{sol} which if uncommented, excludes the solution environments. (Similar command is there for ...
2
votes
0answers
97 views

Extracting pages of Xelatex created PDF in Acrobat requires password

I have a .tex file and after compiling with XeLatex , when I want to extract pages of the PDF or open a single-page PDF in Illustrator, it tells the file is Password-Protected (in Adobe Acrobat, no ...
0
votes
0answers
26 views

Remove Watermark from pdf using \includegraphics

I am importing a pdf specific page as a figure via "\includegraphics". The problem is this pdf file may be encrypted and a watermark shows everytime I print it, either into the latex document or to ...
0
votes
1answer
76 views

Green border around PDF figure?

I'm doing a LaTeX beamer and am having a problem with \includegraphics. Around the image, a thin, green border is shown, which won't disappear in the presentation. This problem (or feature?) only ...
1
vote
1answer
39 views

How to disable the automatic save of .eps as .pdf?

I tried this psfrag substitute when using pdflatex. The file myextractor.sty and the configurations of main.tex work very well, but now I have a problem, I want to disable the extraction of .eps files ...
9
votes
2answers
179 views

Glossaries links with non-latin labels in LuaLaTeX refer to wrong place

I want to make a glossary with glossaries-extra package and use Cyrillic characters as entries labels. Everything works fine with XeLaTeX. Clickable links refer to exact glossary entry. But in ...
0
votes
0answers
40 views

Making pdf file from latex anonymous

I am trying to submit a paper to arxiv but I am giving up after trying to figure out the errors produced when my tex file is compiled by arxiv. My file compiles well with texmaker on my ubuntu machine....
5
votes
1answer
47 views

Change PDF timestamp in ConTeXt

Inspired by the corresponding question for pdftex, I want to set the pdf timestamp in the metadata in ConTeXt. What didn't work so far: % Set the luatex variables, applies only to \date \ctxlua{ pt=...
1
vote
0answers
13 views

Bookmarks hierarchy with custom titleclass

I'm new here, but I've been using LaTeX for some years already. Recently I had to define new chapter- and section-like levels in my document, and I created them using the titlesec package, with the ...
1
vote
0answers
23 views

Use multi-page PDF as multiple graphics in LyX with correct preview?

In LyX, the "Insert > Graphics" dialog is the standard way for including graphics and, usefully, provides an inline-preview of the graphic in question. LaTeX's \includegraphics command allows to ...
2
votes
0answers
68 views

Make words like naïve searchable via naive

very short question about the handling of umlaut and other unicode characters. Is it possible to make them searchable via their ascii-"equivalent" (e.g. a for ä)? Or can that only be done by the pdf ...
0
votes
1answer
162 views

Remove 'active contents' from PDF file that was converted from LaTeX?

I recently rewrote my CV in LaTeX using Overleaf.com. Once I finished writing my CV in LaTeX, I downloaded it as a PDF. I'm now trying to upload my CV on brassring (careers website) and every time I ...
3
votes
1answer
41 views

How to read %%Pages:… from *.xbb file

Given the auxiliary file test.xbb %%Title: test.pdf %%Creator: extractbb 20180506 %%BoundingBox: 0 0 300 343 %%HiResBoundingBox: 0.000000 0.000000 300.290000 342.810000 %%PDFVersion: 1.4 %%Pages: 17 %...
2
votes
1answer
75 views

PDF bookmarks don't get proper formatting

In my document, I have two chapter titles with \em commands and --- dashes, which get correctly converted to italics and em-dash in the text. But the PDF bookmarks are not created properly: \em: if I ...
2
votes
1answer
35 views

Directly extracting PDF from Kile under MiKTeX in Windows 10?

I am using the latest testing version of Kile under MiKTeX in Windows 10, which is awesome so far. It took me a while to find how to generate a PDF file, the built-in command seems clicking the "...
2
votes
2answers
95 views

pandoc to PDF not putting a shaded block around language specific code sections

I have the following text in my .md file: ### Table of Contents, List of Tables, List of Figures The example below shows how to place a table of contents, a list of tables, and a list of figures, ...
0
votes
1answer
37 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 ...
2
votes
1answer
87 views

Margins in PDF document

I created a LaTeX document with a header and converted it to PDF with luatex. When I open the document with a PDFviewer (I tried Acrobat and pdf exchange editor) and try to print it, the PDF viewers ...
2
votes
0answers
32 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 ...
2
votes
1answer
38 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 ...
3
votes
1answer
73 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 ...
2
votes
0answers
49 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 ...
3
votes
1answer
39 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 ...
0
votes
0answers
78 views

arbitrary utf8 characters in XeLaTeX

I'm generating a pdf with xelatex that could contain arbitrary utf8 printable characters. Assuming I don't greatly care what font ends up being used for any particular character, how do I get most/...
2
votes
1answer
117 views

Included PDF image has invisible, but selectable text

I am currently facing some problem when I tried to import a PDF as a graphic. The PDF with some original text beside was first cropped to remove the text and then imported using \includegraphics. ...
1
vote
3answers
2k 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....
2
votes
0answers
49 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 \...
1
vote
0answers
46 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. ...
1
vote
1answer
48 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
272 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 ...
0
votes
1answer
73 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 ...
0
votes
1answer
47 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 ...
12
votes
2answers
553 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 ...
1
vote
2answers
50 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
46 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, ...
5
votes
3answers
576 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
41 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
385 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
30 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 ...