# Just checking \[on better ways to create compile lists\]

**URL:** <https://forum.literatureandlatte.com/t/just-checking-on-better-ways-to-create-compile-lists/140975>\
**Category:** Scrivener\
**Tags:** compile, usage-tips, markup\
**Created:** [June 5, 2024, 2:23am UTC](https://forum.literatureandlatte.com/t/just-checking-on-better-ways-to-create-compile-lists/140975 "2024-06-05T02:23:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![scrive](https://forum.literatureandlatte.com/user_avatar/forum.literatureandlatte.com/scrive/32/15869_2.png) [@scrive](https://forum.literatureandlatte.com/u/scrive)\
**Post date:** [June 5, 2024, 2:23am UTC](https://forum.literatureandlatte.com/t/just-checking-on-better-ways-to-create-compile-lists/140975/1 "2024-06-05T02:23:15Z")

</div>

Just a quick check to ensure that I am missing something …

As my Scrivener-\>LuaLaTeX project compile+typesetting time on my M3 Mac is running at almost 30 minutes (5 to compile + 25 to typeset), I thought I’d check to see what my options are (for the nth time). I’m open for any ideas …

Yes, LaTeX has the `include` and `input` commands, which work great if you are working with straight LaTeX (w/o Scrivener), but as far as I can see, do not integrate well with Scrivener in that having separate `.tex` files for those segments of my code that I’m trying to skip doesn’t allow me to embrace my entire project for searches, etc. if I go with the LaTeX `include` and `input` commands.

More to the point of my question, Scrivener has a wonderful visual `Toggle (to) include in Compile` (in the lower-right corner of each display page,  
 ![image](https://forum.literatureandlatte.com/uploads/default/original/3X/6/1/61e94232ce5dc8a2b82c830de280436d960c81ca.png)  
as well as the individual check-boxes on the `Compile for` page)

 ![image](https://forum.literatureandlatte.com/uploads/default/original/3X/1/b/1b357cc07dc4d98c0b649b5a564d1efe072219e0.png)  
that allows me to switch on or off the particular pages that I wish to include in my compile.

My challenge is that I have several hundreds of individual pages that I would like to have a bit more flexible control over as to which pages I’d like to include in my compiling + typesetting.

Enter a `software option` to flip the `Toggle (to) include in Compile` switch that I’d like to know if I am somehow missing as a feature available within Scrivener.

If such exists, I’d like to know how to access such a switch, and go on my merry way.

If not, I’ll have to do more searching in LaTeX to see what other options there are.

I’m also open to any other options others may have used to wrestle a beast of a Scrivener-\>(Lua)LaTeX project.

Thanks for reading,  
scrive

P.S. Pardon my ignorance, but upon reflection and a bit of searching, I realize there is the `filter` option that is available on the `Compile to` screen that I need to investigate further.

 ![image](https://forum.literatureandlatte.com/uploads/default/original/3X/b/d/bd56393103109c5f64f160e9c486ea42920b3483.jpeg)  
Any suggestions as to how others may have implemented the existing filer options on the `Compile to` screen would be appreciated.

---

<div class="post-metadata">

**Author:** ![scrive](https://forum.literatureandlatte.com/user_avatar/forum.literatureandlatte.com/scrive/32/15869_2.png) [@scrive](https://forum.literatureandlatte.com/u/scrive)\
**Post date:** [June 5, 2024, 5:35am UTC](https://forum.literatureandlatte.com/t/just-checking-on-better-ways-to-create-compile-lists/140975/2 "2024-06-05T05:35:11Z")

</div>

Looking back a few years at old postings by both:

`brookter` at [Managing my list of sections to compile - #3 by brookter](https://forum.literatureandlatte.com/t/managing-my-list-of-sections-to-compile/94847/3), and

myself (`scrive`) at [Managing my list of sections to compile - #4 by scrive](https://forum.literatureandlatte.com/t/managing-my-list-of-sections-to-compile/94847/4),

I realized the best way forward for my project was to create a new `Custom Metadata` label with a `Checkbox` in `Project` \> `Project Settings` \> `Custom Metadata` that I named `Compiling (Testing) Core`.

 ![image](https://forum.literatureandlatte.com/uploads/default/original/3X/4/f/4fa78e7d69d8335671951d279f420df75e38b7e1.png)

The `Compiling (Testing) Core` checkbox would then automatically appear in my Scrivener `Inspector` window.

 ![image](https://forum.literatureandlatte.com/uploads/default/original/3X/3/0/302cc7048e55c1b2c1a001136db6de0944a20cac.jpeg)

Next, I sorted through my entire Scrivener-\>(Lua)LaTex project and checked off the `Compiling (Testing) Core` checkbox for all the `Front Matter` and `Back Matter` Items in my Scrivener-\>(Lua)LaTeX project that form the primary CORE Scrivener+(Lua)LaTeX code. There were almost a hundred `Front Matter` and `Back Matter` Items, but it only took minutes to complete, and will be a permanent addition to my overall Scrivener-\>(Lua)LaTeX project.

Next, I then went back to the one Scrivener Item I wanted to compile separately from the rest of my project and checked the `Compiling (Testing) Core` checkbox.

Lastly, I selected the Compile filter with the following options:

- `Compile:` `Included Documents`,
- Selected `Apply filter`:
- Then `Include`, and
- `Compiling (Testing) Core`, and
- `Yes`

 ![image](https://forum.literatureandlatte.com/uploads/default/original/3X/e/1/e1bfa577b1332d9ff0501af1fb2ee13f9c6394d8.jpeg)

I then `Compiled` and `Typeset` my project, which took a little over 6-7 minutes, as opposed to the 30 minutes it took previously for the entire project.

I can now easily and quickly select any number of Items in my Scrivener-\>(Lua)LaTeX project to Compile and Typeset in just a few minutes.

The bonus of all this is that the .log file will be much shorter, helping to focus my efforts to sort through any warnings that may apply only to the Scrivener Items that I just compiled.

Let me know of there are any questions.

This was great! Thank you `brookter`!

scrive

---

<div class="post-metadata">

**Author:** ![scrive](https://forum.literatureandlatte.com/user_avatar/forum.literatureandlatte.com/scrive/32/15869_2.png) [@scrive](https://forum.literatureandlatte.com/u/scrive)\
**Post date:** [July 27, 2024, 12:04am UTC](https://forum.literatureandlatte.com/t/just-checking-on-better-ways-to-create-compile-lists/140975/3 "2024-07-27T00:04:29Z")

</div>

After about a month-and-a-half after my early June posting regarding `brookter`’s post on [Managing my list of sections to compile - #3 by brookter](https://forum.literatureandlatte.com/t/managing-my-list-of-sections-to-compile/94847/3), I’ve likely saved many, many dozens of hours of error checking.

Using `brookter`’s post (and my subsequent implementation) to use `Custom Metadata` to limit my compiling and typesetting to just a few minutes (by focusing on a very select subset of folders within my full Scrivener project), as opposed to almost half-an-hour (to compile and typeset my full Scrivener project), I’ve saved countless hours to correct equally countless errors in my Scrivener - LuaLaTeX project.

This has been a godsend - Thank you!

Regards,  
scrive
