Bug 47871 - : Chapter Names with Footnotes Inserted as a Field
Summary: : Chapter Names with Footnotes Inserted as a Field
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.3.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-25 15:10 UTC by bdjnks
Modified: 2014-04-03 11:44 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
An image of the issue and the insert fields dialog showing that it occurs elsewhere as well. (78.29 KB, image/png)
2012-03-25 15:10 UTC, bdjnks
Details
test case created in 3.3.4 for chapter name problem (10.31 KB, application/vnd.oasis.opendocument.text)
2012-06-19 02:17 UTC, sasha.libreoffice
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bdjnks 2012-03-25 15:10:21 UTC
Created attachment 59041 [details]
An image of the issue and the insert fields dialog showing that it occurs elsewhere as well.

Problem description:
If a heading has a footnote, and is added elsewhere by means of a chapter name field (in the header for example), the footnote reference number (which is superscript) shows up in the chapter name generated by the field (as regular text).

Steps to reproduce:
1. Make a new document 
2. Add some text and make it heading level 1
3. Add a footnote to the heading: Insert -> Footnote/Endnote... -> OK
4. Add a chapter name field: Insert -> Fields -> Other... -> Document -> Chapter -> Chapter Name -> Insert

Current behavior:
If a heading is called "Truth in Advertising" and has footnote 1 at the end, it will show up as "Truth in Advertising1"

Expected behavior:
If a heading is called "Truth in Advertising" and has footnote 1 at the end, it should show up as "Truth in Advertising"
              
Browser: Mozilla/5.0 (X11; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0
Comment 1 sasha.libreoffice 2012-06-19 02:17:49 UTC
Created attachment 63214 [details]
test case created in 3.3.4 for chapter name problem
Comment 2 sasha.libreoffice 2012-06-19 02:29:22 UTC
Thanks for bugreport
reproduced in 3.3.4, 3.5.4 and 3.6 beta 1 on Fedora 64 bit (Windows not tested)
character "1" from footnote indicator appears inside of "Chapter name" field

Changing version to 3.3.4 as most early reproduced
Comment 3 Owen Genat (retired) 2013-05-13 01:41:28 UTC
It is worth mentioning that most style guides advise against the use of footnotes in headings / chapter titles. Here is what the Chicago Manual of Style 16th Edition says in §1.48:

"Footnote reference numbers or symbols should not appear anywhere in the chapter display. A note that refers to the chapter as a whole should be unnumbered and should precede the numbered notes, whether it appears on the first page of the chapter or in the endnotes (see 14.47). A chapter epigraph, sometimes considered part of the chapter display, may include a note reference, though traditionalists will prefer an unnumbered note."

...and again in §2.20:

"Avoid appending note references to chapter titles (see 1.48)."

Here is what the APA Publication Manual 6th Edition says in §2.12, p.38:

"Do not place footnote numbers in text headings."

Here is what the Australian Style Manual 6th Edition says on p.209:

"Avoid using note identifiers in headings. A note referring to an entire section, chapter or other component of a document should be unnumbered or unmarked and be placed before the numbered (or marked) notes at the base of the page, at the end of the chapter or article, or at the end of the book or document."

Not every possible combination of style devices is good practice.
Comment 4 bdjnks 2014-03-31 22:12:36 UTC
This, likely, long forgotten bug seems to have been resolved at some point. The bug is not present in LibreOffice 4.2.2.1. If others also don't have this issue anymore, it should be marked resolved.
Comment 5 Owen Genat (retired) 2014-04-03 11:44:11 UTC
As per comment 4 and also confirmed under Crunchbang 11 using v4.2.2.1, so RESOLVED as FIXED.