{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

35
votes
2answers
566 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 ...
75
votes
2answers
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 ...
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 ...
6
votes
2answers
90 views

Nicely recover embedded images

I have the latex source code and final generated PDF, but not the image files. I'd like to modify the document, so I'd like to recover the image file so that I can recompile. I can (very slowly) ...
0
votes
1answer
26 views

Sweave and R 3.1.0: no pdfs generated

After upgrading R to version 3.1.0 (from some version 2.x.x), the following sweave code does not produce any pdfs for the plots anymore: \documentclass[a4paper,10pt]{article} \SweaveOpts{echo=FALSE} ...
3
votes
2answers
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
1answer
57 views

create pdf figures from pdf_tex and pdf files

I am writing an academic article and I saved all my figures in svg format. Then I converted (after a few cosmetic stuffs) it to pdf_tex/pdf so that they fit the paper . The problem is that my editor ...
2
votes
1answer
57 views

How Can I create a PDF background which is not printed (by default)?

I'm looking for a solution include a PDF background layer, which is not printed by default. I've seen that adobe seems to support a watermark layer, as discussed on graphicdesign.SE. I cannot test ...
3
votes
0answers
23 views

Paralist package breaks hyperref pdf links [duplicate]

Something bizarre is happening with the clickable links that hyperref creates in my PDF file. Here is an example LaTeX file: \documentclass[12pt]{article} \usepackage{amsmath,amsthm,paralist} ...
2
votes
1answer
41 views

PSTricks figure too big

I have the following MWE \documentclass{article} \usepackage{pst-plot} \usepackage{pstricks} \begin{document} \begin{pspicture}(0,0)(5,5) \psgrid[gridcolor=red,subgridcolor=green, ...
1
vote
1answer
97 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 ...
7
votes
1answer
168 views

Libertine fonts: spaces in PDF files

I am having trouble with the "libertine" font package using TexLive 2014. A PDF file generated will display properly, including interword spaces, but when I save from Acrobat to some other format ...
3
votes
2answers
145 views

PDF fonts are very thin

I found that the fonts in my pdf file are very thin while printing. I use the path latex->dvi->ps->pdf. I tried including \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} ...
2
votes
0answers
35 views

Rotated figures and tables with xelatex in PoD book [closed]

We produced several Print on Demand books and the printed copies have the pages with sideways figures rotated: This is the book. The figure is on page 5. I know about the auto-rotate option, but ...
1
vote
1answer
430 views

Missing jump to source

I used to be able to right click on the pdf and the bottom of the list would be a "jump to source" option which would take me to the source code where I had clicked on the pdf. It is no longer there ...
1
vote
0answers
42 views

Confused visibility of PDF layers when restoring from fullscreen mode

one of may colleagues observed that the visibility of some PDF layers may (unreasonably) change when the document restores from Fullscreen mode. Steps to reproduce: Open the file ...
4
votes
1answer
2k views

Changing the default TeXlipse compiler to PDFLatex

I just installed TeXlipse, and want to make my .tex-file alongside my Java-code (in the same Java-project). Right now, I can compile, but only to .dvi, which I dislike because of the bad viewer. Is ...
1
vote
1answer
39 views

Why IEEEtran with blurry with XeLaTeX but not with PDFLaTeX, and how to fix it?

The question is pretty simple. Compiling this code with PDFLaTeX \documentclass{IEEEtran} \usepackage{lipsum} \begin{document} \lipsum \end{document} gives me back whereas compiling the ...
3
votes
2answers
296 views

T1 Encoding causing bad PDF quality? [duplicate]

I recently noticed that some of the papers I've listed on my homepage look a lot sharper than others when rendered in a PDF viewer. Curious about this, I tracked it down to this import: ...
5
votes
2answers
65 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 ...
1
vote
1answer
77 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
108 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
111 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 ...
0
votes
1answer
54 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
156 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 ...
21
votes
2answers
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
10k 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
108 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
171 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
30 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
25 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
39 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 ...
2
votes
2answers
281 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
67 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 ...
1
vote
0answers
47 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
70 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
213 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
40 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
46 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 ...