PageRenderTime 55ms CodeModel.GetById 50ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/jEdit/tags/jedit-4-0-pre3/modes/bibtex.xml

#
XML | 78 lines | 63 code | 10 blank | 5 comment | 0 complexity | 18be9d3016a731b729cd0e7ce8dd24f1 MD5 | raw file
 1<?xml version="1.0"?>
 2
 3<!DOCTYPE MODE SYSTEM "xmode.dtd">
 4
 5<!-- BibTeX mode, by Nils Krahnstoever, krahnsto@cse.psu.edu
 6     based PV-WAVE mode by Ed Stewarton and tex mode by unknown author. -->
 7
 8<MODE>
 9	<PROPS>
10		<PROPERTY NAME="lineComment" VALUE="%" />
11	</PROPS>
12	<RULES>
13		<WHITESPACE> </WHITESPACE>
14		<WHITESPACE>	</WHITESPACE>
15
16		<!-- @... commands -->
17		<MARK_FOLLOWING TYPE="KEYWORD2">@</MARK_FOLLOWING>
18
19		<!-- comments -->
20		<EOL_SPAN TYPE="COMMENT1">%</EOL_SPAN>
21
22		<SPAN TYPE="MARKUP" DELEGATE="ENTRY">
23			<BEGIN>{</BEGIN>
24			<END>}</END>
25		</SPAN>
26	</RULES>	
27	<RULES SET="ENTRY" DEFAULT="MARKUP">
28		<!-- whitespace: (space and tab) -->
29		<WHITESPACE> </WHITESPACE>
30		<WHITESPACE>	</WHITESPACE>
31
32		<SPAN TYPE="LITERAL1" DELEGATE="ITEM">
33			<BEGIN>"</BEGIN>
34			<END>"</END>
35		</SPAN>
36		
37		<SPAN TYPE="LITERAL1" DELEGATE="ITEM">
38			<BEGIN>{</BEGIN>
39			<END>}</END>
40		</SPAN>
41
42		<SEQ TYPE="OPERATOR">=</SEQ>
43		<SEQ TYPE="OPERATOR">,</SEQ>
44
45		<KEYWORDS IGNORE_CASE="TRUE">
46		<KEYWORD1>address</KEYWORD1>
47		<KEYWORD1>annote</KEYWORD1>
48		<KEYWORD1>author</KEYWORD1>
49		<KEYWORD1>title</KEYWORD1>
50		<KEYWORD1>type</KEYWORD1>
51		<KEYWORD1>abstract</KEYWORD1>
52		<KEYWORD1>volume</KEYWORD1>
53		<KEYWORD1>pages</KEYWORD1>
54		<KEYWORD1>number</KEYWORD1>
55		<KEYWORD1>note</KEYWORD1>
56		<KEYWORD1>key</KEYWORD1>
57		<KEYWORD1>organization</KEYWORD1>
58		<KEYWORD1>school</KEYWORD1>
59		<KEYWORD1>series</KEYWORD1>
60		<KEYWORD1>chapter</KEYWORD1>
61		<KEYWORD1>month</KEYWORD1>
62		<KEYWORD1>department</KEYWORD1>
63		<KEYWORD1>keywords</KEYWORD1>
64		<KEYWORD1>howpublished</KEYWORD1>
65		<KEYWORD1>institution</KEYWORD1>
66		<KEYWORD1>journal</KEYWORD1>
67		<KEYWORD1>publisher</KEYWORD1>
68		<KEYWORD1>editon</KEYWORD1>KEYWORD1
69		<KEYWORD1>editor</KEYWORD1>
70		<KEYWORD1>year</KEYWORD1>
71		<KEYWORD1>booktitle</KEYWORD1>
72		</KEYWORDS>
73	</RULES>
74	<RULES SET="ITEM" DEFAULT="LITERAL1">
75		<SEQ TYPE="OPERATOR">{</SEQ>
76		<SEQ TYPE="OPERATOR">}</SEQ>			
77	</RULES>
78</MODE>