Recent posts

#1
General Discussion / Navigating Modern Heterosexual...
Last post by DevinPoody - Today at 09:55:49 AM
Dating between men and women has evolved with technology and shifting gender roles, donation more opportunities but also new challenges.
https://desiporn.one/top-rated/
 
The Digital Caftan
Online dating apps like Tinder and Bumble fantasize connecting easier but can feel irresistible well-earned to too innumerable choices. Women procure gained more sway, such as initiating conversations on Bumble, reflecting broader gender equality.
 
Challenges in Dating
Ghosting and Random Dating: Energetic exits and occasional encounters are stale, best to confusion.
Expectations: Miscommunication for everyone commitment can cause frustration.
Distress: Social media creates fanciful expectations of declaration the correct partner.
Gender Stereotypes: Getting on in years stereotypes fro dating roles hushed stay alive, complicating things.
Keys to Shape Relationships
https://desiporn.one/most-popular/
 
Communication: Outstretched, on the up conversations figure trust.
Attend to and Congruence: Valuing each other as equals fosters balance.
Patience: Irresistible delay to establish connections reduces pressure.
Looking Vanguard
As dating continues to evolve with technology, the fundamentals of defer to, communication, and patience wait critical as far as something durable relationships.
#2
Scripts and Plugins / Re: Looking for Advice on Usin...
Last post by Derek - October 05, 2024, 10:13:43 AM
Quote from: a.l.e on October 04, 2024, 10:17:19 PMBug. bug!

Damned autocorrect!

Gets us all sooner or later!

For issue 2 (empty frames being created) I changed AUTOTEXT in the sla file to 0. On running the build process, empty frames are no longer being created. I'm not really able to say, yet, whether editing the sla file directly will cause problems further down the line, but perhaps changing that option should be available under Document Setup or Preferences. Perhaps even as a Scripter command (it might even be useful to be able to choose programmatically).

This also helps with issue 3 (losing linkage between imported frames). I have to edit the aggregated document anyway, so it's easy and quick enough to identify the correct frame to link to without the additional autotext frame causing confusion. This doesn't, of course, fix the bug - but does give me an easy workaround.

I think it's time to improve what I've got, so far, so that it's in shape to produce the next (December) edition.

Progress has definitely been made - thank-you.
#3
Scripts and Plugins / Re: Looking for Advice on Usin...
Last post by a.l.e - October 04, 2024, 10:17:19 PM
Quote from: a.l.e on October 04, 2024, 05:28:55 PM3

That might be a business pages import, independent from the script API...

Bug. bug!

Damned autocorrect!
#4
Layout Issues / Re: Table of contents changes ...
Last post by Flaxx - October 04, 2024, 08:48:48 PM
Quote from: utnik on September 21, 2024, 11:55:09 PMhi flaxx

Quote from: Flaxx on September 21, 2024, 09:56:11 PM...it often happens that the top-down order of those articles appears random...

...What is the parameter, that Scribus is looking for? It doesn't seems to be the internal frame number nor an alphabetical order.

it should be the level of the frames. (it's the order in which you've created the frames in the first place. but you may change it in 'preferences' → 'x,y,z' → 'level'...)

utnik

Thanks, this seems promising and I'm a bit upset about my own blindness. I've just tried it and it works.
#5
Scripts and Plugins / Re: Looking for Advice on Usin...
Last post by Derek - October 04, 2024, 07:57:28 PM
Quote from: a.l.e on October 04, 2024, 05:28:55 PMHi Derek

A few short answers from my side...


1

According to https://impagina.org/scribus-scripter-api/page/#importpage it seems to be possible to pass a range of pages...

In order to know which pages you want to be imported, you might want to get the script to first open the sla, analyze it, close it, before importing the pages.

2

Did you enable auto frames when creating the document?

3

That might be a business pages import, independent from the script API...

Hi A.L.E.:

