Bug 368732 - More options for ID generation: volume number, first page
Summary: More options for ID generation: volume number, first page
Status: RESOLVED FIXED
Alias: None
Product: KBibTeX
Classification: Applications
Component: User interface (show other bugs)
Version: git (master)
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Thomas Fischer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-13 08:54 UTC by uh_comm
Modified: 2016-11-03 22:36 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Accepting page numbers with letters (908 bytes, patch)
2016-09-17 20:37 UTC, Thomas Fischer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description uh_comm 2016-09-13 08:54:20 UTC
Thanks for this great program that has already helped me a lot to tidy up my old databases.

I particularly like the configurable ID autogeneration (very handy) and would like to ask whether in addition the volume number and the initial page could be made available for ID generation.
Comment 1 Thomas Fischer 2016-09-14 08:31:31 UTC
Good idea, should not be too difficult. Won't be part of any 0.6.x release, though.
Comment 2 Thomas Fischer 2016-09-14 19:45:57 UTC
I prepare a first implementation of this request. Please checkout the following commit from my personal clone. The code is based on the current Git master (based on KF5):
http://commits.kde.org/clones/kbibtex/thomasfischer/kbibtex/a81c4e85d8b2c50a382ea97f464fef7783d6971e

Instructions how to build KBibTeX from source are given on this page: https://userbase.kde.org/KBibTeX/Development

Please test and confirm
Comment 3 Thomas Fischer 2016-09-17 20:37:02 UTC
Created attachment 101162 [details]
Accepting page numbers with letters

I got a patch sent via mail from Ulrich Heinen <ulrich.heinen@arcor.de>. The patch aims at accepting page numbers that start with letters, e.g. 'e57335'.
This patch has been generalized and included in the previous commit (replaced by a forced push, my bad ...).
Comment 4 Thomas Fischer 2016-09-17 20:38:14 UTC
(In reply to Thomas Fischer from comment #3)
> This patch has been generalized and included in the previous commit
> (replaced by a forced push, my bad ...).
So, the current code is shown at http://commits.kde.org/clones/kbibtex/thomasfischer/kbibtex/1b347eb534b97bb9f4ed97e67bb183ea911006d9
Comment 5 Thomas Fischer 2016-11-03 22:36:51 UTC
Git commit a98a91cb2a30c4a90dfae824ac0093d2f2b53170 by Thomas Fischer.
Committed on 03/11/2016 at 22:07.
Pushed by thomasfischer into branch 'master'.

Adding volume and page number to id suggestions

Adding volume number and first page number to the set of
available fields in id suggestions (next to title, authors,
and year).

M  +68   -2    src/gui/preferences/settingsidsuggestionseditor.cpp
M  +20   -1    src/processing/idsuggestions.cpp

http://commits.kde.org/kbibtex/a98a91cb2a30c4a90dfae824ac0093d2f2b53170