Bug 955799 - Appendix sections are numbered incorrectly on screen (but do appear correctly on DVI/PDF)
Summary: Appendix sections are numbered incorrectly on screen (but do appear correctly...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: lyx
Version: 20
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Rex Dieter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-23 21:34 UTC by Paulo Fessel
Modified: 2014-04-27 09:08 UTC (History)
2 users (show)

Fixed In Version: lyx-2.1.0-0.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-04-27 09:06:41 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Screenshot showing the problem with appendix section numbering in LyX (176.59 KB, image/jpeg)
2013-04-23 21:34 UTC, Paulo Fessel
no flags Details
Same as above now showing the problem with figure caption numbering (44.13 KB, image/jpeg)
2013-04-23 21:35 UTC, Paulo Fessel
no flags Details

Description Paulo Fessel 2013-04-23 21:34:16 UTC
Created attachment 739151 [details]
Screenshot showing the problem with appendix section numbering in LyX

Description of problem: when using the "Document->Start Appendix Here", the counter for appendix sections is not being reset. Thus, when I have a document with, say, 4 numbered chapters, the appendix numbering displayed in LyX starts with an "E" instead of an "A", as it should be. Also, figures on the appendix are not being correctly numbered: LyX shows them just as "Figure 1", "Figure 2", etc., when the correct display would be "Figure A.1", "Figure A.2" and so on.

This just affects on-screen rendering; when "view PDF" (Ctrl-R) or "view DVI" (Ctrl-D) are used, the document is then rendered correctly, and appendix sections and figures are correctly numbered.


Version-Release number of selected component (if applicable): 2.0.5.1-1.fc18


How reproducible: always


Steps to Reproduce:

1. Create a new LyX document with numbered sections, or open an existing document with numbered sections
2. Create one or two sections and  then start the appendix using the "Document->Start Appendix Here" command after the last paragraph of the last numbered section. The appendix sections will be numbered continuing the numbering of the main matter, but with letters. Thus, if there are sections 1 to 4, the appendix sections will start with the letter "E" instead of letter "A". Figures will not show the appendix section they belong to.
3. Use the "view PDF" (Ctrl-R) or "view DVI" (Ctrl-D) to see the processed LaTeX output. The appendix will appear correctly numbered, and the figure captions will also be numbered according to the appendix section they belong to.
  
Actual results: Appendix section letters start following the main matter numbering. Appendix sections will start with "B" even if there is just one numbered section in the text, and figure captions will not be numbered with the appendix section they belong to. Besides, this will not match the DVI or PDF output of LyX.


Expected results: Appendix section counter must be reset and appendix sections should start with the letter "A", with figure captions numbering following the appendix section letter they belong to and matching the DVI/PDF output results.


Additional info: this appears to have changed from LyX 2.0.5 onwards. I'm pretty sure that the Appendix had the correct section numbering in earlier releases of LyX.

Comment 1 Paulo Fessel 2013-04-23 21:35:36 UTC
Created attachment 739152 [details]
Same as above now showing the problem with figure caption numbering

Comment 2 José Matos 2013-05-03 17:36:08 UTC
Thank you for the report.

I will redirect this to lyx-devel and I will place the followup here.

Comment 3 Fedora End Of Life 2013-12-21 15:29:40 UTC
This message is a reminder that Fedora 18 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 18. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '18'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 18's end of life.

Thank you for reporting this issue and we are sorry that we may not be 
able to fix it before Fedora 18 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior to Fedora 18's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 4 José Matos 2014-02-04 15:04:07 UTC
The bug was supposed to be fixed at version 2.0.7 but it is not. :-(

In any case the next major version (2.1) has this problem fixed.

The thread where this issue is discussed can be found here
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg179027.html

Since this problem remains at Fedora 20 I changed the target accordingly.

Comment 5 Fedora Update System 2014-04-15 15:53:05 UTC
lyx-2.1.0-0.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/lyx-2.1.0-0.fc20

Comment 6 Fedora Update System 2014-04-15 15:54:43 UTC
lyx-2.1.0-0.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/lyx-2.1.0-0.fc19

Comment 7 Fedora Update System 2014-04-16 09:20:51 UTC
Package lyx-2.1.0-0.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing lyx-2.1.0-0.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-5212/lyx-2.1.0-0.fc20
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2014-04-27 09:06:41 UTC
lyx-2.1.0-0.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2014-04-27 09:08:55 UTC
lyx-2.1.0-0.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.