How to copy a master document with all the detail documents

For a book of 380 pages I have a master document with 93 sub-documents. That works fine. Now I want to copy this to a new folder, and this works, with one annoying exception. The links in the master tot the detail documents still point to the old directory.

The only thing I could do is manually change all the path’s of the sub-documents. This is very time consuming, and above very error-prone. Because the original sub-documents have almost the same content, it is just the same document, but with just a previous version, it is hard to detect.

Is there an easy and robust way to copy a master document, with all it sub-documents with the correct new path, to a new folder?

Is there an easy and robust way to copy a master document, with all it sub-documents with the correct new path, to a new folder?

IMHO I am not aware of any way to do this.


Two questions I ask just out of interest:

  1. Why do you need to use 93 subdocuments for a total of 380 pages?
  2. And why do you need to move to another folder?

@Hrbrgr Because this are all my chapters. I have chapters of 10 pages, but also many off two pages, sometime even one page. The content forces me to do so. If i would be obliged to organize it differently, then it would be much more complex to control. May, on a later moment I want to move a chapter of two pages, a bit later. It this would be combined with other chapters it will getting very complicated.

I want the quality of my book to be as high as possible. So I send my LO documents to more external editors, and they use the LO Menu → Edit → Track-changes, and this works fine. But I still want to keep the original documents. So it will be new, internal versions.

I publish with POD (Printing On Demand) , with small quantities. My effort is to have falsifiability, and invite my readers verify what I write. This is unusable, I know. If they can proof one detail is wrong, I will correct that. And add the correction in an additional appendix. So readers can control al the changes made, since the first version of the book. These are the external versions,

So I hope I have many small editions, with small changes, with increasing verifiable quality. I hope there will be changes, so the mechanism works. But not to much, because then my work was not sufficient.
So for this I want to store every edition, with quite small changes, in a different folder. So I can go back to the original version of two editions ago. It is a quite simple and primitive kind of versioning.

It would be nice if in the master document has a “sub-document path” could be defined. All the sub-documents point to that path. Then, after copying, the only thing I have to do to change “sub-document path” of the master document.

If LO have a better way to control multiple versions of a master-document and all of its sub-documents, I am open for that.

Thank you for your detailed information. One can now imagine what you want to achieve and why.

You could make a feature request on Bugzilla.

How to Report Bugs in LibreOffice and feature requests.

Thanks. I made an account in Bugzilla (documentfoundation.org) but all I could see is to report a bug. A feature request is something else then a bug. I got lost in the documentfoundation.org website. @Hrbrgr could you make that feature request for me, pointing to this thread?

…but all I could see is to report a bug.

Yes, feature request can be entered there as well. There is no other place.

Make a heading there " Feature request".

With a document consisting of multiple separate files, the robust solution is to organize the files in a separate folder (with subfolders as required) in the first place. The root folder of your document then becomes your “anchor” which you can copy as required.

If you ever edit complex html or LaTeX documents, this way of working will quickly become second nature.

For your workflow, you may also make use of some kind of versioning system, more advanced than the “create new version” available with LibreOffice. This is something I have no experience with. Just a flying thought I deemed worth mentioning (and you seem to also have thought of this, to some extent :wink: ). Other helpers will know more about versioning systems and heir applicability.

@keme1 This does not solve the master-document with all the 93 sub-documents. Then I still have to changed them one by one.

Versioning with a system like git, might work, but it quite heavy for just LibreOffice. Still I know famous writers, which I am not, keep from their titles, an paper edition, of each edition. So they have 100% proof on each detail of the content of that specific addition. I want something similar, but then digital.

With git, it could be possible, but it is very complex. A specific folder for each addition will do for me.

The built-in version feature is next to unusable. If you ever revert to a previous version, you lose all editing history between this previous version and the last one. A workaround would be to save the reverted-to version under a different name but you end up with many unrelated documents and this is another management nightmare.

Regarding git, I am not convinced it could provide a handy solution. You solve the management issue (and there are GUI tools to display the editing history structure) but Git has no idea about ODF file structure. This a zip file which is completely opaque from Git point of view. This means Git saves the whole file and can’t deduce “deltas”. In the end you have a very large Git archive needing a lot of disk space.

1 Like

The delta’s are what matters. So just using version folders would be the second best. What is what I am doing now. But that is time consuming and error-phrone