Open stervel opened 6 years ago
biblatex
uses biber
by default, i.e. you can change it to \usepackage[backend=bibtex]{biblatex}
or add biber support, e.g. by using a different builder: C-shift-b > LaTeX - Basic Builder.
So, using [backend=bibtex]
and Basic Builder works perfectly (thanks for that, people mentioned to use biber
instead but I have no idea how to integrate biber
with LatexTools). I have to write in Chicago, but it seems somehow I cannot make \usepackage[style=chicago-authordate,backend=biber]{biblatex}
work.
It gives me the error log and I can't figure the heads and tails of it.
errors:
C:\Program Files\MiKTeX 2.9\tex\latex\biblatex-chicago\cbx\chicago-dates-common.cbx:158: LaTeX Error: Missing \begin{document}. [\DeclareBibliographyOption[bo]
C:\Program Files\MiKTeX 2.9\tex\latex\biblatex-chicago\cbx\chicago-dates-common.cbx:159: Illegal parameter number in definition of . [ \settoggle{cms@genallnames}{#1}]
C:\Program Files\MiKTeX 2.9\tex\latex\biblatex-chicago\cbx\chicago-dates-common.cbx:159: Package etoolbox Error: Invalid boolean value '##1'. [ \settoggle{cms@genallnames}{#1}]
C:\Program Files\MiKTeX 2.9\tex\latex\biblatex-chicago\cbx\chicago-dates-common.cbx:161: LaTeX Error: Missing \begin{document}. [\DeclareEntryOption[bo]
C:\Program Files\MiKTeX 2.9\tex\latex\biblatex-chicago\cbx\chicago-dates-common.cbx:162: Illegal parameter number in definition of . [ \settoggle{cms@genallnames}{#1}]
C:\Program Files\MiKTeX 2.9\tex\latex\biblatex-chicago\cbx\chicago-dates-common.cbx:162: Package etoolbox Error: Invalid boolean value '##1'. [ \settoggle{cms@genallnames}{#1}]
C:\Program Files\MiKTeX 2.9\tex\latex\biblatex-chicago\cbx\chicago-dates-common.cbx:164: Package biblatex Error: Conflicting options. [\DeclareBibliographyOption[b]
C:\Program Files\MiKTeX 2.9\tex\latex\biblatex-chicago\cbx\chicago-dates-common.cbx:164: LaTeX Error: Missing \begin{document}. [\DeclareBibliographyOption[bo]
C:\Program Files\MiKTeX 2.9\tex\latex\biblatex-chicago\cbx\chicago-dates-common.cbx:165: Illegal parameter number in definition of . [ \global\settoggle{cms@annotation}{#1}]
C:\Program Files\MiKTeX 2.9\tex\latex\biblatex-chicago\cbx\chicago-dates-common.cbx:165: Package etoolbox Error: Invalid boolean value '##1'. [ \global\settoggle{cms@annotation}{#1}]
C:\Program Files\MiKTeX 2.9\tex\latex\biblatex-chicago\cbx\chicago-dates-common.cbx:167: Package biblatex Error: Conflicting options. [\DeclareBibliographyOption[b]
C:\Program Files\MiKTeX 2.9\tex\latex\biblatex-chicago\cbx\chicago-dates-common.cbx:167: LaTeX Error: Missing \begin{document}. [\DeclareBibliographyOption[bo]
C:\Program Files\MiKTeX 2.9\tex\latex\biblatex-chicago\cbx\chicago-dates-common.cbx:168: Illegal parameter number in definition of . [ \global\settoggle{cms@los}{#1}]
C:\Program Files\MiKTeX 2.9\tex\latex\biblatex-chicago\cbx\chicago-dates-common.cbx:168: Package etoolbox Error: Invalid boolean value '##1'. [ \global\settoggle{cms@los}{#1}]
C:\Program Files\MiKTeX 2.9\tex\latex\biblatex-chicago\cbx\chicago-dates-common.cbx:170: Package biblatex Error: Conflicting options. [\DeclareBibliographyOption[b]
C:\Program Files\MiKTeX 2.9\tex\latex\biblatex-chicago\cbx\chicago-dates-common.cbx:170: LaTeX Error: Missing \begin{document}. [\DeclareBibliographyOption[bo]
C:\Program Files\MiKTeX 2.9\tex\latex\biblatex-chicago\cbx\chicago-dates-common.cbx:171: Illegal parameter number in definition of . [ \global\settoggle{cms@noibid}{#1}]
C:\Program Files\MiKTeX 2.9\tex\latex\biblatex-chicago\cbx\chicago-dates-common.cbx:171: Package etoolbox Error: Invalid boolean value '##1'. [ \global\settoggle{cms@noibid}{#1}]
C:\Program Files\MiKTeX 2.9\tex\latex\biblatex-chicago\cbx\chicago-dates-common.cbx:249: Package biblatex Error: Conflicting options. [\DeclareBibliographyOption[b]
C:\Program Files\MiKTeX 2.9\tex\latex\biblatex-chicago\cbx\chicago-dates-common.cbx:249: LaTeX Error: Missing \begin{document}. [\DeclareBibliographyOption[bo]
C:\Program Files\MiKTeX 2.9\tex\latex\biblatex-chicago\cbx\chicago-dates-common.cbx:250: Illegal parameter number in definition of . [ \settoggle{cms@xrefurl}{#1}]
C:\Program Files\MiKTeX 2.9\tex\latex\biblatex-chicago\cbx\chicago-dates-common.cbx:250: Package etoolbox Error: Invalid boolean value '##1'. [ \settoggle{cms@xrefurl}{#1}]
C:\Program Files\MiKTeX 2.9\tex\latex\biblatex-chicago\cbx\chicago-dates-common.cbx:252: Package biblatex Error: Conflicting options. [\DeclareEntryOption[b]
C:\Program Files\MiKTeX 2.9\tex\latex\biblatex-chicago\cbx\chicago-dates-common.cbx:252: LaTeX Error: Missing \begin{document}. [\DeclareEntryOption[bo]
C:\Program Files\MiKTeX 2.9\tex\latex\biblatex-chicago\cbx\chicago-dates-common.cbx:253: Illegal parameter number in definition of . [ \settoggle{cms@xrefurl}{#1}]
C:\Program Files\MiKTeX 2.9\tex\latex\biblatex-chicago\cbx\chicago-dates-common.cbx:253: Package etoolbox Error: Invalid boolean value '##1'. [ \settoggle{cms@xrefurl}{#1}]
C:\Program Files\MiKTeX 2.9\tex\latex\biblatex-chicago\cbx\chicago-dates-common.cbx:255: Package biblatex Error: Conflicting options. [\DeclareBibliographyOption[s]
C:\Program Files\MiKTeX 2.9\tex\latex\biblatex-chicago\cbx\chicago-dates-common.cbx:255: LaTeX Error: Missing \begin{document}. [\DeclareBibliographyOption[st]
C:\Program Files\MiKTeX 2.9\tex\latex\biblatex-chicago\cbx\chicago-dates-common.cbx:276: Package biblatex Error: Conflicting options. [\DeclareEntryOption[s]
C:\Program Files\MiKTeX 2.9\tex\latex\biblatex-chicago\cbx\chicago-dates-common.cbx:276: LaTeX Error: Missing \begin{document}. [\DeclareEntryOption[st]
C:\Program Files\MiKTeX 2.9\tex\latex\biblatex-chicago\cbx\chicago-dates-common.cbx:285: Package biblatex Error: Conflicting options. [\DeclareBibliographyOption[b]
C:\Program Files\MiKTeX 2.9\tex\latex\biblatex-chicago\cbx\chicago-dates-common.cbx:285: LaTeX Error: Missing \begin{document}. [\DeclareBibliographyOption[bo]
C:\Program Files\MiKTeX 2.9\tex\latex\biblatex-chicago\cbx\chicago-dates-common.cbx:286: Illegal parameter number in definition of . [ \settoggle{cms@related}{#1}]
C:\Program Files\MiKTeX 2.9\tex\latex\biblatex-chicago\cbx\chicago-dates-common.cbx:286: Package etoolbox Error: Invalid boolean value '##1'. [ \settoggle{cms@related}{#1}]
C:\Program Files\MiKTeX 2.9\tex\latex\biblatex-chicago\cbx\chicago-dates-common.cbx:288: Package biblatex Error: Conflicting options. [\DeclareEntryOption[b]
C:\Program Files\MiKTeX 2.9\tex\latex\biblatex-chicago\cbx\chicago-dates-common.cbx:288: LaTeX Error: Missing \begin{document}. [\DeclareEntryOption[bo]
C:\Program Files\MiKTeX 2.9\tex\latex\biblatex-chicago\cbx\chicago-dates-common.cbx:289: Illegal parameter number in definition of . [ \settoggle{cms@related}{#1}]
C:\Program Files\MiKTeX 2.9\tex\latex\biblatex-chicago\cbx\chicago-dates-common.cbx:289: Package etoolbox Error: Invalid boolean value '##1'. [ \settoggle{cms@related}{#1}]
C:\Program Files\MiKTeX 2.9\tex\latex\biblatex-chicago\cbx\chicago-dates-common.cbx:291: Package biblatex Error: Conflicting options. [\DeclareBibliographyOption[b]
C:\Program Files\MiKTeX 2.9\tex\latex\biblatex-chicago\cbx\chicago-dates-common.cbx:291: LaTeX Error: Missing \begin{document}. [\DeclareBibliographyOption[bo]
C:\Program Files\MiKTeX 2.9\tex\latex\biblatex-chicago\cbx\chicago-dates-common.cbx:292: Illegal parameter number in definition of . [ \settoggle{cms@ukord}{#1}]
C:\Program Files\MiKTeX 2.9\tex\latex\biblatex-chicago\cbx\chicago-dates-common.cbx:292: Package etoolbox Error: Invalid boolean value '##1'. [ \settoggle{cms@ukord}{#1}]
C:\Program Files\MiKTeX 2.9\tex\latex\biblatex-chicago\cbx\chicago-dates-common.cbx:296: Package biblatex Error: Conflicting options. [\DeclareBibliographyOption[s]
C:\Program Files\MiKTeX 2.9\tex\latex\biblatex-chicago\cbx\chicago-dates-common.cbx:296: LaTeX Error: Missing \begin{document}. [\DeclareBibliographyOption[st]
C:\Program Files\MiKTeX 2.9\tex\latex\biblatex-chicago\cbx\chicago-dates-common.cbx:317: Package biblatex Error: Conflicting options. [\DeclareEntryOption[s]
C:\Program Files\MiKTeX 2.9\tex\latex\biblatex-chicago\cbx\chicago-dates-common.cbx:317: LaTeX Error: Missing \begin{document}. [\DeclareEntryOption[st]
C:\Program Files\MiKTeX 2.9\tex\latex\biblatex-chicago\cbx\chicago-dates-common.cbx:326: Package biblatex Error: Conflicting options. [\DeclareBibliographyOption[s]
C:\Program Files\MiKTeX 2.9\tex\latex\biblatex-chicago\cbx\chicago-dates-common.cbx:326: LaTeX Error: Missing \begin{document}. [\DeclareBibliographyOption[st]
C:\Program Files\MiKTeX 2.9\tex\latex\biblatex-chicago\cbx\chicago-dates-common.cbx:347: Package biblatex Error: Conflicting options. [\DeclareEntryOption[s]
C:\Program Files\MiKTeX 2.9\tex\latex\biblatex-chicago\cbx\chicago-dates-common.cbx:347: LaTeX Error: Missing \begin{document}. [\DeclareEntryOption[st]
C:\Program Files\MiKTeX 2.9\tex\latex\biblatex-chicago\cbx\chicago-dates-common.cbx:412: Package keyval Error: related undefined. [...tleaddon,ptitleaddon,journalabbrev=notes}]
C:\Program Files\MiKTeX 2.9\tex\latex\biblatex-chicago\cbx\chicago-dates-common.cbx:412: Package keyval Error: ctitleaddon undefined. [...tleaddon,ptitleaddon,journalabbrev=notes}]
C:\Program Files\MiKTeX 2.9\tex\latex\biblatex-chicago\cbx\chicago-dates-common.cbx:412: Package keyval Error: ptitleaddon undefined. [...tleaddon,ptitleaddon,journalabbrev=notes}]
C:\Program Files\MiKTeX 2.9\tex\latex\biblatex-chicago\cbx\chicago-dates-common.cbx:412: Package keyval Error: journalabbrev undefined. [...tleaddon,ptitleaddon,journalabbrev=notes}]
D:\Database of Things\Online Items\Dropbox\txts\free writing\texample2\bibtes.tex:7: Undefined control sequence. [\end]
D:\Database of Things\Online Items\Dropbox\txts\free writing\texample2\bibtes.tex:7: Undefined control sequence. [\end]
D:\Database of Things\Online Items\Dropbox\txts\free writing\texample2\bibtes.tex:7: Undefined control sequence. [\end]
Warnings:
C:\Program Files\MiKTeX 2.9\tex\latex\biblatex-chicago\cbx\chicago-dates-common.cbx: Package biblatex-chicago Warning: 'journalabbrev=##1' isn't a valid option.
C:\Program Files\MiKTeX 2.9\tex\latex\biblatex-chicago\cbx\chicago-dates-common.cbx: Package biblatex-chicago Warning: 'journalabbrev=##1' isn't a valid option.
C:\Program Files\MiKTeX 2.9\tex\latex\biblatex-chicago\cbx\chicago-dates-common.cbx: Package biblatex-chicago Warning: 'ptitleaddon=##1' is not a valid option.
C:\Program Files\MiKTeX 2.9\tex\latex\biblatex-chicago\cbx\chicago-dates-common.cbx: Package biblatex-chicago Warning: 'ptitleaddon=##1' is not a valid option.
C:\Program Files\MiKTeX 2.9\tex\latex\biblatex-chicago\cbx\chicago-dates-common.cbx: Package biblatex-chicago Warning: 'ctitleaddon=##1' is not a valid option.
C:\Program Files\MiKTeX 2.9\tex\latex\biblatex-chicago\cbx\chicago-dates-common.cbx: Package biblatex-chicago Warning: 'ctitleaddon=##1' is not a valid option.
I changed the bib to test things like such:
@ARTICLE {article,
author = "Author",
title = "Article Doc",
journal = "Journal",
year = "2017",
volume = "I",
number = "1",
pages = "1–99",
month = "jan"
}
@BOOK {book,
author = "Author",
title = "Book Doc",
publisher = "Publisher",
year = "2017",
edition = "first"
}
@INBOOK {inbook,
author = "Author",
title = "InBook Doc",
chapter = "Chapter",
publisher = "Publisher",
year = "2017",
volume = "I",
series = "Series",
edition = "first"
}
@MASTERSTHESIS {mastersthesis,
author = "Author",
title = "Theses Docs",
school = "School",
year = "2017"
}
@ONLINE {online,
author = "Author",
title = "Online Doc",
month = "1",
year = "2017",
url = "http://x.y"
}
Not sure, but it looks like you need to update you distro: https://tex.stackexchange.com/questions/360521/chicago-biblatex-missing-begindocument
I'm sorry, but I don't quite get on what do you mean by updating distro. I run with the latest miktex and latest latextools. Maybe it's miktex's fault? Is there some incompatibility or conflict happening?
For addendum, I tried natbib
and it somewhat works but really inconsistent and unreliable. The errors like some citations don't even got formatted like the rest. I don't get how such error might happen.
You may need to update the packages in MiKTeX using the Package Manager. The error you provided looks like it may be caused by incompatible versions of BibLaTeX and BibLaTeX-Chicago. In any case, it’s well outside of the scope of LaTeXTools...
Also, on the biber / basic builder thing: you can run biber on MiKTeX out of the box when using the basic builder.
LaTeXTools just calls miktex to compile the document. We may change the way we call it, but you may better ask at https://tex.stackexchange.com/ for help.
Since fresh install, using various bibliography management like NatBiB or BibLaTeX, LatexTools always give me either
Undefined control sequence. [\newblock The \tex]
in the log,Citation 'x' on page 1 undefined ...
error, orEmpty bibliography on ...
error even I do cite something to make bibliography work. But it just can't, and sometimes it doesn't even render any pdf. Could you give me pointers what to do?Consider this minimal example:
and the bib file something like this: