Recent posts

#41
Scripts and Plugins / Re: Table Cell Padding
Last post by a.l.e - February 27, 2024, 07:57:00 AM
works here... but, depending on your default unit, you want to use a bigger value than 0.15...

with 0.15 i just see a small flicker (here it moves by one and a half millimeters...)

put 20 in there and you will see something : - )

if it's not one of the scripter's functions that has been fixed recently, it should also work for you!
#42
Scripts and Plugins / Table Cell Padding
Last post by sbus-scripter - February 27, 2024, 01:49:33 AM
I'm trying to set table cell padding with API but it not setting it. Script runs without an error but no changes are being made.

I am using setCellLeftPadding and values I'm passing are below where I have named my table as mytable
scribus.setCellLeftPadding(1, 1, 0.15, "mytable")
TIA

#43
Text and Typography / Re: Is there an easier way to ...
Last post by a.l.e - February 26, 2024, 07:38:14 PM
here is the post i've promised above: Sharing files in this Forum

#44
Scribus forums / Sharing files in this Forum
Last post by a.l.e - February 26, 2024, 07:35:04 PM
When asking questions in these forums you might want to share files to better explain your goals... or you will be kindly asked to share them.

This is short tutorial about how you can share your files with the other forums' users.

Attaching files to your post

When creating a new topic you will see this at the bottom of the writing area:

attach-file.png

... And pick the file you want to upload.

You can also attach files to your replies, but you need to take care to click on the (red) "Reply" button, instead of the "Quick Reply" button just below the previous post.
(If you have already started writing a Quick Reply, you can select all, copy the content you have already written and paste it into a "real" reply.)

The forums allows you to upload
  • many types of image files,
  • .sla files,
  • doc and odt (but currently not docx) and
  • zip files.

If you want to share an unsupported type of file you can:

  • zip it or
  • upload to a sharing service (see the section below about sharing big files)

Inserting attached images in your post

You can insert in the post the images that you have previously attached to it.

You just need to find the small "triangle up" icon above the attachment and click on it:

insert-image.png

Finally, click on the "Insert" button that will popup (and will be a bit mixed up with the background)

Sharing bigger files (or of unsupported types)

If you want to share bigger files, you should upload them "somewhere" and provide the link.

