mailing-list for TeXmacs Users

Text archives Help


Re: [TeXmacs] Exporting to HTML


Chronological Thread 
  • From: Joris van der Hoeven <address@hidden>
  • To: Philippe Audebaud <address@hidden>
  • Cc: James Truax <address@hidden>, TeXmacs Users <address@hidden>
  • Subject: Re: [TeXmacs] Exporting to HTML
  • Date: Wed, 12 Nov 2003 11:13:28 +0100 (CET)


On Tue, 11 Nov 2003, Philippe Audebaud wrote:
> the answer to the export failure reported below for tables could be
> related
> to incomplete definition of function 'stm-table-formats' in the
> file
> 'TeXmacs/progs/convert/tools/tmtable.scm'.
>
> I suggest change from
>
> (define (stm-table-formats x)
> (cond ((func? x 'table) '())
> ((func? x 'tformat)
> (append (map (lambda (f)
> (with (sym i1 i2 j1 j2 name value) f
> (list sym
> (string->number i1)
> (string->number i2)
> (string->number j1)
> (string->number j2)
> name
> (stm-table-decode-format name value))))
> (list-filter (cDdr x) (lambda (l) (= (length l) 7))))
> (stm-table-formats (cAr x))))))
>
> to:
>
> (define (stm-table-formats x)
> (cond ((func? x 'table) '())
> ((func? x 'tformat)
> (append (map (lambda (f)
> (with (sym i1 i2 j1 j2 name value) f
> (list sym
> (string->number i1)
> (string->number i2)
> (string->number j1)
> (string->number j2)
> name
> (stm-table-decode-format name value))))
> (list-filter (cDdr x) (lambda (l) (= (length l) 7))))
> (stm-table-formats (cAr x))))
> (else '())))
> ^^^^^^^^^^^^
> where only this last line is *new* actually.
>
> Please report success or failure.

This works for me; the entire TeXmacs documentation can now be converted
to Html without error messages. The fix will be included in the next version.




Archive powered by MHonArc 2.6.19.

Top of page