[Libreoffice-bugs] [Bug 118722] New: Index formatting has arbitrary italic/roman font changes in many entries

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Jul 12 12:24:40 UTC 2018


https://bugs.documentfoundation.org/show_bug.cgi?id=118722

            Bug ID: 118722
           Summary: Index formatting has arbitrary italic/roman font
                    changes in many entries
           Product: LibreOffice
           Version: 5.4.7.2 release
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: mfc at speleotrove.com

Created attachment 143515
  --> https://bugs.documentfoundation.org/attachment.cgi?id=143515&action=edit
Index of current 754 draft, showing mixed italic and roman fonts

The IEEE 754 floating-point standard (of which I am Editor) includes an
alphabetical index of operations.  While this was correct through late 2017,
more recent drafts show font changes in the middle of words in the index, even
though (without exception) there are no font changes in the entry in the text
(they are all in plain text with no markup within the index words). 

Here is a typical excerpt from the content.xml; the word 'decodeDecimal' only
appears once in the .xml file:

  <text:alphabetical-index-mark-start text:id="IMark1055621192"/><text:span
text:style-name="T3">decodeDecimal</text:span><text:alphabetical-index-mark-end
text:id="IMark1055621192"/>

In the generated Index (created by Tools -> Update -> Update All) this entry
appears with 'decodeDec' in italic and 'imal' in Roman in both LibreOffice
Writer and the exported PDF (see attached PDF -- the two pages of index).  
Neither 'decodeDec' nor 'imal' appear as separate text in the .xml, except in
the generated index:

  <text:s text:c="2"/>26</text:p><text:p text:style-name="P411"><text:span
text:style-name="Bold"><text:span
text:style-name="T2">decodeDec</text:span></text:span><text:span
text:style-name="Bold">imal</text:span> <text:s text:c="2"/>26</text:p>

Many other entries have similarly weird italic/roman font changes that
correspond in no obvious way to the words in the source document.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180712/d970f1e6/attachment.html>


More information about the Libreoffice-bugs mailing list