[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Guile and GNU TeXmacs
From: |
Thomas Wawrzinek |
Subject: |
Re: Guile and GNU TeXmacs |
Date: |
Thu, 13 Dec 2001 11:40:54 +0100 (MET) |
Joris van der Hoeven address@hidden wrote:
> Thanks for your reply. I indeed experienced a similar problem and
> the outgrammar line does the trick. Of course, someone would now still
> have to write the interface with TeXmacs. Is there some way to convert
> a scheme expression into TeX/LaTeX in Jacal?
e0: set outgrammar tex;
However, this suffers from the same bug as standard grammar-
I have patched my version of JACAL with the append patch.
This seems like a real bug in JACAL to me. Also, I'm not sure this does what
was originally intended (see the comment in the patch).
And for TeX output, it still seem's to be semantically wrong :-(
BTW: http://www.math.u-psud.fr/~vdhoeven: Is this link broken?
Regards,
Thomas
--- unparse.scm.old Thu Dec 13 11:31:52 2001
+++ unparse.scm Thu Dec 13 11:05:26 2001
@@ -156,6 +156,15 @@
(display-line (car line)
(cadr line)
(cddr line)))
+ ((symbol? (cadr line))
+ (display (make-string (- (car line) hpos) fillchr))
+ ;; Hmm! I don't know whether this is exactly what is intended.
+ ;; See remark for symbol 'BREAK at beginning of this file ...
+ ;;(if (eq? (cadr line) 'BREAK)
+ ;; (newline))
+ (display-line (car line)
+ fillchr
+ (cddr line)))
(else
(slib:error 'display-line line))))