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

Bug#466403: texlive-latex-base: input encodings should work in math mode too



Package: texlive-latex-base
Version: 2007-13
Severity: normal

hi,

consider a piece of LaTeX as  test.tex in attachment ; in this 
I am using the latin1 code 183 to generate the corresponding symbol,
that is a centered dot. Unfortunately, this does not work
in math mode; as you can see in DVI (in attachment as well) 
in math mode it is represented as a \Delta.

The reason is that latin1.def defines the input byte 183 to be simply
\textperiodcentered . The correct way to do that would be to use
  \DeclareInputText{183}{\ifmmode\cdot\else\textperiodcentered\fi}

A similar problem is to be found in many other symbols.

Curiously, the attached test.tex  did work in older versions
of LaTeX, and I had been using it for ~10 years.

a.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages texlive-latex-base depends on:
ii  texlive-base                  2007-13    TeX Live: Essential programs and f
ii  texlive-common                2007-13    TeX Live: Base component

Versions of packages texlive-latex-base recommends:
ii  texlive-latex-base-doc        2007-13    TeX Live: Documentation files for 

Versions of packages tex-common depends on:
ii  debconf                       1.5.19     Debian configuration management sy
ii  ucf                           3.004      Update Configuration File: preserv

Versions of packages texlive-latex-base is related to:
pn  tetex-base                    <none>     (no description available)
pn  tetex-bin                     <none>     (no description available)
pn  tetex-extra                   <none>     (no description available)
ii  tex-common                    1.10       common infrastructure for building

-- debconf information excluded
\documentclass{article}
\usepackage{inputenc}
\inputencoding{latin1}
\begin{document}
a single centered dot is �
and a scalar product is $v � w$
\end{document}


Attachment: test.dvi
Description: TeX dvi file


Reply to: