bugGNU TeXmacs - Bugs: bug #41632, To latex converter unbound...

 
 

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

bug #41632: To latex converter unbound variable filter

Submitted by:  Kurt Schlacher <schlacher>
Submitted on:  Tue 18 Feb 2014 02:15:51 PM UTC  
 
Category: ConversionPriority: 5 - Normal
Item Group: ErrorStatus: Ready For Test
Privacy: PublicAssigned to: Francois Poulain <fpoulain>
Originator Name: Open/Closed: Closed
Release: Release: None
Fixed Release: NoneFixed Release: 
Keywords: 

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

Thu 06 Mar 2014 11:01:27 AM UTC, comment #10:

I think that I fixed the bug in SVN revision 8243.
It will be in the 1.99.2 release.

Joris van der Hoeven <vdhoeven>
Project Administrator
Thu 06 Mar 2014 06:58:23 AM UTC, comment #9:

Two short tests:

1) TeXmacs-1.99.1-x11-i386-pc-linux-gnu from http://www.texmacs.org/

<\session|scheme|default>
<\unfolded-io|Scheme] >
(version)
<|unfolded-io>
"1.6.4"
</unfolded-io>

<\input|Scheme] >
\;
</input>
</session>

2) TeXmacs 1.0.7.21 from openSUSE repository

Scheme] (version)

"1.8.8"
Scheme]

Did I test the correct revision? TeXmacs 1.0.7.21 from openSUSE repository works perfectly.

Kurt Schlacher <schlacher>
Sun 02 Mar 2014 07:44:06 PM UTC, comment #8:

I think that I fixed the bug in revision 8243.
Please test whether the fix works.

Joris van der Hoeven <vdhoeven>
Project Administrator
Fri 28 Feb 2014 08:55:28 AM UTC, comment #7:

There is an update to TeXmacs version 1.0.7.21 for openSUSE 13.1 available. All problems disappeared.

Kurt Schlacher <schlacher>
Wed 26 Feb 2014 07:38:59 AM UTC, comment #6:

A simple work around is to write a "copy" of filter and add it to
tmtex.scm and latex-tools.tm

Kurt Schlacher <schlacher>
Tue 25 Feb 2014 02:12:50 PM UTC, comment #5:

I installed TeXmacs version 1.99.1 on a fresh machine with openSUSE 13.1. with the generic rpm package and made 3 tests.

1) neither guile 1.6 no 1.8 are installed are installed, same error.

2) guile 1.8 is installed, same error.

3) guile 1.8 and 2.0 are installed, same error.

In addition I made the following observations:

1) The work around with "list-filter" causes another error:

/usr/share/TeXmacs/progs/kernel/library/list.scm:233:19: In procedure car in expression (car l):
/usr/share/TeXmacs/progs/kernel/library/list.scm:233:19: Wrong type argument in position 1: #<procedure #f (#{\ g10}#)>

2) If I start a scheme session in TeXmacs version 1.99.1, same error, but no error with the old version version 1.0.7.16

Kurt Schlacher <schlacher>
Tue 25 Feb 2014 08:58:50 AM UTC, comment #4:

It seems that the (wonderful) "filter" function is not defined in the core of old guile releases, like 1.6.

I will make the needed changes to handle this bug.

As a temporary workaround, you could make one of the two things:

  • update to Guile-1.8 (not Guile-2.0!)
  • or, replace "filter" by "list-filter" in the file

/usr/share/TeXmacs/progs/convert/latex/tmtex.scm line 471.

Francois Poulain <fpoulain>
Project MemberIn charge of this item.
Mon 24 Feb 2014 02:00:49 PM UTC, comment #3:

Hi,

Thank you for the attachments. Unfortunately, I don't reproduce the bug.

Could you tell me please the output of:
$ guile --version

Francois Poulain <fpoulain>
Project MemberIn charge of this item.
Sat 22 Feb 2014 07:57:08 AM UTC, comment #2:

Please find more in the attachment.

(file #30636)

Kurt Schlacher <schlacher>
Wed 19 Feb 2014 08:26:47 AM UTC, comment #1:

This is strange, since filter is a primitive guile function.

Could you please attach a document reproducing this bug? (Or, if you don't want to publish it, can you sent it please at fpoulain at metrodore dot fr ?)

Thanks for helping TeXmacs.

Francois Poulain <fpoulain>
Project MemberIn charge of this item.
Tue 18 Feb 2014 02:15:51 PM UTC, original submission:

/usr/share/TeXmacs/progs/convert/latex/tmtex.scm:471:33: In expression (filter (cut ndef-style? <> ...) t):
/usr/share/TeXmacs/progs/convert/latex/tmtex.scm:471:33: Unbound variable: filter

Kurt Schlacher <schlacher>

 

Attached Files
file #30636:  error.txt added by schlacher (2kB - text/plain)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by vdhoeven (Posted a comment)
  • -unavailable- added by schlacher (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 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 08 Apr 2014 02:20:25 PM UTCfpoulainOpen/ClosedOpen=>Closed
    Sun 02 Mar 2014 07:44:06 PM UTCvdhoevenStatusIn Progress=>Ready For Test
    Tue 25 Feb 2014 09:02:32 AM UTCfpoulainStatusNeed Info=>In Progress
    Sat 22 Feb 2014 07:57:08 AM UTCschlacherAttached File-=>Added error.txt, #30636
    Wed 19 Feb 2014 08:26:47 AM UTCfpoulainStatusNone=>Need Info
      Assigned toNone=>fpoulain

    Back to the top


    Powered by Savane 3.1-cleanup