;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; ;; MODULE : init-diag.scm ;; DESCRIPTION : Initialize diagrams plugin ;; 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 diag (: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 diag \ \"TeXmacs interface to pb-diagram package\" \"Diagrams ]\" \ \"\\\\documentclass{article}\\\\usepackage{pb-diagram}\\\\pagestyle{empty}\\\\begin{document}\\\\begin{diagram}\" \ \"\\\\end{diagram}\\\\end{document}\" ") (:session "Diagrams"))