{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

1
vote
1answer
70 views

PDF in documentclass{book}

How can I make the PDF of my book written under \documentclass{book} open in PDF with on the left sidebar a table of contents and clickable markers for chapters? I see it with books generated using ...
1
vote
3answers
95 views

How to autorotate pdflscape landscape pages when n-upping

I'm using pdflscape for my landscape pages in an A5 portrait document. Then I use the following command line to prepare the PDF to be printed on A4 paper: pdftk blank.pdf document.pdf output ...
1
vote
1answer
86 views

pdf doesn't regenerate after upgrading mac to mavericks

I just upgraded my mac to mavericks and latex is not working anymore. Since I'm really no computer pro I have no idea how to make it work again. though everything is still there it's not regenerating ...
1
vote
1answer
69 views

DVItoPDF gives an error

I have previously compiled my tex file with images, and everything worked alright. Lastly, I have changed only the text in my tex file and when compiling the pdf I received in error of DVItoPDF due to ...
0
votes
1answer
48 views

References aren't printed in PDF

My references aren't listed in my PDF file and all cites have a '?' symbol instead a number even in Texmaker my cites are selectable. Here my tex file: \usepackage[utf8]{inputenc} ...
1
vote
0answers
31 views

It is possible to generate more than one pdf from one source? [duplicate]

I would like to generate some pdf files with a 'for' cycle. The documents have to be very similar, but some variables are different. It is possible to do it with only LaTeX language without external ...
4
votes
1answer
145 views

sidewaysfigure: how to suppress rotation in pdf output

I am using sidewaysfigure from the rotating package. The orientation of the figure is as desired for the double-page layout. In the pdf (generated through Latex->PS->PDF), the page is rotated so that ...
42
votes
7answers
10k views

Add page and line numbers to a pdf

Is there any quick script to add page and line numbers to each page of a pdf document? 1) I often enough get articles in pdf to review, with no page number. I end up writing them by hand to refer to ...
21
votes
3answers
2k views

Generating PDF/A-1b compliant documents using pdfx and pdfLaTeX

There are several discussions on the web on how to generate PDF/A-1b compliant documents. One approach can be found on ...
47
votes
11answers
9k views

Multiple PDFs with page group included in a single page warning

I updated TeX Live to the Ubuntu Quantal version (2012.20120611-4) and I suddenly got this warning: PDF inclusion: multiple pdfs with page group included in a single page This is a minimal ...
1
vote
0answers
36 views

Compile to the actual location of a file [closed]

So I'm really new to Latex and using python to compile a document, using "output\pdflatex test1" However the compiled files are created in the main directory, not the subdirectory of output, where the ...
9
votes
1answer
1k views

Beamer: how to make each frame appear in the PDF toc?

I would like to have a beamer presentation in which every frame appears in the PDF table of contents (i.e. has a bookmark). My specific presentation only has sections, so all of the frames can appear ...
2
votes
2answers
1k views

Texmaker generated pdf file not showing the position of cursor

I am compiling LaTeX files with Texmaker on Ubuntu 12.04 system. When I run pdflatex and then view the pdf file (internal), it does not show me the exact place where I am editing on Texmaker i.e. ...
3
votes
0answers
24 views

\graphicspath and pax package

Pax is used to restore URLs inside PDFs that are embedded with \includegraphics. First, for every included PDF you create a .pax file, which sits in the same directory as the figure it is related to. ...
2
votes
1answer
89 views

How to upload LaTeX-generated pdf paper to arXiv without LaTexXsources

arXiv is smart enough to detect whether your pdf is generated by LaTeX. If it is, arXiv asks for the sources of the pdf instead of the pdf file itself. This is really annoying and inconvenient. Can ...
11
votes
2answers
1k views

What can cause generated PDF document whose text are not correctly copyable?

