[scribus] regular tab stops = update =

Silvain Dupertuis silvain-dupertuis at bluewin.ch
Mon Feb 7 15:06:24 UTC 2022


Thank you for the indication!
I could not find this setting, now I see it...
(In my French version :
/Réglage du document > Outils > Texte > Largeur de tabulation/)

I still think a *style* would be useful and more flexible (especially to get right align tabs)
If we can create a script to adjust the tabs positions and types to a regular sequence 
with a given width
(so that one could change it with one click and one numeric choice)

The maths are easy,
the tricky part is to find out how to get and set the style properties in the script
(There are some indications here 
<https://wiki.scribus.net/canvas/Using_createParagraphStyle>, but this page explains how 
to /create/ a paragraph style, and does not mention tabs)...

Silvain

Le 07.02.22 à 14:52, Gregory Pittman a écrit :
> On 2/7/22 04:18, Martin Zaske LINGO wrote:
>> Hello list,
>>
>> last night I was designing a special calendar page for a friend's
>> birthday. Since it was a one-off I quickly did the calendar part (days
>> of the week and dates) with spaces and tab stops.
>>
>>
>> Then I realized that I could not find where to set the default width of
>> "a tab stop".
>>
>>
>> I am aware that in Text Properties F3 pop up window I can have full
>> control over each custom tab stop and its position and its orientation.
>> Same again where I define styles.
>>
>> But I had a list of 10 dates and nine tab stops in-between and did NOT
>> know where I needed them, I was experimenting.
>>
>>
>> I wanted to change the width of the inbuilt default tab-stop (as I used
>> to in Corel Draw many years ago) so that I could test several layouts.
>> If I had to manually place nine customs tab-stops and do the math and
>> then do it several more iterations to find a good and pleasing layout,
>> that would be painful. The custom tab-stops are great for planned
>> layouts but not for "creative messing about". So last night a used a
>> dirty hack with manual tracking feature.
>>
>>
>> If there is a way in the GUI to find and set the default tab-stop width,
>> please advise. Sorry, still on version 1.5.7 but 1.5.8 already
>> downloaded, just not much time due to project surprises.
>>
>>
>> Greetings,
>>
>> Martin
>>
>>
>> PS: I made a test document with a row of numbers separated by simple
>> tabs from my keyboard and had a look inside the .sla file and found
>> <DOCUMENT ... TabWidth="36" ... and since I had not set anything, the
>> value of "36" seems to be the default. I changed it to another value and
>> re-opened my document and the results were as expected, i.e. very good.
>>
>> So I have a clumsy solution for my request, to access the default, again
>> not very suitable for creative experimenting for a new layout, but still
>> much better than calculating and setting many customs-tabs manually.
>
> Hi Martin,
>
> Rather than fiddling with the XML of a document, you can go to File > Document Setup > 
> Item Tools > Text tab. There you see the default tab setting for the document. With no 
> document open, you can change the default for future documents at File > Preferences > 
> Item Tools > Text tab.
>
> In addition you can create an irregular tab stop setup as part of a Paragraph Style.
>
> Greg
>
>
> ___
> Scribus Mailing List: scribus at 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



-- 
Silvain Dupertuis
Route de Lausanne 335
1293 Bellevue (Switzerland)
tél. +41-(0)22-774.20.67
portable +41-(0)79-604.87.52
web: silvain-dupertuis.org <https://perso.silvain-dupertuis.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scribus.net/pipermail/scribus/attachments/20220207/544bd479/attachment.htm>


More information about the scribus mailing list