summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-texorpdf.html
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-texorpdf.html')
-rw-r--r--Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-texorpdf.html46
1 files changed, 0 insertions, 46 deletions
diff --git a/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-texorpdf.html b/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-texorpdf.html
deleted file mode 100644
index 84758f910ae..00000000000
--- a/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-texorpdf.html
+++ /dev/null
@@ -1,46 +0,0 @@
-<head>
-<title>UK TeX FAQ -- question label texorpdf</title>
-</head><body>
-<h3>Token not allowed in PDFDocEncoded string</h3>
-<p/>The package <i>hyperref</i> produces this error when it doesn&#8217;t
-know how to make something into a &#8220;character&#8221; that will go into one
-of its PDF entries. For example, the (unlikely) sequence
-<blockquote>
-<pre>
-\newcommand{\filled}[2]{%
- #1%
- \hfil
- #2%
-}
-\section{\filled{foo}{bar}}
-</pre>
-</blockquote><p>
-provokes the error. <i>Hyperref</i> goes on to tell you:
-<blockquote>
-<pre>
-removing `\hfil' on input line ...
-</pre>
-</blockquote><p>
-It&#8217;s not surprising: how would <em>you</em> put the
-typesetting instruction <code>\</code><code>hfil</code> into a PDF bookmark?
-<p/><i>Hyperref</i> allows you to define an alternative for such
-things: the command <code>\</code><code>texorpdfstring</code>, which takes two
-arguments &#8212; the first is what is typeset, the second is what is put
-into the bookmark. For example, what you would probably like in this
-case is just a single space in the bookmark; if so, the erroneous
-example above would become:
-<blockquote>
-<pre>
-\newcommand{\filled}[2]{%
- #1%
- \texorpdfstring{\hfil}{\space}%
- #2%
-}
-\section{\filled{foo}{bar}}
-</pre>
-</blockquote><p>
-and with that definition, the example will compile succesfully
-(<i>hyperref</i> knows about the macro <code>\</code><code>space</code>).
-<p><em>This answer was added: 2009-05-29</em></p>
-<p/><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=texorpdf">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=texorpdf</a>
-</body>