On Mon, Apr 05, 2021 at 11:20:22AM -0400, Richard Kimberly Heck wrote:
> 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.

Indeed, it might be interesting to consider a feature that would "in-line" 
child documents. This would allow a child document to use a macro that's 
defined in a previous child document.

Scott

Attachment: signature.asc
Description: PGP signature

-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to