Recent posts

#91
Layout Issues / Re: Adding additional pages wi...
Last post by lockheed02 - March 15, 2024, 06:59:10 AM
That's pretty interesting. Also I have the option to temporary create the article in a copy of that document and then import it when the other articles are ready. So it would add them at the end. Fun part I saw (V 1.6.1) is, when importing, it adds new pages with their text boxes, then adds another text box (slightly misaligned) with the imported texts on top. Needs some manual work to clean up/reposition/reconnect the text boxes but it seems to be working as well. The styles and images etc. were preserved so the workload seems acceptable.

Thanks very much for your inspiring ideas :)

Lockheed
#92
Text and Typography / Re: Prevent linebreaks and hyp...
Last post by a.l.e - March 14, 2024, 11:24:12 PM
i have a trivial two lines patch against the current code that prevents "Extras > Hyphenate" from hyphenating words that start with a soft hyphen.

i have to check what happens when "hyphenate while typing" is on.
if you first type the soft hyphen, it seems to respect it.
when you go back and add it later, then the word gets hyphenated.

finally, i think that we also should make the soft hyphens visible when the control chars are shown...
does anybody have a suggestion on how to do it?
i've checked libre office and it adds an hyphen with a dark gray background. sadly, this changes the layout so i don't think it will be a solution that can be used in scribus.

ps.: note to self: a vertical light gray bar before between the letters could be a good solution...
#93
Text and Typography / Re: Prevent linebreaks and hyp...
Last post by a.l.e - March 14, 2024, 05:13:34 PM
the "standard" way for avoiding the hyphenation of a word is to put a soft hyphen in front of the word.

a long time ago cezary even made a patch for it:

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

according to the comments in the ticket, scribus seems to already have some code that tries to implement it but fails...
#94
Layout Issues / Re: Adding additional pages wi...
Last post by a.l.e - March 14, 2024, 01:12:40 PM
i've made a patch to limit the number of copies done by the page tab of multi-duplicate:

https://bugs.scribus.net/view.php?id=17175#c51038

with it you can create a chain of text in this way:

multi-duplicate-link.gif

for single layout pages, it's ok to copy one single frame on the following pages, for document with facing pages, you mostly will want to select one frame on the left page and one (linked) frame in the right page...
... and don't forget to check the "link text" option : - )

(without the patch, it will fill to the end, which is not what you need here)
#95
Text and Typography / Prevent linebreaks and hyphen ...
Last post by JLuc - March 14, 2024, 12:55:45 PM
I wish i could prevent linebreaks and hyphens in some specified text.

emails should not be hyphenated. hyphenation is hard to distinguish from a real included dash.
+ sometime emails include a dot or a dash like my.na-me@provid.er but i dont want any linebreak or hyphen to break any part of that text.

Idealy this would be achieved with text having a specific character style. But i dont thing it is possible as for now. Is there a way ?

Possibly using a script ?
#96
Beginner Talk / Re: Place Multi page PDF in to...
Last post by joseb - March 14, 2024, 12:37:08 PM
Thank you very much "a.l.e" for creating a path.

Any solution that can improve placing a PDF with multiple pages in image frames more automatically would be welcome.

Maybe my proposals are not the best... and other people may find a more suitable way.

Another alternative would be to use the "File / open" option and import a PDF with multiple pages in picture frames (not importing as a vector file, not recognizing the text either).

Is it possible to add another option to: Import each page into an image frame and keep the file linked (not embedded)?



Thank you all very much and congratulations to everyone who contributes to improve Scribus. I really appreciate it.
#97
Layout Issues / Re: Adding additional pages wi...
Last post by lockheed02 - March 14, 2024, 07:33:55 AM
Bug report created https://bugs.scribus.net/view.php?id=17173

I will try the "multiple Duplicate" later tonight.

Thank you so much already!

Lockheed
#98
Layout Issues / Re: Adding additional pages wi...
Last post by a.l.e - March 13, 2024, 10:31:39 PM
of course this is not correct!

can you please post a ticket in the bug tracker?
(https://bugs.scribus.net)

in the meantime, you can explore "Item > Duplicate > Multiple duplicate" and its "By Page" tab.
in my eyes, a way better tool, for getting your text into the next set of pages.
(sadly, it won't work if your margins on the even and odd pages are not the same... that would be worth a patch...)
#99
Beginner Talk / Re: Place Multi page PDF in to...
Last post by a.l.e - March 13, 2024, 10:23:40 PM
i'm not sure that doing "magic" (or formulas) in the page field of the images is a good idea.

but i've now created a patch for the scripter that adds the commands setImagePage() and getImagePage.

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

soon, it should be possible to write a small script that adds image frames with the "right" page.
or changes the page in the image to match the one in the document.
#100
Layout Issues / Adding additional pages with m...
Last post by lockheed02 - March 13, 2024, 10:11:18 PM
Hello there,

I have some strange behavior. I basically have a document of 10 pages with automatic text boxes and if I add additional pages in between, the text boxes are somewhere beyond the pages, far at the end of the document. I found a similar topic I think but that is quite old:

https://forums.scribus.net/index.php/topic,3396.msg15960.html#msg15960

I don't know  if that's a bug (I'm on 1.6.1 but already had that in 1.5.8 ), maybe someone can verify:


Steps to reproduce:

1. create a new document, 10 pages (double sided), with automatic text boxes:



2. Add 8 additional pages. they shall be inserted after page 7



3. Observe: the pages get inserter correctly but the text boxes are somewhere very far after the document.




Is this behavior supposed to be like that?

As I have to do a ~400 pages document with 20+ articles and they gave me the last article first, I really don't want to insert many pages each time.


Thank you very much for any hints.

Lockheed