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

Submitter:  Kurt Schlacher <schlacher>
Submitted:  Tue 18 Feb 2014 02:15:51 PM UTC
   
 
Category:  Conversion Priority:  5 - Normal
Item Group:  Error Status:  Ready For Test
Privacy:  Public Assigned to:  fpoulain
Originator Name:  Open/Closed:  Closed
Release:  None Release: 
Fixed Release:  None Fixed Release: 
Keywords: 

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>
Group 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>
Group 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>
Group Member
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>
Group Member
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>
Group Member
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>

 

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

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

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-04-08 fpoulain Open/ClosedOpen Closed
    2014-03-02 vdhoeven StatusIn Progress Ready For Test
    2014-02-25 fpoulain StatusNeed Info In Progress
    2014-02-22 schlacher Attached File- Added error.txt, #30636
    2014-02-19 fpoulain StatusNone Need Info
        Assigned toNone fpoulain

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code