Scribusoid

Author Topic: Suggestion: link the texts to their source (such as pictures)  (Read 425 times)

fmclpeaca

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
  • Scribus User
Suggestion: link the texts to their source (such as pictures)
« on: September 17, 2019, 08:50:15 pm »
It would be interesting to develop an option to link the texts to their source file, so that they are modified at the same time. This option would be similar to image processing, which is automatically updated if modified by a third-part application.

Français
Suggestion : lier les textes à leur source (comme les images)
Il serait intéressant de développer une option pour lier les textes à leur fichier source, afin qu'ils soient modifiés en même temps.Cette option ressemblerait au traitement des images, qui sont mises à jour automatiquement en cas de modification par une application tiers.

a.l.e

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2129
  • Karma: 28
    • the graphics lab
Re: Suggestion: link the texts to their source (such as pictures)
« Reply #1 on: September 18, 2019, 09:56:33 am »
this is not as easy as it sounds.

images are linked as is in the frame and only very "general" formatting can be applied to them in scribus.

for the text, you often do very fine changes, sometimes with formatting that are not supported in the external application that has created the text.

of course, the feature would be very welcome, and optionally storing the text as external html + css would be a first step.
the first big challenge: finding a library that parses css in an adequate way.

not something easy, but if somebody volunteers to work on it, we will not stop her!

Nermander

  • Hero Member
  • *****
  • Posts: 1311
  • Karma: 17
Re: Suggestion: link the texts to their source (such as pictures)
« Reply #2 on: September 18, 2019, 10:01:15 pm »
Wouldn't it be possible to use a variant of render frames for this? But really just render text from an external source?

Then you would of course not be able to format it a lot in Scribus, but that would also mean you got rid of that problem.

a.l.e

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2129
  • Karma: 28
    • the graphics lab
Re: Suggestion: link the texts to their source (such as pictures)
« Reply #3 on: September 19, 2019, 10:02:41 am »
of course, you  can do that now with latex render frames.

you can also produce PDFs from libreoffice and include them in image frames in scribus.

you can also produce PDFs from the render frames from any format, if you find a command line tool that can do the conversion to PDF (and pandoc can do a lot!)

i doubt that his is what the OP was asking for, but yes, there are indeed ways to achieve this.

fmclpeaca

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
  • Scribus User
Re: Suggestion: link the texts to their source (such as pictures)
« Reply #4 on: October 05, 2019, 10:33:05 am »
Thank you for your answers !
May I suggest you, in the epub project, to take care off the caracters styles (italic, sup...) and not only the paragraph styles (Heading1, Heading2, quotation...). It would be very helpful.

I can't help you for the code because I'm stupid in front of code, but I can test everything as a user.
It the the only way I can do something improve scribus.
Call me if necessary.