WARNING: could not find bibtex key
See original GitHub issueDescribe the bug
I need to include references in my book.
I get the error WARNING: could not find bibtex key "MYKEY"
In the output html I get only square brackets [].
The keys are present in my references.bib file.
Reproduce the bug
To reproduce the problem just build the notebooks.
jupyter-book build --all .
Citations should be present in the content of notebooks according to instructions: https://jupyterbook.org/content/citations.html
List your environment
My enviroment is:
Debian GNU/Linux 11 (bullseye) (5.8.0-0.bpo.2-amd64 kernel)
Python 3.10.2
Jupyter Book : 0.12.2 External ToC : 0.2.3 MyST-Parser : 0.15.2 MyST-NB : 0.13.1 Sphinx Book Theme : 0.1.10 Jupyter-Cache : 0.4.3 NbClient : 0.5.12
Packages in conda environment:
_libgcc_mutex=0.1=conda_forge _openmp_mutex=4.5=1_gnu _r-mutex=1.0.1=anacondar_1 alabaster=0.7.12=py_0 alsa-lib=1.2.3=h516909a_0 anyio=3.5.0=py310hff52083_0 argon2-cffi=21.3.0=pyhd8ed1ab_0 argon2-cffi-bindings=21.2.0=py310h6acc77f_1 asttokens=2.0.5=pyhd8ed1ab_0 attrs=21.4.0=pyhd8ed1ab_0 babel=2.9.1=pyh44b312d_0 backcall=0.2.0=pyh9f0ad1d_0 backports=1.1=pyhd3eb1b0_0 backports.functools_lru_cache=1.6.4=pyhd8ed1ab_0 beautifulsoup4=4.10.0=pyha770c72_0 binutils_impl_linux-64=2.36.1=h193b22a_2 binutils_linux-64=2.36=hf3e587d_6 bleach=4.1.0=pyhd8ed1ab_0 blosc=1.21.0=h9c3ff4c_0 boost-cpp=1.74.0=h6cacc03_7 brotli=1.0.9=h7f98852_6 brotli-bin=1.0.9=h7f98852_6 brotlipy=0.7.0=py310h6acc77f_1003 bwidget=1.9.14=ha770c72_1 bzip2=1.0.8=h7f98852_4 c-ares=1.18.1=h7f98852_0 ca-certificates=2022.2.1=h06a4308_0 cairo=1.16.0=ha00ac49_1009 certifi=2021.10.8=py310hff52083_1 cffi=1.15.0=py310h0fdd8cc_0 cfitsio=4.0.0=h9a35b8e_0 charset-normalizer=2.0.12=pyhd8ed1ab_0 click=7.1.2=pyh9f0ad1d_0 click-completion=0.5.2=py310hff52083_3 click-log=0.3.2=pyh9f0ad1d_0 colorama=0.4.4=pyh9f0ad1d_0 cryptography=36.0.1=py310h685ca39_0 curl=7.82.0=h7bff187_0 cycler=0.11.0=pyhd8ed1ab_0 dataclasses=0.8=pyhc8e2a94_3 dbus=1.13.18=hb2f20db_0 debugpy=1.5.1=py310h122e73d_0 decorator=5.1.1=pyhd8ed1ab_0 defusedxml=0.7.1=pyhd8ed1ab_0 docutils=0.15.2=py310hff52083_3 entrypoints=0.4=pyhd8ed1ab_0 executing=0.8.3=pyhd8ed1ab_0 expat=2.4.7=h27087fc_0 flit-core=3.7.1=pyhd8ed1ab_0 font-ttf-dejavu-sans-mono=2.37=hab24e00_0 font-ttf-inconsolata=3.000=h77eed37_0 font-ttf-source-code-pro=2.038=h77eed37_0 font-ttf-ubuntu=0.83=hab24e00_0 fontconfig=2.13.96=h8e229c2_1 fonts-conda-ecosystem=1=0 fonts-conda-forge=1=0 fonttools=4.29.1=py310h6acc77f_0 freetype=2.11.0=h70c0345_0 freexl=1.0.6=h7f98852_0 fribidi=1.0.10=h36c2ea0_0 gcc_impl_linux-64=9.4.0=h03d3576_13 gcc_linux-64=9.4.0=h391b98a_6 geos=3.10.2=h9c3ff4c_0 geotiff=1.7.0=h6593c0a_6 gettext=0.21.0=hf68c758_0 gfortran_impl_linux-64=9.4.0=h0003116_13 gfortran_linux-64=9.4.0=hf0ab688_6 ghp-import=2.0.2=pyhd8ed1ab_0 giflib=5.2.1=h36c2ea0_2 gitdb=4.0.9=pyhd8ed1ab_0 gitpython=3.1.27=pyhd8ed1ab_0 glib=2.70.2=h780b84a_4 glib-tools=2.70.2=h780b84a_4 graphite2=1.3.14=h23475e2_0 greenlet=1.1.2=py310h122e73d_1 gsl=2.7=he838d99_0 gst-plugins-base=1.18.5=hf529b03_3 gstreamer=1.18.5=h9f60fe5_3 gxx_impl_linux-64=9.4.0=h03d3576_13 gxx_linux-64=9.4.0=h0316aca_6 harfbuzz=3.4.0=hb4a5f5f_0 hdf4=4.2.15=h10796ff_3 hdf5=1.12.1=nompi_h2386368_104 icu=69.1=h9c3ff4c_0 idna=3.3=pyhd8ed1ab_0 imagesize=1.3.0=pyhd8ed1ab_0 importlib-metadata=4.11.2=py310hff52083_0 importlib-resources=3.3.1=pyhd8ed1ab_0 importlib_resources=5.4.0=pyhd8ed1ab_0 ipykernel=6.9.1=py310hfdc917e_0 ipython=8.1.1=py310hff52083_0 ipython_genutils=0.2.0=py_1 ipywidgets=7.6.5=pyhd8ed1ab_0 jbig=2.1=h7f98852_2003 jedi=0.18.1=py310hff52083_0 jinja2=3.0.3=pyhd8ed1ab_0 jpeg=9e=h7f98852_0 json-c=0.15=h98cffda_0 json5=0.9.6=pyhd3eb1b0_0 jsonschema=3.2.0=pyhd8ed1ab_3 jupyter-book=0.12.2=pyhd8ed1ab_0 jupyter-cache=0.4.3=pyhd8ed1ab_0 jupyter-server-mathjax=0.2.5=pyhc268e32_0 jupyter-sphinx=0.3.2=pyhd8ed1ab_1 jupyter_client=7.1.2=pyhd8ed1ab_0 jupyter_core=4.9.2=py310hff52083_0 jupyter_server=1.13.5=pyhd8ed1ab_1 jupyterlab=3.3.0=pyhd8ed1ab_0 jupyterlab_pygments=0.1.2=pyh9f0ad1d_0 jupyterlab_server=2.10.3=pyhd8ed1ab_0 jupyterlab_widgets=1.0.2=pyhd8ed1ab_0 jupytext=1.11.5=pyh6002c4b_0 kealib=1.4.14=h87e4c3c_3 kernel-headers_linux-64=2.6.32=he073ed8_15 keyutils=1.6.1=h166bdaf_0 kiwisolver=1.3.2=py310h91b1402_1 krb5=1.19.2=h3790be6_4 latexcodec=2.0.1=pyh9f0ad1d_0 lcms2=2.12=hddcbb42_0 ld_impl_linux-64=2.36.1=hea4e1c9_2 lerc=3.0=h9c3ff4c_0 libblas=3.9.0=13_linux64_openblas libbrotlicommon=1.0.9=h7f98852_6 libbrotlidec=1.0.9=h7f98852_6 libbrotlienc=1.0.9=h7f98852_6 libcblas=3.9.0=13_linux64_openblas libclang=13.0.1=default_hc23dcda_0 libcurl=7.82.0=h7bff187_0 libdap4=3.20.6=hd7c4107_2 libdeflate=1.10=h7f98852_0 libedit=3.1.20210910=h7f8727e_0 libev=4.33=h516909a_1 libevent=2.1.10=h9b69904_4 libffi=3.4.2=h7f98852_5 libgcc-devel_linux-64=9.4.0=hd854feb_13 libgcc-ng=11.2.0=h1d223b6_13 libgdal=3.4.1=haddd6ec_5 libgfortran-ng=11.2.0=h69a702a_13 libgfortran5=11.2.0=h5c6108e_13 libglib=2.70.2=h174f98d_4 libgomp=11.2.0=h1d223b6_13 libiconv=1.16=h516909a_0 libkml=1.3.0=h238a007_1014 liblapack=3.9.0=13_linux64_openblas libllvm13=13.0.1=hf817b99_2 libnetcdf=4.8.1=nompi_hb3fd0d9_101 libnghttp2=1.47.0=h727a467_0 libnsl=2.0.0=h7f98852_0 libogg=1.3.5=h27cfd23_1 libopenblas=0.3.18=pthreads_h8fe5266_0 libopus=1.3.1=h7f98852_1 libpng=1.6.37=h21135ba_2 libpq=14.2=hd57d9b9_0 librttopo=1.1.0=hf69c175_9 libsanitizer=9.4.0=h79bfe98_13 libsodium=1.0.18=h36c2ea0_1 libspatialite=5.0.1=h0e567f8_14 libssh2=1.10.0=ha56f1ee_2 libstdcxx-devel_linux-64=9.4.0=hd854feb_13 libstdcxx-ng=11.2.0=he4da1e4_13 libtiff=4.3.0=h542a066_3 libuuid=2.32.1=h7f98852_1000 libvorbis=1.3.7=h9c3ff4c_0 libwebp=1.2.2=h3452ae3_0 libwebp-base=1.2.2=h7f98852_1 libxcb=1.13=h7f98852_1004 libxkbcommon=1.0.3=he3ba5ed_0 libxml2=2.9.12=h885dcf4_1 libzip=1.8.0=h4de3113_1 libzlib=1.2.11=h36c2ea0_1013 linkify-it-py=1.0.3=pyhd8ed1ab_0 lz4-c=1.9.3=h9c3ff4c_1 make=4.3=hd18ef5c_1 markdown-it-py=1.1.0=pyhd8ed1ab_0 markupsafe=2.1.0=py310h5764c6d_1 matplotlib=3.5.1=py310hff52083_0 matplotlib-base=3.5.1=py310h23f4a51_0 matplotlib-inline=0.1.3=pyhd8ed1ab_0 mdit-py-plugins=0.2.8=pyhd8ed1ab_0 mistune=0.8.4=py310h6acc77f_1005 munkres=1.1.4=pyh9f0ad1d_0 mysql-common=8.0.28=ha770c72_0 mysql-libs=8.0.28=hfa10184_0 myst-nb=0.13.1=pyhd8ed1ab_0 myst-parser=0.15.2=pyhd8ed1ab_0 nbclassic=0.3.6=pyhd8ed1ab_0 nbclient=0.5.12=pyhd8ed1ab_0 nbconvert=6.4.2=py310hff52083_0 nbdime=3.1.1=pyhd8ed1ab_0 nbformat=5.1.3=pyhd8ed1ab_0 ncurses=6.3=h9c3ff4c_0 nest-asyncio=1.5.4=pyhd8ed1ab_0 notebook=6.4.8=pyha770c72_0 notebook-shim=0.1.0=pyhd8ed1ab_0 nspr=4.33=h295c915_0 nss=3.74=hb5efdd6_0 numpy=1.22.3=py310h45f3432_0 openjpeg=2.4.0=hb52868f_1 openssl=1.1.1m=h7f8727e_0 oset=0.1.3=pypi_0 packaging=21.3=pyhd8ed1ab_0 pandoc=2.17.1.1=ha770c72_0 pandocfilters=1.5.0=pyhd8ed1ab_0 pango=1.48.10=h54213e6_2 parso=0.8.3=pyhd8ed1ab_0 pcre=8.45=h9c3ff4c_0 pcre2=10.37=h032f7d1_0 pexpect=4.8.0=pyh9f0ad1d_2 pickleshare=0.7.5=py_1003 pillow=9.0.1=py310he619898_2 pip=22.0.4=pyhd8ed1ab_0 pixman=0.40.0=h36c2ea0_0 poppler=22.01.0=ha39eefc_0 poppler-data=0.4.11=hd8ed1ab_0 postgresql=14.2=h2510834_0 proj=8.2.1=h277dcde_0 prometheus_client=0.13.1=pyhd8ed1ab_0 prompt-toolkit=3.0.27=pyha770c72_0 pthread-stubs=0.4=h36c2ea0_1001 ptyprocess=0.7.0=pyhd3deb0d_0 pure_eval=0.2.2=pyhd8ed1ab_0 pybtex=0.24.0=pyhd8ed1ab_2 pybtex-docutils=1.0.1=py310hff52083_1 pycparser=2.21=pyhd8ed1ab_0 pydata-sphinx-theme=0.7.2=pyhd8ed1ab_0 pygments=2.11.2=pyhd8ed1ab_0 pyopenssl=22.0.0=pyhd8ed1ab_0 pyparsing=3.0.7=pyhd8ed1ab_0 pyqt=5.12.3=py310hff52083_8 pyqt-impl=5.12.3=py310h1f8e252_8 pyqt5-sip=4.19.18=py310h122e73d_8 pyqtchart=5.12=py310hfcd6d55_8 pyqtwebengine=5.12.1=py310hfcd6d55_8 pyrsistent=0.18.1=py310h6acc77f_0 pysocks=1.7.1=py310hff52083_4 python=3.10.2=h85951f9_4_cpython python-dateutil=2.8.2=pyhd8ed1ab_0 python_abi=3.10=2_cp310 pytz=2021.3=pyhd8ed1ab_0 pyyaml=6.0=py310h6acc77f_3 pyzmq=22.3.0=py310h675a958_1 qt=5.12.9=ha98a1a1_5 r-askpass=1.1=r41hcfec24a_2 r-assertthat=0.2.1=r41hc72bb7e_2 r-backports=1.4.1=r41hcfec24a_0 r-base=4.1.2=hde4fec0_0 r-base64enc=0.1_3=r41hcfec24a_1004 r-bit=4.0.4=r41hcfec24a_0 r-bit64=4.0.5=r41hcfec24a_0 r-blob=1.2.2=r41hc72bb7e_0 r-brio=1.1.3=r41hcfec24a_0 r-broom=0.7.12=r41hc72bb7e_0 r-bslib=0.3.1=r41hc72bb7e_0 r-callr=3.7.0=r41hc72bb7e_0 r-cellranger=1.1.0=r41hc72bb7e_1004 r-cli=3.2.0=r41h03ef668_0 r-clipr=0.8.0=r41hc72bb7e_0 r-codetools=0.2_18=r41hc72bb7e_0 r-colorspace=2.0_3=r41h06615bd_0 r-cpp11=0.4.2=r41hc72bb7e_0 r-crayon=1.5.0=r41hc72bb7e_0 r-curl=4.3.2=r41hcfec24a_0 r-data.table=1.14.2=r41hcfec24a_0 r-dbi=1.1.2=r41hc72bb7e_0 r-dbplyr=2.1.1=r41hc72bb7e_0 r-desc=1.4.0=r41hc72bb7e_0 r-diffobj=0.3.5=r41hcfec24a_0 r-digest=0.6.29=r41h03ef668_0 r-dplyr=1.0.7=r41h03ef668_0 r-dtplyr=1.2.1=r41hc72bb7e_0 r-ellipsis=0.3.2=r41hcfec24a_0 r-evaluate=0.15=r41hc72bb7e_0 r-fansi=1.0.2=r41hcfec24a_0 r-farver=2.1.0=r41h03ef668_0 r-fastmap=1.1.0=r41h03ef668_0 r-forcats=0.5.1=r41hc72bb7e_0 r-fs=1.5.2=r41h03ef668_0 r-gargle=1.2.0=r41hc72bb7e_0 r-generics=0.1.2=r41hc72bb7e_0 r-ggplot2=3.3.5=r41hc72bb7e_0 r-glue=1.6.2=r41h06615bd_0 r-googledrive=2.0.0=r41hc72bb7e_0 r-googlesheets4=1.0.0=r41h785f33e_0 r-gtable=0.3.0=r41hc72bb7e_3 r-haven=2.4.3=r41h2713e49_0 r-highr=0.9=r41hc72bb7e_0 r-hms=1.1.1=r41hc72bb7e_0 r-htmltools=0.5.2=r41h03ef668_0 r-httr=1.4.2=r41hc72bb7e_0 r-ids=1.0.1=r41hc72bb7e_1 r-irdisplay=1.1=r41hd8ed1ab_0 r-irkernel=1.3=r41hc72bb7e_0 r-isoband=0.2.5=r41h03ef668_0 r-jquerylib=0.1.4=r41hc72bb7e_0 r-jsonlite=1.8.0=r41h06615bd_0 r-knitr=1.37=r41hc72bb7e_1 r-labeling=0.4.2=r41hc72bb7e_1 r-lattice=0.20_45=r41hcfec24a_0 r-lifecycle=1.0.1=r41hc72bb7e_0 r-lubridate=1.8.0=r41h03ef668_0 r-magrittr=2.0.2=r41hcfec24a_0 r-mass=7.3_55=r41hcfec24a_0 r-matrix=1.4_0=r41he454529_0 r-mgcv=1.8_39=r41h0154571_0 r-mime=0.12=r41hcfec24a_0 r-modelr=0.1.8=r41hc72bb7e_0 r-munsell=0.5.0=r41hc72bb7e_1004 r-nlme=3.1_155=r41h859d828_0 r-openssl=2.0.0=r41hfaab4ff_0 r-pbdzmq=0.3_7=r41h42bf92c_0 r-pillar=1.7.0=r41hc72bb7e_0 r-pkgconfig=2.0.3=r41hc72bb7e_1 r-pkgload=1.2.4=r41h03ef668_0 r-praise=1.0.0=r41hc72bb7e_1005 r-prettyunits=1.1.1=r41hc72bb7e_1 r-processx=3.5.2=r41hcfec24a_0 r-progress=1.2.2=r41hc72bb7e_2 r-ps=1.6.0=r41hcfec24a_0 r-purrr=0.3.4=r41hcfec24a_1 r-r6=2.5.1=r41hc72bb7e_0 r-rappdirs=0.3.3=r41hcfec24a_0 r-raster=3.5_15=r41h7525677_1 r-rcolorbrewer=1.1_2=r41h785f33e_1003 r-rcpp=1.0.8=r41h03ef668_0 r-readr=2.1.2=r41h03ef668_0 r-readxl=1.3.1=r41h2713e49_4 r-rematch=1.0.1=r41hc72bb7e_1004 r-rematch2=2.1.2=r41hc72bb7e_1 r-repr=1.1.4=r41h785f33e_0 r-reprex=2.0.1=r41hc72bb7e_0 r-rlang=0.4.12=r41hcfec24a_0 r-rmarkdown=2.12=r41hc72bb7e_0 r-rprojroot=2.0.2=r41hc72bb7e_0 r-rstudioapi=0.13=r41hc72bb7e_0 r-rvest=1.0.2=r41hc72bb7e_0 r-sass=0.4.0=r41h03ef668_0 r-scales=1.1.1=r41hc72bb7e_0 r-selectr=0.4_2=r41hc72bb7e_1 r-sp=1.4_6=r41hcfec24a_0 r-stringi=1.7.6=r41h337692f_1 r-stringr=1.4.0=r41hc72bb7e_2 r-sys=3.4=r41hcfec24a_0 r-terra=1.5_21=r41hd904c4b_0 r-testthat=3.1.2=r41h03ef668_0 r-tibble=3.1.6=r41hcfec24a_0 r-tidyr=1.2.0=r41h03ef668_0 r-tidyselect=1.1.1=r41hc72bb7e_0 r-tidyverse=1.3.1=r41hc72bb7e_0 r-tinytex=0.37=r41hc72bb7e_0 r-tzdb=0.2.0=r41h03ef668_0 r-utf8=1.2.2=r41hcfec24a_0 r-uuid=1.0_3=r41hcfec24a_0 r-vctrs=0.3.8=r41hcfec24a_1 r-viridislite=0.4.0=r41hc72bb7e_0 r-vroom=1.5.7=r41h03ef668_0 r-waldo=0.3.1=r41hc72bb7e_0 r-withr=2.5.0=r41hc72bb7e_0 r-xfun=0.30=r41h7525677_0 r-xml2=1.3.3=r41h03ef668_0 r-yaml=2.3.5=r41h06615bd_0 readline=8.1.2=h7f8727e_1 requests=2.27.1=pyhd8ed1ab_0 sed=4.8=he412f7d_0 send2trash=1.8.0=pyhd8ed1ab_0 setuptools=60.9.3=py310hff52083_0 shellingham=1.4.0=pyh44b312d_0 six=1.16.0=pyh6c4a22f_0 smmap=3.0.5=pyh44b312d_0 sniffio=1.2.0=py310hff52083_2 snowballstemmer=2.2.0=pyhd8ed1ab_0 soupsieve=2.3.1=pyhd8ed1ab_0 sphinx=4.4.0=pyh6c4a22f_1 sphinx-book-theme=0.1.10=pyhd8ed1ab_0 sphinx-comments=0.0.3=pyh9f0ad1d_0 sphinx-copybutton=0.5.0=pyhd8ed1ab_0 sphinx-external-toc=0.2.3=pyhd8ed1ab_0 sphinx-jupyterbook-latex=0.4.6=pyhd8ed1ab_0 sphinx-multitoc-numbering=0.1.3=pyhd8ed1ab_0 sphinx-panels=0.6.0=pyhd8ed1ab_0 sphinx-proof=0.1.3=pypi_0 sphinx-thebe=0.1.1=pyhd8ed1ab_0 sphinx-togglebutton=0.2.3=pyhd3deb0d_0 sphinxcontrib=1.0=py310h06a4308_1 sphinxcontrib-applehelp=1.0.2=py_0 sphinxcontrib-bibtex=2.4.1=pyhd8ed1ab_0 sphinxcontrib-devhelp=1.0.2=py_0 sphinxcontrib-htmlhelp=2.0.0=pyhd8ed1ab_0 sphinxcontrib-jsmath=1.0.1=py_0 sphinxcontrib-qthelp=1.0.3=py_0 sphinxcontrib-serializinghtml=1.1.5=pyhd8ed1ab_1 sqlalchemy=1.4.32=py310h5764c6d_0 sqlite=3.37.2=hc218d9a_0 stack_data=0.2.0=pyhd8ed1ab_0 sysroot_linux-64=2.12=he073ed8_15 terminado=0.13.3=py310hff52083_0 testpath=0.6.0=pyhd8ed1ab_0 tiledb=2.7.1=h1e4a385_0 tk=8.6.12=h27826a3_0 tktable=2.10=hb7b940f_3 toml=0.10.2=pyhd8ed1ab_0 tornado=6.1=py310h6acc77f_2 traitlets=5.1.1=pyhd8ed1ab_0 typing_extensions=4.1.1=pyha770c72_0 tzcode=2021e=h7f98852_0 tzdata=2021e=he74cb21_0 uc-micro-py=1.0.1=pyhd8ed1ab_0 unicodedata2=14.0.0=py310h6acc77f_0 urllib3=1.26.8=pyhd8ed1ab_1 wcwidth=0.2.5=pyh9f0ad1d_2 webencodings=0.5.1=py_1 websocket-client=1.3.1=pyhd8ed1ab_0 wheel=0.37.1=pyhd8ed1ab_0 widgetsnbextension=3.5.2=py310hff52083_1 xerces-c=3.2.3=h8ce2273_4 xorg-kbproto=1.0.7=h7f98852_1002 xorg-libice=1.0.10=h7f98852_0 xorg-libsm=1.2.3=hd9c2040_1000 xorg-libx11=1.7.2=h7f98852_0 xorg-libxau=1.0.9=h7f98852_0 xorg-libxdmcp=1.1.3=h7f98852_0 xorg-libxext=1.3.4=h7f98852_1 xorg-libxrender=0.9.10=h7f98852_1003 xorg-libxt=1.2.1=h7f98852_2 xorg-renderproto=0.11.1=h7f98852_1002 xorg-xextproto=7.3.0=h7f98852_1002 xorg-xproto=7.0.31=h7f98852_1007 xz=5.2.5=h516909a_1 yaml=0.2.5=h7f98852_2 zeromq=4.3.4=h9c3ff4c_1 zipp=3.7.0=pyhd8ed1ab_1 zlib=1.2.11=h36c2ea0_1013 zstd=1.5.2=ha95c52a_0
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:5
Top GitHub Comments
You have to have this or similar somewhere (worked for me also with
v0.12.2
and its actual dependencies)That’s kind-of not clear in the docs, or possibly there is a default way missing (?)
This solved the issue