I understand this question probably has a simple answer, but I cannot find it.
I have a .bbx file and a .cbx file (from https://github.com/McJones/AGLCLaTeX).
I am using MacTeX.
So that I can use this custom style, can I:
- Place these files in my project folder?
- Place these files elsewhere?
And if so, how do I tell LaTeX to use them?
This question is nearly identical to this question, but the answer is insufficient because the
/texmf/tex/latex/biblatex/bbx ---> .bbx files (= bibliographies)
/texmf/tex/latex/biblatex/cbx ---> .cbx files (= in text citations)
directories do not exist. I can not find a /texmf/ file on my system. I can only find
~/Library/texlive/2019/texmf-var
but it does not contain /latex/biblatex. It only contains /luatex-cache. I have also consulted this question.
MWE:
\documentclass[11pt, a4paper]{article}
\usepackage[style=verbose]{biblatex}
\addbibresource{MyBibliography.bib}
\begin{document}
Hello world.\autocite{icty_amended_2002}
\end{document}
MyBibliography.bib:
@unpublished{icty_amended_2002,
title = {Amended Indictment Against Radovan Karadzić Unsealed},
type = {Press Statement},
howpublished = {Press Statement},
author = {{ICTY}},
date = {2002-10-14},
}
kpsewhich -var-value TEXMFHOMEin the terminal? – Marijn Nov 18 '20 at 15:13/Users/[my username]/Library/texmf, but then if I try and go to that folder (using Go/Go to Folder...) it cannot be found. – Craig Nov 18 '20 at 15:16cd /Users/[your username]/Library/texmf) and then enteropen .then the folder is shown in the Finder. Note that if the path name has spaces in it then they need to be escaped. – Marijn Nov 18 '20 at 15:22texmffolder before, you need to create one with the proper structure. See How do I add a .sty file to my MacTeX/TeXShop installation? and How to have local package override default package – Alan Munn Nov 18 '20 at 15:24/texmf/tex/latex/biblatex/folders as suggested and placed the .bbx and .cbx files in there with no luck. I then placed them in/texmf/tex/latex/biblatex/bbxand/texmf/tex/latex/biblatex/cbxand also had no luck. I also placed them in/texmf/tex/latex/biblatex/aglcv3and also had no luck. I also tried~/Library/texlive/2019/texmf-dist/tex/latex/biblatex/aglcv3... also with no success. – Craig Nov 18 '20 at 15:39kpsewhich aglcv3.bbxgive you? And in your sample document, you need to loadbiblatexwith thestyle=aglcv3I would assume. – Alan Munn Nov 18 '20 at 15:46/Users/[my username]/Library/texmf/tex/latex/biblatex/aglcv3/aglcv3.bbx. But when I try to typeset (indeed withstyle=aglcv3), I get an error with the aglcv3.cbx file:Illegal parameter number in definition of \blx@defformat@d. <to be read again>. So I am guessing that the error is not with where I am putting the .cbx file, but with the file itself? – Craig Nov 18 '20 at 15:53biblatexis quite sensitive to version differences, so it's possible that either TL 2019 is too new for the style or it's depending on a more recent version ofbiblatex/biber. Since the last commit to the repo was 4 years ago, I suspect it's the former problem. – Alan Munn Nov 18 '20 at 15:57