-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WIP] Adds the ability to specify [camelN] as a title-related field m…
…arker for citation key generation (#10772) * add `camelShort` citation key marker Add the ability to set a citation key marker `camelShort` that is identical to the `camel` marker but with a maximum of 7 words. * change name to `shortcamel` change name to `shortcamel` to match current naming scheme * Update src/main/java/org/jabref/logic/citationkeypattern/BracketedPattern.java * refactor [shortcamel] title to instead use [camelN] to select N words from camelCase title. Not functional yet. * refactor getTitleWordsWithSpaces to call getSomeWords so that the new function can be used for camelN * add [camelN] functionality * add test cases for [camelN] * add `[camelN]` to changelog * remove trailing whitespace --------- Co-authored-by: Christoph <siedlerkiller@gmail.com>
- Loading branch information
1 parent
b53d7a3
commit 35316f8
Showing
3 changed files
with
52 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters