;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; ;; MODULE : init-xy.scm ;; DESCRIPTION : Initialize XYpic plugin (Reimplementation of the one in TeXmacs) ;; COPYRIGHT : (C) 2005 Bas Spitters. ;; ;; This software falls under the GNU general public license and comes WITHOUT ;; ANY WARRANTY WHATSOEVER. See the file $TEXMACS_PATH/LICENSE for details. ;; If you don't have this file, write to the Free Software Foundation, Inc., ;; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (plugin-configure xypic2 (:require (url-exists-in-path? "latex")) ;; The arguments are ;; Name of the program ;; Banner ;; Prompt ;; Top of the latex file ;; Bottom of the latex file ;; Please note that \ prevents line-breaks and we need \\\\ to represent one \ (:launch "tm_gentex.sh --texmacs xypic \ \"TeXmacs interface to XYpic \(high level 2-dimensional graphics\)\" \"XYpic ]\" \ \"\\\\documentclass{article}\\\\usepackage[all]{xy}\\\\pagestyle{empty}\\\\begin{document}\" \ \"\\\\end{document}\" ") (:session "XYpic2"))