Skip to content

Cite URL - URL and accessed by missing, any ideas? #1995

Answered by HachimanSec
HachimanSec asked this question in Q&A
Discussion options

You must be logged in to vote

As mentioned above, I used Translator.BetterBibLaTeX and it works now:

if (Translator.BetterBibLaTeX && item.itemType === 'webpage') {
    if (item.accessDate) {
      reference.add({ name: 'note', value: "(accessed " + item.accessDate.replace(/\s*T?\d+:\d+:\d+.*/, '') + ")" });
    }
    if (item.url) {
      reference.add({ name: 'howpublished', bibtex: "{\\url{" + reference.enc_verbatim({value: item.url}) + "}}" });
    }
  }

Replies: 3 comments 9 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
9 replies
@HachimanSec
Comment options

@retorquere
Comment options

@HachimanSec
Comment options

@HachimanSec
Comment options

@retorquere
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by HachimanSec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants