bugGNU TeXmacs - Bugs: bug #8304, list of figures/tables doesn't...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #8304: list of figures/tables doesn't wrap too long figure/table captions

Submitted by:  None
Submitted on:  Thu 25 Mar 2004 09:08:35 PM UTC  
 
Category: TypesetterPriority: 5 - Normal
Item Group: ErrorStatus: Fixed
Privacy: PublicAssigned to: Francois Poulain <fpoulain>
Originator Name: Originator Email: -unavailable-
Open/Closed: ClosedRelease: 1.0.3.2
Release: NoneFixed Release: None
Fixed Release: 
Keywords: 

Fri 13 Dec 2013 02:59:45 PM UTC, comment #5:

> we should avoid the presence of the <document> tag in a list-of-anything.


I did this in rev 8081. The fix works on the given example.
François

Francois Poulain <fpoulain>
Project MemberIn charge of this item.
Thu 10 Oct 2013 02:30:17 PM UTC, comment #4:

From: François Poulain <fpoulain@metrodore.fr>
To: Ralf Juengling <juenglin@cs.pdx.edu>
Subject: Re: bug #8304
Date: Thu, 10 Oct 2013 16:28:13 +0200
X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.10; x86_64-pc-linux-gnu)

Le Thu, 10 Oct 2013 07:02:17 -0700 (PDT),
Ralf Juengling <juenglin@cs.pdx.edu> a écrit :

> Ok. It sounded like you understand what the problem is.
> If so, could you point me at the right in the code? Perhaps I can fix
> it myself.


Actually, your <figure> environment contains a <document> tag (which
stand for "paragraph", see [1]). I don't know where to change the code
(at editing level or at list generation level), but we should avoid the
presence of the <document> tag in a list-of-anything.

If you want see how list-of-anything are generated, see
edit_process_rep::generate_aux_recursively and
edit_process_rep::generate_glossary
in src/Edit/Process/edit_process.cpp

Something like
if (is_document (t) && N(t) == 1) t->label= CONCAT;
may be needed somewhere. :)

François

[1] http://www.texmacs.org/tmweb/manual/webman-primitives.en.html

--
François Poulain <fpoulain@metrodore.fr>

Francois Poulain <fpoulain>
Project MemberIn charge of this item.
Tue 23 Jul 2013 04:34:22 PM UTC, comment #3:

Ok, I see the bug, I will work on it.

Francois Poulain <fpoulain>
Project MemberIn charge of this item.
Mon 15 Jul 2013 08:18:55 AM UTC, comment #2:

It works for me with the svn trunk. Could you please share a minimal .tm file which reproduce the bug?

Francois Poulain <fpoulain>
Project MemberIn charge of this item.
Sun 14 Jul 2013 11:44:40 PM UTC, comment #1:

This bug appears to be still present in TeXmacs 1.0.7.19. Interestingly, some but not all entries in a list of figures aare word-wrapped.

(file #28580)

Ralf <rjuengling>
Thu 25 Mar 2004 09:08:35 PM UTC, original submission:

If a caption of a figure or table is longer than one line, it isn't wrapped to the next line in the list of figures resp. tables.

Anonymous

 

Attached Files
file #28649:  lof_test.tm added by rjuengling (5KiB - text/texmacs - Test case for the issue.)
file #28650:  lof_test.pdf added by rjuengling (34KiB - application/pdf - Test case for the issue.)
file #28580:  list_of_figures.pdf added by rjuengling (39KiB - application/pdf - Example pages rendered by list-of-figures tag with TeXmacs 1.0.7.19)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rjuengling (Updated 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 13 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 13 Dec 2013 02:59:45 PM UTCfpoulainStatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Tue 23 Jul 2013 04:34:22 PM UTCfpoulainStatusWorks For Me=>Confirmed
      Assigned tovdhoeven=>fpoulain
      Open/ClosedClosed=>Open
      Release1.0.5.6=>None
    Tue 23 Jul 2013 04:17:33 PM UTCrjuenglingAttached File-=>Added lof_test.tm, #28649
      Attached File-=>Added lof_test.pdf, #28650
    Sun 14 Jul 2013 11:44:40 PM UTCrjuenglingAttached File-=>Added list_of_figures.pdf, #28580
    Tue 16 Aug 2005 02:54:17 PM UTCvdhoevenStatusNone=>Works For Me
      Assigned toNone=>vdhoeven
      Open/ClosedOpen=>Closed
      ReleaseNone=>1.0.5.6

    Back to the top


    Powered by Savane 3.1-cleanup1