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

 
 

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

Submitter:  Jose Ramon Alvarez-Sanchez <jras>
Submitted:  Fri 15 Oct 2010 11:44:38 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  alexfernandez
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group administrator
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>
Group administrator
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>
Group administrator
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>
Group administrator
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>
Group administrator
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>
Group administrator
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>
Group administrator
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>
Group administrator
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 Files:
   
   
Comment:
   

Attached Files
file #21694:  elyxer.py added by alexfernandez (265KiB - text/x-python)
file #21686:  elyxer.py added by alexfernandez (264KiB - text/x-python)
file #21683:  test-appendix.lyx added by jras (1KiB - 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
  • -email is unavailable- added by alexfernandez (Updated the item)
  • -email is unavailable- added by jras (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 15 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-10-24 alexfernandez StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2010-10-24 alexfernandez StatusConfirmed Ready For Test
    2010-10-24 alexfernandez StatusFixed Confirmed
        Open/ClosedClosed Open
    2010-10-17 alexfernandez StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2010-10-16 alexfernandez Attached File- Added elyxer.py, #21694
        StatusConfirmed Ready For Test
    2010-10-16 alexfernandez StatusReady For Test Confirmed
    2010-10-15 alexfernandez Attached File- Added elyxer.py, #21686
        StatusNone Ready For Test
        Assigned toNone alexfernandez
    2010-10-15 jras Attached File- Added test-appendix.lyx, #21683
        Attached File- Added test-child.lyx, #21684

    Back to the top

    Powered by Savane 3.13-cf05.
    Corresponding source code