Right-align roman numbered lists

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
chris_154011
Jr. Propeller Head
Posts: 3
Joined: Tue Jul 05, 2016 7:19 am

Right-align roman numbered lists

Post by chris_154011 »

Help.

Does anyone know how to right-align the roman numerals in a substep procedure using CSS?

I can get right alignment if I use "ol ol" but when I use CSS styles the roman numerals align to the left.

I have tried applying a class around the auto-numbering but that has no effect.

Attached is an image showing the left/right issue.

Here is the CSS I am using for the p.substep1 and p.substep

Code: Select all

	p.substep1
	{
		mc-auto-number-position: outside-head;
		mc-auto-number-offset: 0.70cm;
		margin-left: 3.4cm;
		mc-auto-number-format: 'H:{r=1}. ';
	}

	p.substep
	{
		mc-auto-number-position: outside-head;
		mc-auto-number-offset: 0.70cm;
		margin-left: 3.4cm;
		mc-auto-number-format: 'H:{r+}. ';
	}
Any ideas would be most welcome.

Chris
You do not have the required permissions to view the files attached to this post.
CATCNC
Jr. Propeller Head
Posts: 1
Joined: Thu Aug 13, 2015 12:06 pm

Re: Right-align roman numbered lists

Post by CATCNC »

I had a similar issue trying to align on the decimal point for autonumbered lists so that my two digit numbers were not left aligned. I sent this off to MadCap support and below you will see their response that it is not possible.

>I am attempting to use autonumbered paragraph styles to create lists
>that will be used in Help and print. This is an attempt to keep the list numbering correct when I insert a note, image, or sublist. The autonumbers always align left so that two or more digit numbers in the list look awkward. I tried creating a span style called AutoNum that has a right alignment but it has no affect on the autonumbers.
-----------------------------------------------------------------------------------

Thank you for contacting MadCap Software Technical Support.

The right-alignment of the autonumbers is not currently possible to do through Flare. I have submitted a feature request on your behalf to our Product Managers who work with our Research and Development team regarding future versions of our products.
chris_154011
Jr. Propeller Head
Posts: 3
Joined: Tue Jul 05, 2016 7:19 am

Re: Right-align roman numbered lists

Post by chris_154011 »

Thanks for the update CatCNC.

Umm, that is a pity about this being a "feature" and not a "bug". I will hold my breath but not forever.

This is strange behaviour because if you apply a span to the autonumber all the other properties are supported - color, underline, font, font-weight, etc. It seems only text alignment is not supported.

The alignment is built-in for standard lists (OL > LI) as part of the HTML standards so why not Flare?

Now it's a waiting game.... although I have moved onto other problems since this post.

Chris
Post Reply