On 11/4/22 13:48, Gary Dale wrote:
I'm running Debian/Bookworm on an AMD64 system. Scribus is v1.5.8.
I am having a lot of problems with styles. You can see the basic problem in the attached image
which is a screenshot of Edit | Style window. I apparently have multiple "Default
Paragraph Style"s, for example. This survives shutting down Scribus and restarting, as
well as rebooting. Moreover I can't get rid of them without deleting the style, which would
require me to replace it with something else - the extra copies don't show up in the
"replace style with: dialogue so I can't replace the deleted style with the real one.
To see what was going on, I opened my document in Kate and searched for the style
definition line. It only appears once but in this particular case, I also found a
"Default Paragraph Style (2)" definition that doesn't show up in the list of
styles.
For the "Bullet List Paragraph Style", which also appears 3 times, there was
just the single definition line. The bullet list definition is a 3mm indent with a first
line indent of -3mm. In Kate this shows up as:
<STYLE NAME="Bullet List Paragraph Style" PARENT="Default Paragraph Style"
INDENT="8.50393700787402" FIRST="-8.50393700787402" VOR="0"/>
However some of my bullet lists show the correct indents while others seem to
ignore them. I traced this down to flowing text around a picture frame (pushing
the left margin to the right of the picture). When this happens, Scribus
(incorrectly in my opinion) ignores the indents. I suggest that the better
behaviour is for Scribus to apply the indent rules after wrapping the text, so
that the first bit of text in a line gets the first line indent while the
subsequent lines get the default indent.
Finally, when I import a page or copy a section of a different document into a
document, it pulls in all of the styles from the source document and not just
the ones used in that page/section. This leaves me with a lot of extra styles
that I have to delete. Scribus doesn't even check to see if styles with the
same name have the same definition - it simply renames the imported style and
uses it.
I believe it would be better to ask the user about conflicting names when they
actually occur in in the parts being imported rather than simply assuming that
we want to other document's styles. However, even discarding the source
document's styles when they conflict seems better than duplicating them. Maybe
is just my use case, but I think its more likely that the destination
document's styles are likely to be the same or updated versions of the styles
from the source document.
Hi Gary,
Somehow you've managed to create all these duplications. Your best bet is to go
through them and delete the ones you don't want. Scribus expects you to be in
control of the naming of styles.
Greg
___
Scribus Mailing List: scribus@lists.scribus.net
Edit your options or unsubscribe:
http://lists.scribus.net/mailman/listinfo/scribus
See also:
http://wiki.scribus.net
http://forums.scribus.net