[texhax] footnote with url

Robert Wilson millstadtf at gmail.com
Fri Apr 3 19:26:18 CEST 2009


Hello Sir,
   Firstly, be sure you are using the url package or equivalent. Secondly,
be sure to escape all special characters: % in this case, which is LaTeX's
comment character. Try this:

This is a test.\footnote{\url{
http://www.teledyne-si.com/infrared_visible_fpas/Teledyne
\%20Imaging\%20Sensor\%20-\%20Infrared\%20SPIE\%20Paper\%20_7021-20_.pdf}}

where you will note I preceded each % with a backslash.

Happy TeXing!
-Bob Wilson

On Fri, Apr 3, 2009 at 10:18 AM, Mohamed HOUSSNI <
mohamed.houssni at e-press.co.ma> wrote:

> Boris Veytsman a écrit :
>
> >MH> Date: Fri, 03 Apr 2009 15:46:44 +0000
> >MH> From: Mohamed HOUSSNI <mohamed.houssni at e-press.co.ma>
> >
> >MH> Dear list,
> >
> >MH> Please can you help to solve a problem with an \url inserting in a
> >MH> footnte command which contains some special characters. For example :
> >
> >MH> \footnote{\url{
> http://www.teledyne-si.com/infrared_visible_fpas/Teledyne%20Imaging%20Sensor%20-%20Infrared%20SPIE%20Paper%20_7021-20_.pdf
> }}
> >
> >\urldef\fancy\url{
> http://www.teledyne-si.com/infrared_visible_fpas/Teledyne%20Imaging%20Sensor%20-%20Infrared%20SPIE%20Paper%20_7021-20_.pdf
> }
> >
> >
> >aaa\footnote{\fancy}
> >
> >
> >
> Thanks for your response.
>
> I try this but it does not compile. It gives me the following error
>
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%
>
> ! Extra }, or forgotten \endgroup.
> \sbox ...hbox {\color at setgroup #2\color at endgroup }
>
> l.181 ...0Infrared%20SPIE%20Paper%20_7021-20_.pdf}
>
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>
> Thanks a lot
>
> --
> -------------------
> Dr. Mohamed Houssni
> Responsable d'Edition
> e-Press,
> 34, Rue Mustapha El Manfalouti
> Quartier Gauthier
> Casablanca - Maroc
> Phone : 212 (0)22 26 23 21
> Fax   : 212 (0)22 26 80 84
>
> _______________________________________________
> TeX FAQ: http://www.tex.ac.uk/faq
> Mailing list archives: http://tug.org/pipermail/texhax/
> More links: http://tug.org/begin.html
>
> Automated subscription management: http://tug.org/mailman/listinfo/texhax
> Human mailing list managers: postmaster at tug.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/texhax/attachments/20090403/004d9126/attachment.html 


More information about the texhax mailing list