Re: TeX capacity exceeded

1999-08-21 Thread Lars Gullik Bjønnes

"Kayvan A. Sylvan" <[EMAIL PROTECTED]> writes:

| Hi folks,
| 
| Trying to add a table with 6 columns, I get the following in my log
| file:
| 
|   ! TeX capacity exceeded, sorry [input stack size=300].
|   |->\begingroup \let |
|=\endgroup \trigger@pieces 
|   l.106 {\centering \begin{tabular}{|l|l|l|l|l|l|}
| 
|   If you really absolutely need more capacity,
|   you can ask a wizard to enlarge me.
| 
| How do I "enlarge" TeX? Can anyone help me out here?

I don't believe that this is what's wrong. Can you make a minimal lyx
document that shows this behaviour?
(do you include graphics?)

Lgb



Re: TeX capacity exceeded

1999-08-21 Thread Kayvan A. Sylvan

On Sun, Aug 22, 1999 at 02:42:51AM +0200, Lars Gullik Bjønnes wrote:
> "Kayvan A. Sylvan" <[EMAIL PROTECTED]> writes:
> 
> | Hi folks,
> | 
> | Trying to add a table with 6 columns, I get the following in my log
> | file:
> | 
> | ! TeX capacity exceeded, sorry [input stack size=300].
> | |->\begingroup \let |
> |  =\endgroup \trigger@pieces 
> | l.106 {\centering \begin{tabular}{|l|l|l|l|l|l|}
> | 
> | If you really absolutely need more capacity,
> | you can ask a wizard to enlarge me.
> | 
> | How do I "enlarge" TeX? Can anyone help me out here?
> 
> I don't believe that this is what's wrong. Can you make a minimal lyx
> document that shows this behaviour?
> (do you include graphics?)

You're right. That's not the problem. The problem has something to do
with the chess.sty file I'm using.

I can reproduce the problem in the attached minimal lyx file, with the
LaTeX preamble as included. If I take off the LaTeX preamble, it works
correctly (but of course I want the chess.sty style file loaded).

Can one of you more TeX-guruish people look at the chess.sty file and
see if you can tell me what the problem is?

Thanks very much for taking a look at this.

I've attached my lyx file and the chess.sty file. If you want to install
the chess.sty and fonts on Redhat 6.0, you can download my RPM from
my site at ftp://ftp.sylvan.com/pub/chess/tetex-chess-1.2-1.i386.rpm

---Kayvan
-- 
Kayvan Aghaiepour Sylvan  | Proud husband of  | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan |   | Robin Gregory (2/28/92)


#This file was created by  Sun Aug 22 00:37:17 1999
#LyX 1.0 (C) 1995-1999 Matthias Ettrich and the LyX Team
\lyxformat 2.15
\textclass article
\begin_preamble
\makeatletter
\input chess.sty
\makeatother
\end_preamble
\language default
\inputencoding default
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Title

Blah Blah Blah
\layout Standard
\added_space_top 0.3cm \added_space_bottom 0.3cm \align center \LyXTable
multicol5
8 6 0 0 -1 -1 -1 -1
1 0 0 0
1 0 0 0
1 0 0 0
1 0 0 0
1 0 0 0
1 0 0 0
1 0 0 0
1 1 0 0
2 1 0 "" ""
2 1 0 "" ""
2 1 0 "" ""
2 1 0 "" ""
2 1 0 "" ""
2 1 1 "" ""
0 2 1 0 0 0 0 "" ""
0 2 1 0 0 0 0 "" ""
0 2 1 0 0 0 0 "" ""
0 2 1 0 0 0 0 "" ""
0 2 1 0 0 0 0 "" ""
0 2 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""


\newline 

\newline 

\newline 

\newline 

\newline 

\newline 

\newline 

\newline 

\newline 

\newline 

\newline 

\newline 

\newline 

\newline 

\newline 

\newline 

\newline 

\newline 

\newline 

\newline 

\newline 

\newline 

\newline 

\newline 

\newline 

\newline 

\newline 

\newline 

\newline 

\newline 

\newline 

\newline 

\newline 

\newline 

\newline 

\newline 

\newline 

\newline 

\newline 

\newline 

\newline 

\newline 

\newline 

\newline 

\newline 

\newline 

\newline 

\the_end


%
% chess.sty
% -
% Style file for writing about chess games
% Author : Piet Tutelaers (internet: [EMAIL PROTECTED])
% Version: 1.2 (Febr. 1992)
%Improvements over version 1.1
% - added `\v{S}ahovski Informator' symbols
% -`en passant capture' bug fixed (reported by Jonathan Mestel)
% -change {--} into \hbox{--} to prevent hyphenation within move
% -\move's lined up on last row (or digit in case of castling)
% -handling of promotion improved
%   * Black promotion problem solved (plain TeX)
%   * comment allowed also with promotion
%   * if no promotion piece is provided a default Q(ueen) is supposed
% Thanks to: Jan Jaap Spreij ([EMAIL PROTECTED])
% -improved interface to plain TeX
% -language support using the babel package from Johannes Braams
%  (currently support for english, dutch, german and french but you
%   can add an extra language `foreign' by:

Re: TeX capacity exceeded [Answered my own question]

1999-08-22 Thread Kayvan A. Sylvan

On Sun, Aug 22, 1999 at 12:45:29AM -0700, Kayvan A. Sylvan wrote:
> 
> You're right. That's not the problem. The problem has something to do
> with the chess.sty file I'm using. [...]
> 

Okay... Urgh... I figured it out.

Pilot error.

Comments within chess.sty provide my answer:

%
% Provide a `nochess' environment in which the `|' character becomes
% inactive for situations where the `|' is already in use (like in
% the LaTeX `tabular' environment for example).
%

Duh.

Enclosing the table within a TeX \begin{nochess} ... \end{nochess} fixed
the problem.

:-)

Sorry to bother you all with the silly question.

---Kayvan
---
Kayvan Aghaiepour Sylvan  | Proud husband of  | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan |   | Robin Gregory (2/28/92)