[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

12. Print (Standard Mathematical Functions)


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

12.0.1 print_dvi_form

print_dvi_form(S)

: It outputs S to a dvi file.

Example:

 
 print_dvi_form(x^2-1);

References:

print_xdvi_form , print_tex_form


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

12.0.2 print_em

print_em(S)

: It outputs S by a font to emphasize it.

Example:

 
 print_em(x^2-1);

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

12.0.3 print_gif_form

print_gif_form(S)

: It outputs S to a file of the gif format.

print_gif_form(S | table=key0)

: This function allows optional variables table

Example:

 
 print_gif_form(newmat(2,2,[[x^2,x],[y^2-1,x/(x-1)]]));

References:

print_tex_form


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

12.0.4 print_input_form

print_input_form(S)

: It transforms S to a string which can be parsed by asir.

Example:

 
 print_input_form(quote(x^3-1));

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

12.0.5 print_open_math_tfb_form

print_open_math_tfb_form(S)

: It transforms S to a tfb format of OpenMath XML.

Description:

It is experimental. You need to load taka_print_tfb.rr to call it.

Example:

 
 print_open_math_tfb_form(quote(f(x,1/(y+1))+2));

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

12.0.6 print_open_math_xml_form

print_open_math_xml_form(S)

: It transforms S to a string which is compliant to OpenMath(1999).

Example:

 
 print_open_math_xml_form(x^3-1);

References:

www.openmath.org


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

12.0.7 print_output

print_output(Obj)

: It outputs the object Obj to a file. If the optional variable file is set, then it outputs the Obj to the specified file, else it outputs it to "asir_output_tmp.txt". If the optional variable mode is set to "w", then the file is newly created. If the optional variable is not set, the Obj is appended to the file.

print_output(Obj | file=key0,mode=key1)

: This function allows optional variables file, mode

Example:

 
 print_output("Hello"|file="test.txt");

References:

glib_tops , ( , )


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

12.0.8 print_ox_rfc100_xml_form

print_ox_rfc100_xml_form(S)

: It transforms S to a string which is compliant to OpenXM RFC 100.

Example:

 
 print_ox_rfc100_xml_form(x^3-1);

References:

www.openxm.org


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

12.0.9 print_png_form

print_png_form(S)

: It transforms S to a file of the format png. dvipng should be installed.

Example:

 
 print_png_form(x^3-1);

References:

print_tex_form


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

12.0.10 print_terminal_form

print_terminal_form(S)

: It transforms S to the terminal form???


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

12.0.11 print_tex_form

print_tex_form(S)

: It transforms S to a string of the LaTeX format.

print_tex_form(S | table=key0)

: This function allows optional variables table

Description:

The global variable Print_tex_form_fraction_format takes the values "auto", "frac", or "/". The global variable Print_tex_form_no_automatic_subscript takes the values 0 or 1. BUG; A large input S cannot be translated.

Example:

 
 print_tex_form(x*dx+1 | table=[["dx","\\partial_x"]]);

The optional variable table is used to give a translation table of asir symbols and tex symbols.

References:

print_xdvi_form


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

12.0.12 print_tfb_form

print_tfb_form(S)

: It transforms S to the tfb format.

Example:

 
 print_tfb_form(x+1);

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

12.0.13 print_xdvi_form

print_xdvi_form(S)

: It transforms S to a xdvi file and previews the file by xdvi.

Example 0:

 
 print_xdvi_form(newmat(2,2,[[x^2,x],[y^2-1,x/(x-1)]]));

Example 1:

 
 print_xdvi_form(print_tex_form(1/2));

References:

print_tex_form , print_dvi_form


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

12.0.14 print_xv_form

print_xv_form(S)

: It transforms S to a gif file and previews the file by xv.

print_xv_form(S | input=key0,format=key1)

: This function allows optional variables input, format

Example 0:

 
 print_xv_form(newmat(2,2,[[x^2,x],[y^2-1,x/(x-1)]]));

Example 1:

 
 print_xv_form(x+y | format="png");

If the optional variable format="png" is set, png format will be used to generate an input for xv.

References:

print_tex_form , print_gif_form


[ < ] [ > ]   [ << ] [ Up ] [ >> ]

This document was generated by Nobuki Takayama on January, 28 2008 using texi2html 1.76.