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

Submitter:  None
Submitted:  Thu 25 Mar 2004 09:08:35 PM UTC
   
 
Category:  Typesetter Priority:  5 - Normal
Item Group:  Error Status:  Fixed
Privacy:  Public Assigned to:  fpoulain
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  None
Release:  1.0.3.2 Fixed 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>
Group Member
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>
Group Member
Tue 23 Jul 2013 04:34:22 PM UTC, comment #3: 

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

Francois Poulain <fpoulain>
Group Member
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>
Group Member
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

 

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

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
  • -email is unavailable- added by rjuengling (Updated 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.

     

    Follow 13 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-12-13 fpoulain StatusConfirmed Fixed
        Open/ClosedOpen Closed
    2013-07-23 fpoulain StatusWorks For Me Confirmed
        Assigned tovdhoeven fpoulain
        Open/ClosedClosed Open
        Release1.0.5.6 None
    2013-07-23 rjuengling Attached File- Added lof_test.tm, #28649
        Attached File- Added lof_test.pdf, #28650
    2013-07-14 rjuengling Attached File- Added list_of_figures.pdf, #28580
    2005-08-16 vdhoeven StatusNone Works For Me
        Assigned toNone vdhoeven
        Open/ClosedOpen Closed
        ReleaseNone 1.0.5.6

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code