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

learn more… | top users | synonyms

5
votes
1answer
129 views

list of pdf pages

I need to add quite a few extra pdf files at the end of my report. Is there a way to create a list of these pages (named list of evidence) following the table of contents? Edit to question: I have ...
5
votes
0answers
276 views

includegraphics: How to check if PDF/PNG are transparent?

I am trying to generate PDF/A-1 compliant documents, in which transparency is not allowed. I would like to check, if included PDF and PNG images have transparency. Is there a TeX way to check this? ...
4
votes
2answers
169 views

PDF's not working in LATEX

I was not sure if I should ask this on Mathematica or LATEX or here. I am very new to LATEX and using \includegraphics to put images into my paper. I am using plots generated in Mathematica as PDF's. ...
5
votes
2answers
297 views

How to generate PDF with 6 slides from Beamer presentation?

I would like to generate a PDF document with 6 frames on the same page. What I mean is that I have a Beamer presentation with a Frame on every slide, and I want to get something like this : ...
0
votes
0answers
87 views

Indented Code Blocks Have no Background Color When Generating PDF

As the title says, when I run: pandoc -o book.pdf book.md The code blocks show up in monotype font but with no background color. I've also tried all styles using --highlight-style with no success. ...
0
votes
0answers
84 views

MikTex TOC links incorrect when setting title

When I generate a document with toc and a title by adding the lines: % Book Name % by Author Name The toc links to the book are all off. I'm running the following command: pandoc --toc ...
3
votes
1answer
64 views

Extend a given pdf

I read a paper and I want to write some notes right after it finishes. Also, I would like to update this note later. Is there a convenient way to do that? I know I can just create a new pdf and ...
3
votes
0answers
108 views

How to invert a PDF using OCG/Layers?

I am creating a PDF that is designed for viewing on Screens/Tablets, and uses white Text on black background. Since some readers might want to print it, and I want to avoid to create a second PDF, I ...
6
votes
1answer
101 views

Changing the pdf pagesize for AMS package

I used AMS package with GSM option to write my professor's math book in LaTex. He want to customize the pdf pagesize to 16x24, it is the standard size for that style of book in my country, but I do ...
2
votes
0answers
27 views

clickable check boxes in pdf through latex? [duplicate]

This is more out of curiosity than anything, but can LaTeX produce a pdf with a clickable check box? I imagine not, but it would be great to be proven wrong.
12
votes
2answers
244 views

How to create a 'summary of changes' with latexdiff

