Discussion:
[scribus] Setting Tabs
Ralf Mattes
2018-06-11 10:36:53 UTC
Permalink
Hello list,

how can I set a (right-aligned) tab exactly to the right side of a text frame?
When I set the tab position to the exact width of the text frame text actually wraps arround to the next line.
What am I doing wrong?

Cheers, Ralf Mattes



___
Scribus Mailing List: ***@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
ZASKE Martin
2018-06-11 11:30:35 UTC
Permalink
Post by Ralf Mattes
Hello list,
how can I set a (right-aligned) tab exactly to the right side of a text frame?
When I set the tab position to the exact width of the text frame text actually wraps arround to the next line.
What am I doing wrong?
Cheers, Ralf Mattes
___
http://lists.scribus.net/mailman/listinfo/scribus
http://wiki.scribus.net
http://forums.scribus.net
Same here, tried on Scribus 1.5.4 with our normal LTR set-up and our
"default" font Charis SIL:

All tabs set via Style Manager for "Default Paragraph Style":

text is 180 mm wide, font-size 16 pt, three tabs at 60, 120 and 180 mm,
all of them right tabs:


right tab at 180 mm fail (jumps to next line, unexpected)

right tab at 179.999 mm fail (so not a work-around)

right tab at 179 mm works as expected

No time for more tests today. I will watch this space as the solution
will be interesting for us too.


Greetings,

Martin
--
ZASKE Martin
responsable GʊGʊ
BP 50 - Bassila - Bénin
tel GʊGʊ 66.66.11.11
tel pers 97.44.62.95

___
Scribus Mailing List: ***@lists.scribus.net
Edit your options or unsubscribe:
http://lists.scribus.net/mailman/listinfo/scribus
See also
Gregory Pittman
2018-06-11 13:24:39 UTC
Permalink
Post by ZASKE Martin
Post by Ralf Mattes
Hello list,
how can I set a (right-aligned) tab exactly to the right side of a text frame?
When I set the tab position to the exact width of the text frame text actually wraps arround to the next line.
What am I doing wrong?
Cheers, Ralf Mattes
___
http://lists.scribus.net/mailman/listinfo/scribus
http://wiki.scribus.net
http://forums.scribus.net
Same here, tried on Scribus 1.5.4 with our normal LTR set-up and our
text is 180 mm wide, font-size 16 pt, three tabs at 60, 120 and 180 mm,
right tab at 180 mm fail (jumps to next line, unexpected)
right tab at 179.999 mm fail (so not a work-around)
right tab at 179 mm works as expected
No time for more tests today. I will watch this space as the solution
will be interesting for us too.
From what I can tell, it seems that, for this to work properly, the
width of the frame needs to be in round numbers in points, i.e., no
decimals.

So try this as a workaround - make your frame, then switch page units to
points, and adjust the width to a round number in points. You can either
adjust your tab while still in points or switch back to millimeters and
then adjust. This seems to work for me.

In part, I think this comes from these measurements internally in
Scribus being converted to points. The other part, though, is not being
able to handle decimal points properly for these tabs.

The other workaround might be using full justification instead of that
last tab, though this might be tricky.

Greg

PS this is using 1.5.5svn


___
Scribus Mailing List: ***@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
ale rimoldi
2018-06-12 14:49:32 UTC
Permalink
On Mon, 11 Jun 2018 09:24:39 -0400
Post by Gregory Pittman
Post by ZASKE Martin
Post by Ralf Mattes
Hello list,
how can I set a (right-aligned) tab exactly to the right side of a
text frame? When I set the tab position to the exact width of the
text frame text actually wraps arround to the next line. What am I
doing wrong?
Same here, tried on Scribus 1.5.4 with our normal LTR set-up and our
text is 180 mm wide, font-size 16 pt, three tabs at 60, 120 and 180
right tab at 180 mm fail (jumps to next line, unexpected)
right tab at 179.999 mm fail (so not a work-around)
right tab at 179 mm works as expected
No time for more tests today. I will watch this space as the
solution will be interesting for us too.
From what I can tell, it seems that, for this to work properly, the
width of the frame needs to be in round numbers in points, i.e., no
decimals.
So try this as a workaround - make your frame, then switch page units
to points, and adjust the width to a round number in points. You can
either adjust your tab while still in points or switch back to
millimeters and then adjust. This seems to work for me.
scribus has the "width" variable which gives you the framewidth... but
it seems not to work for tabulators.

i've filled a ticket:

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

ciao
a.l.e

