Re: Mathfrak-bug?

2002-11-26 Thread Robin Fairbairns
> Thanks, I reported it to AMS but maybe that was not the right place. 
> Where should I report the bug?

how did you report it?  i recall seeing a discussion of the problem on
one of the latex project internal lists, but that would only happen if
you had reported it to latexbugs/amslatex, or if michael downes had
passed it on to us.

maybe i'm just hallucinating...

r



Re: Mathfrak-bug?

2002-11-05 Thread Martin Schroeder
On 2002-11-05 09:43:15 +0100, Erik Frisk wrote:
> Thanks, I reported it to AMS but maybe that was not the right place. 
> Where should I report the bug?

File a LaTeX bug with the category amslatex.

Best regards
Martin
-- 
http://www.tm.oneiros.de



Re: Mathfrak-bug?

2002-11-05 Thread Robin Fairbairns
> Thanks, I reported it to AMS but maybe that was not the right place. 
> Where should I report the bug?

the ams is as good a place as any, for getting the bug fixed.

however, if you'd reported it via the latex bugs system, it would (a)
have been immediately forwarded to the ams, and (b) have been there
for people to look at and (in principle) realise it doesn't need
reporting again.

r



Re: Mathfrak-bug?

2002-11-05 Thread Erik Frisk
Thanks, I reported it to AMS but maybe that was not the right place. 
Where should I report the bug?

/Erik

-
Erik Friskemail: [EMAIL PROTECTED]
Dept. of Electrical Engineering tel:+46 13 285714
Linköping Universityfax:+46 13 282035
S-581 83 Linköping
SWEDEN   www.fs.isy.liu.se/~frisk
-




Re: Mathfrak-bug?

2002-11-04 Thread Vladimir Volovich
Hi,

Debugging shows that this bug is in amslatex, and more specifically,
in the files amsmath.sty and amsgen.sty, where they mess around redefining
the \@ifnextchar command (i don't know why they want to do that).

if you insert this into the document (e.g. just after the \begin{document}):
\makeatletter
\let\new@ifnextchar\@ifnextchar
\let\new@ifnch\@ifnch
\makeatother
then error will disappear...

Please report this to LaTeX bug tracking system (as an AMSLaTeX bug),
so they can fix the bug.

Best,
v.

On Mon, 04 Nov 2002 10:59:35 +0100
 Harald Hanche-Olsen <[EMAIL PROTECTED]> wrote:
> + Erik Frisk <[EMAIL PROTECTED]>:
> 
> | below is a document that fails with teTeX-beta 20020530 (unfortunately I
> | have no possibility to try the latest beta). There seem to be some
> | problems with \mathfrak and AMSfonts since the text
> | [2002/01/19v2.2gAMSfontdefinitions] appears in the middle of the matrix.
> 
> That seems to be a genuine AMSfonts bug, and as such has nothing to do
> with teTeX.  FWIW, I see the same problem with teTeX beta-20021029.
> 
> The first occurence of \mathfrak triggers the loading of a font
> description file.  This happens within a matrix environment, and
> that environment (like so many AMSmath environments) is quite
> complex.  I guess it reads its contents and tries to expand macros
> along the way, and that plays havoc with the file inclusion.
> 
> A workaround is to use \mathfrak before you get to the matrix
> environment.  For example, use it in a throwaway box:
> 
> \setbox0\hbox{$\mathfrak{a}$}
> 
> (before \begin{document} is fine).  Then the problem goes away.
> 
> But you might wish to report this to the AMSfonts maintainers as well.
> 
> - Harald




Re: Mathfrak-bug?

2002-11-04 Thread Harald Hanche-Olsen
+ Erik Frisk <[EMAIL PROTECTED]>:

| below is a document that fails with teTeX-beta 20020530 (unfortunately I
| have no possibility to try the latest beta). There seem to be some
| problems with \mathfrak and AMSfonts since the text
| [2002/01/19v2.2gAMSfontdefinitions] appears in the middle of the matrix.

That seems to be a genuine AMSfonts bug, and as such has nothing to do
with teTeX.  FWIW, I see the same problem with teTeX beta-20021029.

The first occurence of \mathfrak triggers the loading of a font
description file.  This happens within a matrix environment, and
that environment (like so many AMSmath environments) is quite
complex.  I guess it reads its contents and tries to expand macros
along the way, and that plays havoc with the file inclusion.

A workaround is to use \mathfrak before you get to the matrix
environment.  For example, use it in a throwaway box:

\setbox0\hbox{$\mathfrak{a}$}

(before \begin{document} is fine).  Then the problem goes away.

But you might wish to report this to the AMSfonts maintainers as well.

- Harald



Mathfrak-bug?

2002-11-02 Thread Erik Frisk
Hi,

below is a document that fails with teTeX-beta 20020530 (unfortunately I
have no possibility to try the latest beta). There seem to be some
problems with \mathfrak and AMSfonts since the text
[2002/01/19v2.2gAMSfontdefinitions] appears in the middle of the matrix.

I tested this with the MikTeX-distribution I am currently "stuck" with and
it shows the same problem. TeTeX 1.0, 1.0.7, and beta 2001-12-18 all
compiled the document without problems.

Is this fixed in the latest beta or something new?

Regards, 

Erik

==
\documentclass[a4paper]{book}
\usepackage{amsmath}
\usepackage{amssymb}
\begin{document}
\setcounter{MaxMatrixCols}{11}
\newcommand{\Lpar}[3]{\begin{picture}(0,0)\put(#1,#2){\makebox[0mm]{$\left(\rule{0mm}{#3pt}\right.$}}\end{picture}}
\newcommand{\Rpar}[3]{\begin{picture}(0,0)\put(#1,#2){\makebox[0mm]{$\left.\rule{0mm}{#3pt}\right)$}}\end{picture}}
\begin{equation*}
  \mathbf{G}^{-1} = \phantom{=}
  \begin{matrix}
\mathfrak{a} &  &  &  & \mathfrak{e} & \mathfrak{e} & \mathfrak{e} &
&  &  & 1 \\
   & \mathfrak{b} &&&&&&&&  & x \\
   && \mathfrak{b} &&&&&&&  & y \\
   &&& \mathfrak{b} &&&&&&  & z \\
\mathfrak{e} &&&& \mathfrak{c} &&&&&  &
x^2 \\
\Lpar{-5}{6}{63}\mathfrak{e} &&&&& \mathfrak{c} &&
   && \phantom{\mathfrak{d}}\Rpar{5}{6}{63} & y^2 \\
\mathfrak{e} &&&&&& \mathfrak{c} &&&  &
z^2 \\
   &&&&&&& \mathfrak{d} &&  & xy  \\
   &&&&&&&& \mathfrak{d} &  & xz \\
   &&&&&&&&& \mathfrak{d} & yz \\
  1 & x & y & z & x^2 & y^2 & z^2 & xy & xz & yz & \\
  \end{matrix}
\end{equation*}
\end{document}


-
Erik Friskemail: [EMAIL PROTECTED]
Dept. of Electrical Engineering tel:+46 13 285714
Linköping Universityfax:+46 13 282035
S-581 83 Linköping
SWEDEN   www.fs.isy.liu.se/~frisk
-