[OS X TeX] Lost floats
Ross Moore
ross.moore at mq.edu.au
Wed Aug 20 23:17:37 CEST 2014
Hi Zbigniew,
On 21/08/2014, at 6:47 AM, Nitecki, Zbigniew H. wrote:
> At least to answer one question:
>> \newcommand{\of}[2]{\ensuremath{#1\!\left(#2\right)}}%function of
> Here is the content of the console after a TeXShop run which elicited lost floats (and was then finished by ignoring all further errors).
> I am not sure where/how to look for a log file.
It is in the same directory as your job, with ending .log
It contains extra information in addition to what goes to the console window.
But the console messages may be enough.
>
> The idea that there is a space issue makes some sense, since my latest problem is that uncommenting one line of text (no macros, no symbols, just straight text) "disappears" the floats.
Yes. And it is supported by these "too large" messages :
>> ### This is /usr/texbin/simpdftex, Version 20070809
>> ### /usr/texbin/latex CalcThree14.tex
>> [198]) (./deriv14.ex.tex [199]
>> Overfull \hbox (2.53378pt too wide) in paragraph at lines 9--9
>> []$[]$
>>
>> Overfull \hbox (9.03145pt too wide) in paragraph at lines 12--12
>> []$[]$
>>
>> Overfull \hbox (40.87907pt too wide) in paragraph at lines 12--12
>> []$[]$
>>
>> Overfull \hbox (4.5004pt too wide) in paragraph at lines 15--15
>> []$[]$
>> [200] [201]) (./levelcurves14.tex [202] [203] [204] [205] [206] [207] [208]
>> [209]
>>
>> LaTeX Warning: Float too large for page by 55.47415pt on input line 796.
>>
>> [210] [211]
>>
>> LaTeX Warning: Float too large for page by 78.23642pt on input line 1078.
>>
>> [212] [213] [214]
>>
>> LaTeX Warning: Float too large for page by 39.88371pt on input line 1696.
>>
>>
>> LaTeX Warning: Float too large for page by 27.02142pt on input line 2244.
>>
>> [215] [216]
Check those line numbers within your source file: levelcurves14.tex .
Do they correspond to the missing floats?
>>
>> ./levelcurves14.tex:2244: LaTeX Error: Float(s) lost.
>>
>> See the LaTeX manual or LaTeX Companion for explanation.
>> Type H <return> for immediate help.
>> ...
>>
>> l.2244 \end{figure}
Is that figure correctly formed?
Does a chapter or top-level section finish around this place?
Looks like it does, as appendices come next.
The floats have floated all the way to the end of the chapter,
and rather than stack them all there, they have been lost.
You have to:
1. allow the larger floats to use the 'p' specifier,
to go on a page by themselves
or
2. increase the parameter \floatfraction I think it's called,
to allow floats to occupy a larger portion of a page that also has text.
And even then, you may have to do some repositioning of your code,
to make the {figure} environments occur earlier, so that there is room
to put them before you refer to them.
Also \scriptsize is a text-only command, or within an \hbox, \vbox or \mbox (?).
In math you want \scriptstyle .
>>
>> ? r
>> OK, entering \nonstopmode...
>>
>> ./levelcurves14.tex:2244: LaTeX Error: This may be a LaTeX bug.
>>
>> See the LaTeX manual or LaTeX Companion for explanation.
>> Type H <return> for immediate help.
>> ...
>>
>> l.2244 \end{figure}
>>
>>
>> LaTeX Warning: Float too large for page by 24.17598pt on input line 2691.
>>
>> ) (./levelcurves14.ex.tex [217] [218]) (./ImplicitFT.tex [219] [220]
>> Appendix A.
>> [221]) (./CalcThree14.bbl (./CalcThree14.brf)
>>
>> LaTeX Font Warning: Some font shapes were not available, defaults substituted.
>>
>>
>> LaTeX Warning: There were undefined references.
>>
>>
>> LaTeX Warning: There were multiply-defined labels.
Some things to fix.
Earlier messages should have indicated where instances of these
occurred.
Otherwise it seems to have finished cleanly.
>>
>> )
>> (see the transcript file for additional information)
>> Output written on CalcThree14.dvi (229 pages, 3354064 bytes).
>> SyncTeX written on CalcThree14.synctex.gz.
>> Transcript written on CalcThree14.log.
Here's the name of the .log file !
>
> Zbigniew Nitecki
Hope this helps,
Ross
------------------------------------------------------------------------
Ross Moore ross.moore at mq.edu.au
Mathematics Department office: E7A-206
Macquarie University tel: +61 (0)2 9850 8955
Sydney, Australia 2109 fax: +61 (0)2 9850 8114
------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: logo.png
Type: image/png
Size: 5257 bytes
Desc: not available
URL: <http://tug.org/pipermail/macostex-archives/attachments/20140821/a8474a67/attachment.png>
-------------- next part --------------
More information about the macostex-archives
mailing list