Non-Structure-Based LaTeX Chapters Export Empty

Posts: 2
Joined: Tue Feb 18, 2020 2:25 am
Platform: Windows

Tue Feb 18, 2020 4:17 am Post

Hi there,

I forced a few items to be chapters in a LaTeX project, which were previously structure-based. Once I switched them from structure-based to "Chapter" directly, they stopped exporting correctly. Upon export, the chapter tag exports with the chapter title, but any content in the chapter's item itself does not export - the chapter item itself exports empty. If I insert a subitem with a section type of "N/A" that includes the content, it exports correctly. This is in Beta (833014) 64-bit on Windows 10 - I am updating to Beta 39 now, but didn't see anything in the release note. Am I potentially doing something wrong somewhere, or is this a bug (which it seems like)?

User avatar
Posts: 1094
Joined: Tue Sep 13, 2011 1:14 pm
Platform: Linux + Windows

Tue Feb 18, 2020 8:14 am Post

If you want Chapters with text, verify that the Text column is checked for the Section Layout you use for compiling, or assign a different Section Layout to your current Chapters.

User avatar
Posts: 24010
Joined: Sun Jun 18, 2006 4:30 am
Platform: Mac + Linux
Location: Ourense, Galiza

Tue Feb 18, 2020 12:10 pm Post

Indeed, the default Section Layout assigned to the “Chapter” type simply exports a \chapter{title} command followed by a label. Click the Assign Section Layouts button in the compile overview screen, and select a more suitable Layout (probably “Chapter w/ Text”).
Ioa Petra'ka
“Whole sight, or all the rest is desolation.” —John Fowles