Skip to Content.
Sympa Menu

texmacs-users - Re: [TeXmacs] Can I help? Can you help me?

Subject: mailing-list for TeXmacs Users

List archive

Re: [TeXmacs] Can I help? Can you help me?


Chronological Thread 
  • From: Martial Tarizzo <address@hidden>
  • To: address@hidden
  • Subject: Re: [TeXmacs] Can I help? Can you help me?
  • Date: Sun, 16 Nov 2008 09:26:51 +0100

Hi,

> how did you tweak your pstricks plugin to let it work ?
>
> Marc
>

It' fairly easy to do :
- if you open the file bin/tm_pstricks in an text editor, you will find
some basic doc, and that the temporary files are made in
~/.TeXmacs/system/tmp.
- a closer look at the code (lines 83,84) shows that two essential files
are available in system/tmp on each script invocation :
* input.txt => translation of the commands from TeXmacs
* TMPpstricksTMP.tex => file compiled by LateX

You can then "tweak" the script if it doesn't work on your system...

If you modify the script, you must break the read-eval-print loop of the
script (lines 67->100). This is easily done by closing the PStricks
session in TeXmacs (button #6 on the session toolbar, scissors)

Regard, and good luck

MT

> Le samedi 15 novembre 2008 à 14:27 +0100, Martial Tarizzo a écrit :
> > Hi,
> >
> > I'm a basic user of TeXmacs too (physics teacher...)
> >
> > In a previous message, chu-ching huang send to the list the link
> > http://diffusion.cgu.edu.tw/ftp/Texmacs
> > to download tm_pstrick.tgz
> >
> > Unfortunately, the plugin didn't work, at least for me...(Linux, Ubuntu
> > 8.04.1 LTS)
> >
> > I modified it, and now it (nearly) works, at least for me !
> >
> > You will find in tm_pstricks.zip
> > - a zip file, containing the plugin.
> > Extract the pstrick_plugin.zip to $HOME/.TeXmacs/plugins
> > - tstpst.pdf : what can be done
> > - tstpst.tm : the tm file to make the pdf
> >
> > Regards
> >
> > MT
> >
> > ps : there are still some tricky points in the 'bin' part of the plugin,
> > because it is a shell script. Using an higher level language (perl,
> > python, ...) can certainly eliminate most of them
> >
> >




Archive powered by MHonArc 2.6.19.

Top of Page