Max Nikulin <maniku...@gmail.com> writes: > On 05/09/2025 02:53, David Masterson wrote:
>> Could ox-latex add an invisible (or slightly visible?) something >> after a heading with no text body to get around this? > > The challenge is to recruit a volunteer closely familiar with low > level code of standard and non-standard LaTeX classes who may suggest > a safe command. Earlier \\ \empty workaround for table cells with > square brackets broke a LaTeX3 table package and another variant with > \\[0pt] caused enough user complains. LaTeX is designed to be > convenient for humans who may quickly fix specific corner cases. For > markup generators it may be tricky to avoid pitfalls. Ouch. >> 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). > > I think, the professor will be more pleased to read table of contents > (that is formatted better), but you decided to suppress TOC and to > create a worse substitute in another way. Ouch#2 -- I should've thought of that... Thanks -- David Masterson