Typically, you can use:

  • The online space provided by big companies like Microsoft, Apple, Google, Dropbox, ... (It's very likely that you have access to one of them)
  • Upload it to your web space you control
  • Use a free sharing tool (suggestions for links are welcome!)

Please, make sure that the uploaded file can be read, without the people helping you, having the need to to register and login.

Sharing files that you want to keep "private"

Sometimes, you might prefer not to provide your files to be downloaded by the whole internet.

In this case, you can

  • use one of the tools suggested in the section above about sharing bigger files
  • and send offer to send the link as a private message to people that are willing to help you

Contribution to this topic

This topic is a work in progress.

If you want to improve it, just write a reply to it and we will try to integrate it in this small tutorial.
#45
Text and Typography / Re: Is there an easier way to ...
Last post by oida - February 26, 2024, 07:19:56 PM
Quote from: a.l.e on February 26, 2024, 07:00:23 PMfor your first goal (sorting the recipes alphabetically in each toc's chapter) you should indeed be able to use the TOC tool scribus provides (if your a bit of a masochist)
Yeah, it wasn't that easy to figure out how the Scribus toc works but well, i have found that exporting the text, formating it in shell script and reimport it to Scribus is a little bit scary, but i'm on Linux for appx. 10yrs so that doesn't scare me to much  :D  :D  :D

Quoteor the TOC script i have created (https://github.com/aoloe/scribus-script-repository/tree/master/table_of_contents, if you're brave enough to want to learn how to run scripts inside of scribus), select the lines in each chapter and then use a script (i guess i will volunteer to create it) to sort the selection (so you will need to learn how to use scripts anyway...)


if you want an index with the ingredient, you will probably need to create a real index (or suffer a lot by duplicating the content in "hidden" fields and use the TOC tool provided by scribus... but i'm not sure it can do it).
but, even then, it all depends on how you want to present the result.
Hmmm, i will give it a try but if it's to hard for me i had to live without a real index (for this time)

Quotei don't know how much content you already have, but i would like to suggest you to start putting in three or four recipes and then manually prepare an TOC and an index the way you want them to be... and show the result.
for now i have about 70 recipes in plain txt, and at the beginning i struggled a bit with Scribus templates but it looks i have all i need. Just now a document with 5 recipes (each recipe on a single page) and playing around, the learning curve in my opinion is good, but some relations of functions are looking for me like a mess  :o , but at the end no big deal.
Quotefinally, i will start a topic explaining how to share files in this forum and link it later...
Yeah, great. Thank you a lot for jumping in.

#46
Installation and Setup / Scribus 1.6.1 app image crashe...
Last post by Lemuria - February 26, 2024, 07:03:34 PM
$ ./scribus-1.6.1-linux-x86_64.AppImage
Run experimental bundle that bundles everything
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, minimal, minimalegl, offscreen, vnc, webgl, xcb.


I'm on Ubuntu 20.04, and QMake tells me this:
QMake version 3.1
Using Qt version 5.12.8 in /usr/lib/x86_64-linux-gnu

I have no idea how to get Scribus 1.6.1 to even run, let alone how to upgrade Qt.
#47
Text and Typography / Re: Is there an easier way to ...
Last post by a.l.e - February 26, 2024, 07:00:23 PM
for your first goal (sorting the recipes alphabetically in each toc's chapter) you should indeed be able to use the TOC tool scribus provides (if your a bit of a masochist) or the TOC script i have created (https://github.com/aoloe/scribus-script-repository/tree/master/table_of_contents, if you're brave enough to want to learn how to run scripts inside of scribus), select the lines in each chapter and then use a script (i guess i will volunteer to create it) to sort the selection (so you will need to learn how to use scripts anyway...)

if you want an index with the ingredient, you will probably need to create a real index (or suffer a lot by duplicating the content in "hidden" fields and use the TOC tool provided by scribus... but i'm not sure it can do it).
but, even then, it all depends on how you want to present the result.

i don't know how much content you already have, but i would like to suggest you to start putting in three or four recipes and then manually prepare an TOC and an index the way you want them to be... and show the result.

finally, i will start a topic explaining how to share files in this forum and link it later...
#48
Text and Typography / Re: Is there an easier way to ...
Last post by oida - February 26, 2024, 05:22:36 PM
Hi,
thank you for your interest. I'm just retired and a enthusiastic Hobby Chef and some of my friends, better some of their wifes  :D asked me to share my recipes with them. And after retiring i have the time to do this.

To cut a long story short, the book will be about 50 - 80 pages and divided into usual Chapters like Starter, Main Dishes, Deserts and Snacks. These Chapters divide into "cold Dishes / hot food, green - vegan ..... In the index section all dishes should be assigned alphabetically.
I also consider using calibre to convert the pdf to ebook, so eventually a index based on the main ingredients would be an option.

On every recipe's page i will place a photo.

I am on the Linux side, my Software is Debian 12, Scribus Version 1.5.8, the used Hardware is a Lenovo Thinkpad P14s, AMD Ryzen 7, 32GB Ram

Hmm, i don't know how to attach a .sla file  ::) , so please give me a hint.
#49
Text and Typography / Re: Is there an easier way to ...
Last post by a.l.e - February 26, 2024, 11:36:43 AM
Do you want to create an index?

Because I have never seen a TOC sorted.

Some time ago, i have been working on a script for creating an index in Scribus but I could not get to something i was happy with.

One for the reasons was, that I didn't have a real world sample to use as a reference.

If you're ready to share more details about the needs of your project and some .sla files, I might be willing to continue my exploration and, with a bit of luck, come up with something you can use.
#50
Text and Typography / Is there an easier way to form...
Last post by oida - February 25, 2024, 10:51:22 PM
Hallo,

i just started experimenting with Scribus (1.5.8) for my project and there is one issue i have some headache, especially sorting the Table of contents. What i want: all enties sorted alphabetical and formatted as any TOC.
Well, what i do at moment is : Create the table, export the text and then i do it with cmd line "sort -k1 index.txt > indexsort.txt", the reinsert the file and format it with tabulator settings.

Is there a way to do this directly in Scribus ?

Thank you in advance for any help