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

Re: Conversion table problem



Dan,
  It appears you have encountered a bug in structuring documents. The bug
exists in FM+SGML 6.0 as well as FM 7.0. I created an unstructured document 
consisting of three paragraphs, each with 5 words:

   one TWO three FOUR five
   one TWO three FOUR five
   one TWO three FOUR five

The uppercase words are tagged with character format "characterFormat" which
forces uppercase.

  I then used the following conversion table to add structure:

   Wrap this object or objects   In this element   With this qualifier
       Textrange                    Wrapper	
       C:characterFormat            Textrange	
       P:                           Text

  The resulting structure was:

    (NoName)
       |--(Text)
             |............one 
             |--(Wrapper)
                    |--(Textrange).......two
             |............three
             |--(Wrapper)
                   |--(Textrange).......four
             |............five
       |--(Text)
             |............one 
             |--(Textrange).......two
             |............three
             |--(Wrapper)
                   |--(Textrange).......four
             |............five
        |--(Text)
             |............one 
             |--(Textrange).......two
             |............three
             |--(Wrapper)
                   |--(Textrange).......four
             |............five


As shown, the first paragraph is treated correctly: both words with
the character format are wrapped in a Textrange which in turn is wrapped
in a Wrapper. However, the first tagged text in the following paragraphs
is wrapped only in Textrange.

	--Lynne


At 04:50 PM 7/31/02 -0400, dan visel wrote:
>Hi all,
>
>I'm working on changing unstructured Frame files to structured Frame 
>files in Frame 7 on a Mac.  I've constructed a conversion table, which 
>is working nicely, though I've run into a problem.  I have a character 
>tag (equation) that I'd like to wrap in an element (Equationfont) and 
>then wrap that element in a parent element (Equationtext) (with other 
>elements, but that doesn't come into play here)...
>What this outputs, though, is strange.  While all "equation" character 
>formats are correctly put into Equationfont, the first Equationfont in 
>every paragraph (a higher element, of course) is not put into the parent 
>Equationtext.  All later Equationfonts are, though.  Is there any reason 
>for this?  Why would it skip the first element?


Lynne A. Price
Text Structure Consulting, Inc.
Specializing in FrameMaker+SGML consulting and training
lprice@txstruct.com
http://www.txstruct.com
voice/fax: (510) 583-1505
cell phone: (510) 421-2284


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