# [OS X TeX] Weird behavior

Alain Schremmer Schremmer.Alain at verizon.net
Sat Aug 14 21:49:42 EDT 2004

(1) After I read Goedde's post, I got maybe ten of those weirdos (I
merrily trashed the aux file) but this had nothing to do with dragging
a graphics. (I just did one right now to see and nothing happened.)

These weirdos kept happening in one particular situation. So, here it
is should someone wish to pursue the matter. I had the following table
but without the $$: \begin{center} \begin{tabular}{@{} ccccc @{}}\label{Table} %Row0 ð & ð & 3 \denom{foot} & \& & 1 \denom{inch} \\ %Row1 ð & \times & 2 \denom{foot} & \& & 2 \denom{inch} \\ \midrule %Row2 ð & ð & \cellcolor[gray]{0.9}6 \denom{Inch}$$\times$$\denom{Foot} & \& & 2 \denom{Inch}$$\times$$\denom{Inch} \\ %Row3 6 \denom{Foot}$$\times$$\denom{Foot} & \& & \cellcolor[gray]{0.9}2 \denom{Foot}$$\times$$\denom{Inch} & ð & ð \\ \midrule \vspace{2mm} %Row4 6 \denom{Foot}$$\times$$\denom{Foot} & \& & \cellcolor[gray]{0.9}8 \denom{Foot}$$\times$$\denom{Inch} & \& & 2 \denom{inch}\times\denom{Inch} \\ \vspace{2mm} %Row5 ð & ð & or & ð & ð \\ %Row6 6 \denom{Foot}$$\times$$\denom{Foot} & \& & \cellcolor[gray]{0.9}8 \denom{Inch}$$\times$$\denom{Foot} & \& & 2 \denom{inch}$$\times$$\denom{Inch} \\ \end{tabular} \end{center} Now I wanted to have the same table but with \denom{Meter} instead of \denom{Inch} and \scbf{D}{EKA}\denom{Meter} instead of \denom{Foot}. So, I copied the above table and proceeded with the replacement. Of course I made typing mistakes and TeX wouldn't compile but as soon as I caught the mistake, if it would usually compile, some times it went "weird". Then, after it did work, I put in the$$ to prevent TeX to put spaces
around the "x". Again, I made typing mistakes and again, sometimes TeX
would recover sometimes it wouldn't.
Then I put in the  in the original table for consistency with the
same results.

Also, other than the time with dragging the figure, the first two times
it happened also had to do with \$.

Once again I am grateful to all and in particular, this time, to Goedde
and Neary. Thanks.

Regards
--schremmer

I got a whole lot of
On Aug 14, 2004, at 1:00 AM, Hugh Neary wrote:

> Alain Schremmer wrote:
>
>> I once mentioned a talent I have which is to bring banks to a
>> standstill.
>>
>> It seems it occasionally extends to TeXshop. I will do something
>> rather
>> innocuous like dragging a pdf graphics into a source file. TeXshop
>> dutifully wraps it as
>>
>> %\includegraphics[]{Figures/04_07.pdf}
>>
>> But then, it won't typeset. The console runs amok, I have to force
>> quit
>> TeXshop and, after that, when I try to typeset again, it gives a
>> message (which, since TeXshop is stuck, I cannot just copy/paste here.
>> Is that on purpose?) ending with
>
> I don't know if this is the same issue. Sometimes I find that the .aux
> file gets corrupted in TeXShop and then typesetting becomes
> impossible, with the console typically giving something like you
> describe
>
>> !File ended while scanning use of \@writefile
>> <inserted text>
>> \par
>> 1.69 \begin{document}
>> 			%begin{document}(that's something I have to flag it in red.)
>> ?
>>
>
> Simple trouble-shooting tricks like putting \end{document} somewhere
> in the file previous to where the trouble began don't help since the
> error message comes back no matter what.
>
> A solution is to simply trash the .aux file and then re-typeset. A new
> trouble-free .aux file is created automatically. This seems to be
> effectively what you are doing, by cutting and pasting to a new file
> which automatically generates a new .aux file when you typeset.
>
> Hope this helps (to quote a very helpful member of the list)
>
> Hugh Neary
>
> --------------------- Info ---------------------
> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
>           & FAQ: http://latex.yauh.de/faq/
> TeX FAQ: http://www.tex.ac.uk/faq
> List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>
>
>
--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
& FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>