Discussion:
[Libreoffice-bugs] [Bug 118722] New: Index formatting has arbitrary italic/roman font changes in many entries
b***@bugs.documentfoundation.org
2018-07-12 12:24:40 UTC
Permalink
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-***@lists.freedesktop.org
Reporter: ***@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.
b***@bugs.documentfoundation.org
2018-07-12 12:27:35 UTC
Permalink
https://bugs.documentfoundation.org/show_bug.cgi?id=118722

Mike Cowlishaw <***@speleotrove.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@speleotrove.com

--- Comment #1 from Mike Cowlishaw <***@speleotrove.com> ---
We are hoping to publish around the end of 2018, but will not be able to close
the ballot stage while this index problem persists.
--
You are receiving this mail because:
You are the assignee for the bug.
b***@bugs.documentfoundation.org
2018-07-12 15:31:08 UTC
Permalink
https://bugs.documentfoundation.org/show_bug.cgi?id=118722

Mike Kaganski <***@hotmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEEDINFO
Ever confirmed|0 |1

--- Comment #2 from Mike Kaganski <***@hotmail.com> ---
Hi Mike!

Could you please provide a (anonimized if required) sample with the issue?
And also could you please check with 6.0 and/or the pre-release of 6.1 if the
issue persists?
Setting to NEEDINFO. Please set back to UNCONFIRMED when provided the
information.
--
You are receiving this mail because:
You are the assignee for the bug.
b***@bugs.documentfoundation.org
2018-07-12 15:43:52 UTC
Permalink
https://bugs.documentfoundation.org/show_bug.cgi?id=118722

Mike Cowlishaw <***@speleotrove.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |UNCONFIRMED
Ever confirmed|1 |0

--- Comment #3 from Mike Cowlishaw <***@speleotrove.com> ---
Hi Mike,

It's a bit difficult to provide the full source as this is an IEEE standard
under revision and not approved. In particular it could not be posted to a
public URL (but I could make it available to an individual privately purely for
testing -- let me know if that would help).

Re 6.0 -- I thought I had the latest updates, and checked for those before
posting this! Just checked again and again got:

LibreOffice 5.4 is up to date.

Should I be doing something different than 'Help -> Check for Updates'?

Mike
--
You are receiving this mail because:
You are the assignee for the bug.
b***@bugs.documentfoundation.org
2018-07-12 15:53:20 UTC
Permalink
https://bugs.documentfoundation.org/show_bug.cgi?id=118722

--- Comment #4 from Mike Kaganski <***@hotmail.com> ---
(In reply to Mike Cowlishaw from comment #3)
Post by b***@bugs.documentfoundation.org
It's a bit difficult to provide the full source as this is an IEEE standard
under revision and not approved. In particular it could not be posted to a
public URL (but I could make it available to an individual privately purely
for testing -- let me know if that would help).
Well - in my case, unfortunately no: I wouldn't be able to work on this ATM (I
could only reproduce/confirm); so I would be a wrong person. I suspected
something like that - that's why I hoped you could anonymize the file,
replacing/removing parts, to make some testing document without confidential
data, but with the problem.
Post by b***@bugs.documentfoundation.org
Re 6.0 -- I thought I had the latest updates, and checked for those before
LibreOffice 5.4 is up to date.
Should I be doing something different than 'Help -> Check for Updates'?
Just use the Download page from LibreOffice official site:
https://www.libreoffice.org/download/download/. Note also the pre-release
versions at the bottom of that page.
--
You are receiving this mail because:
You are the assignee for the bug.
b***@bugs.documentfoundation.org
2018-07-12 16:21:22 UTC
Permalink
https://bugs.documentfoundation.org/show_bug.cgi?id=118722

--- Comment #5 from Mike Cowlishaw <***@speleotrove.com> ---
On the example source:

I'd hoped my inclusion of the XML source was sufficient, but if not I can try
and make a cut-down version of the source to reproduce from scratch. Is there
a way to (say) delete pages 1-60 and 62-80? This is a big document, so select
and delete would be extremely tedious...

On later versions:

