Scribus Forums

Scribus => Beginner Talk => Topic started by: Itman on November 01, 2018, 12:20:13 AM

Title: Interlinear - How to assign a text frame for word pairs in text?
Post by: Itman on November 01, 2018, 12:20:13 AM
To the people behind the screen: Hello, I have an interesting question.
My idea is to create an interlinear text of Hebrew and German texts. Under each Hebrew word stands a German word.
Is it possible to convert or to paste a text and Scribus creates a text frame for every word in the text or for every first and second word? Maybe someone tried it before and has expierence with this? 

Thank you for reading

Title: Re: Interlinear - How to assign a text frame for word pairs in text?
Post by: dragonfly on November 01, 2018, 10:34:54 AM
I must first emphasise that I am not a multi-linguist.  But just considering the technical problem you describe I would compose the document externally in say LibreOffice, export multi lingual content in pdf and import pdf into Scribus frame(s).

https://ask.libreoffice.org/en/question/71151/simultaneously-use-two-languages-in-one-document/

If for some reason you must do this in Scribus directly as an editor then I would explore using python scripts (Scribus scripter) for this purpose. For example there is a Scribus script importcsv2table.py which might be adapted.  Your csv might have alternating language rows. And there is ScribusGenerator.py.  How you deal with alternating LTR and RTL styled text I have not considered.  Just my first rough thoughts.  There might be a much easier path which the more experienced Scribus users might suggest.