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

Re: YAAP




Graeme:

> The document contains [...] numbered examples, 1, 2,
> 3,... But some [...] look like
>
> (2) a. And
>     b. the
>     c. next
>     d. thing
>
> [I want to have a cross-reference to  (2)b. like] 'the data
> in (2b) show that ...' [...]
>
> The problem is to get the cross-reference to have the format "2b"
> while maintaining the style of the lists. [...]

  [Graeme then explained how '(2)' is a run-in para immediately followed
  a 'a.' para.  A 'cross-reference' is actually two cross-references, an
  xref to '(2)', immediately followed by an xref to 'a.'.]

> This is doable. But: without changing the look of anything, is there
> a more convenient way of handling the xrefs to list items? Having to
> make two real xrefs for a single textual xref is a particular pain.

We do this but the formats of our numbered lists are simpler than yours:

   1  Blah blah        // Number para fmt; number format: <n+>< =0>

   2  Blah blah

      a  Meep meep     // Letter para fmt; number format: < ><a+>
      b  Meep meep

We then have cross-references of the form 'see Step 2b in the previous
section'.

The cross-reference format is

    Step\ <$paranumonly[Number]>\st<$paranumonly>  // '\st' is a thin space

and we point the cross-reference to the 'b' paragraph to get 'Step 2b' in
the text.

I changed our para formats to give

   (1)  Blah blah        // Number fmt; number format: (<n+>)< =0>

   (2)  Blah blah

        a.  Meep meep     // Letter fmt; number format: < ><a+>.
        b.  Meep meep

but the cross-reference then came out as 'Step 2)b' (but isn't
<$paranumonly> supposed to ignore hardcoded chars and only return the
number values?).

To make this work with

   (1)  Blah blah        // Number fmt; number format: (<n+>)< =0>

   (2)  a.  Meep meep     // Letter fmt; number format: < ><a+>.
        b.  Meep meep

you could make '(2)' a run-in format as you do now, say, NumberRunIn,
then alter the cross-reference format to something like

    Step\ <$paranumonly[Number,NumberRunIn]>\st<$paranumonly>

Sure would be pleased if someone can explain why <$paranumonly> is
misbehaving.  (Isak, Dov, are you reading this?)

Regards,
Hedley

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

(C) MYOB Limited 2002



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