conventions for .texi files



Raymond Toy writes:

>>>>>>"Jay" == Jay Belanger <belanger@truman.edu> writes:
>>>>>>
>
>    Jay> Info can put in images and allow for alternate text for displays that
>    Jay> can't support the image, and Emacs (perhaps XEmacs) can view the image
>    Jay> in X (and info viewers that can't display graphics will display the
>    Jay> alternate text).
>
>Yes, I did some of that for the elliptic function section.  The
>definition of the functions and integrals are given in nicely
>formatted TeX formulas when possible.  On TTYs you get plain ascii
>display. 
>
>The major drawback is having to maintain 2 things for every formula
>that wants special treatment.   
>
>Ray
>
>
The ideal sulution would be special emacs mode.
Smething  similar to emaxima.

Imput example code is stored in texinfo's comment
 
@c ######
@c expand((x+y)^2);
@c factor(%);
@c ######

Here @c ###### marks beginning and end of the example .
Pressing some magic keys makes emacs runs this code through
Maxima  twice  - once with plain text output  and next time with
LaTeX output.  Results are inserted into the document with
appropriate ifs.  

Ah, I'm just day dreaming ...

-- 
     Vadim V. Zhytnikov

      <vvzhy@mail.ru> 
     <vvzhy@netorn.ru>