Apologies if this obvious to others or has been covered before...
I'm writing a very large document in report class and I was wondering if there was someway of collapsing text, similar to how one can collapse table and figure floats. It would make navigation of the document so much easier as I could minimise all sections except the ones I'm working on (e.g. editing sections 1 and 10, I could collapse sections 2-8 inbetween). Does something like that exist?
Also, if this functionality does exist, is it possible to use the UpdatePDF(pdflatex) command solely on one section as the command takes about 10 minutes to perform on my computer and if I only want to see the changes made to one section, it does waste alot of time.
thank you in advance.
Sam
LyX ⇒ collapsing sections
NEW: TikZ book now 40% off at Amazon.com for a short time.
collapsing sections
Hi and welcome to the forum 
I'm not sure if LyX can do exactly what you're trying to achieve, but there is another solution. It is generally considered a good practice to divide a large document into smaller pieces, usually chapters ("Master" and "Child" document relation). You may do the same with sections if it's convenient to you. After that, you may open every section file in a separate tab in LyX and work on it only (take a look at Table of Content of the "Master" file after inclusion of "Child" documents and you'll notice that all sections are displayed there. To edit any of them, just click on it in TOC). Also, if you share the preamble of the "Master" document (as well as other settings) with "Child" documents, you may compile every section directly and independently of the "Master" document. However, this isn't the optimal solution because numbering, references etc. wouldn't be displayed correctly, but for a quick preview may be sufficient.
More infos about multipart documents can be found in LyX's Additional Features document, section 3.2.
In the attachment is an example of such a multipart document.

I'm not sure if LyX can do exactly what you're trying to achieve, but there is another solution. It is generally considered a good practice to divide a large document into smaller pieces, usually chapters ("Master" and "Child" document relation). You may do the same with sections if it's convenient to you. After that, you may open every section file in a separate tab in LyX and work on it only (take a look at Table of Content of the "Master" file after inclusion of "Child" documents and you'll notice that all sections are displayed there. To edit any of them, just click on it in TOC). Also, if you share the preamble of the "Master" document (as well as other settings) with "Child" documents, you may compile every section directly and independently of the "Master" document. However, this isn't the optimal solution because numbering, references etc. wouldn't be displayed correctly, but for a quick preview may be sufficient.
More infos about multipart documents can be found in LyX's Additional Features document, section 3.2.
In the attachment is an example of such a multipart document.
- Attachments
-
- multipart_doc.zip
- (4.07 KiB) Downloaded 295 times