I was wondering why some PDF documents compiled from some LaTeX code does not make its text correctly copyable, i.e. what you can get is nonsense text? For example, this pdf document (I don't have the ...
5
votes
1answer
168 views

converting a hyperlinked pdf \includepdf to black and white

Most recent scientific articles come with hyperlinks within the document (generally linking citations to the references; e.g. this file). These are often coloured. When including them into a TeX ...
2
votes
1answer
28 views

How can you label an included pdfdocument and refer to it? [duplicate]

I have \documentclass{article} \usepackage{pdfpages} \begin{document} Lorem. Read the answer for this from the document \ref{3rd_part} .... \appendix \includepdf[pages={-}]{3rd_part.pdf} ...
1
vote
0answers
22 views

texStudio export different chapters in pdf

I have one tex file format into a book with many chapters. Each chapter must be in separate pdf files. I tried to have the whole pdf file and then re-print the pdf file into chapters using a pdf ...
0
votes
0answers
35 views

PDF-format causes figure to be moved to end of chapter

I have tried the following code with various alterations to the positioning index: \begin{figure}[!ht] \includegraphics[width=5cm,trim={0 0cm 0 0cm},clip]{Img/CustomerDevelopment.pdf} \centering ...
34
votes
3answers
2k views

How to preserve hyperlinks in included PDF?

I have generated PDFs with figures that have hyperlinks (hyperref to websites, \href) in them. When I compile these figures standalone the hyperlinks work. But when I try to include these PDFs (as ...
22
votes
3answers
2k views

Using opacity in TikZ causes strange rendering in Acrobat.

I have a problem using opacity in TikZ. Whenever I use it somewhere in a picture, I get weird side-effects: colors in (some) other parts of the documents are changed apparently randomly and it makes ...
1
vote
0answers
44 views

Untyped character at the end of chapter

Although there is no "f" typed, there exists a "f" character at the end of the chapter when pdf is created. What can be the problem? I can't find it! Even I delete all the text, and just type a ...
3
votes
1answer
34 views

parallel or other parallel text - paragraph alignment feeding from input files

I am scratching my head trying to sort out an issue with parallel text (in a bilingual document). So first off I have seen many examples on stackexchange regarding this problem but not quite the ...
2
votes
2answers
267 views

TexMaker's internal PDF-viewer crashes when there is figure

I have been using TexMaker for one year and everything was pretty smooth until recently. Right now as long as there is a figure in the pdf, when I compile the file (successfully) and scroll down to ...
3
votes
1answer
62 views

Hindi words not displayed properly in pdf (generated by xelatex)

The words are not getting displayed properly in the pdf even though they are getting displayed correctly in source file. And when I tried to copy words from the pdf file and paste them, they are ...
3
votes
1answer
2k views

Texmaker: showing the same old pdf

I recently installed Mepis on my computer, so I had to install LiveTex, TeXmaker, etc. from scratch. Everything works fine in TeXmaker, except for the .pdf. Every time I compile and want to see the ...
1
vote
0answers
34 views

LaTeX API for C# to generate LaTeX based pdf [closed]

C# has APIs which can generate pdf from the html content. But, knowing the LaTeX features, I would like to incorporate them too. Say, the person fills a registration form. On clicking the submit ...
2
votes
1answer
64 views

Compile latex to pdf directly, skipping ps

Up until now, I have been using the MikTeX compiler along with the TeXnicCenter editor to compile latex documents to pdf via ps, i.e., LaTeX ==> PS ==> PDF. However, I recently run into the printing ...
10
votes
2answers
208 views

How to have a precise control on the size of each page?

I would like to produce a pdf document whose pages have various lengths and fixed widths. An easier situation The easiest case would be for instance: the first page has a length of 10cm all the ...
0
votes
0answers
38 views

Why does the beamer banner appear slightly lighter on any frame that has a pdf figure in it?

I'm using beamer, with Warsaw theme, to prepare a talk. When I include a pdf graphic in a frame, the banners - both head and foot - in that frame are noticeably lighter than all the other frames. This ...
1
vote
0answers
42 views

How to identify text and math fonts from PDF? [duplicate]

What are the text and math fonts (most likely) used in this document? At first I thought \usepackage{mathpazo}, but the greek letter \Omega seems different. Using pdffonts I get for page 2 pdffonts ...
1
vote
0answers
39 views

Ansi Encoding for Embedded Fonts in PDF Output

Rendering PDFs with identical fonts using InDesign versus using LuaLaTeX with fontspec in TeXworks, I have found differences in Acrobat Reader's descriptions of the embedded font types and encoding. ...
14
votes
1answer
8k views

How do I create a PDF file that can be digitally signed?

We are using Acrobat digital signatures in my organization. With Acrobat Professional you can put in a signature block that allows signing with a client-side digital signature. This is something ...
2
votes
1answer
89 views

Can't silence a pdftex “PDF inclusion: multiple PDFs with page group” error

I am having an issue with PDFs generatied in Inkscape. If multiple files generated in this way are included on a single page I get the following error: pdfTeX warning: pdflatex.exe (file ...
2
votes
1answer
46 views

No error, yet no pdf [closed]

This is probably the ultimate beginner-level question, but I can't produce a pdf from LaTeX. I downloaded from here (http://www.rpi.edu/dept/arc/training/latex/resumes/) three things: ...
19
votes
2answers
10k views

How to configure TeXnicCenter 2.0 with Sumatra (2013/2014 version)

Despite having gone through Configure TexnicCenter with something else than Adobe Reader X and having looked at the TeXnicCenter + Sumatra Tutorial, there seems to some little changes for ...
2
votes
1answer
59 views

Included PDF line width

I've an image I made with Inkscape and exported to PDF that I want to include in my document. However, there is one annoying thing: The line width (e.g. the border width of a rectangle) depends on the ...
3
votes
1answer
66 views

Prevent title page from being considered as page “1”

I am write a big document use \frontmatter and \mainmatter to get different page numbering for different parts. All is fine except that the title page appears to be page 1; that is, there are two page ...
0
votes
1answer
68 views

Tikzpicture as background to pdfpages

I want to implement the answer here: Can I add tikzpictures to pages included with pdfpages. But I want the tikzpicture under the included pdf pages, not over it. Is there a straightforward way to set ...
0
votes
0answers
33 views

Include pdf file with different paper size [duplicate]

I'm finishing my master thesis project with latex (A4 paper size) and I need to include a few drawings in pdf (paper size A3), so I tried to use this: \includepdf[pages={-}, ...
3
votes
1answer
134 views

Pandoc: Markdown to PDF, without cutting off code block lines that are too long

I'm trying to convert a Markdown file into a PDF file using Pandoc. I have a lot of code blocks in my Markdown. And if I have a line of code that is too long, it will just be cut off in the PDF. How ...
74
votes
1answer
2k views

Revisiting producing structured PDFs from LaTeX

I am trying to produce a structured or 'tagged' PDF from pdftex (Tex Live 2013) that passes automated tests in Adobe Acrobat for tagging. These tests are the de facto indicator for a document ...
3
votes
1answer
49 views

Unable to display an url leading to a *.pdf document

Basically, I have an url in the form of "http://website.com/folder/this_is_a_pdf_document.pdf" which I want to display in my document in TeXStudio, however, an error pops up. It seemingly interprets ...
5
votes
1answer
151 views

Interactive (hoverable) 2D plots in PDF

It seems that embedding 3D plots in PDFs has been around for a few years now (misc3d, for example, and Asymptote), as well as interactive features such as fancy-preview and optional content groups ...
16
votes
3answers
7k views

Can \includegraphics be used to change an image color?

I'm including a number of PDF images in my document using \includegraphics. I'm wondering if there's a way for LaTeX to adjust their color profile, hopefully the same way it can flip images upside ...
0
votes
0answers
51 views

Editing pdfs with a pdf editor not through latex

Can people edit pdfs generated from LaTeX? I know adobe has a paid program that allows the editing of pdfs. I ask because I would think this wouldn't work. With a pdf generated from a Word, there ...
5
votes
1answer
80 views

“TeX capacity exceeded” error when converting markdown to PDF using XeLaTeX with russian language

I've installed pandoc and texlive-full packages on recent Ubuntu 14.04 LTS 64bit to convert markdown files with russian language to PDF. Everything works fine when I run the following command: ...
65
votes
6answers
10k views

How to create small PDF files for the Internet

I feel that PDF documents when intended to be uploaded to the Internet should be of a minimal final size in bytes. Many strategies exist to create a small document: Pay attention to the size of the ...
3
votes
2answers
92 views

Figure from PDF is always at new page

I have a figure in pdf file, which I want to include to my latex file. In the PDF file is only one figure, nothing else. This is code, how I iclude it: \documentclass[a4paper,11pt]{article} ...