Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

compile TeX from Sage

Hola!

I'm working on a program which should output the results of its computations in form of a typesetted document (ideally pdf from pdflatex).

I'm trying to perfrom the final presentation part via view function, however, that doesn't seem to be the most convenient way (since view is aimed at typesetting LaTeX formulas of elements of a list). A lot of hidden code (headers, turned on math modes etc.) are really unpleasent to get around.

I'm pondering about generating an explicit .tex source code file. How can I call TeX compiler from Sage? I.e. how to compile it automatically in an own program, similarly as view does it?)

ThanX in advance!

Sage 5.1 Kubuntu 12.04

compile TeX from Sage

Hola!

I'm working on a program which should output the results of its computations in form of a typesetted document (ideally pdf from pdflatex).

I'm trying to perfrom the final presentation part via view function, however, that doesn't seem to be the most convenient way (since view is aimed at typesetting LaTeX formulas of elements of a list). A lot of hidden code (headers, turned on math modes etc.) are really unpleasent to get around.

I'm pondering about generating an explicit .tex source code file. How can I call TeX compiler from Sage? I.e. how to compile it automatically in an own program, similarly as view does it?)

ThanX in advance!

Sage 5.1 Kubuntu 12.04

click to hide/show revision 3
retagged

compile TeX from Sage

Hola!

I'm working on a program which should output the results of its computations in form of a typesetted document (ideally pdf from pdflatex).

I'm trying to perfrom the final presentation part via view function, however, that doesn't seem to be the most convenient way (since view is aimed at typesetting LaTeX formulas of elements of a list). A lot of hidden code (headers, turned on math modes etc.) are really unpleasent to get around.

I'm pondering about generating an explicit .tex source code file. How can I call TeX compiler from Sage? I.e. how to compile it automatically in an own program, similarly as view does it?)

ThanX in advance!

Sage 5.1 Kubuntu 12.04