Is there any way to get Biblatex to automatically validate and format ISBNs? That is, I would like to be able to enter a field such as
isbn = {9789549090666},
in my .bib file—not worrying about the presence or proper placement of hyphens—and have Biblatex render this as "ISBN 978-954-90906-6-6" when I print the bibliography with \printbibliography. It would also be useful if Biblatex could first validate the ISBN and, if it's an older ISBN-10, convert it to ISBN-13.
If there's no easy way of doing this in Biblatex, is there perhaps an external program I can run on my .bib file to do the validation and formatting? All I've found so far are online tools, and some of them improperly group the digits of the ISBN. (For those that aren't aware, while ISBNs have a fixed number of digits, the lengths of the hyphen-separated groups are variable.)
.bibfile, i.e. before the file is processed by Biber (and then later by LaTeX). After all you wouldn't expect LaTeX to fix typos in the author field or to check that certain URLs exist. That is something you (or the citation manager of your choice) need to make sure when writing the.bibfile. – moewe Oct 18 '15 at 12:10Business::ISBNthat is used to check for validity can also format the ISBN with hyphens in the right places. Maybe it is possible to enable the use of theas_stringroutine in Biber to get nicely placed hyphens. – moewe Oct 19 '15 at 13:03