Max Nikulin <[email protected]> writes: > On 03/09/2025 11:28, David Masterson wrote: >> a couple of strange things happened >> when exporting with visibility on (C-c C-e C-v l p) when viewed with >> xpdf: > >> 2. The PDF seems to stop after H15.1 although XPDF TOC goes to H28. > > I can not find that thread, but almost certainly something similar has > been discussed earlier. What you observed may be related to penalty > that LaTeX adds after \section and similar commands to prevent page > breaks between headings and their text bodies. So just sectioning > commands without any text in between leads to trouble.
Hmm. Which is a problem with exporting with Visibility On and the document is *not* in a SHOWALL state, correct? Could ox-latex add an invisible (or slightly visible?) something after a heading with no text body to get around this? The use-case here is having written a large document, you want to produce a high-level outline of it to (say) introduce the document to your class professor. I suppose this is also a problem for someone writing a large document that who has only mostly outlined it so far and wanting to show that to the professor (IOW, visibility is off here). -- David Masterson
