[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#456221: texlive-latex-base: does not accept some useful UTF-8 characters



On Mon, Dec 24, 2007 at 16:26 +0100, Hilmar Preusse wrote:
> On 13.12.07 Laurent Bonnaud (bonnaud@lis.inpg.fr) wrote:
> > Other characters are concerned (do you need a list ?).
> > 
> Yes please. We'll care then what to do with the problem in question.
> I'm not sure if this is a missing feature or a bug.

It is partly missing documentation. In order to use UTF-8 encoded
stuff, you have to enable the propper font encodings. In the present
case this means that you have to load textcomp.sty, which then enables
TS1 encoding:

\documentclass{report}
\usepackage[T1]{fontenc}
\usepackage{textcomp}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\begin{document}
To convert from °C to °F, the following formula can be used:
\end{document}


lmodern.sty is only used because it provides the best T1/TS1-encoded,
CM-like fonts. 

This way has the advantage that the actual degree-sign from the font
is used instead of something like $^{\circ}$.

cheerio
ralf



Reply to: