[Date Prev][Date Next] [Thread Prev][Thread Next]
[Date Index] [Thread Index] [New search]

Re: markers that include the section *number* in the marker text?



Ananda:

> [...] The idea is that we should be able to generate a list of
> markers or index of markers which will be used to create another doc
> that explains the changes in the text. [...] is there a way to have
> the marker text grab the auto-generated section number for that
> paragraph?

You can generate an index or page-sequence list from your new Change 
markers much as you create an ordinary index or list.  But on the IX 
reference page, find the IndexIX paragraph in the IX flow (text frame). 
The IndexIX paragraph controls the look and feel of the page numbers 
but also specifies which locator to use which, by default, is normally 
<$pagenum>.

Replace 
        <$pagenum> 
with 
        <$paranumonly[+,Heading1,Heading2,Heading3]>
where Heading1, etc. are the para formats from your hierarchy of 
headings -- as many as you have heading levels.  The plus sign (+) 
makes FM search backwards from the location of the Change marker 
to the first para that matches one of the Heading1, etc. formats, then 
picks up its number.

The generated list or index will now contain entries by section number 
no matter where in a section the Change marker is placed -- it doesn't 
have to be in the heading paragraph.

Regards,
Hedley

--
Hedley Finger
Technical Communications Tools & Processes Specialist
MYOB Australia <http://myob.com/au>
P.O. box 371   Blackburn VIC 3130   Australia
12 Wesley Court   Tally Ho Business Park   East Burwood VIC 3151 Australia
<mailto:hedleyDOTfingerATmyobDOTcom>
Tel. +61 3 9222 9992 x 7421,   Mob. (cell) +61 412 461 558

© MYOB Technology Pty Ltd 2005


** To unsubscribe, send a message to majordomo@xxxxxxxxx **
** with "unsubscribe framers" (no quotes) in the body.   **