File: LyX.sdef

package info (click to toggle)
lyx 2.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 138,444 kB
  • sloc: cpp: 244,268; ansic: 106,398; xml: 72,791; python: 39,384; sh: 7,666; makefile: 6,584; pascal: 2,143; perl: 2,101; objc: 1,084; tcl: 163; sed: 16
file content (39 lines) | stat: -rw-r--r-- 1,069 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE dictionary SYSTEM "file://localhost/System/Library/DTDs/sdef.dtd">
 
<!--
 This file is part of LyX, the document processor.
 Licence details can be found in the file COPYING.

 author: Benjamin Piwowarski

 Full author contact details are available in file CREDITS.
 
-->
 
 
<!-- declare the namespace for using XInclude so we can include the standard suite -->
<dictionary xmlns:xi="http://www.w3.org/2003/XInclude">

	<!-- our special scripting suite for this example -->
	<suite name="Lyx" code="LYX " description="LyX scripting facilities.">
		
	   
		<command name="run" code="SLyxComm" description="run a simple command with one parameter">
			<cocoa class="LyxCommand"/>
			
			<direct-parameter description="The command to be executed.">
				<type type="text" list="no"/>
			</direct-parameter>
			
			<parameter name="with argument" code="args" type="text">
				<cocoa key="arg"/>
			</parameter>
			
			<result type="text" description="The message returned by LyX"/>
		</command>

	</suite>
	
	
</dictionary>