Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
Prochaine révision Les deux révisions suivantes
2_programmation:erreurs:t:token_not_allowed_in_pdfdocencoded_string [2018/06/03 13:15]
samcarter
2_programmation:erreurs:t:token_not_allowed_in_pdfdocencoded_string [2018/12/04 00:35]
jejust
Ligne 1: Ligne 1:
---- +====== Token not allowed in PDFDocEncoded string ======
-title: Token not allowed in PDFDocEncoded string +
-category: errors +
-permalink: /FAQ-texorpdf +
-date: 2014-06-10 +
----+
  
-The package [`hyperref`](https://ctan.org/pkg/hyperrefproduces this error when it doesn't+ 
 +The package [[ctanpkg>hyperref|hyperref]] produces this error when it doesn't
 know how to make something into a "character" that will go into one know how to make something into a "character" that will go into one
 of its PDF entries.  For example, the (unlikely) sequence of its PDF entries.  For example, the (unlikely) sequence
-<!-- {% raw %} --> + 
-```latex+ 
 +<code latex>
 \newcommand{\filled}[2]{% \newcommand{\filled}[2]{%
   #1%   #1%
Ligne 17: Ligne 14:
 } }
 \section{\filled{foo}{bar}} \section{\filled{foo}{bar}}
-``` +</code> 
-<!-- {% endraw %} --+ 
-provokes the error.  [`Hyperref`](https://ctan.org/pkg/Hyperrefgoes on to tell you: +provokes the error.  [[ctanpkg>Hyperref|Hyperref]] goes on to tell you: 
-```latex+ 
 +<code latex>
 removing `\hfil' on input line ... removing `\hfil' on input line ...
-``` +</code> 
-It's not surprising: how would _you_ put the +It's not surprising: how would //you// put the 
-typesetting instruction `\hfilinto a PDF bookmark?+typesetting instruction ''\hfil'' into a PDF bookmark?
  
-[`Hyperref`](https://ctan.org/pkg/Hyperrefallows you to define an alternative for such +[[ctanpkg>Hyperref|Hyperref]] allows you to define an alternative for such 
-things: the command `\texorpdfstring`, which takes two +things: the command ''\texorpdfstring'', which takes two 
-arguments&nbsp;&mdash; the first is what is typeset, the second is what is put+arguments --- the first is what is typeset, the second is what is put
 into the bookmark.  For example, what you would probably like in this 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 case is just a single space in the bookmark; if so, the erroneous
 example above would become: example above would become:
-<!-- {% raw %} --> + 
-```latex+ 
 +<code latex>
 \newcommand{\filled}[2]{% \newcommand{\filled}[2]{%
   #1%   #1%
Ligne 40: Ligne 39:
 } }
 \section{\filled{foo}{bar}} \section{\filled{foo}{bar}}
-``` +</code> 
-<!-- {% endraw %} -->+
 and with that definition, the example will compile succesfully and with that definition, the example will compile succesfully
-([`hyperref`](https://ctan.org/pkg/hyperrefknows about the macro `\space`).+([[ctanpkg>hyperref|hyperref]] knows about the macro ''\space''). 
 + 
 + 
 +----- 
 + 
 +//Source:// [[faquk>FAQ-texorpdf|Token not allowed in PDFDocEncoded string]]
  
 +{{htmlmetatags>metatag-keywords=(LaTeX,errors)
 +metatag-og:title=(Token not allowed in PDFDocEncoded string)
 +metatag-og:site_name=(FAQ LaTeX francophone)
 +}}
  
2_programmation/erreurs/t/token_not_allowed_in_pdfdocencoded_string.txt · Dernière modification: 2021/04/10 08:47 de yannick.tanguy
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0