1) That's exactly what I'm doing. I preprocess each section to get the page count. That's stored in a mySQL table which is used to control the build process. Each page count (integer) is converted to a tuple {1, 2, 3, 4, ....} for the importPaqe process. I was hoping for a wildcard ('*' or similar) that I have missed or is not documented. That would enable me to drop that process completely - which would give me a worthwhile time saving. (The process is automated, but I haven't managed to get it into the background, yet - it's on my list, so the gui is tied up while it runs.

2) That's a strong possibility. I'm sure I saw that when I created the original documents - which was, perhaps, 5 or 6 years ago! If that is the issue, can that setting be changed in an existing document (I haven't found it - perhaps it's a straightforward edit to the XML that I haven't dived into yet), or must I start from scratch? Would 'enable auto frames' have to be unset for all the section files, or just the first one loaded?

3) I'm not sure what you mean by 'business pages import'. Perhaps something lost in translation?
#6
Scripts and Plugins / Re: Looking for Advice on Usin...
Last post by Derek - October 04, 2024, 07:08:13 PM
Quote from: AdmFubar on October 04, 2024, 03:11:20 PMdepending on the total pages in the magazine you may run into a performance issue with large .sla files. Appending the sections as a finished pdfs, into one will be much easier.

Unfortunately, not possible in my use case. The aggregate sla is an intermediate stage that requires further editing to complete the magazine. Mainly making final decisions about content, adding adverts, sorting out white space and the transitions between sections, sometimes finding filler content to pad out the magazine to a multiple of 4 pages (it's an A5 magazine printed on A4 stock) and building a TOC.

Performance, so far, hasn't been an issue. There's usually about 50 to 100 pages (with text and images) in the aggregate sla file, and I'm happy to go get a cup of coffee while I'm waiting for the script to complete. The current test data (which produces 54 pages) is the last edition's live data. The script completes in under 800 seconds. I haven't seen any memory issues (and the machine I run this on only has 8Gb). In its final form it was edited down to 44 pages - one of my larger editions.
#7
Scripts and Plugins / Re: Looking for Advice on Usin...
Last post by a.l.e - October 04, 2024, 05:28:55 PM
Hi Derek

A few short answers from my side...


1

According to https://impagina.org/scribus-scripter-api/page/#importpage it seems to be possible to pass a range of pages...

In order to know which pages you want to be imported, you might want to get the script to first open the sla, analyze it, close it, before importing the pages.

2

Did you enable auto frames when creating the document?

3

That might be a bug in the pages import, independent from the script API...
#8
Scripts and Plugins / Re: Looking for Advice on Usin...
Last post by AdmFubar - October 04, 2024, 03:11:20 PM
depending on the total pages in the magazine you may run into a performance issue with large .sla files. Appending the sections as a finished pdfs, into one will be much easier.
#9
Scripts and Plugins / Looking for Advice on Using im...
Last post by Derek - October 04, 2024, 01:00:44 PM
I'm writing a script to allow me to append sections of a magazine to build a complete magazine (which then goes through final editing (of course).

As there does not appear to be a simple way to append complete sla files I am using importPage to import each page separately. I'm having some difficulties with this:

1) I haven't found an easy way to specify that I want to import all pages. I'm preprocessing each section to get the number of pages in that section, then using the stored number of pages to build the pageList parameter (eg {1, 2, 3, 4}) for importPage. Have I missed something?

2) Whenever importPage creates a page, it creates an empty text frame. This gets in the way for subsequent editing. This is also a problem with newPage - may be related. Can I stop this (possibly I've missed a setting somewhere)?

3) importPage loses the linkage between linked text frames. This needs to be manually recreated to restore the finished page. Any ideas for retaining the linkage?
#10
Linux / Re: Scribus Does Not Start
Last post by SirMix - October 04, 2024, 05:58:48 AM
Thnak you.
The AppImage works.
The version in the repos is 1.6.2.