I received this error LaTeX Error: Command \href undefined when building my book using bookdown::pdf_book today.
Previously, it was not a problem - and I managed to generate pdf book (CRC style) from the same source many times. The latex error could be due to the CRC style or the css, but I was unable to confirm this. I also tried to build the pdf books using the sources
from bookdown-demo. Outcome: there is no error and the pdf book is generated
from bookdown-crc. Outcome: I got the same error and no pdf book generated
I have reinstalled tinytex, but still did not work. And even after I have installed Tex Live 2022, I still receive the error.
Update:
Today, I successfully built the book using my other computer. This computer however uses Miktex. Perhaps, the error is related to TinyTex or Tex Live?
Hi,
I received this error
LaTeX Error: Command \href undefined
when building my book usingbookdown::pdf_book
today.Previously, it was not a problem - and I managed to generate pdf book (CRC style) from the same source many times. The latex error could be due to the CRC style or the css, but I was unable to confirm this. I also tried to build the pdf books using the sources
I have reinstalled tinytex, but still did not work. And even after I have installed Tex Live 2022, I still receive the error.
Update:
Today, I successfully built the book using my other computer. This computer however uses Miktex. Perhaps, the error is related to TinyTex or Tex Live?
Appreciate any help and guidance.