2

When I include \usepackage{lineno} the last page always is rendered blank.

I used this template for the manuscript, but the error doesn't seem to occur with that alone. I couldn't figure out a MWE to include. There isn't even an error or warning in the log file. Any idea what to try next to debug it?

I've gotten around this by using \cleardoublepage. It makes an extra page that ends up being empty that I can just delete afterward.

UPDATE: Thanks to @CarLaTeX for the link. It helped me work out an MWE.

\documentclass{bioinfo}
\usepackage{lipsum}
\usepackage[switch]{lineno}

\begin{document}
\linenumbers

\section{Introduction}
\lipsum[1-3]

%\cleardoublepage
\end{document}

If I toggle \cleardoublepage the page content displays/doesn't. I guess there is something in the bioinfo.cls file that conflicts with lineno?

  • 3
    Well, how do you expect an answer to look like if you do not have an MWE? –  Nov 02 '18 at 03:48
  • If you don't know what an MWE is, see here: minimal working example (MWE) – CarLaTeX Nov 02 '18 at 05:33
  • We're very keen on MWEs around here, you know. – thymaro Nov 02 '18 at 08:50
  • I got a timeout on overleaf. Do you have a TeX distribution installed on your machine and can you run the file on your own system and then report whatever came out of it? Otherwise I doubt you will get any useful answer on tex.se – thymaro Nov 02 '18 at 08:59
  • Thanks for the feedback. I believe I got an MWE. @thymaro, I can compile it locally as well as on overleaf. – doubledaffy888 Nov 02 '18 at 15:54
  • 1
    If I try with the example file in the distribution, the last page gets mangled and ejected blank. This is due, I believe, to the routine for balancing the columns in the final page which conflicts with \lineno. With \cleardoublepage the balancing is not perfect, but it can be accepted for a provisional version with line numbers. – egreg Nov 02 '18 at 16:19

0 Answers0