Following my previous question, I have successfully created a dif.tex file of a large, complex project, the results of which can be seen here. (This was done, in the end by updating latexdiff to the ...
7
votes
1answer
64 views

Multiple instances of xelatex in parallel without overwriting generated PDF's

I've one TeX file abc.tex which is executed using xelatex abc.tex to generate the PDF file abc.pdf Inside abc.tex I'm using the datatool package to read data from an external CSV file (say pqr.csv). ...
2
votes
0answers
98 views

TikZ dash pattern generates an offending PDF [closed]

Consider the following MWE: \documentclass{standalone} \usepackage{tikz} \begin{document} \def\dotsize{1} \def\spacesize{2} \def\linesize{4} \begin{tikzpicture}[% dash pattern=% on \dotsize pt ...
3
votes
2answers
122 views

batch conversion of lyx to pdf

Is it possible to "batch" covert lyx documents to pdf? I have more than 250 lyx docs in a folder. I want them in a pdf format. I can do it manually one by one. But there has to be a better way. Hope ...
7
votes
1answer
155 views

Flatten transparency in tikz

I have a document which I need to compile PDF/A-1b compatible, which means that transparency is not allowed. I have (several) tikz sources directly in the document, and I think they look better with ...
1
vote
1answer
244 views

Insert pages from password protected pdf file in latex

If I have a password protected PDF (my own document, source unfortunately lost), and I want to include a portion of it in a new document, can that be done? This previous question explains how to do ...
0
votes
1answer
105 views

Error using \tikzexternalize and different graphical inputs

How can this issue be stated more precicely and finally solved? Having a large document and using \input{...} within figure enviorement for including gaphics by tikz and pdf's, png's. Each figure ...
3
votes
0answers
58 views

Evince keep position like xdvi [closed]

One feature I miss from the dvi days is the ability to keep position from page to page that xdvi has, -keep (.keepPosition) Sets a flag to indicate that xdvi should not move to the home ...
6
votes
0answers
211 views

Changing colors of included cmyk jpg

I am trying to convert a pdf containing grayscale pictures and black text into shades of a single color in cmyk color space (for printing). I was thus very happy to learn, from a side remark in one ...
1
vote
1answer
4k views

DVI to PDF Convertor [closed]

I am converting dvi file to pdf but in that process my figures are misplaced. i used \FloatBarrier command to fix figures in dvi. but facing the same problems in pdf. Can any one help?
8
votes
1answer
164 views

Problem with UTF-8 in meta data

my problem is the following, when I use UTF-8 in meta data is not working \documentclass[10pt,a4paper]{article} \usepackage[slovene]{babel} \usepackage[utf8]{inputenc} %Meta data \pdfinfo{ /Author ...
3
votes
0answers
89 views

It is possible to lock up pdf? [duplicate]

I'm searching if it is possible to set permissions in LaTeX code to prevent copy/print/make changes of pdf? And if it is possible to encrypt pdf in LaTeX code?
8
votes
2answers
278 views

Rotating a one-page float for pdf viewing

I have a few long tables that should be rotated 90 degrees. These tables pretty much need to take up their own page. Rotating the table itself is not a problem, but I would also like to have an ...
12
votes
1answer
198 views

A basic question about raw pdf file output by pdftex

Consider the following simple tex file, to be compiled with pdflatex. \pdfcompresslevel=0 \documentclass{standalone} \begin{document} \hrulefill \end{document} Thanks to \pdfcompresslevel=0, the ...
9
votes
2answers
157 views

How to insert searchable value for PDF reader?

In a dictionary a headword can consist of special characters like in this example : Eyja·fjalla··jök|ull. I would like to achieve that the user in PDF reader in PDF file can search for ...
0
votes
1answer
37 views

Insert an image in LaTeX and create a pdf using: pdflatex file.tex

An image is (attempted to be) inserted using the following script in file.tex: \begin{figure} \includegraphics{/rdata/report/images/buckets.data.csv.png} \end{figure} Running the following code, ...
2
votes
0answers
33 views

Importing A pdf Image [duplicate]

I have an image saved as a pdf file, and I would like to include this image in one of my latex documents. In the preamble of m document, I included \usepackage{pdfpages}; and here is the formatting I ...
5
votes
1answer
362 views

Embed HTML in LaTeX document

Is it possible to run HTML code in a Latex document? Probably not since I never seen it. Soundcloud have an miniplayer that you can embed in your homepage to give the reader the possibility to play ...
6
votes
1answer
186 views

Embed image data (png or pdf) inside tex document [duplicate]

Is there a way to include (or "inline") raw image data or pdf data inside the tex document itself, such that it becomes stand-alone? Something like this: ...
12
votes
1answer
364 views

Tikz patterns and cmyk color model

Consider the following example. \documentclass{standalone} \usepackage[cmyk]{xcolor} \usepackage{tikz} \usetikzlibrary{patterns} \begin{document} \begin{tikzpicture} \tracingall \draw [pattern = ...
8
votes
2answers
1k views

Embed all the fonts during compiling with pdflatex?

My paper has the font TimesNewRomanPS-BoldMT not embedded in itself, and therefore fails the IEEE submission check. I am able to embed it with Acrobat by printing the PDF. However, I find it changes ...
1
vote
0answers
263 views

Is it possible to add math symbols to PDF?

In adobe reader or acrobat, you can put sticky notes. And you can add math symbols in the sticky notes, but for many of them you can only copy and paste from online (like from wikipedia). Is there a ...
3
votes
1answer
498 views

No pdf produced by simple document [duplicate]

I just moved from Ubuntu to Mint. I installed TexMaker on the new system and now it won't produce a pdf for even a minimal document: \documentclass{article} \begin{document} \end{document} TexMaker ...
2
votes
0answers
60 views

PDFLaTeX encoding problem [duplicate]

I am generating a pdf file with PDFLaTeX. The content of the pdf looks well at a first glance. However if I try to copy and paste the text to somewhere else the text look like this: ❉✐❡ ▼❡♥❣❡ ❛♥ ...
11
votes
2answers
275 views

TikZ picture wrecks page on Adobe Reader

The following MWE contains the offending code. The page that this code is on does not show up when the PDF is seen in Acrobat Reader. I do not use Acrobat myself, but my advisor does, so my thesis has ...
35
votes
2answers
592 views

Viewer-independent copyable spaces at the beginning of a line?

I need to include a couple of Python code listings, where the indentation of the lines (using some number of spaces) is significant. I would like for the code listings to be copyable, so the spaces at ...
5
votes
1answer
533 views

Which commands does LyX run to generate PDF (pdflatex) and other export formats?

What commands should I run manually to repeat all the steps LyX makes to generate a final output (like pdflatex PDF) for a specific document? I need it for using in a report generator written in ...
2
votes
1answer
89 views

How to get default titlepage with extra pdf-frontpage?

I want to have normal LaTeX frontpage, then my University's frontpage and then normal content. My tex \documentclass[twocolumn]{revtex4-1} % use prl for onepage \usepackage{pdfpages} ...
4
votes
0answers
91 views

Adobe Reader does not open file created with [xetex]{\attachfile2}

I have been using \attachfile2 successfully to create PDF documents with LaTeX already. However, when switching to XeTeX, I find the Adobe Reader says it cannot open the file due to security ...
5
votes
1answer
283 views

One page table of contents with hyperlinks for use with pdftk

I am using python and pdftk to create a portfolio from many pdf files. About half the files are generate by LaTeX and the other half are scanned in documents. When I am done, I want to create a ...
1
vote
1answer
122 views

How to modify imported pdf graphics? [closed]

Is it possible to modify the thickness of lines in an imported pdf image using latex? P.S. I have plots (vector graphics) in pdf format. I import them in latex and zoom into sum parts using tikz ...
1
vote
1answer
245 views

knitr generated pdf cut border off from figure

I have a a problem with a figure that is correctly generated in RStudio but when knitted its right margin is not set correctly. Please consider the following MWE \documentclass[a4papera4paper, ...
2
votes
0answers
52 views

Embedding a LaTeX document inside another, with some border or other stylising

I'm writing a fairly lengthy report, which should include several papers I have worked on. Each paper is more-or-less self contained, with their own title, date, sections, etc. I have each of these ...
5
votes
2answers
180 views

Add pdf slides to a lyx document?

I want to add the pdf slides into a lyx document. That means: for each page in pdf document insert it to the lyx document and seperate it from other slides. I need it for adding notes to lectures. In ...
5
votes
1answer
77 views

Conditional expression to convert figure to table. Is it possible?

I have a though one for you: I'm writing in MultiMarkdown and all my figures, tables, charts are usually pictures. This allows me to write something like this: The MultiMarkdown input ![This is the ...
1
vote
0answers
50 views

Possibility to show notes on included PDF pages

I include pages from an pdf in my document: \includegraphics[page=4, clip, width=\textwidth, keepaspectratio]{graphics/lorem.pdf} However, if I make notes in the PDF (i.e. used Skim, exported to ...
8
votes
3answers
534 views

Include figure from PDF file

I want to include a figure from another PDF. There is the quick way, where I take a screen shot, save as my desired format and the \includegraphics[scale=xx]{<file path>} but this is messing up ...
3
votes
0answers
280 views

Lyx IEEEtran template copyright overlaps text, authors not appearing

How do you make certain that the copyright and publisher id mark are correctly located at the bottom of an IEEEtran template Lyx document when rendered as PDF? I've tried a couple of suggestions but ...
9
votes
1answer
495 views

Is there an OCR that can convert an image of a formula into a TeX markup?

Is there an OCR software that can convert a graphical image (in PNG, GIF, TIFF, PDF... format) of a mathematical formula into the corresponding TeX markup?
1
vote
0answers
412 views

pdflatex \includegraphics changes the font

I've a EPS figure file (and the same as a PDF after "ps2pdf -dEPSCrop") created from a Matlab figure. It contains some text annotations, including a Greek delta ($\Delta$). In GhostView this EPS ...