1%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 2%% 3%% This file is part of BibTool. 4%% It is distributed under the GNU General Public License. 5%% See the file COPYING for details. 6%% 7%% (c) 1995-2019 Gerd Neugebauer 8%% 9%% Net: gene@gerd-neugebauer.de 10%% 11%% This program is free software; you can redistribute it and/or modify 12%% it under the terms of the GNU General Public License as published by 13%% the Free Software Foundation; either version 2, or (at your option) 14%% any later version. 15%% 16%% This program is distributed in the hope that it will be useful, 17%% but WITHOUT ANY WARRANTY; without even the implied warranty of 18%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19%% GNU General Public License for more details. 20%% 21%% You should have received a copy of the GNU General Public License 22%% along with this program; if not, write to the Free Software 23%% Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 24%% 25%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 26% 27% This resource file tries to introduce BibTeX strings for month names. 28% Provisions are made to preserve other information contained in the 29% month field. 30% 31 32 33rewrite.rule { month 34 = "^[\"{] *\(.*\)january\(.*\) *[\"}]$" 35 # "{\1} # jan # {\2}" } 36rewrite.rule { month 37 = "^[\"{] *\(.*\)february\(.*\) *[\"}]$" 38 # "{\1} # feb # {\2}" } 39rewrite.rule { month 40 = "^[\"{] *\(.*\)march\(.*\) *[\"}]$" 41 # "{\1} # mar # {\2}" } 42rewrite.rule { month 43 = "^[\"{] *\(.*\)april\(.*\) *[\"}]$" 44 # "{\1} # apr # {\2}" } 45rewrite.rule { month 46 = "^[\"{] *\(.*\)may\(.*\) *[\"}]$" 47 # "{\1} # may # {\2}" } 48rewrite.rule { month 49 = "^[\"{] *\(.*\)june\(.*\) *[\"}]$" 50 # "{\1} # jun # {\2}" } 51rewrite.rule { month 52 = "^[\"{] *\(.*\)july\(.*\) *[\"}]$" 53 # "{\1} # jul # {\2}" } 54rewrite.rule { month 55 = "^[\"{] *\(.*\)august\(.*\) *[\"}]$" 56 # "{\1} # aug # {\2}" } 57rewrite.rule { month 58 = "^[\"{] *\(.*\)september\(.*\) *[\"}]$" 59 # "{\1} # sep # {\2}" } 60rewrite.rule { month 61 = "^[\"{] *\(.*\)october\(.*\) *[\"}]$" 62 # "{\1} # oct # {\2}" } 63rewrite.rule { month 64 = "^[\"{] *\(.*\)november\(.*\) *[\"}]$" 65 # "{\1} # nov # {\2}" } 66rewrite.rule { month 67 = "^[\"{] *\(.*\)december\(.*\) *[\"}]$" 68 # "{\1} # dec # {\2}" } 69 70rewrite.rule { month = "^{ *} # " = ""} 71rewrite.rule { month = " # { *}$" = ""} 72