LyXChild Documents in subdirs error

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
zeigerpuppy
Posts: 1
Joined: Mon Nov 25, 2013 3:25 am

Child Documents in subdirs error

Post by zeigerpuppy »

In LyX 2.0.5.1 (and 2.0.6) on OS X 10.7.4, I am writing a document using classicthesis.sty.
Recently, I decided to move all my child documents to subdirectories (2 levels deep) for better file management.
I have noticed what I think may be some bugs,

Firstly, updating the new child document location leaves the excluded flag inconsistent between the document and the include/exclude statement in the Document Settings. I need to remove and replace the child docs to make excluding child docs properly (usually twice!).

Secondly, LyX throws an error (for each child doc) when opening the master:
The document /full/path/to/Master.lyx does not yet exist.
Do you want to create a new document?
Thankfully, the error seems inconsequential as the document still renders fine.
When saving the document, LyX throws another error and saves an emergency doc in the child documents' folders: Master.lyx.emergency

I have tried editing the child docs by hand to change the reference to the master into a relative path but this does not help, eg:

Code: Select all

\master Master.lyx
to

Code: Select all

\master ../../Master.lyx
Any ideas?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

kleinash
Posts: 1
Joined: Wed Oct 14, 2015 4:18 pm

Re: Child Documents in subdirs error

Post by kleinash »

An answer to this would be awesome...
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Re: Child Documents in subdirs error

Post by Stefan Kottwitz »

Hi kleinash,

welcome to the forum!

Do you have the same situation or a very similar one? Do you have any additional details, which could be helpful, describing the situation in your case?

Stefan
LaTeX.org admin
Post Reply