Concurrent processing of child documents?

Dr Eberhard W Lisse nospam at lisse.NA
Mon Apr 5 17:36:12 UTC 2021


I don't think this can be done, since LaTeX needs to run several times
to first generated the "labels", run the bibliography, index and
whatever, and then once or more again to get the references and page
numbers right.

I don't think different (child) knitR documents can "talk" to one single
R instance, but need to fire up their own ones.  That however can be
easily tested.

You can, in any case, compile individual child documents from LyX to
PDF. For my handbook project (817 pages, 20 child documents) I
"include" in the preamble a largish TeX file which does a lot of work
so that individual child PDFs look presentable :-)-< but for for the
referencing.

el


On 2021-04-05 18:01 , Scott Kostyshak wrote:
 > On Mon, Apr 05, 2021 at 05:18:40PM +0200, Jean-Marc Lasgouttes wrote:
 >> Le 05/04/2021 à 16:59, Scott Kostyshak a écrit :
[...]
 >  From what I understand, the parent .lyx file needs to get a .tex file
 >  from each of its child .lyx files.  In order to get a .tex file, the
 >  knitr script needs to be run.
 >
 > It might be an interesting feature to basically "in-line" the LyX
 > child documents.  I could imagine this being useful in some cases.  In
 > my particular case, I actually like the modularity and keeping the
 > child documents independent.



More information about the lyx-devel mailing list