% bibtex_kw_test.bib
%
% Test file for NEdit's syntax highlighting of BibTeX.
% Feedback + suggestions appreciated!
% http://volker.dnsalias.net/soft/nedit/
%
% Copyright (C) by Volker Kuhlmann <VolkerKuhlmann [at] gmx.de>,
% Released under the same license as NEdit itself,
% or, at your option, under the GNU General Public Licence, Version 2.
%
% Volker Kuhlmann
%   31 Dec 2003
%   2, 13 Jan 2004
%

% BibTeX has no comments!!
% That said, any BibTeX entry starts with a literal at-sign (so can't put one
% here!) everything outside that is ignored.

@Article{	  brace-delimiters ,
  author	= {K.M. Larson and J. Levine},
  title		= {Time transfer using the phase of the {GPS} carrier},
  booktitle	= {Frequency Control Symposium, 1998. Proceedings of the 1998
		  {IEEE} International},
  year		= {1998},
  volume	= {},
  pages		= {292--297},
  ISSN		= {},
  abstract	= {xx xxxx xxxxxxxxx xxxxxxx xxxx-xxxxxxxx xxxxxxxxxxx xxxxx
		  rxxxxxxx xxxxx xxxxxxxx {} {{}}xx 6 xxxxxx xxxxxxxxx. xxx
		  xxxxxxx {} {gfd hhjsd{gsdfddf{lljsdkjkl}df}dg}xx 6 xxxxxx
		  uxxxxxxxxxx xx 100 xxxx xxx x xxxxxxxxx xxxxxxxxxxx xx 2
		  pxxxx xx 10\xxxxxxxxxx{^{15}} xxx xxxxxxxxx xxxxx xx x xxx},
  keywords	= {xxxxxx xxxxxxxxxxx xxxxxx; xxxxxx xxxxxx; xxxxxxxxx
		  mxxxxxxxxxx; xxxxxxxx xxxxxxxxx},
  number	= {}
}

% Problem: The colouring of the nested braces in field values is incorrect.
%          It works above. How can this be fixed?
@InProceedings{	  quote-delimiters,
  abstract	= "xx xxxx xxxxxxxxx xxxxxxx xxxx-xxxxxxxx xxxxxxxxxxx xxxxx
		  xxxxxxxxx xxxxxx xxxxxx xx xxxxxxxx xxx xxxxxxxxx. xx xxxx
		  xxxx xxx xxx xxxxxxx-xxxxx xxxxxxxxxxxx xx xxxxxxxx
		  xxxxxxx {} {gfd hhjsd{gsdfddf{lljsdkjkl}df}dg}xx 6 xxxxxx
		   xxxxxxxxx. xxx
		  xxxxxxxxx xxxx xxxxxxx xxxx xxx xxxxxx-xxxx xxxx xxxxxxxx,
		  xxx xxxxxx xxxxxx xxxxx xxxx xxx-xxx xxxx-xxxxxxxx
		  xxxxxxxxxxxx. xxx xxxxxxx-xxxxx xxxx-xxxxxxxx xxx xx
		  xxxxxxxxxxx xx 100 xxxx xxx x xxxxxxxxx xxxxxxxxxxx xx 2
		  xxxxx xx 10\xxxxxxxxxx{^{15}} xxx xxxxxxxxx xxxxx xx x xxx",
  keywords	= {xxxxxx xxxxxxxxxxx xxxxxx; xxxxxx xxxxxx; xxxxxxxxx
		  xxxxxxxxxxx; xxxxxxxx xxxxxxxxx},
  number	= {}
}

@SomeundefinedType{citekey,
  jshjk = "jsdjfds h  hfhd"
}