___
Scribus Mailing List: ***@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
Gregory Pittman
2018-06-12 15:02:47 UTC
Permalink
Post by ale rimoldi
On Mon, 11 Jun 2018 09:24:39 -0400
Post by Gregory Pittman
Post by ZASKE Martin
Post by Ralf Mattes
Hello list,
how can I set a (right-aligned) tab exactly to the right side of a
text frame? When I set the tab position to the exact width of the
text frame text actually wraps arround to the next line. What am I
doing wrong?
Same here, tried on Scribus 1.5.4 with our normal LTR set-up and our
text is 180 mm wide, font-size 16 pt, three tabs at 60, 120 and 180
right tab at 180 mm fail (jumps to next line, unexpected)
right tab at 179.999 mm fail (so not a work-around)
right tab at 179 mm works as expected
No time for more tests today. I will watch this space as the
solution will be interesting for us too.
From what I can tell, it seems that, for this to work properly, the
width of the frame needs to be in round numbers in points, i.e., no
decimals.
So try this as a workaround - make your frame, then switch page units
to points, and adjust the width to a round number in points. You can
either adjust your tab while still in points or switch back to
millimeters and then adjust. This seems to work for me.
scribus has the "width" variable which gives you the framewidth... but
it seems not to work for tabulators.
https://bugs.scribus.net/view.php?id=15356
A bigger problem than that is that even when you use the exact width, it
doesn't work if the dimension isn't a round number in points.

Greg


___
Scribus Mailing List: ***@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

Ralf Mattes
2018-06-11 13:56:28 UTC
Permalink
Post by Gregory Pittman
Post by ZASKE Martin
Post by Ralf Mattes
Hello list,
how can I set a (right-aligned) tab exactly to the right side of a text frame?
When I set the tab position to the exact width of the text frame text actually wraps arround to the next line.
What am I doing wrong?
Cheers, Ralf Mattes
___
http://lists.scribus.net/mailman/listinfo/scribus
http://wiki.scribus.net
http://forums.scribus.net
Same here, tried on Scribus 1.5.4 with our normal LTR set-up and our
text is 180 mm wide, font-size 16 pt, three tabs at 60, 120 and 180 mm,
right tab at 180 mm fail (jumps to next line, unexpected)
right tab at 179.999 mm fail (so not a work-around)
right tab at 179 mm works as expected
No time for more tests today. I will watch this space as the solution
will be interesting for us too.
From what I can tell, it seems that, for this to work properly, the
width of the frame needs to be in round numbers in points, i.e., no
decimals.
Ah, thank's, good catch. To me this looks like a bug - why the need for integral size values?
Post by Gregory Pittman
So try this as a workaround - make your frame, then switch page units to
points, and adjust the width to a round number in points. You can either
adjust your tab while still in points or switch back to millimeters and
then adjust. This seems to work for me.
Yes, that works for me as well (minimally sacrificing the page layout design I need to
reproduce). But it's clumsy since the frames where auto-generated so I need to script
a solution that walks the document's text frames and adjusts their size.
Post by Gregory Pittman
In part, I think this comes from these measurements internally in
Scribus being converted to points. The other part, though, is not being
able to handle decimal points properly for these tabs.
I guess I need to look at the sources ...
Post by Gregory Pittman
The other workaround might be using full justification instead of that
last tab, though this might be tricky.
Hmm, creative workarround :-)
But will this work with the 'use right tab and underscore' workarround for scribus' missing horizontal
lines? (that's my second usecase for right-aligned right tabs).

Thank's a lot,

RalfD
Post by Gregory Pittman
Greg
PS this is using 1.5.5svn
___
http://lists.scribus.net/mailman/listinfo/scribus
http://wiki.scribus.net
http://forums.scribus.net
___
Scribus Mailing List: ***@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
JLuc
2018-06-11 18:23:31 UTC
Permalink
Post by Ralf Mattes
But will this work with the 'use right tab and underscore' workarround for scribus' missing horizontal
lines? (that's my second usecase for right-aligned right tabs).
In case your text are same width, you might create a line object, have it available (in the pastebin)
and paste it inline. isnt ?

JL


___
Scribus Mailing List: ***@lists.scribus.net
Edit your options or unsubscribe:
http://lists.scribus.net/mailman/listinfo/scribus
See also:
http://wiki
Ralf Mattes
2018-06-11 18:56:01 UTC
Permalink
Post by JLuc
Post by Ralf Mattes
But will this work with the 'use right tab and underscore' workarround for scribus' missing horizontal
lines? (that's my second usecase for right-aligned right tabs).
In case your text are same width, you might create a line object, have it available (in the pastebin)
and paste it inline. isnt ?
Well, I'm trying to automate the production of our university calendar. The data gets imported as an
XPress Tag file that gets exported from a database. Is it possible to place line objects from such an import file?

Cheers, RalfD
Post by JLuc
JL
___
http://lists.scribus.net/mailman/listinfo/scribus
http://wiki.scribus.net
http://forums.scribus.net
___
Scribus Mailing List: ***@lists.scribus.net
Edit your options or unsubscribe:
http://lists.scribus.net/mailman/listinfo/scribus
See also:
http://wiki.scribus.net
http://foru
Loading...