[pdftex] Sophiscticated error

Ross Moore ross at ics.mq.edu.au
Sun Feb 17 08:28:06 CET 2008


Hello Aleks,

On 17/02/2008, at 5:29 PM, Aleks Kleyn wrote:

> Nobody answered this message. However I think there exist way to  
> debug such
> error. After long break I return to the problem and even this is  
> not easy
> task I started from A.aux. At the end of file I found the text
>
> \@writefile{lot}{\contentsline {table}{\numberline {10.1} 
> {\ignorespaces
> Doppler shift on the Earth of a wave emitted from S2; mass of Sgr A is
> $4.1_{10}6 M_\odot $ \def endCite{Ghez}]\def
> [{[}endCite,}}{18}{table.English.10.1}}
>
> which was the source of error. Original text is
>
> \begin{table}[h]
> \caption{Doppler shift on the Earth of a wave emitted from S2;
> mass of Sgr A is $4.1_{10}6 M_\odot$ \citeBib{Ghez}}

Try  \protect\citeBib .

This is a LaTeX issue, unrelated to  pdfTeX .



> \label{table:DShift1S2}
> \begin{tabular}{|c|c|c|}
> \hline
> &pericentre&apocentre\\
> \hline
> distance cm&$1.868_{10}15$&$2.769_{10}16$\\
> \hline
> \end{tabular}
>
> Difference between two measurements of wavelength is $13.098\AA$
> \end{table}
>
> Where \citebib is part of the code
>
> \def\StartCite{[}%l
> \def\citeBib#1{\showCiteBib#1,endCite,}%
> \def\endCite{endCite}%
> \def\showCiteBib#1,{\def\temp{#1}%
> \ifx\temp\endCite
> ]%
> \def\StartCite{[}%
>
> As soon as I commented caption the error in B.tex disappeared. Two  
> questions
> arise
>
> How I can find such errors in future?

Experience.

Whenever there is untoward stuff in the  .aux  file,
you probably forgot to use \protect .

>
> Why caption appeared in A.aux when I never use it in \ref macro
>
>
> Aleks Kleyn
> http://www.geocities.com/aleks_kleyn


Hope this helps,

	Ross

------------------------------------------------------------------------
Ross Moore                                         ross at maths.mq.edu.au
Mathematics Department                             office: E7A-419
Macquarie University                               tel: +61 +2 9850 8955
Sydney, Australia  2109                            fax: +61 +2 9850 8114
------------------------------------------------------------------------




More information about the pdftex mailing list