biosketchr icon indicating copy to clipboard operation
biosketchr copied to clipboard

myBibliography url error

Open gvogler opened this issue 4 years ago • 0 comments

Hi!

I entered my NIH bibliography in the header as follows: myBibliography: 'https://www.ncbi.nlm.nih.gov/myncbi/browse/collection/1234567890'

This returns the following error when knitting the RMarkdown file:

! TeX capacity exceeded, sorry [input stack size=5000]. \@makeother #1->\catcode #1 12\relax l.122 ...h.gov/myncbi/browse/collection/1234567890}}

Replacing myBibliography with "" instead of a URL does not cause an error.

Inside the TeX file the following happens:

\subsection*{Complete List of Published Work in MyBibliography:} \url{\url{https://www.ncbi.nlm.nih.gov/myncbi/browse/collection/51928147}} 1234567890

I believe the double-\url is causing the issue.

Do you have any guidance how to fix this?

Many thanks!

EDIT: Removing the double URL and just leaving \url{https://www.ncbi.nlm.nih.gov/myncbi/browse/collection/51928147} in the TeX file and then running this file with xetex produces the correct PDF.

gvogler avatar Dec 08 '20 17:12 gvogler