mailing-list for TeXmacs Users

Text archives Help


Re: [TeXmacs] Texmacs from the command line


Chronological Thread 
  • From: Nicolas Ratier <address@hidden>
  • To: address@hidden
  • Subject: Re: [TeXmacs] Texmacs from the command line
  • Date: Thu, 19 May 2005 15:56:03 +0200
  • Organization: Femto-ST Dept LPMO

Some month ago, joris wrote :

--------------------------------------------------------------------------
> texmacs --convert test.tm test.ps -q

You can execute more general scheme commands using the -x option.
For instance, I use the following command for generating the italian
manual you find on our website:

> texmacs -x "(tmdoc-expand-help-manual
> \"/home/vdhoeven/cvs/doc/main/man-user-manual.it.tm\" \"(begin
> (print-to-file \\\"/home/vdhoeven/cvs/distr/texmacs-manual.it.ps\\\")
> (quit-TeXmacs))\")"

For more information on the available scheme commands,
you have to hack a bit ;^) More documentation will come later.
--------------------------------------------------------------------------

my first try ... :

nicolas@merlin:~/Desktop/Test> more test.tm
<TeXmacs|1.0.5.1>

<style|generic>

<\body>
test
</body>

<\initial>
<\collection>
<associate|language|british>
<associate|sfactor|7>
</collection>
</initial>
nicolas@merlin:~/Desktop/Test> texmacs --convert test.tm test.ps -q
TeXmacs] With linked TrueType support
<unnamed port>:1:66: In expression (export-buffer "test.ps"):
<unnamed port>:1:66: Unbound variable: export-buffer




Archive powered by MHonArc 2.6.19.

Top of page