dginev / ar5iv

A web service offering HTML5 articles from arXiv.org as converted with latexml
https://ar5iv.org
MIT License
795 stars 20 forks source link

Improve article 2103.05861 (cvpr.cls) #110

Open ooodragon94 opened 2 years ago

ooodragon94 commented 2 years ago

https://ar5iv.labs.arxiv.org/html/2103.05861#S5.F3

Manifold Regularized Dynamic Network Pruning

section 5.2 figures are misaligned!

dginev commented 1 year ago

This is also connected to minipage-based subfigures, cross-linking to #83

dginev commented 1 year ago

This comment is a diagnostic note on the technical details here.

The overlapping panels in Figure 3 have the TeX source:


 \begin{figure}[t] 
    \small
    \subfigure[]{
        \begin{minipage}[t]{0.47\linewidth}
            \centering
            \includegraphics[width=0.99\linewidth]{lambda.pdf}
            %\caption{}
        \end{minipage}
    }
    \subfigure[]{
        \begin{minipage}[t]{0.47\linewidth}
            \centering
            \includegraphics[width=0.99\linewidth]{gamma.pdf}
            %\caption{}
        \end{minipage}
    }   
    \caption{Test accuracies of...}
    \label{fig-hyper}
\end{figure} 

And the flex model is broken by the current use of absolute poisitioning in minipage, via setting the width:203.8pt from CSS, namely (snipped):

<figure id="S5.F3.1" class="ltx_figure ltx_flex_size_2">
  <span id="S5.F3.1.1" class="ltx_inline-para ltx_minipage ltx_align_top" style="width:203.8pt;">
    <span id="S5.F3.1.1.p1" class="ltx_para ltx_align_center">
      <img src="/html/2103.05861/assets/x3.png" id="S5.F3.1.1.p1.g1" 
           class="ltx_graphics ltx_img_square" width="821" height="690" alt="Refer to caption">
    </span>
  </span>
</figure>
dginev commented 8 months ago

Updated with the latest latexml v0.8.8 conversion. Subfigures should be resolved.

Remaining issues:

Conversion complete: 7 warnings; 5 errors; 5 undefined macros[\wrt, \ie, \etc, \eg, \vs]; 1 missing file[cvpr.cls]