Concurrent processing of child documents?

Richard Kimberly Heck rikiheck at
Mon Apr 5 15:20:22 UTC 2021

On 4/5/21 11:18 AM, Jean-Marc Lasgouttes wrote:
> Le 05/04/2021 à 16:59, Scott Kostyshak a écrit :
>> This is currently more of a theoretical question since I don't have
>> time to work on it.
>> I'm working for the first time on a document with lots of child
>> documents. Export of the child documents is sequential. Is there a
>> reason they can't be processed concurrently?
>> I'm guessing this isn't relevant for most users since export from LyX
>> to TeX seems pretty fast to me in most cases. What makes it slow in
>> my case is that the child documents use knitr, so to get the exported
>> TeX to be able to compile the parent an R script is run for each of
>> them.
> I do not understand: if you use knitr, each child potentially depends
> on the output of the previous ones. I am surprised actually that R is
> ran separately. I never thought about that, to be frank.

That's an issue even with pure LaTeX, isn't it? Page and section numbers
at least will depend upon earlier documents, and there might be macros
in the earlier documents that are needed in later ones.


More information about the lyx-devel mailing list