Thank you for the reply!
I tried to use this but then I get
Code: Select all
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.84
I tried to debug it but I don't know where the problems lie.
I created an MWE:
Code: Select all
\documentclass[12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\IfFileExists{Zotero2012.bib}
{\addbibresource{Zotero2012.bib}}
\IfFileExists{T:/MYDOCS~1/MYBIBT~1/Zotero2012.bib}
{\addbibresource{T:/MYDOCS~1/MYBIBT~1/Zotero2012.bib}}
\begin{document}
Furthermore, the NAV-price arbitrage...
\end{document}
And it still gives me the missing document error.
Code: Select all
! LaTeX Error: Missing \begin{document}.
Thank you!
AS
Edit: The problem is in the \IfFileExists{T:/MYDOCS~1/MYBIBT~1/Zotero2012.bib}, is there a way to make this work? Spent hours, and still haven't been able to find a solution. Any help would be greatly appreciated as the submission deadline draws near.
Edit 2: Seems I found a way!
Code: Select all
\IfFileExists{T:/MYDOCS\string~1/MYBIBT\string~1/Zotero2012.bib} {\addbibresource{T:/MYDOCS\string~1/MYBIBT\string~1/Zotero2012.bib}}
now no missing begin document errors at compiling