inspirehep / record-editor

Record editing tool used in http://inspirehep.net
GNU General Public License v2.0
6 stars 16 forks source link

Add $$ splitting to all fields #197

Closed StellaCh closed 6 years ago

StellaCh commented 7 years ago

Currently, based on https://github.com/inspirehep/record-editor/pull/150 , we can use the $$ shortcuts only in the 'misc' field. SLAC and CERN requested to add the possibility to split fields with $$ in all fields of the reference, not only the 'misc' field. Also, after you split the 'misc' field and it is empty, it should be hidden from the interface.

harunurhan commented 7 years ago

All necessary work done but I need to know list of fields in reference to make splittable as we discussed not to do it for all. @StellaCh

StellaCh commented 7 years ago

Most of the fields that have a $$ shortcut should be included, here is the list:

['title', 'title'],
['publication_info', 'journal_title'],
['dois'],
['collaborations'],
['isbn'],
['report number'],
['arxiv_eprint'],
['publication_info', 'journal_volume'], ['publication_info', 'journal_issue'], ['publication_info', 'year'],
['publication_info', 'page_start'], ['publication_info', 'page_end'],
['publication_info', 'artid'],
['publication_info', 'cnum'],
['imprint', 'publisher'],
['authors', 'full_name'],
['authors', 'inspire role']