0

I'm considering putting some constraints in my bibliography to this example here. However, without even trying the constraints, I don't see any warning displayed in ShareLatex, related to missing required field in the citation.

I tried with a very "light" test and I saw no warning at all.

@book{test,
  author      = {Test No Title}
}

So is there a way to display or trigger the "warning" in ShareLatex?

  • You'd have to compile with biber --validate-datamodel, but I'm not sure if ShareLaTeX does that for you. – moewe Apr 25 '18 at 10:23
  • Thanks, I contacted them to know more about it. – XaWin Apr 25 '18 at 10:27
2

You are going to need the --validate-datamodel flag. So on your own machine you would not call biber file, but biber --validate-datamodel file.

ShareLaTeX use latexmk. You can enable --validate-datamodel for Biber with latexmk by placing a file called latexmkrc with the contents

$biber="biber --validate-datamodel %O %S"

in your project.

Biber will then warn you about missing fields and other problems, these warnings are passed on to TeX as well, so that you will see the warnings twice in ShareLaTeX (if you are annoyed by that pass the option bibwarn=false to biblatex).

See https://de.sharelatex.com/read/rwdhrpgybndk

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.