texmacs-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Texmacs-dev] Re: Contribution...


From: Gwenael Gabard
Subject: Re: [Texmacs-dev] Re: Contribution...
Date: Thu, 25 Jul 2002 21:43:34 +0200
User-agent: KMail/1.4.5

   Hi,

> > I tried to implement align and align* math environments in
> > env-math.ts. Is it the right place to define these environments ?
> Yes, it definitely is; writing style files is still a bit clumsy,
> especially for tabular environments, so do not hestitate to ask us for
> help.
For the eqnarray* environment:
  <assign|eqnarray*|<macro|body|<with|paragraph mode|center|mode|math|formula
  style|true|interline space|0.45fn|<surround|<format|no page break
  before><vspace*|0.5fn>|<vspace|0.5fn><format|no indentation
  after>|<tformat|<twith|table hyphen|y>|<twith|table
  width|1par>|<twith|table min cols|3>|<twith|table max
  cols|3>|<cwith|1|-1|1|1|cell lsep|0spc>|<cwith|1|-1|-1|-1|cell
  rsep|0spc>|<cwith|1|-1|1|-1|cell bsep|0sep>|<cwith|1|-1|1|-1|cell
  tsep|0sep>|<cwith|1|-1|1|1|cell hpart|1>|<cwith|1|-1|-1|-1|cell
  hpart|1>|<cwith|1|-1|1|1|cell halign|r>|<cwith|1|-1|1|1|cell
  hyphen|b>|<cwith|1|-1|2|-2|cell halign|c>|<cwith|1|-1|-1|-1|cell
  halign|l>|<cwith|1|-1|-1|-1|cell hyphen|t>|<arg|body>>>>>>
in the 'tformat' command I don't understand precisely how the 'cwith' command 
works. The 'cell halign|l' command is clear but the '|1|-1|-1|-1|' remains a 
mystery.

> >    There is a weird thing in TeXmacs: in equations when two or more
> > letters are entered TeXmacs automatically switch to roman fonts ! Is
> > there any way to disable this behaviour ?
> No, there is not, but we consider that it is a good behaviour.
> Indeed, it forces you to specify the meaning of a formula;
> a*b is not the same as f x.
   From my point of view this is a problem for tensor notation: in the 
expression A_{ijk} the index ijk should not be typed with a roman font.

> Coming back to the converter issue: would you be interested in helping me
> to write a cleaner converter? The plan is to rewrite fromtex.cc
> in the Scheme extension language. This has already been done for totex.cc.
   I can help for this task but I don't know much about the Scheme language... 
A good thing to do in parsetex.cc would be to delete all comments before 
actually parsing the LaTeX file.

> Yet another thing: can you tell me which version of TeXmacs you used?
   I worked with 1.0.0.9

Gwenael




reply via email to

[Prev in Thread] Current Thread [Next in Thread]