Error: The BibTeX item with the key '$key' cannot be displayed, because it contains characters that are not allowed."); } else { $ret = ''; $ret .= "\n".''; $ret .= "\n\n".''; $ret .= "\n".' Bibliography '.$key.''; $ret .= "\n".' '; $ret .= "\n".' '; $ret .= "\n".''; $ret .= "\n\n".''; $ret .= "\n".'
';
		
		// printing bib entry but ignoring the abstract field
		$bibentry = extractBibEntry($filename, $key);
		$separator = "\r\n";
		$line = strtok($bibentry, $separator);
		$skipline = false;  // skip current line? (because part of abstract)
		while ($line !== false) {
			if (strpos(trim($line), "abstract") === 0 || strpos(trim($line), "webpdf") === 0 || strpos(trim($line), "webfullpdf") === 0 || strpos(trim($line), "OFF") === 0)  // abstract begins
				$skipline = true;
			if (!$skipline)
				$ret .= $line . $separator; 
			if (strpos($line, "}") !== false)  // abstract ends
				$skipline = false;
			$line = strtok( $separator );
		}
		
		// $ret .= str_replace(array("\r", "\r\n", "\n"),'
',$entry); $ret .= '
'; $ret .= "\n".''; $ret .= "\n".''; return $ret; } } ?>