[scribus] Load text on-the-fly from external file?

Daniel dsd.trash at gmail.com
Mon Feb 26 12:25:34 UTC 2018


So, thank you all for your ideas! I think I'm going to make a small
script, which iterates through all text boxes, reads a parameter called
i.e. filelocation, and puts in the text from that file while using the
document stiles (if this is possible). I will need to dig into it.

The idea was to have all text written and collected in a git repository.


Thank you!

Daniel


Am 26.02.2018 um 10:15 schrieb Jonas Bechtel:
>
>
> On Mon, 26 Feb 2018 09:42:15 +0100
> Jonas Bechtel <post at jbechtel.de> wrote with subject
> "Re: [scribus] Load text on-the-fly from external file?":
>
>> [Fixed top-/bottom-posting]
>>
>>
>>
>> On Mon, 26 Feb 2018 08:42:31 +0100
>> Daniel Herrmann <daniel at daniel-n-herrmann.de> wrote with subject
>> "Re: [scribus] Load text on-the-fly from external file?":
>>
>>> 2018-02-26 1:28 GMT+01:00 Gregory Pittman <gpittman at iglou.com>:
>>>   
>>>> On 02/25/2018 05:09 PM, Daniel wrote:    
>>>>> Hello all,
>>>>>
>>>>> is it possible to load text on-the-fly from an external text
>>>>> file (for example markdown formatted)?
>>>>>
>>>>> So, if the text file is changed the text in the text box in
>>>>> Scribus would also be changed?
>>>>>    
>>>> Right now, Scribus does not handle markdown formatted text,
>>>> although if you made some conversion of your markdown to something
>>>> else like HTML, then that would work.
>>>>
>>>> If you load text from an external file, you would have to reload
>>>> the text file if the file is edited.
>>>>
>>>> Greg
>>>>
>>>>
>>>> ___
>>>> Scribus Mailing List: scribus at lists.scribus.net
>>>> Edit your options or unsubscribe:
>>>> http://lists.scribus.net/mailman/listinfo/scribus
>>>> See also:
>>>> http://wiki.scribus.net
>>>> http://forums.scribus.net
>>>>    
>>>
>>> Yes, I am missing that function, too. Two ideas, which I have never
>>> tested.
>>>
>>> 1. scribus is able to import LaTeX-files via LaTeX-frames. Maybe
>>> that type of frames work similar to picture-frames?
>>>
>>> 2. editing the .sla-file with a small script. I did that with a very
>>> short text and it worked.
>>>
>>> dan
>>>
>>>   
>>
>> I add: 
>> 3. use the WiScri extension (currently requires a self-compiled
>> Scribus 1.5.4svn with Python3). With WiScri you could potentially
>> load text files, but there's no MarkDown support.
>>
>> 4. write an own python script for use in Scribus. I did this for a
>> text file with a very simple format description. This will not work
>> automatically but at least you are more safe as you don't have to
>> concentrate on choosing the right file name.
>>
>> BR
>>  Jonas
>>
>>
>> ___
>> Scribus Mailing List: scribus at lists.scribus.net
>> Edit your options or unsubscribe:
>> http://lists.scribus.net/mailman/listinfo/scribus
>> See also:
>> http://wiki.scribus.net
>> http://forums.scribus.net
>>
> Sorry, I forgot that WiScri wasn't public so far. Now it is -> http://jbechtel.de/site/Tools/WiScri/
>
>
> ___
> Scribus Mailing List: scribus at lists.scribus.net
> Edit your options or unsubscribe:
> http://lists.scribus.net/mailman/listinfo/scribus
> See also:
> http://wiki.scribus.net
> http://forums.scribus.net




More information about the scribus mailing list