{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

4
votes
2answers
187 views

Get number of pages of external PDF

Is there a possibility to get the total number of pages of an external PDF file within a LaTeX document? Assuming that there exists a PDF file test.pdf with 8 pages in the same directory my LaTeX ...
1
vote
0answers
41 views

Running pdflatex does not update file in Adobe Reader

I am using Adobe Reader 9 to display PDF files in Ubuntu. When I run the pdflatex command, the file itself is updated as usual. But if the file is currently open in Adobe Reader, then the displayed ...
0
votes
0answers
32 views

WinEdt error after compilation : No PDF Output [on hold]

Error reported is: no output PDF file produced
1
vote
0answers
77 views

How to use cmap to create an un-copyable pdf with pdftex?

For some reason I want to create a pdf with an un-copyable text. There is a solution which manipulates the font. It's from an older post(see Is it possible to produce a PDF with un-copyable text?): % ...
1
vote
0answers
69 views

pdflatex mysteriously loses half a line [on hold]

I have encountered a very mysterious problem. When I send my document to my professor, he found half a line of text is missing in the PDF file, meaning that it left as blank but occupies correct ...
1
vote
0answers
51 views

Hide the LaTeX output after importing PDF files generated by mathematica version 10

\documentclass[10pt,a4paper]{article} \usepackage[latin1]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{makeidx} \usepackage{graphicx} \begin{document} ...
2
votes
0answers
31 views

next, previous and up links

This question must have been asked and answered before on this forum, but I can't find the discussion. Sorry. I have a document that has a natural tree structure. So I want "next", "previous" and ...
9
votes
1answer
68 views

Other methods to determine the page size of an external pdf?

I would like to query the page size of an external PDF in a document. I can box an included PDF and measure the box (with or without actually using the box), as shown in the MWE, but I'm wondering if ...
0
votes
0answers
24 views

how to open the right pdf file using \lv with LaTeX-suite on vim

I'm new to the scene of LaTeX-suite on vim. I am now able to compile a latex project using \ll (which invokes the Makefile). However, when I tried to open the pdf file using \lv, it always attempts to ...
3
votes
1answer
64 views

Scanned PDF inclusion problem with XeTeX driver

I have this specific problem about inclusion of my scanned PDF pages with existing LaTeX document. I use an iPad application Scanner Pro to scan and create PDF copies of my hand-written notes. Then I ...
2
votes
1answer
35 views

PDF Bookmark hierarchy incorrect

I'm having the same problem as that noted in This question: namely, the pdf bookmarks are incorrect, with some sections incorrectly subsumed under others. However, the code that I'm using is somewhat ...
2
votes
0answers
25 views

Beamer PDF presentation - how can i invert colors easily?

Suppose you are going to do a presentacion using a beamer PDF file and you dont know what size the rooms is, neither how much light there is. Under this circumstances, it would be better to have a ...
3
votes
0answers
40 views

Make hyperlinks clickable in a DVI converted to PDF

I have a legacy system that "generates" documentation for one of our systems. The resulting DVI file is then converted to PDF using dvipdfm. The DVI contains URLs, but those aren't clickable in the ...
2
votes
1answer
56 views

How to show the structure of a pdf document with LaTeX?

How to show the document structure with Latex?. I was doing some article and i would like to know once it was been compiled and saved in a pdf file how to show the sections or the strcuture of the ...
3
votes
1answer
75 views

Import pdf with white background

I have a beamer presentation where the text is in white and the background is black. For some frames I would like to import some pdfs but have them exactly as they are normally. That is all the white ...
-1
votes
0answers
41 views

Unable to generate the pdf file [on hold]

I am writing a paper to inderscience single column journal, I included the .cls file when I compile and build it is not generating the pdf file
3
votes
1answer
60 views

EPS to PDF conversion done by pdflatex is blurry

I have done a figure using TikZ that uses the shadows.blur package. Using qtikz (my TikZ editor), I have exported the image as an eps file. In my document, I use \includegraphics{theimage} and ...
1
vote
0answers
26 views

PDF compression automatically with TeXWorks or WinEdt in Windows 7?

Currently I use TeXWorks or WinEdt to generate my PDF then open a command window and execute the following to compress the file: >gswin64c.exe -sDEVICE=pdfwrite -dMaxSubsetPct=100 ...
2
votes
0answers
44 views

Convert included .eps files to .pdf with xetex during the first compilation only

Is there a way to have xetex convert .eps files, included with \includegraphics, to .pdf during the first compilation only and subsequently use the generated .pdf files, as pdflatex does?
4
votes
1answer
79 views

pstricks rput does not place stuff precisely

Description I want to use pstricks to place some stuff in a large (almost A0) pspicture. Any stuff I place in the picture with the \rput command, is not placed precisely. Why? The farther away from ...
1
vote
2answers
78 views

How to add a logo in every page, without any margin?

I want to use a little pdf picture as a logo in every page of my file, exactly in the top of every page, no margin on top, no margin on left and right side, how to make it? I use below simple ...
6
votes
1answer
64 views

Keeping URLs clickable while decorating?

I want URLs in the rendered PDF to appear as follows: <http://website/blah> I have declared the URLS in my document using the 'url' package, in the form: \url{https://tex.stackexchange.com/} ...
0
votes
1answer
42 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
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} ...
7
votes
1answer
128 views

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

I'm looking for a solution to 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 ...
2
votes
1answer
45 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
64 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 ...
7
votes
1answer
200 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
153 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
38 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
0answers
46 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 ...
6
votes
2answers
95 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) ...
3
votes
1answer
68 views

Why IEEEtran is 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 ...
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
1answer
120 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 ...
1
vote
0answers
32 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 ...
1
vote
0answers
39 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 ...
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
35 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} ...
2
votes
1answer
144 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 ...
1
vote
0answers
29 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 ...
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 ...
5
votes
2answers
73 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
79 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
0answers
73 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
83 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 ...
3
votes
1answer
82 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 ...
0
votes
0answers
41 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 ...