Re: Typesetting gives different results Windows MiKTeX vs Linux TeXLive

Lars Madsen <daleif-vlmxLufz8Sh/[email protected]>
Newsgroups gmane.comp.tex.pdftex
Message-ID <[email protected]>
this probably does not belong on the pdftex (note *TeX*) list as it is a pdflatex question.

You might want to resend this to the texhax mailing list (or even use tex.stackexchange.com)

In order to get better help it is also hightly recommended that you provide the samllest document yo can create that has this problem. Then other people can test is on their computer.

With the sniplets you provided we cannot see which preabmle you are using 

/Lars Madsen
Institut for Matematik / Department of Mathematics
Aarhus Universitet / Aarhus University
Mere info: http://au.dk/daleif@imf / More information: http://au.dk/en/daleif@imf


________________________________________
From: pdftex [[email protected]] on behalf of Ben Harrison [[email protected]]
Sent: 04 May 2015 12:36
To: [email protected]
Subject: [pdftex] Typesetting gives different results Windows MiKTeX vs Linux TeXLive

Windows:
This is pdfTeX, Version 3.1415926-2.4-1.40.13 (MiKTeX 2.9 64-bit)
(preloaded format=pdflatex 2014.11.19)  4 MAY 2015 20:14

Linux:
This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012)
 restricted \write18 enabled.

I have lots of packages loaded, so will take a while I guess to narrow
down the problem -- before I begin, I was wondering if this is a
familiar complaint?

Specifically, there is a figure that gets sent to a page of floats on
Windows (at the end of the chapter), but not on Linux, for the same
document. Here is the relevant (simplified) code for that image (it's
the second subfigure -- Figure B):


\begin{figure}[tbh]
    \centering
    \begin{subfigure}{0.8\linewidth}
        \centering
        \includegraphics[width=\linewidth]{figureA}
        \caption{Figure A}
        \label{fig:A}
    \end{subfigure}
    \bigskip

    \begin{subfigure}{0.8\linewidth}
        \centering
        \includegraphics[width=\linewidth]{figureB}
        \caption{Figure B}
        \label{fig:B}
    \end{subfigure}
    \caption{Caption}\label{figureAB}
\end{figure}

If I set the width of the second \includegraphics to be
[width=0.9\linewidth] then the figure doesn't get kicked to its own
page of floats.

Any tips?

Ben.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.