Preserving Lower Case 'a'
I am trying to cite an article with the the following title:
"Random walks on dynamic configuration models: a trichotomy".
I want to use title case, so have it appear as
"Random Walks on Dynamic Configuration Models: a Trichotomy".
However, by default the 'a' is capitalised (but not the 'on'). I am using BetterBibLaTeX and biblatex.
If I edit the .bib file to write {a}, then I get the desired format. However, if I change this in the Zotero file, then it outputs \{a\}, which biblatex turns into "{a}". I'd like to have any { or } outputted 'literally', not as \{ or \}. I currently am using
if (Translator.BetterBibLaTeX && this.has.title) {
this.add({ name: 'title', value: item.title.replace(/(\$.*?\$)/g, '< pre >$1< /pre >'), replace: true });
}
to preserve $-s (and I presume other things). (There are no spaces in the "< pre >" or "< /pre >", but if I remove them then this formatting interprets as a quote.) I'd like to add to this code "preserve { and }", but I don't understand Javascript (which I belive the above code is). How can I do this?
Thanks,
Sam
"Random walks on dynamic configuration models: a trichotomy".
I want to use title case, so have it appear as
"Random Walks on Dynamic Configuration Models: a Trichotomy".
However, by default the 'a' is capitalised (but not the 'on'). I am using BetterBibLaTeX and biblatex.
If I edit the .bib file to write {a}, then I get the desired format. However, if I change this in the Zotero file, then it outputs \{a\}, which biblatex turns into "{a}". I'd like to have any { or } outputted 'literally', not as \{ or \}. I currently am using
if (Translator.BetterBibLaTeX && this.has.title) {
this.add({ name: 'title', value: item.title.replace(/(\$.*?\$)/g, '< pre >$1< /pre >'), replace: true });
}
to preserve $-s (and I presume other things). (There are no spaces in the "< pre >" or "< /pre >", but if I remove them then this formatting interprets as a quote.) I'd like to add to this code "preserve { and }", but I don't understand Javascript (which I belive the above code is). How can I do this?
Thanks,
Sam
Maybe I should leave it capitalised... either way, I'd be interested in how to preserve { and } for future reference, should I wish to force upper/lower case in the future.
<span class="nocase"> a</span>
should work.See https://www.zotero.org/support/kb/rich_text_bibliography
While that does force lower case (and I assume by writing an upper case later it will force upper case?), but it doesn't preserve { and }, which I may wish to do in the future...
I imagine adding something to the code I gave in the original post will do that...
"Second edition of [\href{http://www.ams.org/mathscinet-getitem?mr=2466937}{MR2466937}])",
but Zotero outputs this as
"$\backslash$href\{http...".
I basically don't want to it to do any 'autocorrecting', but just to output exactly what I write.
Regarding preserving {}, why exactly? The correct way to generate BetterBibTeX output is to either capitalize the word in your Zotero data (to produce an uppercase Word in {}) or to use the span syntax above, to generate a lowercase word (which BibTeX will never capitalize).
In order to get my desired "\href{..." I definitely need \ and {} preserved, though...?
What is "there"? (can you link me to the correct forum?) Thanks