Scribus Forums

Development => Features => Topic started by: joesber on September 19, 2017, 03:45:21 pm

Title: Master Document for long works?
Post by: joesber on September 19, 2017, 03:45:21 pm
Good day everyone,

as a user of Scribus (currently using the development version) I'm very proud of all its features, which are really professional. The version 1.5.4 suits the most of my current needs.

There is just one major problem when I'm working with it, because I want to layout books (which, sometimes, can be really long).

At this moment (09/2017) it is quite problematic to work with long documents and chains of text. The solution would be quite simple: to have two types of documets: -regular documents, and -master documents. By master document I mean an archive which includes and syncronize the regular documents. That's possible in InDesign (they call it "Book"), and even in LibreOffice (master document).

Does someone knows, if Scribus will have (someday in the medium future) such option?  Or if the team are even interested in the improvement of Scribus working with long documents?

Right now I used Scribus for simple designs and for finishing other projets from Gimp or Inkscape. But Scribus would have, in my opinion, much more potential if it would have any kind of master document, to split the long documents.

Thanks for your answers in advance  :)

(P.S.: I made a small research to see what Scribus Trunk or Indigo are developping right now, but it seems to me that most of the work are about Scribus' front-end)
Title: Re: Master Document for long works?
Post by: a.l.e on September 19, 2017, 03:53:09 pm
yes, that would be a good feature!

if you can put up a list of features you would like to have in master pages, i can check what i can do with a python script...

Title: Re: Master Document for long works?
Post by: joesber on September 19, 2017, 05:11:55 pm
Dear a.l.e.,

thanks a lot for your fast answer, and even more for its content. I didn't expect such a positive reply  :)

I have no idea of programing, that's why I can't even imagine the difficulties of that idea. But, nevertheless, I created the following design with Inkscape, how it could be the tool we are talking about:


List of minimal features:

-Open Master Documents
-Export Master Documents, which means: Scribus can merge and export several single documents as one PDF, without opening every single document (for a large book, we would save an amazing amount of resources). It would be extremly powerfull, if we can export a 300 pages book, for example, without opening all the documents/chapters. If Scribus doesn't need to open the documents for exporting them, but just export the Master Document.
-Synchronize the numbering of all documents within a Master Document
-And here, I guess, a difficult one: creating an index of contents using all the documents within a Master Document.

Of course, it could be always improved and improved, implementing more advanced features, but if Scribus would do the things described above... Well, it would be an amazing jump of quality for Scribus, from my point of view.

Title: Re: Master Document for long works?
Post by: a.l.e on September 19, 2017, 06:37:58 pm
well, the first step would be to synchronize the page numbers...
and create one pdf per file, which you can merge with external programs.

no gui.

i will not even try to support the attributes based table of contents.
so i consider that scribus cannot create a table of contents.
but as soon as the "real" style based table of contents exists, an interface for the scripter might be very useful!

if i have some time on friday i can try to create a prototype:
- create a text file with the list of files in the right order
- launch a script that starts scribus and
  - open each document in the list and find the information about page numbers
  - if it's not the first file, apply that information to each section in the document (increase the start page number)
  - create a pdf of each file
  - eventually use a pdftool to merge all files

i'm not sure that the scripter api supports all this, but i can give a try.

the mockup you have created looks neat... but i fear it's still a bit far away... but a poor man master document system could be possible.
(a real master document is not really hard... but there are some important decision to be taken, on how it could be implemented...)
Title: Re: Master Document for long works?
Post by: joesber on September 19, 2017, 07:14:35 pm
That would be a really amazing first step.

If I can help in any way possible, don't hesitate in contacting me. I would be proud of being usefull for Scribus :)