Revision: 22319 http://sourceforge.net/p/bibdesk/svn/22319 Author: hofman Date: 2018-06-17 21:16:32 +0000 (Sun, 17 Jun 2018) Log Message: ----------- fix valid cite key char set
Modified Paths: -------------- trunk/bibdesk/BDSKTypeManager.m Modified: trunk/bibdesk/BDSKTypeManager.m =================================================================== --- trunk/bibdesk/BDSKTypeManager.m 2018-06-17 06:30:40 UTC (rev 22318) +++ trunk/bibdesk/BDSKTypeManager.m 2018-06-17 21:16:32 UTC (rev 22319) @@ -148,7 +148,7 @@ NSMutableCharacterSet *tmpSet; // this set is used for warning the user on manual entry of a citekey; allows ASCII characters and some math symbols // arm: up through 1.3.12 we allowed non-ASCII characters in here, but btparse chokes on them and so does BibTeX. TLC 2nd ed. says that cite keys are TeX commands, and subject to the same restrictions as such [a-zA-Z0-9], but this is generally relaxed in the case of BibTeX to include some punctuation. - tmpSet = [[NSCharacterSet characterSetWithRange:NSMakeRange(21, 126 - 21)] mutableCopy]; + tmpSet = [[NSCharacterSet characterSetWithRange:NSMakeRange(32, 126 - 32)] mutableCopy]; [tmpSet removeCharactersInString:@" '\"@,\\#}{~%()="]; [tmpSet invert]; invalidCiteKeyCharSet = [tmpSet copy]; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Bibdesk-commit mailing list Bibdesk-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bibdesk-commit