← Prev in month ← Prev in thread

Indexterm start and end of range produces incorrect punctuation and transform error

From
Xmplar <>
Date
2012-03-13T09:45:06+00:00
ID
Thread
Indexterm start and end of range produces incorrect punctuation and transform error
My fo transformation setup is 1.76.1 ns, Saxon
      6.5.5. I’m experimenting
      with basic autoindexing and have specified start and end ranges in
      markup:

    
<para><indexterm class="startofrange" xml:id="informalfigure">

                <primary>informalfigure element</primary>

                <secondary>attributes of</secondary>

              </indexterm>This paragraph contains…

    
…

    
<para><indexterm class="endofrange" startref="informalfigure">

                <primary>informalfigure element</primary>

              </indexterm>

    
 

    
I get a transformation error: 

    
 
        (flow [41]

                [error] no
        entries for index key
        'informalfigure element'

              )

    
And the result
        puts a comma after the index
        term where it should not (attached).

      
      
    

    

      
      
      
      
      
      
      
  X-NONE
  X-NONE
  
   
   
   
   
   
   
   
   
   
   
   
  
  MicrosoftInternetExplorer4
  
   
   
   
   
   
   
   
   
   
   
   
  

      
      
This behaviour is not consistent with how
        other terms are
        generated (where page ranges are not specified). Is this a bug?

      

    

    
    
    
    
    
    
    
    
-- 

      Dave Gardiner

      

    

  

Attachment:
indexterm page ranges.doc

Description: MS-Word document
← Prev in month ← Prev in thread