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

/jEdit/tags/jedit-4-2-pre4/modes/bibtex.xml

#
XML | 75 lines | 61 code | 8 blank | 6 comment | 0 complexity | 9e1c95cef572c1fd84574a13c8b2f76f 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     updated by Stefan Kost <s.kost@webmacher.de>
 8-->
 9
10<MODE>
11	<PROPS>
12		<PROPERTY NAME="lineComment" VALUE="%" />
13	</PROPS>
14	<RULES>
15		<!-- @... commands -->
16		<MARK_FOLLOWING TYPE="KEYWORD2">@</MARK_FOLLOWING>
17
18		<!-- comments -->
19		<EOL_SPAN TYPE="COMMENT1">%</EOL_SPAN>
20
21		<SPAN TYPE="MARKUP" DELEGATE="ENTRY">
22			<BEGIN>{</BEGIN>
23			<END>}</END>
24		</SPAN>
25	</RULES>
26	<RULES SET="ENTRY" DEFAULT="MARKUP" IGNORE_CASE="TRUE">
27		<SPAN TYPE="LITERAL1" DELEGATE="ITEM">
28			<BEGIN>"</BEGIN>
29			<END>"</END>
30		</SPAN>
31		
32		<SPAN TYPE="LITERAL1" DELEGATE="ITEM">
33			<BEGIN>{</BEGIN>
34			<END>}</END>
35		</SPAN>
36
37		<SEQ TYPE="OPERATOR">=</SEQ>
38		<SEQ TYPE="OPERATOR">,</SEQ>
39
40		<KEYWORDS>
41			<KEYWORD1>address</KEYWORD1>
42			<KEYWORD1>annote</KEYWORD1>
43			<KEYWORD1>author</KEYWORD1>
44			<KEYWORD1>title</KEYWORD1>
45			<KEYWORD1>type</KEYWORD1>
46			<KEYWORD1>abstract</KEYWORD1>
47			<KEYWORD1>volume</KEYWORD1>
48			<KEYWORD1>pages</KEYWORD1>
49			<KEYWORD1>number</KEYWORD1>
50			<KEYWORD1>note</KEYWORD1>
51			<KEYWORD1>key</KEYWORD1>
52			<KEYWORD1>organization</KEYWORD1>
53			<KEYWORD1>school</KEYWORD1>
54			<KEYWORD1>series</KEYWORD1>
55			<KEYWORD1>chapter</KEYWORD1>
56			<KEYWORD1>month</KEYWORD1>
57			<KEYWORD1>department</KEYWORD1>
58			<KEYWORD1>keywords</KEYWORD1>
59			<KEYWORD1>howpublished</KEYWORD1>
60			<KEYWORD1>institution</KEYWORD1>
61			<KEYWORD1>journal</KEYWORD1>
62			<KEYWORD1>publisher</KEYWORD1>
63			<KEYWORD1>editon</KEYWORD1>
64			<KEYWORD1>editor</KEYWORD1>
65			<KEYWORD1>year</KEYWORD1>
66			<KEYWORD1>booktitle</KEYWORD1>
67		</KEYWORDS>
68	</RULES>
69	<RULES SET="ITEM" DEFAULT="LITERAL1">
70		<SPAN TYPE="LITERAL1">
71			<BEGIN>{</BEGIN>
72			<END>}</END>
73		</SPAN>
74	</RULES>
75</MODE>