{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

0
votes
0answers
73 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
68 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
62 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 ...
2
votes
0answers
69 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
77 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.
10
votes
2answers
174 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
51 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
74 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
96 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
120 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
158 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
75 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 ...
2
votes
0answers
46 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
135 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
1k 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
111 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
86 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
203 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 ...
11
votes
1answer
134 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 ...
7
votes
2answers
134 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
30 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
198 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
115 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
299 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 = ...
0
votes
0answers
338 views

Problem in Texmaker after reinstalling MiKTeX: 'the memory dump file could not be found'

I had MiKTeX, with TeXworks and Texmaker running fine on my Windows 7 machine, except the package manager crashed whenever I opened it. So I decided to uninstall and reinstall everything LaTeX on my ...
8
votes
2answers
281 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
153 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
206 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
232 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 ...
31
votes
2answers
411 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 ...
4
votes
1answer
206 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
81 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} ...
3
votes
0answers
70 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
203 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
105 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
139 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, ...
1
vote
0answers
45 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
88 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
65 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
48 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
431 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
212 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
288 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
173 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 ...
1
vote
1answer
67 views

Include TEXT from another file before generating PDF

I have a tex file which compiles fine and generates PDF without any problem. I need to include text (contents of a text file) from another .txt file at the end of tex file so that generated PDF would ...
2
votes
0answers
76 views

Bundle PDF+LaTeX source and open with Preview [closed]

There must be a solution to the following OS X and LaTeX related problem and I think it could be interesting to a lot of people: I would like to create a new file type ".pdflatex", a document bundle, ...
2
votes
3answers
254 views

embedded fonts in TeX [duplicate]

How can I introduce, as embedded subsets, the fonts: Symbol, Times-Bold,Times-Roman, TimesNewRomanPSMT-Bold, TimesNewRomanPSMT-Bolditalic in Plain TeX, under Ubuntu?