respec.js feature request

Hi,

First of all, thanks for respec.js.

Now the feature request. I find myself writing proposals that have mostly references that are not in bibref/bibio.js. I know that I can ask to have those added, and I might. But in the interim, and for others, I thought it would be useful if biblio.js checked for a locally defined object, say localbiblio, and if that was present updated berjon.biblo with the contents of localbiblio. I made a local copy of respec.js/js and respect.js/bibref and added this to the end of biblio.js

if (typeof localbiblio != 'undefined'){
for (i in localbiblio){
berjon.biblio[i] = localbiblio[i];
};
};

Now, I can add <script src="localbiblio.js"></script> (that defines localbiblio with my biblio entries) into the template before respec.js and my biblio stuff is added to berjon.biblio.

There are undoubtedly better ways this might be accomplished but perhaps you get the idea.

Thanks,
Bob Lund

Received on Wednesday, 14 December 2011 22:40:37 UTC