# Tag Info

9

pdfTeX, LuaTeX \pdflastximageages, see the answer of Symbol 1. Remarks: \pdfximage cannot be used in DVI mode. LuaTeX The number of pages can also be retrieved via the epdf Lua library: \documentclass{article} \newcommand*{\pdfnumberofpages}[1]{% \directlua{% local doc = epdf.open("\luatexluaescapestring{#1}") local pages if (doc) then ...

7

Maybe you can use a simple \colorbox: \documentclass[xcolor=svgnames]{beamer} \usepackage[utf8]{inputenc} \usepackage{lmodern} \usepackage{mwe}% to get an example image \setbeamerfont{title}{size=\Huge} \setbeamercolor{background canvas}{bg=black} \setbeamercolor{normal text}{fg=white} \setbeamercolor{title}{fg=white} \setbeamercolor{frametitle}{fg=yellow} ...

5

After \tracingmacros1 with option pages=last-1, it seems like pdfpages uses a feature of pdf(la)tex to get the number. \documentclass{minimal} \begin{document} \pdfximage{test-29.pdf} \the\pdflastximagepages\ pages \end{document}

5

The \url command can be redefined the same way as hyperref. The following example first defines url command \guilurl, which uses single guillemots as angle brackets. Then \url is redefined using \guilurl: \documentclass{article} \usepackage[T1]{fontenc}% \guilsinglleft and \guilsinglright \usepackage{lmodern} \usepackage{amstext} \usepackage{hyperref} ...

4

Use \rput(! \pstnodescale\space 80 80){X}% scales down from pt to bp and it will be correct. It is a problem with the xdvipdfmx config file. Needs some more investigations. With the dvips driver it is ok. If you do not have an up-to-date PSTricks then write also into the preamble \SpecialCoor

4

I suspect the shadowing uses PDF features, which are not available in PostScript. From the documentations, pgf-blur: This effect can be achieved in TikZ/PGF with the circular drop shadow key, And from the PGF manual: In addition to the general shadow option, there exist special options like circular shadow. These can only (sensibly) be used ...

4

Here's a quick bash script to check for instances of RGB colors: #!/bin/sh pdftops $1.pdf -eps$1.eps status=$(grep -o "RGB"$1.eps | wc -l) echo "$status instance(s) of RGB colorspaces found in file$1.eps" exit \$status And a .bat version for Windows: @echo off pdftops %1.pdf -eps %1.eps type %1.eps | find "RGB" /c > __my%1.tmp set /p ...

4

Martin Schröder's answer is entirely correct. The different free distributions use the same software and so should produce the same results. However, different versions of pdfTeX may produce different PDFs. This is not necessarily a matter of quality, though, and I doubt it would make much difference to the printed result. It might, however, make a ...

3

2

I suppose that what you look for is Table of Contents (ToC), which is included by the command \tableofcontents. If you call \usepackage{hyperref} as well, the items in the ToC will be clickable: \documentclass{article} \usepackage{hyperref} \begin{document} \tableofcontents \section{First section} \subsection{Its subsection} \section{Another section} ...

2

Manual additions to the ToC should be accompanied with \phantomsection before the sectioning command is issued, when used in conjunction with hyperref package. \documentclass{book} \usepackage[english]{babel} \usepackage{blindtext} \usepackage[hidelinks,bookmarksopen=true]{hyperref} \begin{document} \tableofcontents \chapter{First} ...

2

A fault in the XREF-table of your PDF seems to be responsible for the problems with XeTeX. You can repair your PDFs with a tool like pdftk: pdftk broken.pdf output repaired.pdf

2

Another option would be to use Pandoc to convert your LaTeX to EPUB. This would be reflowable, and would work on different sized readers without adjustment. Equations are handled quite nicely.

1

To my opinion, dspdfviewer is currently the best choice to be used with latex beamer and notes on a second screen under linux. It covers all features requested by the initial question. I tested it and it works very well, even with different resolutions. Many thanks to Danny Edel.

1

On the moderncv.cls file I removed the baseurl= http:// option under hypersetup and it worked. I'm not sure why but it did.

1

Use of background is a feasible way. Here \newcommand\BackGroundImage[2][1] is defined to take one argument for image and one optional argument for the width of the image. Note: If no margin on the left and right, remove the command option [0.5]. Code \documentclass{article} ...

1

Not sure to understand well what you want. Here is a way of doing what I've grasped, with the titlesec.titleps packages. Using \raisebox and defining a new page style is enough. I suppose it can be adapted to fancyhdr. I aloso loaded the geometry package, with option showframe to visually check the details: \documentclass[12pt, a4paper, twoside]{book}% ...

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