In texinfo.tex Revision 1.306 (the latest from CVS) there's a problem
where tex goes into an infinite loop with a right quote character (')
inside math-mode @tex regions.

Sample file is attached, with log file (the error location is shown
from hitting C-c in the infinite loop). 

The problem does not occur with texinfo-4.13.  Sorry I'm not a
sufficient Texpert to suggest any solution.

\input texinfo

@tex
$$
  F_L'(\eta,x) = fcp[k_L] * \exp(exp_F)
$$
@end tex

@bye

This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) (format=etex 2009.12.11) 
 11 FEB 2010 10:52
entering extended mode
 file:line:error style messages enabled.
 %&-line parsing enabled.
**./quotebug.texi
(./quotebug.texi (./texinfo.tex Loading texinfo [version 2009-08-14.15]:
\bindingoffset=\dimen16
\normaloffset=\dimen17
\pagewidth=\dimen18
\pageheight=\dimen19
\outerhsize=\dimen20
\outervsize=\dimen21
\cornerlong=\dimen22
\cornerthick=\dimen23
\topandbottommargin=\dimen24
\headlinebox=\box16
\footlinebox=\box17
\margin=\insert252
\EMsimple=\toks13
\groupbox=\box18
\groupinvalidhelp=\toks14
\mil=\dimen25
\exdentamount=\skip18
\inmarginspacing=\skip19
 pdf,
\tempnum=\count27
\lnkcount=\count28
\filename=\toks15
\filenamelength=\count29
\pgn=\count30
\toksA=\toks16
\toksB=\toks17
\toksC=\toks18
\toksD=\toks19
\boxA=\box19
\countA=\count31
\nopdfimagehelp=\toks20

fonts,
\sffam=\fam8
\textleading=\dimen26
 markup,
\fontdepth=\count32
 glyphs,
\errorbox=\box20
 page headings,
\titlepagetopglue=\skip20
\titlepagebottomglue=\skip21
\evenheadline=\toks21
\oddheadline=\toks22
\evenfootline=\toks23
\oddfootline=\toks24
 tables,
\tableindent=\dimen27
\itemindent=\dimen28
\itemmargin=\dimen29
\itemmax=\dimen30
\itemno=\count33
\multitableparskip=\skip22
\multitableparindent=\skip23
\multitablecolspace=\dimen31
\multitablelinespace=\skip24
\colcount=\count34
\everytab=\toks25
 conditionals,
\doignorecount=\count35
 indexing,
\whatsitskip=\skip25
\whatsitpenalty=\count36
\secondaryindent=\skip26
\partialpage=\box21
\doublecolumnhsize=\dimen32

sectioning,
\unnumberedno=\count37
\chapno=\count38
\secno=\count39
\subsecno=\count40
\subsubsecno=\count41
\appendixno=\count42
\absseclevel=\count43
\secbase=\count44
\chapheadingskip=\skip27
\secheadingskip=\skip28
\subsecheadingskip=\skip29
 toc,
\tocfile=\write0
\contentsrightmargin=\skip30
\savepageno=\count45
\lastnegativepageno=\count46
\tocindent=\dimen33
 environments,
\lispnarrowing=\skip31
\envskipamount=\skip32
\circthick=\dimen34
\cartouter=\dimen35
\cartinner=\dimen36
\normbskip=\skip33
\normpskip=\skip34
\normlskip=\skip35
\lskip=\skip36
\rskip=\skip37
\nonfillparindent=\dimen37
\tabw=\dimen38
 defuns,
\defbodyindent=\skip38
\defargsindent=\skip39
\deflastargmargin=\skip40
\defunpenalty=\count47
\parencount=\count48
\brackcount=\count49
 macros,
\paramno=\count50
\macname=\toks26
 cross references,
\auxfile=\write1
\savesfregister=\count51
 insertions,
\footnoteno=\count52
\SAVEfootins=\box22
\SAVEmargin=\box23
\noepsfhelp=\toks27

localization,
\nolanghelp=\toks28
\countUTFx=\count53
\countUTFy=\count54
\countUTFz=\count55
 formatting,
\defaultparindent=\dimen39
 and turning on texinfo input format.)
./quotebug.texi:5: Interruption.
l.5   F_L'
          (\eta,x) = fcp[k_L] * \exp(exp_F)
? x
No pages of output.

Reply via email to