OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: [docbook-apps] HTML Formatting Procedure Steps


I see you already solved this to your liking, which is fine, but did you
ever try using step titles?

<procedure>
 <step>
  <title>Do the first thing</title>
  <para>What we'll do next in a conceptual 
 overview, and why.</para>
 </step>
 <step>
  <title>Do the next thing</title>
  <para>...</para>
 </step>
</procedure>

The rendering on this isn't *exactly* what you seem to be looking for, but
should be relatively easy to customize.  The benefit to this approach is
that it keeps the semantic meaning of a procedure intact.

Jeff

> -----Original Message-----
> From: Scott Anguish [mailto:sanguish@digifix.com]
> Sent: Thursday, April 10, 2003 6:32 PM
> To: docbook-apps@lists.oasis-open.org
> Subject: [docbook-apps] HTML Formatting Procedure Steps
> 
> 
>   Formatting Procedure Steps differently.
> 
> 	In looking in lists.xsl, I see that Procedures are just 
> <OL></OL> and 
> steps are <LI></LI>
> 
> I'd much rather format them as
> 
> <div class="step">
> <h3>Step x</h3>
> 
> ...
> 
> </div>
> 
> and make the procedure templates no-ops.  The problem comes in that 
> Steps don't actually seem to keep track of their number on their own.
> 
> is it fairly simple to do this?  Anyone done it?
> 
> 1.1 - I need to make the Procedure/Step numbering consistent 
> across an 
> entire "something" (lets say sect1 or article).
> 
> This is because my style of writing tends to put numbered steps, with 
> the reasoning behind the action, or what is next to do outside of the 
> step itself.  Ideally,
> 
> 	<procedure>
> 		<step>Do the first thing</step>
> 		<para>What we'll do next in a conceptual 
> overview, and why.</para>
> 		<step>The next thing</step>
> 	<procedure>
> 
> producing
> 
> Step 1
> 	Do the first thing
> 
> What we'll do next in a conceptual overview, and why.
> 
> Step 2
> 	The next thing
> 
> It seems the only way I can do this now is by using multiple 
> procedures, and changing the numbering to be consistent across a 
> section or the entire article.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: 
> docbook-apps-help@lists.oasis-open.org
> 
> 
> 


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]