View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0017243 | Scribus | Story Editor / Text Frames | public | 2024-07-01 13:00 | 2025-02-22 09:26 |
Reporter | ale | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Product Version | 1.6.3.svn | ||||
Summary | 0017243: Left indent for numbered lists | ||||
Description | The Scribus Paragraph Effects now have a list. Sadly, it's not possible to create a correct hanging indent, because the existing field "offset" does not start from the left (or right for RTL) margin but from the suffix. This is a bigger issue at least for numbered lists with more than 9 elements (and for shorter lists that are not in arab numbers). See this forum thread for a complaint about this: Aligning Numbered Lists Vertically https://forums.scribus.net/index.php/topic,5213.msg23805.html#msg23805 I've checked how Libreoffice does it: From what I can tell, it simply adds a tab character after the suffix. Automatically. Always. If no tab is defined, the cursor will jump to the first default tab. This having been said that, I wonder what's the use case for the offset that starts from the number / suffix. Is there any? If there is no known usage for it, I guess that the simplest solution is to repurpose this offset to start from the left margin. The feature is pretty new in the stable version and -- if nobody if it is has no real purpose in its current implementation, i don't see why somebody would have used it... The better solution is probably: - The "offset" field is deprecated (and in the long term completely removed from Scribus; except if somebody comes up with a use case for the current implementation...). - By default the list paragraph effects jump to the first existing tab (the default one if there is none) by inserting an automatic tab character after the suffix - It might be possible to disable the automatic tab (if somebody comes up with a use case where this is useful) - If there is a way to disable the automatic tab and the offset gets deprecated, allow multiple chars in the suffix (in order to allow a space after the dot) | ||||
Tags | No tags attached. | ||||
Patch | No | ||||
|
this should be fixed as soon as possible. people are starting using the numbering and, as soon as the number grows over 9 (or the width of the digits are not somehow the same), the entries WILL NOT BE ALIGNED! the current way of doing the auto-indent is almost always wrong and shall be deprecated / replaced by one that does work! the solution seems pretty simple to me: - the "auto-indent" checkbox should be used to add a tab before the number and one after the dot. - the "Character offset" field should be used to define an hanging indent and a left tab. on top of, it we need a right tab slightly to left, of it for aligning the number and the dot. - if the user has defined an (hanging) indent or tabs for the paragraph, that indent should be used and no new tab should be "defined". the "Character offset" field should be disabled and a tooltip should explain why ("can only be filled when no tabs or indent is defined"). |
|
i have to correct myself, it seems to be possible to get an acceptable result by setting the left indent for the paragraph, the automatic indent and a small character offset. but, then, the numbers are right aligned. a solution that would use the tabs and hanging indents would be much more flexible and, probably, easier to discover for the user. |
|
the code for applying the distances in the list seems to be very intricate. the PageItem_TextFrame::layout() function that probably applies the layout of the lists (among a lot of other things) is almost 2000 lines of code with specific instruction for the various supported types of text elements. there might be performance reasons to keep all the code together, but i fear that the numerious conditions and loops also hide bugs and inefficient code that could be avoided by refactoring the code in function and structures with telling names and one concern. also, by having separate functions for each concern, it might be possible to add tests and be more confident that the code does the right thing! as an example (i swear, it was in in the 40 lines of code currently on my screen!) this complex conditions set got my attention: if ((current.isEndOfLine(style.rightMargin() + hyphWidth)) || current.isEndOfCol(realDesc) || SpecialChars::isBreak(itemText.text(a), m_columns > 1) || (current.xPos - current.maxShrink + hyphWidth) >= current.mustLineEnd) { //end of row reached - right column, end of column, break char or line must end if (current.isEmpty && !current.afterOverflow && !SpecialChars::isBreak(itemText.text(a), m_columns > 1)) { //no glyphs in line, so start new row if (SpecialChars::isBreak(itemText.text(a), m_columns > 1)) this snippet - is calling three times the function `SpecialChars::isBreak(itemText.text(a), m_columns > 1)`. no idea how expensive that is... - and -- if i understand it correctly -- the last one is useless, since the preceding line checks for `!SpecialChars::isBreak(itemText.text(a), m_columns > 1)` . but the code is so complex and not self documenting that i'm not even 100% that the last "if" will always be false! as an example having auto breakAtEndOfColumn = SpecialChars::isBreak(itemText.text(a), m_columns > 1) if ((current.isEndOfLine(style.rightMargin() + hyphWidth)) || current.isEndOfCol(realDesc) || breakAtEndOfColumn || (current.xPos - current.maxShrink + hyphWidth) >= current.mustLineEnd) { //end of row reached - right column, end of column, break char or line must end if (current.isEmpty && !current.afterOverflow && !breakAtEndOfColumn)) { //no glyphs in line, so start new row if (breakAtEndOfColumn)) would already be a bit easier to parse. (of course, i'm not at all sure that name of the new variable above is correct!.) all this because i wanted to tell you, that i wanted to check if i can manage to get scribus to respect the tabs pasted inside prefix and suffix, i've probably even found (one of) the line(s) that make it hard, and gave up the task. |
|
To be even more clear: a user wanted to achieve the attached result and this seems not to be possible, when using the Scribus lists. |
|
I could recreate the screenshot with a numbered list in Scribus. 1. Create a new paragraph style 2. enable numbered list (no left indent, no auto indent) 3. Add a new tab (right) 4. set fill char "dot" Text should be formatted like "Chapter I <tab> 1" The paragraph style will format it like "1. Chapter I..........1" Attached file has been created with 1.7.1 svn What I see as a missing feature is a flexible tabulator position to push the number always to the right edge of the text frame. Each time you resize text frame the numbers stay at the same position because of the absolute tabulator position. Document-1.sla (22,279 bytes)
<?xml version="1.0" encoding="UTF-8"?> <SCRIBUSUTF8NEW Version="1.7.1.svn"> <DOCUMENT ANZPAGES="1" PAGEWIDTH="595.275590551181" PAGEHEIGHT="841.889763779528" BORDERLEFT="40" BORDERRIGHT="40" BORDERTOP="40" BORDERBOTTOM="40" PRESET="0" BleedTop="0" BleedLeft="0" BleedRight="0" BleedBottom="0" ORIENTATION="0" PAGESIZE="IsoA_A04" FIRSTNUM="1" BOOK="0" AUTOSPALTEN="1" ABSTSPALTEN="11" UNITS="1" DFONT="Arial Regular" DSIZE="12" DCOL="1" DGAP="0" TabFill="" TabWidth="36" TextDistLeft="0" TextDistRight="0" TextDistBottom="0" TextDistTop="0" FirstLineOffset="1" AUTHOR="" COMMENTS="" KEYWORDS="" PUBLISHER="" DOCDATE="" DOCTYPE="" DOCFORMAT="" DOCIDENT="" DOCSOURCE="" DOCLANGINFO="" DOCRELATION="" DOCCOVER="" DOCRIGHTS="" DOCCONTRIB="" TITLE="" SUBJECT="" VHOCH="33" VHOCHSC="66" VTIEF="33" VTIEFSC="66" VKAPIT="75" BASEGRID="14.4" BASEO="0" AUTOL="100" UnderlinePos="-1" UnderlineWidth="-1" StrikeThruPos="-1" StrikeThruWidth="-1" GROUPC="1" HCMS="0" DPSo="0" DPSFo="0" DPuse="0" DPgam="0" DPbla="1" DPPr="ISO Coated v2 300% (basICColor)" DPIn="sRGB display profile (ICC v2.2)" DPInCMYK="ISO Coated v2 300% (basICColor)" DPIn2="sRGB display profile (ICC v2.2)" DPIn3="ISO Coated v2 300% (basICColor)" DISc="1" DIIm="0" ALAYER="0" LANGUAGE="en_US" AUTOMATIC="1" AUTOCHECK="0" GUIDELOCK="0" SnapToGuides="0" SnapToGrid="0" SnapToElement="0" MINGRID="20.001" MAJGRID="100.001" SHOWGRID="0" SHOWGUIDES="1" showcolborders="1" SHOWFRAME="1" SHOWControl="0" SHOWLAYERM="0" SHOWMARGIN="1" SHOWBASE="0" SHOWPICT="1" SHOWLINK="0" rulerMode="1" showrulers="1" showBleed="1" rulerXoffset="0" rulerYoffset="0" GuideRad="10" GRAB="4" POLYC="4" POLYF="0.502" POLYR="0" POLYIR="0" POLYCUR="0" POLYOCUR="0" POLYS="0" arcStartAngle="30" arcSweepAngle="300" spiralStartAngle="0" spiralEndAngle="1080" spiralFactor="1.2" AutoSave="1" AutoSaveTime="600000" AutoSaveCount="1" AutoSaveKeep="0" AUtoSaveInDocDir="1" AutoSaveDir="" ScratchBottom="508.031" ScratchLeft="1000.001" ScratchRight="1000.001" ScratchTop="508.031" GapHorizontal="0" GapVertical="1000.001" StartArrow="0" EndArrow="0" PEN="Black" BRUSH="None" PENLINE="Black" PENTEXT="Black" StrokeText="Black" TextBackGround="None" TextLineColor="None" TextBackGroundShade="100" TextLineShade="100" TextPenShade="100" TextStrokeShade="100" STIL="1" STILLINE="1" WIDTH="1" WIDTHLINE="1" PENSHADE="100" LINESHADE="100" BRUSHSHADE="100" CPICT="None" PICTSHADE="100" CSPICT="None" PICTSSHADE="100" PICTSCX="1" PICTSCY="1" PSCALE="1" PASPECT="1" EmbeddedPath="0" HalfRes="1" dispX="10.001" dispY="10.001" constrain="15" MINORC="#00ff00" MAJORC="#00ff00" GuidesColor="#000080" BaselineGridColor="#c0c0c0" renderStack="2 0 4 1 3" GridType="0" PAGEC="#ffffff" MARGC="#0000ff" RANDF="0" currentProfile="PDF 1.4" calligraphicPenFillColor="Black" calligraphicPenLineColor="Black" calligraphicPenFillColorShade="100" calligraphicPenLineColorShade="100" calligraphicPenLineWidth="1" calligraphicPenAngle="0" calligraphicPenWidth="10" calligraphicPenStyle="1"> <CheckProfile Name="PDF 1.3" ignoreErrors="0" autoCheck="1" checkGlyphs="1" checkOrphans="1" checkOverflow="1" checkPictures="1" checkPartFilledImageFrames="0" checkResolution="1" checkTransparency="1" minResolution="144" maxResolution="2400" checkAnnotations="0" checkRasterPDF="1" checkForGIF="1" ignoreOffLayers="0" checkNotCMYKOrSpot="0" checkDeviceColorsAndOutputIntent="0" checkFontNotEmbedded="1" checkFontIsOpenType="1" checkAppliedMasterDifferentSide="1" checkEmptyTextFrames="1"/> <CheckProfile Name="PDF 1.4" ignoreErrors="0" autoCheck="1" checkGlyphs="1" checkOrphans="1" checkOverflow="1" checkPictures="1" checkPartFilledImageFrames="0" checkResolution="1" checkTransparency="0" minResolution="144" maxResolution="2400" checkAnnotations="0" checkRasterPDF="1" checkForGIF="1" ignoreOffLayers="0" checkNotCMYKOrSpot="0" checkDeviceColorsAndOutputIntent="0" checkFontNotEmbedded="1" checkFontIsOpenType="1" checkAppliedMasterDifferentSide="1" checkEmptyTextFrames="1"/> <CheckProfile Name="PDF 1.5" ignoreErrors="0" autoCheck="1" checkGlyphs="1" checkOrphans="1" checkOverflow="1" checkPictures="1" checkPartFilledImageFrames="0" checkResolution="1" checkTransparency="0" minResolution="144" maxResolution="2400" checkAnnotations="0" checkRasterPDF="1" checkForGIF="1" ignoreOffLayers="0" checkNotCMYKOrSpot="0" checkDeviceColorsAndOutputIntent="0" checkFontNotEmbedded="1" checkFontIsOpenType="1" checkAppliedMasterDifferentSide="1" checkEmptyTextFrames="1"/> <CheckProfile Name="PDF 1.6" ignoreErrors="0" autoCheck="1" checkGlyphs="1" checkOrphans="1" checkOverflow="1" checkPictures="1" checkPartFilledImageFrames="0" checkResolution="1" checkTransparency="0" minResolution="144" maxResolution="2400" checkAnnotations="0" checkRasterPDF="1" checkForGIF="1" ignoreOffLayers="0" checkNotCMYKOrSpot="0" checkDeviceColorsAndOutputIntent="0" checkFontNotEmbedded="1" checkFontIsOpenType="0" checkAppliedMasterDifferentSide="1" checkEmptyTextFrames="1"/> <CheckProfile Name="PDF/X-1a" ignoreErrors="0" autoCheck="1" checkGlyphs="1" checkOrphans="1" checkOverflow="1" checkPictures="1" checkPartFilledImageFrames="0" checkResolution="1" checkTransparency="1" minResolution="144" maxResolution="2400" checkAnnotations="1" checkRasterPDF="1" checkForGIF="1" ignoreOffLayers="0" checkNotCMYKOrSpot="1" checkDeviceColorsAndOutputIntent="0" checkFontNotEmbedded="1" checkFontIsOpenType="1" checkAppliedMasterDifferentSide="1" checkEmptyTextFrames="1"/> <CheckProfile Name="PDF/X-3" ignoreErrors="0" autoCheck="1" checkGlyphs="1" checkOrphans="1" checkOverflow="1" checkPictures="1" checkPartFilledImageFrames="0" checkResolution="1" checkTransparency="1" minResolution="144" maxResolution="2400" checkAnnotations="1" checkRasterPDF="1" checkForGIF="1" ignoreOffLayers="0" checkNotCMYKOrSpot="0" checkDeviceColorsAndOutputIntent="1" checkFontNotEmbedded="1" checkFontIsOpenType="1" checkAppliedMasterDifferentSide="1" checkEmptyTextFrames="1"/> <CheckProfile Name="PDF/X-4" ignoreErrors="0" autoCheck="1" checkGlyphs="1" checkOrphans="1" checkOverflow="1" checkPictures="1" checkPartFilledImageFrames="0" checkResolution="1" checkTransparency="0" minResolution="144" maxResolution="2400" checkAnnotations="1" checkRasterPDF="1" checkForGIF="1" ignoreOffLayers="0" checkNotCMYKOrSpot="0" checkDeviceColorsAndOutputIntent="1" checkFontNotEmbedded="1" checkFontIsOpenType="0" checkAppliedMasterDifferentSide="1" checkEmptyTextFrames="1"/> <CheckProfile Name="PostScript" ignoreErrors="0" autoCheck="1" checkGlyphs="1" checkOrphans="1" checkOverflow="1" checkPictures="1" checkPartFilledImageFrames="0" checkResolution="1" checkTransparency="1" minResolution="144" maxResolution="2400" checkAnnotations="0" checkRasterPDF="1" checkForGIF="1" ignoreOffLayers="0" checkNotCMYKOrSpot="0" checkDeviceColorsAndOutputIntent="0" checkFontNotEmbedded="0" checkFontIsOpenType="0" checkAppliedMasterDifferentSide="1" checkEmptyTextFrames="1"/> <COLOR NAME=" Aluminum 1" SPACE="RGB" R="238" G="238" B="236"/> <COLOR NAME=" Aluminum 2" SPACE="RGB" R="211" G="215" B="207"/> <COLOR NAME=" Aluminum 3" SPACE="RGB" R="186" G="189" B="182"/> <COLOR NAME=" Aluminum 4" SPACE="RGB" R="136" G="138" B="133"/> <COLOR NAME=" Aluminum 5" SPACE="RGB" R="85" G="87" B="83"/> <COLOR NAME=" Aluminum 6" SPACE="RGB" R="46" G="52" B="54"/> <COLOR NAME=" Blue 1" SPACE="RGB" R="191" G="206" B="234"/> <COLOR NAME=" Blue 2" SPACE="RGB" R="67" G="116" B="183"/> <COLOR NAME=" Blue 3" SPACE="RGB" R="33" G="65" B="132"/> <COLOR NAME=" Blue 4" SPACE="RGB" R="16" G="37" B="72"/> <COLOR NAME=" Butter 1" SPACE="RGB" R="252" G="233" B="79"/> <COLOR NAME=" Butter 2" SPACE="RGB" R="237" G="212" B="0"/> <COLOR NAME=" Butter 3" SPACE="RGB" R="196" G="160" B="0"/> <COLOR NAME=" CC Green 1" SPACE="RGB" R="224" G="228" B="225"/> <COLOR NAME=" CC Green 2" SPACE="RGB" R="171" G="184" B="175"/> <COLOR NAME=" CC Green 3" SPACE="RGB" R="67" G="89" B="74"/> <COLOR NAME=" CC Green 4" SPACE="RGB" R="42" G="55" B="47"/> <COLOR NAME=" Chameleon 1" SPACE="RGB" R="138" G="226" B="52"/> <COLOR NAME=" Chameleon 2" SPACE="RGB" R="115" G="210" B="22"/> <COLOR NAME=" Chameleon 3" SPACE="RGB" R="78" G="154" B="6"/> <COLOR NAME=" Chocolate 1" SPACE="RGB" R="233" G="185" B="110"/> <COLOR NAME=" Chocolate 2" SPACE="RGB" R="193" G="125" B="17"/> <COLOR NAME=" Chocolate 3" SPACE="RGB" R="143" G="89" B="2"/> <COLOR NAME=" Gray 1" SPACE="RGB" R="237" G="237" B="238"/> <COLOR NAME=" Gray 2" SPACE="RGB" R="220" G="221" B="222"/> <COLOR NAME=" Gray 3" SPACE="RGB" R="167" G="169" B="172"/> <COLOR NAME=" Gray 4" SPACE="RGB" R="99" G="100" B="102"/> <COLOR NAME=" Gray 5" SPACE="RGB" R="57" G="56" B="57"/> <COLOR NAME=" Gray 6" SPACE="RGB" R="18" G="21" B="19"/> <COLOR NAME=" Green 1" SPACE="RGB" R="228" G="235" B="160"/> <COLOR NAME=" Green 2" SPACE="RGB" R="152" G="200" B="7"/> <COLOR NAME=" Green 3" SPACE="RGB" R="98" G="125" B="15"/> <COLOR NAME=" Green 4" SPACE="RGB" R="61" G="80" B="36"/> <COLOR NAME=" Magenta 1" SPACE="RGB" R="247" G="178" B="204"/> <COLOR NAME=" Magenta 2" SPACE="RGB" R="182" G="43" B="110"/> <COLOR NAME=" Magenta 3" SPACE="RGB" R="123" G="27" B="83"/> <COLOR NAME=" Magenta 4" SPACE="RGB" R="79" G="16" B="53"/> <COLOR NAME=" Orange 1" SPACE="RGB" R="252" G="175" B="62"/> <COLOR NAME=" Orange 2" SPACE="RGB" R="245" G="121" B="0"/> <COLOR NAME=" Orange 3" SPACE="RGB" R="206" G="92" B="0"/> <COLOR NAME=" Orange 4" SPACE="RGB" R="84" G="61" B="3"/> <COLOR NAME=" Plum 1" SPACE="RGB" R="173" G="127" B="168"/> <COLOR NAME=" Plum 2" SPACE="RGB" R="117" G="80" B="123"/> <COLOR NAME=" Plum 3" SPACE="RGB" R="92" G="53" B="102"/> <COLOR NAME=" Purple 1" SPACE="RGB" R="214" G="180" B="214"/> <COLOR NAME=" Purple 2" SPACE="RGB" R="150" G="40" B="198"/> <COLOR NAME=" Purple 3" SPACE="RGB" R="102" G="41" B="120"/> <COLOR NAME=" Purple 4" SPACE="RGB" R="66" G="25" B="79"/> <COLOR NAME=" Red 1" SPACE="RGB" R="250" G="180" B="153"/> <COLOR NAME=" Red 2" SPACE="RGB" R="209" G="56" B="20"/> <COLOR NAME=" Red 3" SPACE="RGB" R="145" G="43" B="16"/> <COLOR NAME=" Red 4" SPACE="RGB" R="90" G="28" B="14"/> <COLOR NAME=" Sand 1" SPACE="RGB" R="235" G="224" B="178"/> <COLOR NAME=" Sand 2" SPACE="RGB" R="177" G="162" B="74"/> <COLOR NAME=" Sand 3" SPACE="RGB" R="109" G="97" B="24"/> <COLOR NAME=" Sand 4" SPACE="RGB" R="68" G="65" B="31"/> <COLOR NAME=" Scarlet Red 1" SPACE="RGB" R="239" G="41" B="41"/> <COLOR NAME=" Scarlet Red 2" SPACE="RGB" R="204" G="0" B="0"/> <COLOR NAME=" Scarlet Red 3" SPACE="RGB" R="164" G="0" B="0"/> <COLOR NAME=" Sky Blue 1" SPACE="RGB" R="114" G="159" B="207"/> <COLOR NAME=" Sky Blue 2" SPACE="RGB" R="52" G="101" B="164"/> <COLOR NAME=" Sky Blue 3" SPACE="RGB" R="32" G="74" B="135"/> <COLOR NAME=" Yellow 1" SPACE="RGB" R="255" G="243" B="162"/> <COLOR NAME=" Yellow 2" SPACE="RGB" R="237" G="216" B="18"/> <COLOR NAME=" Yellow 3" SPACE="RGB" R="176" G="154" B="17"/> <COLOR NAME=" Yellow 4" SPACE="RGB" R="78" G="73" B="23"/> <COLOR NAME="Black" SPACE="CMYK" C="0" M="0" Y="0" K="100"/> <COLOR NAME="Registration" SPACE="CMYK" C="100" M="100" Y="100" K="100" Register="1"/> <COLOR NAME="White" SPACE="CMYK" C="0" M="0" Y="0" K="0"/> <HYPHEN/> <CHARSTYLE CNAME="Default Character Style" DefaultStyle="1" FONT="Arial Regular" FONTSIZE="12" FONTFEATURES="" FEATURES="inherit" FCOLOR="Black" FSHADE="100" HyphenWordMin="3" SCOLOR="Black" BGCOLOR="None" BGSHADE="100" SSHADE="100" TXTSHX="5" TXTSHY="-5" TXTOUT="1" TXTULP="-0.1" TXTULW="-0.1" TXTSTP="-0.1" TXTSTW="-0.1" SCALEH="100" SCALEV="100" BASEO="0" KERN="0" LANGUAGE="en_US"/> <STYLE NAME="Default Paragraph Style" DefaultStyle="1" ALIGN="0" DIRECTION="0" LINESPMode="0" LINESP="15" INDENT="0" RMARGIN="0" FIRST="0" VOR="0" NACH="0" ParagraphEffectOffset="0" DROP="0" DROPLIN="2" Bullet="0" Numeration="0" HyphenConsecutiveLines="2" BCOLOR="None" BSHADE="100"/> <STYLE NAME="TOC List" ParagraphEffectOffset="5.66929133858268" ParagraphEffectIndent="0" DROP="0" Bullet="0" Numeration="1" OpticalMarginSetId="preset_0" LANGUAGE="en_US"> <Tabs Type="1" Pos="340" Fill="."/> </STYLE> <TableStyle NAME="Default Table Style" DefaultStyle="1" FillColor="None" FillShade="100"> <TableBorderLeft> <TableBorderLine Width="1" PenStyle="1" Color="Black" Shade="100"/> </TableBorderLeft> <TableBorderRight> <TableBorderLine Width="1" PenStyle="1" Color="Black" Shade="100"/> </TableBorderRight> <TableBorderTop> <TableBorderLine Width="1" PenStyle="1" Color="Black" Shade="100"/> </TableBorderTop> <TableBorderBottom> <TableBorderLine Width="1" PenStyle="1" Color="Black" Shade="100"/> </TableBorderBottom> </TableStyle> <CellStyle NAME="Default Cell Style" DefaultStyle="1" FillColor="None" FillShade="100" LeftPadding="1" RightPadding="1" TopPadding="1" BottomPadding="1"> <TableBorderLeft> <TableBorderLine Width="1" PenStyle="1" Color="Black" Shade="100"/> </TableBorderLeft> <TableBorderRight> <TableBorderLine Width="1" PenStyle="1" Color="Black" Shade="100"/> </TableBorderRight> <TableBorderTop> <TableBorderLine Width="1" PenStyle="1" Color="Black" Shade="100"/> </TableBorderTop> <TableBorderBottom> <TableBorderLine Width="1" PenStyle="1" Color="Black" Shade="100"/> </TableBorderBottom> </CellStyle> <LAYERS NUMMER="0" LEVEL="0" NAME="Background" SICHTBAR="1" DRUCKEN="1" EDIT="1" SELECT="0" FLOW="1" TRANS="1" BLEND="0" OUTL="0" LAYERC="#000000"/> <Printer firstUse="1" toFile="0" useAltPrintCommand="0" outputSeparations="0" useSpotColors="1" useColor="1" mirrorH="0" mirrorV="0" useICC="0" doGCR="0" doClip="0" setDevParam="0" useDocBleeds="1" cropMarks="0" bleedMarks="0" registrationMarks="0" colorMarks="0" includePDFMarks="1" PSLevel="3" PrintEngine="3" markLength="20.0013" markOffset="0" BleedTop="0" BleedLeft="0" BleedRight="0" BleedBottom="0" printer="File" filename="" separationName="All" printerCommand=""/> <PDF firstUse="1" Thumbnails="0" Articles="0" Bookmarks="0" Compress="1" CMethod="0" Quality="0" EmbedPDF="0" MirrorH="0" MirrorV="0" Clip="0" rangeSel="0" rangeTxt="" RotateDeg="0" PresentMode="0" RecalcPic="0" FontEmbedding="0" Grayscale="0" RGBMode="1" UseProfiles="0" UseProfiles2="0" Binding="0" PicRes="300" Resolution="300" Version="14" Intent="1" Intent2="0" SolidP="sRGB display profile (ICC v2.2)" ImageP="sRGB display profile (ICC v2.2)" PrintP="ISO Coated v2 300% (basICColor)" InfoString="" BTop="0" BLeft="0" BRight="0" BBottom="0" useDocBleeds="1" cropMarks="0" bleedMarks="0" registrationMarks="0" colorMarks="0" docInfoMarks="0" markLength="20.0012598425197" markOffset="0" ImagePr="0" PassOwner="" PassUser="" Permissions="-4" Encrypt="0" UseLayers="0" UseLpi="0" UseSpotColors="1" doMultiFile="0" displayBookmarks="0" displayFullscreen="0" displayLayers="0" displayThumbs="0" hideMenuBar="0" hideToolBar="0" fitWindow="0" openAfterExport="0" PageLayout="0" openAction=""> <LPI Color="Black" Frequency="133" Angle="45" SpotFunction="3"/> <LPI Color="Cyan" Frequency="133" Angle="105" SpotFunction="3"/> <LPI Color="Magenta" Frequency="133" Angle="75" SpotFunction="3"/> <LPI Color="Yellow" Frequency="133" Angle="90" SpotFunction="3"/> </PDF> <DocItemAttributes/> <Indexes/> <TablesOfContents/> <NotesStyles> <notesStyle Name="Default" Start="1" Endnotes="0" Type="Type_1_2_3" Range="0" Prefix="" Suffix=")" AutoHeight="1" AutoWidth="1" AutoRemove="1" AutoWeld="1" SuperNote="1" SuperMaster="1" MarksStyle="" NotesStyle=""/> </NotesStyles> <OpticalMarginSets> <Set Id="preset_0" Type="preset" Name="Default"> <Rules> <Rule Left="0" Right="0.5" Unit="7" Characters="U+003A,U+003B,U+2013,U+2033"/> <Rule Left="0" Right="0.75" Unit="7" Characters="U+002C,U+002D,U+002E,U+2010,U+2032"/> <Rule Left="0.25" Right="0.25" Unit="7" Characters="U+2014"/> <Rule Left="0.5" Right="0" Unit="7" Characters="U+2036"/> <Rule Left="0.5" Right="0.5" Unit="7" Characters="U+0022,U+0028,U+0029,U+005B,U+005D,U+00AB,U+00BB,U+201C,U+201D,U+201E,U+201F"/> <Rule Left="0.75" Right="0" Unit="7" Characters="U+2035"/> <Rule Left="0.75" Right="0.75" Unit="7" Characters="U+0027,U+002A,U+0060,U+007E,U+00B4,U+2018,U+2019,U+201A,U+201B,U+2039,U+203A"/> </Rules> </Set> </OpticalMarginSets> <PageSets> <Set Name="Single Page" FirstPage="0" Rows="1" Columns="1"/> <Set Name="Facing Pages" FirstPage="1" Rows="1" Columns="2"> <PageNames Name="Left Page"/> <PageNames Name="Right Page"/> </Set> <Set Name="3-Fold" FirstPage="0" Rows="1" Columns="3"> <PageNames Name="Left Page"/> <PageNames Name="Middle"/> <PageNames Name="Right Page"/> </Set> <Set Name="4-Fold" FirstPage="0" Rows="1" Columns="4"> <PageNames Name="Left Page"/> <PageNames Name="Middle Left"/> <PageNames Name="Middle Right"/> <PageNames Name="Right Page"/> </Set> </PageSets> <Sections> <Section Number="0" Name="Section 1" From="0" To="0" Type="Type_1_2_3" Start="1" Reversed="0" Active="1" FillChar="0" FieldWidth="0"/> </Sections> <MASTERPAGE PAGEXPOS="1000.001" PAGEYPOS="508.031" PAGEWIDTH="595.275590551181" PAGEHEIGHT="841.889763779528" BORDERLEFT="40" BORDERRIGHT="40" BORDERTOP="40" BORDERBOTTOM="40" NUM="0" NAM="Normal" MNAM="" Size="IsoA_A04" Orientation="0" LEFT="0" PRESET="0" VerticalGuides="" HorizontalGuides="" AGhorizontalAutoGap="0" AGverticalAutoGap="0" AGhorizontalAutoCount="0" AGverticalAutoCount="0" AGhorizontalAutoRefer="0" AGverticalAutoRefer="0" AGSelection="0 0 0 0" pageEffectDuration="1" pageViewDuration="1" effectType="0" Dm="0" M="0" Di="0"/> <PAGE PAGEXPOS="1000.001" PAGEYPOS="508.031" PAGEWIDTH="595.275590551181" PAGEHEIGHT="841.889763779528" BORDERLEFT="40" BORDERRIGHT="40" BORDERTOP="40" BORDERBOTTOM="40" NUM="0" NAM="" MNAM="Normal" Size="IsoA_A04" Orientation="0" LEFT="0" PRESET="0" VerticalGuides="" HorizontalGuides="" AGhorizontalAutoGap="0" AGverticalAutoGap="0" AGhorizontalAutoCount="0" AGverticalAutoCount="0" AGhorizontalAutoRefer="0" AGverticalAutoRefer="0" AGSelection="0 0 0 0" pageEffectDuration="1" pageViewDuration="1" effectType="0" Dm="0" M="0" Di="0"/> <PAGEOBJECT XPOS="1115.52068503937" YPOS="582.75" OwnPage="0" ItemID="1236526944" PTYPE="4" WIDTH="343.22931496063" HEIGHT="444.75" FRTYPE="0" CLIPEDIT="0" PWIDTH="1" PLINEART="1" LOCALSCX="1" LOCALSCY="1" LOCALX="0" LOCALY="0" LOCALROT="0" PICART="1" SCALETYPE="1" RATIO="1" COLUMNS="1" COLGAP="0" AUTOTEXT="0" EXTRA="0" TEXTRA="0" BEXTRA="0" REXTRA="0" VAlign="0" FLOP="1" PLTSHOW="0" BASEOF="0" textPathType="0" textPathFlipped="0" path="M0 0 L343.229 0 L343.229 444.75 L0 444.75 L0 0 Z" copath="M0 0 L343.229 0 L343.229 444.75 L0 444.75 L0 0 Z" gXpos="1115.52068503937" gYpos="582.75" gWidth="0" gHeight="0" PSTYLE="TOC List" LAYER="0" NEXTITEM="-1" BACKITEM="-1"> <StoryText> <DefaultStyle PARENT="TOC List"/> <ITEXT CH="Chapter I"/> <tab/> <ITEXT CH="1"/> <para PARENT="TOC List"/> <ITEXT CH="Chapter II"/> <tab/> <ITEXT CH="14"/> <para PARENT="TOC List"/> <ITEXT CH="Chapter III"/> <tab/> <ITEXT CH="25"/> <para PARENT="TOC List"/> <ITEXT CH="Chapter IV"/> <tab/> <ITEXT CH="41"/> <para PARENT="TOC List"/> <ITEXT CH="Chapter V"/> <tab/> <ITEXT CH="49"/> <para PARENT="TOC List"/> <ITEXT CH="Chapter VI"/> <tab/> <ITEXT CH="59"/> <para PARENT="TOC List"/> <ITEXT CH="Chapter VII"/> <tab/> <ITEXT CH="68"/> <para PARENT="TOC List"/> <ITEXT CH="Chapter VIII"/> <tab/> <ITEXT CH="78"/> <para PARENT="TOC List"/> <ITEXT CH="Chapter IX"/> <tab/> <ITEXT CH="91"/> <para PARENT="TOC List"/> <ITEXT CH="Chapter X"/> <tab/> <ITEXT CH="98"/> <para PARENT="TOC List"/> <ITEXT CH="Chapter XI"/> <tab/> <ITEXT CH="110"/> <para PARENT="TOC List"/> <ITEXT CH="Chapter XII"/> <tab/> <ITEXT CH="118"/> <para PARENT="TOC List"/> <ITEXT CH="Chapter XIII"/> <tab/> <ITEXT CH="125"/> <para PARENT="TOC List"/> <ITEXT CH="Chapter XIV"/> <tab/> <ITEXT CH="125"/> <para PARENT="TOC List"/> </StoryText> </PAGEOBJECT> </DOCUMENT> </SCRIBUSUTF8NEW> |
|
I mean: the above screenshot shows the bad result. The "Chapter"s are not aligned. They are probably almost aligned until the ninth. Then it gets really bad. Sorry, I thought in the context it would have been clear. |
|
Ok, I misunderstood it. So what we need is a text alignment option for the numbering (left/right/center?) With such an option, you can create a numbered list with "left indent" and "auto-indent" as I described above. |
|
yes, exactly. i've just found this ticket about the same topic: 0013488 |
Date Modified | Username | Field | Change |
---|---|---|---|
2024-07-01 13:00 | ale | New Issue | |
2024-07-01 13:02 | ale | Relationship added | related to 0016985 |
2024-07-01 13:02 | ale | Relationship added | related to 0016963 |
2025-02-20 09:15 | ale | Note Added: 0052074 | |
2025-02-20 09:15 | ale | File Added: autoindent.png | |
2025-02-20 09:15 | ale | File Added: autoindent-correct.png | |
2025-02-20 14:10 | ale | Note Added: 0052075 | |
2025-02-20 14:10 | ale | File Added: numbering-nitramr.png | |
2025-02-20 15:31 | ale | Note Added: 0052076 | |
2025-02-20 15:32 | ale | Note Edited: 0052076 | |
2025-02-20 20:47 | ale | Note Added: 0052079 | |
2025-02-20 20:47 | ale | File Added: enumarte-left-aligned.png | |
2025-02-20 22:03 | nitramr | Note Added: 0052080 | |
2025-02-20 22:03 | nitramr | File Added: Document-1.sla | |
2025-02-20 22:04 | nitramr | Note Edited: 0052080 | |
2025-02-21 17:36 | ale | Note Added: 0052083 | |
2025-02-21 18:59 | nitramr | Note Added: 0052086 | |
2025-02-22 08:23 | ale | Relationship added | related to 0013488 |
2025-02-22 09:26 | ale | Note Added: 0052093 |