~registry/texmacs/trunk

« back to all changes in this revision

Viewing changes to src/TeXmacs/examples/plugins/secure/progs/secure-secure.scm

  • Committer: mgubi
  • Date: 2009-06-04 15:13:41 UTC
  • Revision ID: svn-v4:64cb5145-927a-446d-8aed-2fb7b4773692:trunk:2717
Support for X11 TeXmacs.app on Mac

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3
 
;;
4
 
;; MODULE      : secure-secure.scm
5
 
;; DESCRIPTION : Secure routines for 'secure' plugin
6
 
;; COPYRIGHT   : (C) 1999  Joris van der Hoeven
7
 
;;
8
 
;; This software falls under the GNU general public license version 3 or later.
9
 
;; It comes WITHOUT ANY WARRANTY WHATSOEVER. For details, see the file LICENSE
10
 
;; in the root directory or <http://www.gnu.org/licenses/gpl-3.0.html>.
11
 
;;
12
 
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
13
 
 
14
 
(texmacs-module (secure-secure)
15
 
  (:use (utils plugins plugin-eval)))
16
 
 
17
 
(tm-define (latexer s)
18
 
  (:type (-> tree object))
19
 
  (:synopsis "convert LaTeX string to TeXmacs tree using plugin")
20
 
  (:secure #t)
21
 
  (plugin-eval "secure" "default" (tree->string s)))