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


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

bug #41632: To latex converter unbound variable filter

Submitted by:  Kurt Schlacher <schlacher>
Submitted on:  Tue Feb 18 14:15:51 2014  
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: 

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

Thu Mar 6 11:01:27 2014, 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 Mar 6 06:58:23 2014, comment #9:

Two short tests:

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

<\unfolded-io|Scheme] >

<\input|Scheme] >

2) TeXmacs from openSUSE repository

Scheme] (version)


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

Kurt Schlacher <schlacher>
Sun Mar 2 19:44:06 2014, 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 Feb 28 08:55:28 2014, comment #7:

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

Kurt Schlacher <schlacher>
Wed Feb 26 07:38:59 2014, 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 Feb 25 14:12:50 2014, 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

Kurt Schlacher <schlacher>
Tue Feb 25 08:58:50 2014, 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 Feb 24 14:00:49 2014, comment #3:


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 Feb 22 07:57:08 2014, comment #2:

Please find more in the attachment.

(file #30636)

Kurt Schlacher <schlacher>
Wed Feb 19 08:26:47 2014, 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 Feb 18 14:15:51 2014, 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 Apr 8 14:20:25 2014fpoulainOpen/ClosedOpen=>Closed
    Sun Mar 2 19:44:06 2014vdhoevenStatusIn Progress=>Ready For Test
    Tue Feb 25 09:02:32 2014fpoulainStatusNeed Info=>In Progress
    Sat Feb 22 07:57:08 2014schlacherAttached File-=>Added error.txt, #30636
    Wed Feb 19 08:26:47 2014fpoulainStatusNone=>Need Info
      Assigned toNone=>fpoulain

    Back to the top

    Powered by Savane 3.1-cleanup1