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

Re: Sharing conditionalized files across books



On Wed, 19 Apr 2000 18:07:27 -0700, Robert Hartman <hartman@epiphany.com> wrote:

>It doesn't seem to, as long as the xref refers to the container file and not
>the inset file.  

One caveat about this.  It's correct to make the xref to the container... but
you have to take a few extra steps first.  

1. Make your xref to the inset file, directly, *first*.  This creates an xref
   marker in the inset file, where you want it.  

2. Next, update the inset in the container; now the new marker is visible in 
   the container file.  

3. Finally, change your xref, the one you just made to the inset file, to the 
   container file instead.  Use the option that lets you choose an existing 
   xref marker (instead of a paratag), and reference the one that got created 
   in the first step.

This is all necessary because a container doesn't get to alter its inset doc.
(Think of the trouble you could get into if this weren't the case.)  Adding
a marker is altering the doc... so you have to do it directly.  Once the
container's copy of the inset (yes, it has one) has been updated, you can
get at the marker in the container, and it should work just fine.  Failure
to do this little dance in probably the reason some folks think xrefs won't
work within insets; it's not real obvious unless you understand exactly *how* 
insets are implemented in Frame.

-- Jeremy H. Griffith, at Omni Systems Inc.
  (jeremy@omsys.com)  http://www.omsys.com/

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