@Proceedings{xxxxxx.xxxxxx:xxxx,
  abstract	= {xx xxxx xxxxxxxxx xxxxxxx xxxx-xxxxxxxx xxxxxxxxxxx xxxxx},
  number	= {},
  NUMBER	= {},
  NuMbEr	= {},
  bla="",
  booktitle	= iee_coll_dugpsps,
  booktitle=iee_coll_dugpsps,
  year		= {1994},
  month		= feb,
  month		= FEB,
  month		= fEb,
  day		= 8,
  note		= {(Digest No.\ 1994/032)},
  test = hkjshjf # "hjdfsdf" # kkjk # {hjhkj} # 88 # jan,
  field1 = {comma missing here ---->}
  field2 = {word}
}

@manual{citekey,
  address=value
}

@manual
{citekey,
  address=value
}

@manual
{
citekey,
  address=value
}

@manual
{
citekey
,
  address=value
}

@manual
{
citekey
,
  address=
  value
}

@manual
{
citekey
,
  address
  =
  value
}


% circuits, signals, systems, audio and controls
@STRING{IEEE_J_SPL        = "{IEEE} Signal Processing Letters"}
@STRING{short = "xxxxxxx, xxxxxxx = yyyyyy, xxxxxxx"}
@string{number={ssadsd}}
@string{number= {ssadsd}}
@string{number ={ssadsd}}
@string{number = {ssadsd}}
@string{number = "ssadsd"}
@string{ number = "ssadsd" }
@string
{number={ssadsd}}
@string
{number
={ssadsd}}

@string(number={ssadsd})
@string(number= {ssadsd})
@string(number ={ssadsd})
@string(number = {ssadsd})
@string(number = "ssadsd")
@string( number = "ssadsd" )
@string
(number={ssadsd})


% preambles
@Preamble{"
	\providecommand\metafont{metafont}
	\providecommand\BibTeX{Bib\TeX}
"}


% What might be seen as a comment, but it has a @ newentry-starts-here
% at-sign in it! This cause colouration of the following text.
% } This brace makes the highlighting think the entry's finished.
% Needless to say, this whole paragraph is a BibTeX error!!


##########
# From btxdoc.bib:
@COMMENT(You may put a comment in a `comment' command,
	the way you would with SCRIBE.)

Or you may dispense with the command and simply give the comment,
as long as it's not within an entry.

If you really want to put a comment inside an entry, simply
make up a never-to-be-used field.

@FAKE-ENTRY
	{fake-database-key,
	never-to-be-used-field = "Even if this were a real entry,
		I could still have a comment inside an entry
		by making up a fake field"
	}

@string	(SCRIBE-NOTE = {Chapter twelve and appendices E8 through E10 deal
			with bibliographies})

The next entry shows some of the syntactically legal things that
those with the inclination may use.@

MaNuAl	(scribe,
	TITLE="Scribe Document Production System


							User Manual",
	ORGANIZATION =	{Unilogic,}#" Ltd"# {.
			},
	ADDRESS = "Pittsburgh",
						MONTH
=aPR
	,YEAR=1984,
	note = scribe-note,
)				May the inclination not be with you.
##########


% Syntax errors, which the syntax highlighting mechanism of NEdit is unable to
% deal with:
@string{number={ssadsd})
@string(number={ssadsd}}


Typing (even pasting) this in messes up syntax highlighting permanently, fix
by re-loading file, switching language to "plain" and back, or re-applying
the patterns.
Alternatively, the value "context requirements for incremental re-parsing after
changes" in the highlighitng pattern editor (preferences->default
settings->syntax highlighting->recognition patterns) can be increased. To make
example 3: below work, the value required is 7 lines. This may affect
performance while typing. Set the value to your own liking, the minimum useful
is 2. To test, copy the 6 lines of example 3: into the clipboard and paste them
back in. If you paste them back in over the selected lines, you need a value of
8 lines; likewise for inserting and removing and empty line between the "3:"
and the "<at>string".
1:
@string
{number={ssadsd}}
2:
@string
{
number={ssadsd}}
3:
@string
{
number
=
{ssadsd}
}

@string{number={ssadsd}}
