Bug Tracker
I’m currently working on a major new version of the datatool package. This may take a while. Please be patient. (Experimental version available for testing.)
ID | 168🔗 |
---|---|
Date: | 2020-10-18 10:42:15 |
Status | Closed (Fixed) |
Category | jmlr |
Version | 1.27 |
Summary | Float-only last pages not counted for page numbering |
Sign in to subscribe to notifications about this report.
Description
In PMLR, when the last pages contain only floats, the automated page count information is the header is wrong by default as it does not take into acount the float-only pages.For example in a 4 page document with the last page being only a figure, the default header will read: "Proceedings of Machine Learning Research 1–3".
A workaround is to add a "\clearpage" instruction at the begining of the last page.
MWE
Download (991B)
\documentclass[pmlr]{jmlr} % Include author names \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{mwe} \title[Short Title]{Full Title of Article} \author{ \Name{Author A \nametag{$^{1}$}} \Email{authora@test.com}\\ \addr $^{1}$ Address, City, Countryy \AND \Name{Author B \nametag{$^{2}$}} \Email{authorb@test.com} \\ \addr $^{2}$ Address, City, Country } \begin{document} \maketitle \begin{abstract} \blindtext \end{abstract} \begin{keywords} List of keywords, comma separated. \end{keywords} \section{Introduction} \Blindtext[5][2] \acks{\blindtext} \appendix \section{Appendix} % Uncomment the next line for a work around to get page numbers right when last page is a float %\clearpage \begin{figure}[htbp] % Caption and label go in the first argument and the figure contents % go in the second argument \floatconts {fig:example} {\caption{Example Image}} {\includegraphics[width=0.5\linewidth]{example-image}} \end{figure} \end{document}
Evaluation
Fixed in v1.29 (2022-01-29).
Unrelated to the float issue, your MWE has a spurious space (before \nametag
) that hides the author surname from the name parser.
Comments
1 comment.
Replying to Comment #65:
Add Comment
Page permalink: https://www.dickimaw-books.com/bugtracker.php?key=168
Date: 2020-10-21 17:40:00
Following from [Link] a better workaround seems to be: