Tag Info

Hot answers tagged

41

Evince and Okular will auto-reload when the file being viewed changes. So does another option: Zathura. That said, my recommendation would still be MuPDF instead, though it'll take some more work to set up. The reason is that MuPDF in general is a much faster program, and will reload faster. It doesn't auto reload like these do, but this can be solved with ...


37

Okay jumping on the old horse! ;-) Meanwhile Acrobat Reader X offers some simple possibilities for PDF annotations. If you want to do more you can use the pdfcomment package, e.g. for your examples: \documentclass[a4paper]{article} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage[rgb]{xcolor} \usepackage[author={Max ...


30

So pdfpc on git (which is forked and improved version of the pdf-presenter-console) is the closest thing I found. Features Except for reading out notes in Beamer-Presentations It has all the features I looked for. Regular slides on the projector, view of the next slide and the current one on the laptop. It pre-caches the slides for fast switch and can ...


29

This can be done with the hyperref package. It gives you the settings pdfstartpage and pdfstartview which can be used as package option or with \hypersetup{...} in the preamble. pdfstartpage awaits the page number and pdfstartview one of the following values: XYZ left top zoom Sets a coordinate and a zoom factor. If any ...


27

The following code (for use with pdfLaTeX) defines the command \zoombox[box line width]{contents}. It creates a click-to-zoom box for fitting the second argument 'contents' into the AdobeReader window. A dotted line is drawn around the box if the optional 'box line width' is >0. EDIT: The code has been optimized for presentation PDFs (such as beamer ...


22

Try inserting: \pdfpageattr{/Group <</S /Transparency /I true /CS /DeviceRGB>>} into your preamble. I had a problem with some colours being way too bright in acrobat reader (but not in other pdf viewers) when using opacity < 1 and this fixed it for me.


20

Using a method similar to that proposed in How to make listings code correct copyable from PDF and with hyperlink, the following works (at least in Adobe Reader). The accsupp package provides accessibility support for PDFs. By using the \BeginAccSupp and \EndAccSupp group, the line numbers can be typeset in the PDF, but actually replaced by an empty space ...


19

Skim provides this feature. It also provides pdfsync synchronization, so I would consider it as the favorite PDF viewer for LaTeX! One nuisance about Skim is that on the first change it asks you if you really want to reload the document. There is, however, a hidden preference to disable this behavior: defaults write -app Skim SKAutoReloadFileUpdate ...


18

A package such as zref-totpages that counts the absolute number of pages helps. The critical part is the timing: \documentclass{book} \usepackage{zref-totpages} \AtBeginDocument{% \ifnum\ztotpages>0 % \hypersetup{pdfstartpage=\ztotpages}% \fi } \usepackage{hyperref} \begin{document} \tableofcontents \chapter{Hello World} \chapter{Last Chapter} ...


16

Actually this has nothing to do with TeX … There’s no default, so one needs to check the viewer’s menus and shortcuts, because each application can use its own method. However, on MS Windows the keys are the same for Adobe Reader, SumatraPDF and PDF XChange Viewer (and probably some others which I can’t test now): Alt plus left cursor key for “Go back to ...


15

Follow all the steps mentioned in the TeXnicCenter + Sumatra Tutorial, but keep in mind these few things: In the (La)TeX tab / (La)TeX compiler section / Command line arguments to pass to the compiler bar, you should write: -synctex=-1 -interaction=nonstopmode "%Wm" In the Viewer tab / Executable path section, what should be written is: "C:\Program ...


14

I don't think that making one's PDF worse just because a bad previewer isn't able to render it is the right answer. If a previewer is bad, I simply don't use it. However, it's not difficult to prepare a personal map file that doesn't use the CM-Super fonts. Copy pdftex.map in a working directory, renaming it to, say, pdftex-nosuper.map; you find the ...


14

That really is some annoying behavior! I started writing "Oh, just put \pdfbookmark into the title" until I read the rest of your question. I dug into hyperref.sty and, eventually, hyperref.pdf (the version with the documented source) and found out that the whole thing is driven by \Hy@writebookmark in some way. Note: I don't know what \Hy@writebookmark ...


13

Unlike bookmarks or thumbnails, there is AFAIK no setting in the PDF catalog for comment tools. But JavaScript seems to allow this, see JavaScript for Acrobat API Reference. The following example adds a JavaScript action, when the document is opened. The example is written for pdflatex/lualatex and assumes hyperref is loaded (but the latter is not needed). ...


13

The problem is that you're using rand which generates random numbers between -1 and 1, instead of rnd, which generates random numbers between 0 and 1. This leads to some of the lines having a negative width, which throws Acrobat off. Replacing the rand with rnd fixes the problem: \documentclass[tikz]{standalone} \usepackage{tikz} \usetikzlibrary{fadings} ...


12

It is not a rendering problem. It is a problem caused by \psplot, which evaluates the given equation at regular intervals, and then connects with straight lines the resulting points. You can control how many points are evaluated (and thus the distance among them) using the key plotpoints. If you reduce the number, the effect is dramatically visible: ...


12

If it hasn't changed since TeXLive 2009, you can set viewer_pdf=evince in the configuration file. To find out which file to put that in, run texdoc -f and you will see some output like this: texdoc 0.61 Configuration files are: absent /home/username/texmf/texdoc/texdoc-bin.cnf (*) absent /home/username/texmf/texdoc/texdoc.cnf absent ...


12

Free as in beer, but not as in speech, PDF XChange Viewer has a fairly comprehensive set of measurement tools that I find quite useful. It is, however, Windoze-only, I think. Here's a sample:


12

The implementation limit for the length of strings in content streams for readers on 32-bit architectures is 32767 according to ISO 32000-2008, Table C.1, so 32766 and 32767 should probably also work.


11

Opening the PDF viewer part of TeXworks is configured on a per-tool basis in the Typesetting preferences. So for example to prevent the viewer opening after typesetting using pdfLaTeX, I would need to untick the box in the following dialog (Screenshot on Windows, but the same principal applies on Linux)


11

Big chars (characters with more than 8 bits) of LuaTeX/XeTeX are not yet fully supported. Workaround: \documentclass{article} \usepackage{fontspec} \usepackage{accsupp} \usepackage{tikz}%\usepackage{pgfmath} \usepackage{stringenc} \usepackage{pdfescape} \makeatletter \newcommand*{\BeginAccSuppUnicode}[1]{% \EdefSanitize\asu@str{#1}% \edef\asu@str{% ...


10

This would be my TXC output profile for working with Sumatra. It allows forward and backward search and you can keep the pdf-file open while compiling. The commands are: (Check if your paths are right) 1: C:\Programme\SumatraPDF\SumatraPDF.exe -inverse-search "\"C:\Programme\TeXnicCenter\TEXCNTR.EXE\" /ddecmd \"[goto('%f','%l')]'\"" 2: ...


10

In case you're still interested, I have written a small viewing application in C++, called "dspdfviewer" for "Dual-Screen PDF Viewer". Its built specifically for latex-beamer, and it's "show notes on second screen" option. This latex-beamer option will give you a double-width PDF, where the right part are your beamer-notes, and the right part can include a ...


9

Adobe Acrobat is the full suite for creating/manipulating PDF documents. Adobe Reader is the less powerful but more convenient display version with limited document manipulation features. However Adobe Acrobat is not the only way to create PDF files. As long as the result is PDF-standard-compatible, the creator of the PDF document is not relevant. The ...


9

EDIT: I don't have any way to test using the software you're using. But I can tell you how to narrow it down - Divide and conquer. Open the PDF file in a text editor. (some of the data is binary, but the meta data is in XML) Search for all occurrences of a, b, c Look to see if the quotes are part of the string stored in the file. If the quotes aren't ...


8

(from my comment to this answer) Another suggestion is to use a screen ruler on top of your .pdf document. For Linux, I strongly suggest ScreenRuler: ScreenRuler is a small GNOME based utility that allows you to measure objects on your desktop. It can be used to take both horizontal and vertical measurement in 6 different metrics: pixels, centimeters, ...


8

Judging from a previous question of yours, you use TeXnicCenter. To make this work you will need a PDF viewer that supports SyncTeX, such as Sumatra. There is a tutorial that describes how to set up forward and inverse search with TeXnicCenter and Sumatra on the TXC webpage: http://www.texniccenter.org/resources/tutorials/47 (Edit after comments:) If the ...


8

This was due to a bug in beamer, which only shows up with some viewers. The problem comes down to where the target is located for page links. The behaviour was to place this in a footer, which is not really correct. The code has now been updated to place the link in the 'correct' place during shipout, and this fix will appear in the upcoming v3.28 update to ...


8

Tikz and pgf figures are based on postscript specials, i.e., postscript code is embedded within the dvi file. Most dvi-viewers can display only parts of this postscript code and the figures may look distorted or parts are missing. A few dvi-viewers, e.g. yap which is included in MiKTeX, call ghostscript to render the postscript code. If you convert the dvi ...



Only top voted, non community-wiki answers of a minimum length are eligible