Now that content may be a small amount of text, or a large amount that will span multiple pages. Via scripting, I will be loading document content. Quote from: Luke.Whitehorn on December 23, 2020, 11:27:53 PM So these are a few ideas off the top of my head. but instead of short text vars you would need to expand links to blocks perhaps in a database. Study ScribusGenerator video to see the approach. You would produce a csv file which is a table showing Each textframe would then import the text linked through VAR. I have found that I can also use this workflow to dynamically change content in svg objects.Īnother approach would be to amend Scribus Generator python script where VAR's pointing to text blocks can be injected into a series of textframes. You can then dynamically expand number of pages and output xml as sla. I have also found in experiments that I can use PHP server to generate sla as xml file. The markdown can also be exported as beamer (pdf) slides which can be imported into image frames. The advantage is that you can preview each textframe (like an HTML revealjs slidedeck) before injecting into Scribus textframes. For example markdown through pandoc can output slides, and instead of slides think "export slide to textframe". I envisage that this can be used to break content into blocks to import into Scribus textframes. I use Atom editor plus Markdown Preview Enhanced package for document creation. it could be that parsing markdown would allow text layout such as insets, paragraph breaks to be reflected. rather than just characters - and then calculating the number of textframes/pages to match.Īnother thought. I would try creating a python script which first calculates the area of the text corpus - taking into account font sizes, page breaks etc.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |