[*EDIT*] MadCap newb, got One main issue now: imported lists

This forum is for all Flare issues related to importing files or projects.
Post Reply
rgrace
Propeller Head
Posts: 35
Joined: Thu Apr 14, 2011 11:08 am

[*EDIT*] MadCap newb, got One main issue now: imported lists

Post by rgrace »

I'm a longtime TW, recent Flare user. Using Frame 10 as the docs front end, starting to use Flare 7 as a WebHelp engine, no single-sourcing. I have a CSS that is pretty solid. My imports are actually quite clean, and Frame input files are solid. I'm able to build complete WebHelp with only two error messages!

I have one main issue aside from the other topic I posted earlier (on Topic Aliases usage):

None of my bulleted or numbered lists work. Yes, I have mapped all the tags. As a first effort, I've even edited my CSS bullet lists with a list-style-type: disc; property to my bullet style selector, and recompiled, with no success. (I checked in the stylesheet editor and yes, the new property appears in the proper selectors.) I must be missing something basic. :oops: I'll keep checking things in the meantime but hoping someone can help me solve this problem. Thank you!
Last edited by rgrace on Thu Apr 14, 2011 5:48 pm, edited 1 time in total.
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: MadCap newb, got two main issues... crossrefs and lists

Post by LTinker68 »

I can't respond to the second problem since I don't use FM so I don't know how the importing/mapping of styles works.

For the first issue, the default xref style includes the "See" in it. If you don't want that in there then you need to modify the style. In the Stylesheet Editor, select the MadCap|xref style and change its mc-format attribute from See "{paratext}" to just "{paratext}" (or just {paratext} if you don't want quotes). Save the stylesheet. If you've inserted xrefs already, then you won't see the style change in the XML Editor until you update the xref (Tools > Update Cross-References). You don't need to do that update before you build, but if you want to see it displayed correctly in the XML Editor, then you need to manually update the xrefs in the topics.
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
rgrace
Propeller Head
Posts: 35
Joined: Thu Apr 14, 2011 11:08 am

Re: MadCap newb, got two main issues... crossrefs and lists

Post by rgrace »

Found and fixed the {paratext} entry. Thanks. I'm going to attempt to address the other issue in similar fashion. If anyone else has other ideas on handling list formats properly, please feel free!
TechnicalDisaster
Propeller Head
Posts: 61
Joined: Mon Jan 03, 2011 12:09 pm

Re: [*EDIT*] MadCap newb, got One main issue now: imported lists

Post by TechnicalDisaster »

I came over from FrameMaker 7, I don't know much about Frame10.

In Frame 7 we had two number styles:
Number 1 & Number 2+. Number 1 started the list, and Number 2+ continued the list between paragraphs. It would flow something like this:


(Number 1 ) 1.
(Number 2+) 2.
(Number 2+) 3.
(Number 2+) 4.
(Number 2+) 5.
(Number 2+) 6.


In Flare, these styles need to be mapped to <p> styles that contain mc-auto-numbering formats. I created p.Number_1 and P.Number_2. Here is what they look like in the stylesheet:

Code: Select all

p.Number_1
{
	clear: both;
	color: #000;
	font-family: Arial, Sans-Serif;
	font-size: 80%;
	font-weight: 400;
	list-style-position: inside;
	list-style-type: none;
	mc-auto-number-class: zColored_Number;
	mc-auto-number-format: '{n=1}. ';
	mc-auto-number-offset: .25in;
	mc-auto-number-position: outside-head;
	padding: 3pt;
	text-align: left;
	vertical-align: baseline;
	margin-left: 0;
	margin-right: 0;
	margin-top: 7pt;
	margin-bottom: 0;

p.Number_2
{
	clear: both;
	color: #000;
	font-family: Arial, Sans-Serif;
	font-size: 80%;
	font-weight: 400;
	list-style-position: inside;
	list-style-type: none;
	mc-auto-number-class: zColored_Number;
	mc-auto-number-format: '{n+}. ';
	mc-auto-number-offset: .25in;
	mc-auto-number-position: outside-head;
	padding: 3pt;
	text-align: left;
	vertical-align: baseline;
	margin-left: 0;
	margin-right: 0;
	margin-top: 7pt;
	margin-bottom: 0;
}
I set the mc-auto-number-format to: {n=1} and {n+}

I also did the same thing for Frame's bullet list styles. I created <p> style where I added a dot to the mc-auto-number format:

Code: Select all

p.List_Bullets
	{
		margin-bottom: 3px;
		mc-auto-number-format: '• ';
		margin-top: 2pt;
		padding-bottom: 2pt;
		padding-top: 2pt;
		margin-left: 16px;
	}
When you import, be sure to map Frame's List styles to your new Flare list styles.
MAD Certified Version 6
Flare 7.1
rgrace
Propeller Head
Posts: 35
Joined: Thu Apr 14, 2011 11:08 am

Re: [*EDIT*] MadCap newb, got One main issue now: imported lists

Post by rgrace »

Fantastic, I'm going to work on this right now.

Interesting CSS properties. The books I have on hand don't even mention them. Also interesting that the numbering properties from my source files did not translate at all.

By the way, I responded to your SSDs for Flare thread.
Last edited by rgrace on Fri Apr 15, 2011 10:34 am, edited 1 time in total.
TechnicalDisaster
Propeller Head
Posts: 61
Joined: Mon Jan 03, 2011 12:09 pm

Re: [*EDIT*] MadCap newb, got One main issue now: imported lists

Post by TechnicalDisaster »

rgrace wrote:Fantastic, I'm going to work on this right now.

By the way, I responded to your SSDs for Flare thread.
Cool. Hope it helps.
MAD Certified Version 6
Flare 7.1
rgrace
Propeller Head
Posts: 35
Joined: Thu Apr 14, 2011 11:08 am

Re: [*EDIT*] MadCap newb, got One main issue now: imported lists

Post by rgrace »

Nope: edited all selectors with the desired properties and nothing works. I simply don't trust Madcap's UI-based CSS editor. I edited all the bullet and numbering tags, copied the CSS over to the right place; saw the Madcap Stylesheet editor pick up the modified properties. All the paragraphs were mapped. Ran another build and no joy. I'm going to call support.
Post Reply