// Copyright: Matthias Steffens and the file's // original author(s). // // This code is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY. Please see the GNU General Public // License for more details. // // File: ./includes/transtab_endnotexml_refbase.inc.php // Repository: $HeadURL$ // Author(s): Matthias Steffens // // Created: 18-Jul-07, 13:15 // Modified: $Date: 2008-07-30 14:16:35 +0000 (Wed, 30 Jul 2008) $ // $Author$ // $Revision: 1182 $ // Search & replace patterns for conversion from Endnote XML text style markup to refbase markup. Converts fontshape markup (italic, bold, underline) as well // as super- and subscript into appropriate refbase markup. Note that greek letters are left as is, so import of greek letters will require an UTF-8 database. // Notes: - search & replace patterns must be specified as perl-style regular expression and search patterns must include the leading & trailing slashes $transtab_endnotexml_refbase = array( '##i' => "_\\1_", '##i' => "**\\1**", '##i' => "__\\1__", '##i' => "[super:\\1]", '##i' => "[sub:\\1]", '##i' => "\\1", // remove all remaining ', // title '#(?<=)(.+?)(?=)#i' => '', // secondary-title '#(?<=)(.+?)(?=)#i' => '', // full-title '#(?<=)(.+?)(?=)#i' => '', // alt-title ); ?>