[scribus] Question: How can I update a text frame in Scribus from a text file

Gregory Pittman gpittman at iglou.com
Thu May 15 00:10:51 UTC 2014


On 05/14/2014 06:14 PM, JLuc wrote:
> Le 13/05/2014 03:49, Kunda Loves Scribus a écrit :
>> http://superuser.com/questions/742189/how-can-i-update-a-text-frame-in-scribus-from-a-text-file
>>
>>
>> Does anyone have a stackexchange account that is willing to answer this?
> 
> I'd be interested but i'm afraid there is no simple way.
> 
> There is one or more bugreports for this feature.
> 

Having just gone through the process of revisiting Autoquote.py and
transforming to en+emdash.py, this is an intriguing question.

Part of these scripts is to scan the content of a frame, character by
character, and what you find as you do this is that this includes the
control characters for styles, so you have to deal with these in order
to not mess up the applied styles when for example you change '--' to
en-dash. In other words, you have to write the code to leave those
control characters intact even as you otherwise edit the text. Not so
far different from what this questioner is asking.

When I get a chance I may tinker with this a bit (Christoph says I'm
mostly a tinkerer), but I can't make any promises.

Greg




More information about the scribus mailing list