Barton Willis <willisb@unk.edu> writes:
> The new values for inchar and outchar might break mactex; consider
>
> (C1) inchar : '%i$
> (%I1) outchar : '%o$
> (%I2) x+y;
> (%o2) y + x
> (%I3) %o2;
> (%o3) y + x
> (%I4) tex(%o3);
>
> |(%o3) y+x;|
> (%o4) (%o3)
It looks like mactex is treating %o3 as an input line.
In mactex.lisp, to determine if a label is an input or output line,
the function tex1 uses
(eq (getchar $inchar 2) (getchar mexplabel 2)))
;; aha, this is a C-line: do the grinding:
I could be wrong, but it looks like only one character is being
looked at; so it can't distinguish between %i and %o.
Perhaps this should be changed so that more characters are looked at;
length $inchar characters, I suppose, so it can deal with non-default
$inchar and $outchar.
Jay