[Tutkielma-TeX] gradu2.cls updated - IMPORTANT CHANGES

Matthieu Weber mweber at mit.jyu.fi
Sat Apr 29 11:32:37 EEST 2006


On Sat 29.04.2006 at 09:00:08AM +0300, Tero Tilus wrote:
> 2006-04-27 16:43, Matthieu Weber:
> > gradu2.cls has be updated and the current version number is 2.0.
> 
> I have euro symbol here and there and I got
> 
>   ! LaTeX Error: Command \texteuro unavailable in encoding T1.
> 
> With gradu2.cls v1.50 it worked fine.  I updated gradu2.cls and loaded
> hyperref as you suggested and got that complaint.  I had
> 
>   \documentclass[finnish,latin9]{gradu2}
>   ...
>   \usepackage{eurosym}\renewcommand{\texteuro}{\euro{}}
>   ...
>   \ifpdf
>     \usepackage[pdftex]{hyperref}
>   \else
>     \RequirePackage[hypertex]{hyperref}
>   \fi
> 
> Moving \renewcommand{\texteuro}{\euro{}} after hyperref worked.  No
> idea why (hyperref messing with \texteuro?), but it did.  I haven't
> tested if it was _only_ a matter of hyperref after \texteuro.

hyperref redefines \texteuro in PD1 and PU encodings, but that
shouldnt affect T1 encoding. I'll look more into it on Monday.

Matthieu
-- 
 (~._.~)        Matthieu Weber - Université de Jyväskylä         (~._.~)
  ( ? )                email : mweber at mit.jyu.fi                  ( ? ) 
 ()- -()               public key id : 452AE0AD                  ()- -()
 (_)-(_)  "Humor ist, wenn man trotzdem lacht (Germain Muller)"  (_)-(_)




More information about the Tutkielma-TeX mailing list