bugeLyXer - Bugs: bug #31342, First section in appendix inside...

 
 

bug #31342: First section in appendix inside child doc does not get letter numbering

Submitted by:  Jose Ramon Alvarez-Sanchez <jras>
Submitted on:  Fri 15 Oct 2010 11:44:38 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Alex Fernandez <alexfernandez>
Open/Closed: Closed

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Sun 24 Oct 2010 12:05:03 PM UTC, comment #11:

You are seeing an after-effect of bug #31414: not cleaning up test files from previous test runs. We can deal with it there, OK? Closing again.

Alex Fernandez <alexfernandez>
Project AdministratorIn charge of this item.
Sun 24 Oct 2010 12:02:15 PM UTC, comment #10:

Yes, now romans for Part work from the version in git.

I only got messages from run-tests about not finding the files:
parts/index-1-6-part-good-Part--1.html
parts/index-1-6-part-good-Part-1.html
parts/index-1-6-part-good-Part-2.html
parts/index-1-6-part-good-Part-3.html

Jose Ramon Alvarez-Sanchez <jras>
Sun 24 Oct 2010 11:17:00 AM UTC, comment #9:

Should be ready now: Parts and Books are numbered in roman numerals. Let me know how it goes so I can (hopefully) close this bug for good!

Alex Fernandez <alexfernandez>
Project AdministratorIn charge of this item.
Sun 24 Oct 2010 10:43:55 AM UTC, comment #8:

Reopened the bug. I take it that Book numbers are also roman numerals? I will continue as if it were so; I was not able to find a current documentclass which carries it.

Alex Fernandez <alexfernandez>
Project AdministratorIn charge of this item.
Sun 24 Oct 2010 10:21:32 AM UTC, comment #7:

As reported in bug #31351:

"Note: In closed bug #31342 http://savannah.nongnu.org/bugs/index.php?31342 , I forgot to mention that Part numbers in LaTeX and LyX are uppercase roman..."

Alex Fernandez <alexfernandez>
Project AdministratorIn charge of this item.
Sun 17 Oct 2010 09:38:17 AM UTC, comment #6:

Committed. All we need now is some help from the translators (I was looking into [http://translationproject.org/ the Translation Project to ease collaboration).

Alex Fernandez <alexfernandez>
Project AdministratorIn charge of this item.
Sat 16 Oct 2010 06:25:25 PM UTC, comment #5:

Yes it solve the name of (letter numbered and unnumbered) Appendix in master and in child documents for TOC, tittles and links with "--splitpart", but now remember to add a translation entry into '.po' files* to show it as "Apéndice" in Spanish, etc (I cannot see it now in git tree).
Thanks.

Jose Ramon Alvarez-Sanchez <jras>
Sat 16 Oct 2010 05:00:55 PM UTC, comment #4:

It should be solved now, please confirm with the enclosed version. New code has been added to deal with appendices, and a new translated string.

(file #21694)

Alex Fernandez <alexfernandez>
Project AdministratorIn charge of this item.
Sat 16 Oct 2010 08:01:03 AM UTC, comment #3:

Yes, I had noticed that too: instead of "Chapter A" the TOC should say "Appendix A". The only reason why I did not solve it is because I am considering removing the labels altogether, as in the PDF output. But this bug is a good place to do it.

Alex Fernandez <alexfernandez>
Project AdministratorIn charge of this item.
Sat 16 Oct 2010 01:26:21 AM UTC, comment #2:

Yes, now numbering is correct with appendix in child, but the label before the numbering used in table of contents, or in links with "--splitparts", remains the same for appendixes as for the normal section in article and chapter for books (first level) instead of "Appendix" (or the corresponding translation). The second level (subsection in article or section in book) could use the same name as the ones outside appendix.
Thanks.

Jose Ramon Alvarez-Sanchez <jras>
Fri 15 Oct 2010 10:33:38 PM UTC, comment #1:

Hi José Ramón,

Once again you bring an interesting challenge to the bug tracker. Only this time, instead of banging my head against the problem I have just simplified the code, changing the place where appendices are activated: from the containing layout to the special purpose Appendix itself. The enclosed version should solve the problem, let me know how it goes.

Keep it coming, Alex.

(file #21686)

Alex Fernandez <alexfernandez>
Project AdministratorIn charge of this item.
Fri 15 Oct 2010 11:44:38 AM UTC, original submission:

With eLyXer 1.0.3, if the first section/chapter in the appendix is inside a child document, then the numbering of sections/chapters in appendix does not change to letters. It continues with numbers, even for other sections/chapters in appendix directly in the master document after the child document.

If the first section/chapter in the appendix is directly in master document all goes OK and the numbering in the appendix is done with letters, even for sections inside a child document after the first one in master.

Please, find attached a test document and his child document to show the problem.

Jose Ramon Alvarez-Sanchez <jras>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #21694:  elyxer.py added by alexfernandez (265kB - text/x-python)
file #21686:  elyxer.py added by alexfernandez (264kB - text/x-python)
file #21683:  test-appendix.lyx added by jras (1kB - application/octet-stream)
file #21684:  test-child.lyx added by jras (997B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by alexfernandez (Updated the item)
  • -unavailable- added by jras (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 15 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 24 Oct 2010 12:05:03 PM UTCalexfernandezStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Sun 24 Oct 2010 11:17:00 AM UTCalexfernandezStatusConfirmed=>Ready For Test
    Sun 24 Oct 2010 10:21:32 AM UTCalexfernandezStatusFixed=>Confirmed
      Open/ClosedClosed=>Open
    Sun 17 Oct 2010 09:38:17 AM UTCalexfernandezStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Sat 16 Oct 2010 05:00:55 PM UTCalexfernandezAttached File-=>Added elyxer.py, #21694
      StatusConfirmed=>Ready For Test
    Sat 16 Oct 2010 08:01:03 AM UTCalexfernandezStatusReady For Test=>Confirmed
    Fri 15 Oct 2010 10:33:38 PM UTCalexfernandezAttached File-=>Added elyxer.py, #21686
      StatusNone=>Ready For Test
      Assigned toNone=>alexfernandez
    Fri 15 Oct 2010 11:44:38 AM UTCjrasAttached File-=>Added test-appendix.lyx, #21683
      Attached File-=>Added test-child.lyx, #21684

    Back to the top


    Powered by Savane 3.1-cleanup