Thanks for that! I just installed 6.1.0.1 on a different machine, loaded the
latest draft and rebuilt the Index. Problem is still there :-(.

Mike
--
You are receiving this mail because:
You are the assignee for the bug.
b***@bugs.documentfoundation.org
2018-07-12 16:32:28 UTC
Permalink
https://bugs.documentfoundation.org/show_bug.cgi?id=118722

--- Comment #6 from Mike Kaganski <***@hotmail.com> ---
(In reply to Mike Cowlishaw from comment #5)
Is there a way to (say) delete pages 1-60 and 62-80? This is a big document,
so select and delete would be extremely tedious...
Well - still you need to select and delete. Just navigate to page 60; put
cursor, and use Shift+Ctrl+Home to select all to the start. Delete. Then go to
page 2 (former 62) and use Shift+Ctrl+End to select to end. Or put cursor to
start of selection, scroll down using scrollbar, and shift+click to end...
--
You are receiving this mail because:
You are the assignee for the bug.
b***@bugs.documentfoundation.org
2018-07-12 16:35:11 UTC
Permalink
https://bugs.documentfoundation.org/show_bug.cgi?id=118722

--- Comment #7 from Mike Cowlishaw <***@speleotrove.com> ---
Ah, thanks, I wasn't aware of those shortcuts. Will give it a try at the
weekend (travelling mañana).

Mike
--
You are receiving this mail because:
You are the assignee for the bug.
b***@bugs.documentfoundation.org
2018-07-17 13:11:47 UTC
Permalink
https://bugs.documentfoundation.org/show_bug.cgi?id=118722

--- Comment #8 from Mike Cowlishaw <***@speleotrove.com> ---
Created attachment 143594
--> https://bugs.documentfoundation.org/attachment.cgi?id=143594&action=edit
Source .odt 1-page extract + generated index

This is one page of the current IEEE 754 draft showing lots of index entries
(and some plain text removed). The second page is the index generated by
Update All, showing the font anomalies.
--
You are receiving this mail because:
You are the assignee for the bug.
b***@bugs.documentfoundation.org
2018-07-17 13:12:58 UTC
Permalink
https://bugs.documentfoundation.org/show_bug.cgi?id=118722

--- Comment #9 from Mike Cowlishaw <***@speleotrove.com> ---
OK, have managed to create an .odt with 1 page source and index generated from
it. Have attached.

Mike
--
You are receiving this mail because:
You are the assignee for the bug.
b***@bugs.documentfoundation.org
2018-07-18 10:37:54 UTC
Permalink
https://bugs.documentfoundation.org/show_bug.cgi?id=118722

Timur <***@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Hardware|x86-64 (AMD64) |All
Version|5.4.7.2 release |5.4.3.2 release
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
Keywords| |bibisectRequest, regression
OS|Windows (All) |All

--- Comment #10 from Timur <***@gmail.com> ---
Repro with 6.2+ and 5.4.3, not with 5.4.1.
Document can be corrected, just update and save with lower version, like
5.3.7.2.
--
You are receiving this mail because:
You are the assignee for the bug.
b***@bugs.documentfoundation.org
2018-07-18 10:54:42 UTC
Permalink
https://bugs.documentfoundation.org/show_bug.cgi?id=118722

--- Comment #11 from Mike Cowlishaw <***@speleotrove.com> ---
Saving with an earlier version isn't really an option because the document
approved by the committee was/is saved by the current version. Also, I have
low confidence that pagination would be unchanged, so cannot just use the Index
from the old-saved version...
--
You are receiving this mail because:
You are the assignee for the bug.
b***@bugs.documentfoundation.org
2018-07-23 15:14:04 UTC
Permalink
https://bugs.documentfoundation.org/show_bug.cgi?id=118722

Buovjaga <***@suomi24.fi> changed:

What |Removed |Added
----------------------------------------------------------------------------
Keywords|bibisectRequest |bibisected, bisected
CC| |***@gmail.com,
| |***@suomi24.fi

--- Comment #12 from Buovjaga <***@suomi24.fi> ---
Bisected with win 6.0 repo to
https://cgit.freedesktop.org/libreoffice/core/commit/?id=141d4427d2d2db6a16133fcf7571798233a99cb0

tdf#99689 allow Subscript in Illustration Index...
... and Index of Tables.

Adding Cc: to Tamás Bunth

Quick recap:
1. Open attachment 143594
2. Right-click the index on page 2 and Update index

Nothing happens in current versions.
--
You are receiving this mail because:
You are the assignee for the bug.
b***@bugs.documentfoundation.org
2018-12-02 19:31:44 UTC
Permalink
https://bugs.documentfoundation.org/show_bug.cgi?id=118722

--- Comment #13 from Mike Cowlishaw <***@speleotrove.com> ---
Not sure what "Nothing happens" means here -- is the problem now fixed? I.e.,
is it safe to try new version of LibreOffice? (I am currently on a 5.x version
and using a script to fix the XML content.)

Thanks -- Mike
--
You are receiving this mail because:
You are the assignee for the bug.
b***@bugs.documentfoundation.org
2018-12-03 11:35:17 UTC
Permalink
https://bugs.documentfoundation.org/show_bug.cgi?id=118722

--- Comment #14 from Buovjaga <***@suomi24.fi> ---
(In reply to Mike Cowlishaw from comment #13)
Post by b***@bugs.documentfoundation.org
Not sure what "Nothing happens" means here -- is the problem now fixed?
I.e., is it safe to try new version of LibreOffice? (I am currently on a
5.x version and using a script to fix the XML content.)
Thanks -- Mike
"Nothing happens" is the problem. If you update the index in a version without
the problem, the undesired formatting goes away.
--
You are receiving this mail because:
You are the assignee for the bug.
b***@bugs.documentfoundation.org
2018-12-03 11:52:51 UTC
Permalink
https://bugs.documentfoundation.org/show_bug.cgi?id=118722

--- Comment #15 from Mike Cowlishaw <***@speleotrove.com> ---
Sounds good -- thanks.
--
You are receiving this mail because:
You are the assignee for the bug.
b***@bugs.documentfoundation.org
2018-12-08 16:26:34 UTC
Permalink
https://bugs.documentfoundation.org/show_bug.cgi?id=118722

Korrawit Pruegsanusak <***@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Attachment #143594|application/octet-stream |application/vnd.oasis.opend
mime type| |ocument.text
--
You are receiving this mail because:
You are the assignee for the bug.
Loading...