Stack Exchange Network

Stack Exchange network consists of 175 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
0answers
17 views

Pandoc font family not changing

I tried to set the font family to Source Sans Pro, but pandoc gives me the following error: pdfTeX error (font expansion): auto expansion is only possible with scalable fonts. \AtBegShi@Output ......
0
votes
0answers
12 views

Searching for a pdf through latex code [on hold]

I found a really helpful pdf yesterday, but now I can't for the life of me find it. I can't see it in my history or anything. I have some of the contents written down, but they're all symbols, ...
0
votes
0answers
27 views

I got bolded text on my PDF when I opening it in Google Crome [on hold]

I open my PDF file in preview, safari, firefox, opera and it's OK. The problem shows up when using Google Chrome to open the file. Some of the text lines seem to be in bold. Take a look: https://...
0
votes
1answer
24 views

Failed to load PDF - TexWorks

I am trying to export my tex file to a PDF but it is not working. When I open TeXworks (under pdfLaTeX) and hit the green run button, it opens a window and displays my pdf correctly. However, when I ...
0
votes
0answers
33 views

Pdfbox Title Extraction [closed]

I'm trying to shred a paper file with 100 articles after I find the article headers, do you have any idea?
0
votes
0answers
30 views

Control PDF file folder & filename output by global variable

I use LaTeX with Texmaker. Is output PDF always in same folder with main.tex? I have Arrayvariable.tex: %Client Name \def\ClientNames{{"VarA"}} main.tex: \pgfmathsetmacro{\ClientNamesNull}{\...
1
vote
1answer
33 views

PDF Info variables set inside the class

I have a simple custom class mycustom.cls defined as: \NeedsTeXFormat{LaTeX2e} \ProvidesClass{mycustom}[2019/03/06 My custom class] \LoadClass{article} \RequirePackage{hyperxmp} \RequirePackage[...
0
votes
2answers
71 views

Embedding plotly plots in LaTeX

Is it possible to embed a plotly figure in a LaTeX pdf? Plotly produces very nice interactive figures but when I save them as a png they become less informative. Does anyone know if there is a way to ...
1
vote
1answer
32 views

Is it possible to restrict the input of `TextField` to only numbers?

I would like to have a TextField that contains only numbers in order to make a date like [TextField]/[TextField]/[TextField]. I also need to restrict the length, but it was asked before. MWE: \...
1
vote
1answer
37 views

\pdfmarkupcomment does not work in page header

I find that \pdfmarkupcomment(from package pdfcomment) works well in main text body, but does not work in page header. What causes this problem and how to make it work in header? Here is the MWE: \...
2
votes
1answer
40 views

TeXnic Center not interacting with Adobe Reader [duplicate]

Every time I do a pdf build, TeXnic center opens my Adobe Acrobat Reader DC (version 2019.010.20098), but does not actually open the document in the Reader; I have to do that manually from the File ...
2
votes
1answer
59 views

Gmail built in pdf viewer omits last symbol in an url, any idea why? [closed]

Using amsrefs, I want to refer to an answer on mathoverflow. That site has automated amsrefs entry creation option. When I use it, everything goes fine, and the pdf file contains correct link. However ...
1
vote
1answer
33 views

Copying text out of PDF includes greek characters

I'm having an issue where if I copy words out of a PDF (generated with XeLaTeX) where the text copied out includes random Greek characters. \documentclass[12pt,a4paper,english]{report} % setup ...
1
vote
1answer
46 views

Hanging indents with a Pandoc bibliography

I'm using Pandoc / Markdown / LaTeX to write lab reports. I've opted to not deal with multiple intermediate files for my bibliography. So I have to use this to generate my documents: pandoc --csl=...
1
vote
0answers
29 views

Prevent selection of some pdf sections

In order to avoid the selection of a part of a pdf, I use this command: \usepackage{accsupp} \DeclareRobustCommand\squelch[1]{% \BeginAccSupp{method=plain,ActualText={}}#1\EndAccSupp{}} For ...
0
votes
0answers
22 views

PDF inbound in text - cropping unwanted content

For this issue, I have no MWE. Problem: I have a word-file (survey, pretty complex structure) and I have been requested to use/integrate parts of this document for illustration in my LaTeX-file (e....
0
votes
1answer
35 views

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

UPDATE: This seems to have to do with the pdfreaders on my mac/mac settings. When I read the same files on readers on my Windows pc, the content does show up I use the 'pdfcomment' package in latex ...
1
vote
1answer
51 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
23 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
41 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
31 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
72 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
68 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
58 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
23 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=...
6
votes
1answer
280 views

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
49 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
100 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
28 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
79 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
49 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
186 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
49 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
52 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
17 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
28 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
71 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
430 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
48 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
88 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
36 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
171 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
42 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
91 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
34 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
40 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
76 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
73 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
42 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
86 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/...