Recent posts

#81
Beginner Talk / Re: Pagination of large docume...
Last post by bigal - February 17, 2024, 03:54:30 PM
As I noted in my original post, I am using this large PDF as my first experiment into book binding. Thanks to the suggestions above as well as a lot of reading I have converted the original A4 document to A5 and rendered the pages so that there are four A5 pages to each A4 sheet. They print out in the correct page order (I am only printing 5 sheets of paper each time I tested my work to save both paper and ink). These 5 sheets results in 20 A5 pages. Running Imposition software leaves all A5 pages in the correct order apart from the first.

On the first sheet of paper the right hand side has, quite correctly, page 1 printed on it. However the left side has page 2. This means that when all 5 A4 sheets are folded to make up a signature page 2 is at the back. It should, of course, be on the reverse of page 1. The remaining pages are all in the correct order.

Forgive me if my terminology is incorrect, this is just the start of my bookbinding learning curve. As the entire book will be very large, I intend to split it up into signatures each of 10 pieces of paper. I will add 2 blank A5 pages at the front for my use as well as some at the end to make the total page count divisible by 4. The problem is that the left page on the first sheet of paper of each signature will end up, when folded, as the last page of that signature rather than the second.

Try as I might I cannot see any way around this. For the avoidance of doubt I am running Linux Mint 21.3 Virginia using a Cinnamon desktop.

I am using the following software.

LibreOffice Writer
booklerimposer
PDF Arranger
PDFSAM

I seem completely tied up and cannot now find my way out of the trees. Can anyone help please?
#82
Features / Re: Shortcuts for Styles and S...
Last post by a.l.e - February 17, 2024, 09:04:45 AM
if you don't know the name of the style, you look it up in the style editor or in the content palette : - )
for this time, you can apply it from there.
and next time you will be ready to go for the "apply style"!

i was also wondering, if it's a good idea to start with an empty list.

to be honest, i simply copied the behavior from the "action search".
but it would be easy to change it.

the main reason why i did not do it and i've finally left it as is, is that i don't want to animate the user to using the mouse.
if i show a long list, many new users will be tempted to scroll and click on the item, instead of "learning" to type in the filter and then confirm with the enter key.
since scribus already has a good way of applying the styles with the mouse (see above...) i thought that, for now, i prefer to leave like that.

but there is one thing, that i thought could be useful: showing the latest used style (or the latest few) when opening the dialog, in order to make it very fast to reapply the same style again and again.
(but i'm not sure that scribus has a way to "cache" this type of values...)

personally, i'd be happy to see this merged as it is now.
then let other users try it out and improve it further according to the feedback.
#83
Features / Re: Shortcuts for Styles and S...
Last post by Nermander - February 17, 2024, 08:09:00 AM
That's even easier than using the Ribbon in Word! :)


Oh, but wait... If I know I have made a style for something but can't remember the name of the style? It seems the list is empty from the start?
#84
Features / Re: Shortcuts for Styles and S...
Last post by a.l.e - February 16, 2024, 09:13:00 PM
here a slightly better demo (2):

styles.gif
#85
Features / Re: Shortcuts for Styles and S...
Last post by a.l.e - February 16, 2024, 08:59:44 PM
well, no, this is not about applying colors...
i'm simply using the styles called red and cyan because it's easy to see the effect.
(should i have used h1 and list?)

and, in my not so humble opinion, having to go and right click on the color list of the palette defeats the purpose of this tool:
it's about having a keyboard shortcut for applying a formatting!

but integrating the colors in the search style?
yes, that could be a good idea.
it should be possible to add some other formatting options too...

but one thing after the other.

right now, i'm really happy that i got the applying of text styles to work!

apply-style-does-work.gif

i will clean up everything (well, i think that the code is already pretty tidied up) and post a patch to the issue tracker:

https://bugs.scribus.net/view.php?id=17162
#86
Features / Re: Shortcuts for Styles and S...
Last post by AdmFubar - February 15, 2024, 11:35:44 PM
now can you add this as a right click option for a color in the color palette?
#87
Features / Re: Shortcuts for Styles and S...
Last post by a.l.e - February 15, 2024, 10:09:41 PM
search-style-apply-paragraph.gif

yeah!
#88
Features / Re: Shortcuts for Styles and S...
Last post by a.l.e - February 15, 2024, 08:40:19 PM
this afternoon, i decided it was time to go back to my code for applying styles with the keyboard.

i've now duplicated the code for the action search, and i got it so far that i can get the list of styles to be applied (and to filter, of course!)

search-style-first-list.png

with a bit of luck, during the weekend i should be able to create a patch, and finally have some chances to get this (to me very useful feature!) finally into scribus.

now, i have one more hour to get it to apply the style to the current : - )
#89
Beginner Talk / Re: Is it possible to find obj...
Last post by a.l.e - February 15, 2024, 06:23:50 PM
i have now uploaded a version of the script that checks if getGroupItems() exists, before using it (it won't magically make the script better but, now, it won't crash anymore when the command is missing).

getGroupItems() has been added on January 7 and scribus 1.6.1 has been released the same day.

but, as said, it won't select inside of the groups without the patch i've made today.
#90
Beginner Talk / Re: Is it possible to find obj...
Last post by JavierSam - February 15, 2024, 05:06:21 PM
Quote from: a.l.e on February 15, 2024, 01:36:29 PMhey

i have now created a script that searches the current document for the first item that has the given color for its fill or stroke:

https://github.com/aoloe/scribus-script-repository/tree/master/search_by_color

sadly, scribus cannot yet get the color name for items that are inside of a group.

https://bugs.scribus.net/view.php?id=17160

so, if you think that the shape you're looking for is inside of an imported svg, you will need to first ungroup the drawing.

It seems to be a very useful script.
In fact I have tried it and it works fine.
But it didn't work with the "indelible" colours.

The error message was:

Traceback (most recent call last):
  File "<string>", line 11, in <module>
  File "<string>", line 189, in <module>
  File "<string>", line 183, in main
  File "<string>", line 110, in search_color
AttributeError: module 'scribus' has no attribute 'getGroupItems'



So it looks like it's within a group. I will re-download the script shortly and, with the patch you mention, it might work.