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

Bug#195711: babel/3533: Invalid "bulgarian.ldf"



Hilmar,

 > >Description:
 > Description of bug:
 > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=195711
 > Remark: The non-ASCII-character in t1.tex has the ASCII-code F7.

this isn't quite what i consider a proper bug report, even if one can fight
ones way through your link (code there isn't even cut and paste-able due to
the 8bit problems ...

never mind

problem with t1.tex:

bugarian.ldf contains:

\begingroup \catcode`\"12
\def\reserved@a{\endgroup
  \def÷ÂSS{\mathchar"7019}
%     ^^  some 8bit rubbish that should have been \@    
  \def\dq{"}}
\reserved@a

God knows why and when that got introduced.


problem with t2.tex:

there is simply a closing brace missing so that the definition of \@alph@eng
carries on until TeX finally sees a #2 (from some other macro) and complains

means that nobody ever used that file together with X2 (since only then that
part is ever executed).

and the contributing author can't have tested that either :-)


so here is a temp fix for testing (but notfor distribution yet)

time to turn into a pumpkin

frank

frank@istrati:~/tmp > diff -c /ultrix/texlive2003/texmf/tex/generic/babel/bulgarian.ldf bulgarian.ldf
*** /ultrix/texlive2003/texmf/tex/generic/babel/bulgarian.ldf   Sun May 25 16:13:15 2003
--- bulgarian.ldf       Sat Jun 14 00:26:57 2003
***************
*** 17,24 ****
  %% It may be distributed under the terms of the LaTeX Project Public
  %% License, as described in lppl.txt in the base LaTeX distribution.
  %% Either version 1.2 or, at your option, any later version.
! \ProvidesLanguage{bulgarian}
!           [2001/01/30 v1.0b Bulgarian support from the babel system]
  %% File `bulgarian.dtx'
  %% Babel package for LaTeX version 2e
  %% Copyright (C) 1989-2001
--- 17,25 ----
  %% It may be distributed under the terms of the LaTeX Project Public
  %% License, as described in lppl.txt in the base LaTeX distribution.
  %% Either version 1.2 or, at your option, any later version.
! \ProvidesLanguage{bulgarian-fixed}
!           [2001/01/30 v1.0b Bulgarian support from the babel system
!         -tmp fix by FMi 2003/06/14 not for general distribution]
  %% File `bulgarian.dtx'
  %% Babel package for LaTeX version 2e
  %% Copyright (C) 1989-2001
***************
*** 99,105 ****
    \def\@alph@eng#1{{\fontencoding{\latinencoding}\selectfont
        \ifcase#1\or a\or b\or c\or d\or e\or f\or g\or h\or i\or j\or
        k\or l\or m\or n\or o\or p\or q\or r\or s\or t\or u\or v\or w\or
!       x\or y\or z\else \@ctrerr\fi}
    \let\@Alph\@Alph@eng
    \let\@alph\@alph@eng
    \DeclareTextSymbolDefault{\AA}{OT1}
--- 100,106 ----
    \def\@alph@eng#1{{\fontencoding{\latinencoding}\selectfont
        \ifcase#1\or a\or b\or c\or d\or e\or f\or g\or h\or i\or j\or
        k\or l\or m\or n\or o\or p\or q\or r\or s\or t\or u\or v\or w\or
!       x\or y\or z\else \@ctrerr\fi}}
    \let\@Alph\@Alph@eng
    \let\@alph\@alph@eng
    \DeclareTextSymbolDefault{\AA}{OT1}
***************
*** 215,221 ****
    \bbl@deactivate{"}}
  \begingroup \catcode`\"12
  \def\reserved@a{\endgroup
!   \def^^f7^^c2SS{\mathchar"7019}
    \def\dq{"}}
  \reserved@a
  \declare@shorthand{bulgarian}{"`}{\glqq}
--- 216,222 ----
    \bbl@deactivate{"}}
  \begingroup \catcode`\"12
  \def\reserved@a{\endgroup
!   \def\@SS{\mathchar"7019}
    \def\dq{"}}
  \reserved@a
  \declare@shorthand{bulgarian}{"`}{\glqq}



Reply to: