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?

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

1 Answer 1

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

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .