PROBLEM WITH STEP
Post here questions and problems related to editing and publishing DITA content.
PROBLEM WITH STEP
Hi,
From step 10 there is more space between the point and the text
Example :
where can I change the space between the step number and the text ?
Thank you
From step 10 there is more space between the point and the text
Example :
Code: Select all
1. Goto x
2. fdfdfdf
3. gggggg
...
10.fffdfdfd
Thank you
-
- Posts: 1008
- Joined: Wed Nov 16, 2005 11:11 am
Re: PROBLEM WITH STEP
Post by alex_jitianu »
Hello,
From the look of the sample I think your CSS uses counters for the the list numbering. The counter is probably put on a BEFORE pseudo element. In this case you can use the width property to impose a fixed width so that all items have the text aligned. Here is a sample from the DITA CSS, modified to impose a fixed with for the counter part:
There
Best regards,
Alex
From the look of the sample I think your CSS uses counters for the the list numbering. The counter is probably put on a BEFORE pseudo element. In this case you can use the width property to impose a fixed width so that all items have the text aligned. Here is a sample from the DITA CSS, modified to impose a fixed with for the counter part:
Code: Select all
*[class~="topic/ol"] > *[class~="topic/li"]:before {
content: counters(item-count, ".", decimal) ". ";
width:2em;
font-weight:bold;
}
Best regards,
Alex
Re: PROBLEM WITH STEP
In may fo file :
I OBTAINS
I WANT
Thank you
Code: Select all
<fo:list-item space-after="3pt" space-before="3pt">
<fo:list-item-label end-indent="label-end()" keep-together.within-line="always" keep-with-next.within-line="always">
<fo:block font-weight="bold" text-align="start"><fo:inline/>10. </fo:block>
</fo:list-item-label>
<fo:list-item-body start-indent="body-start()"><fo:block>
<fo:block>XXXXXXX YYYYYYYY.</fo:block>
</fo:block>
</fo:list-item-body>
</fo:list-item>
Code: Select all
10.XXXXXXX YYYYYYYY.
Code: Select all
10. XXXXXXX YYYYYYYY.
-
- Posts: 1008
- Joined: Wed Nov 16, 2005 11:11 am
Re: PROBLEM WITH STEP
Post by alex_jitianu »
Hi,
I had the impression that your question was related to the author mode in Oxygen. I'm sorry for the confusion... The solution I've described above was intended for the Oxygen Author mode. Unfortunately I don't have that much experience with XSLT-FO so I don't know what advice to give you. Maybe it will help to redirect this question to a FO specific discussion list.
Best regards,
Alex
I had the impression that your question was related to the author mode in Oxygen. I'm sorry for the confusion... The solution I've described above was intended for the Oxygen Author mode. Unfortunately I don't have that much experience with XSLT-FO so I don't know what advice to give you. Maybe it will help to redirect this question to a FO specific discussion list.
Best regards,
Alex
Re: PROBLEM WITH STEP
Why not try wrapping your fo:list-item within an fo:list-block?Le Basque wrote: where can I change the space between the step number and the text ?
Thank you
Then you can use the following fo:list-block attributes:
provisional-distance-between-starts
provisional-label-separation
start-indent
Try different values until you get the desired result.
Starting with something this this:
Code: Select all
<fo:list-block provisional-distance-between-starts="10mm"
provisional-label-separation="10mm"
start-indent="5mm">
</fo:list-block>
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service