I see. When I am writing an annotation sometimes I need to refer other papers
(that are also in the bibdesk library)
to make connections between the current paper and what has been published
before explicit. For example, I would write something like
\cite{this-paper} extends prior work by \cite{prior-work}. This is why I want
to cite things from other parts of the bibdesk library.
As the bibdesk library is a .bib file anyway, I thought I could just add that
as \bibliography{…} inside the previewtemplate.tex
but this does not look like the case?
> On 17 Jul 2020, at 19:47, Christiaan Hofman <[email protected]> wrote:
>
> Yes, it is. That is also what the preview is supposed to do, preview the
> selected items.
>
> Christiaan
>
> Op vr 17 jul. 2020 17:50 schreef Danushka Bollegala
> <[email protected] <mailto:[email protected]>:
>> Why are you using a fixed .bib file in the preview file, rather than the
>> <<File>> placeholder?
> Thank you Christian.
>
> Even if I use
>>> \bibliography{<<File>>}
> without doing
>
>>> \bibliography{/Users/danubol/Dropbox/Research/ResearchPapers/Papers/danu.bib}
> I still cannot get the citations in the latex preview.
>
> For example, I get
>
>
>
>
> when I add two citations
> \cite{bhat-etal-2020-word}
> \cite{chen-gimpel-2020-learning}
>
> The first citation is the paper itself and it is correctly referred there. I
> guess <<File>> is only looking at the current record and
> not all references in the bibdesk library?
>
> Any ideas?
>
> Thank you
>
> Danushka
>
>
>> On 17 Jul 2020, at 15:46, Christiaan Hofman <[email protected]
>> <mailto:[email protected]>> wrote:
>>
>>
>>
>>> On 17 Jul 2020, at 16:40, Danushka Bollegala <[email protected]
>>> <mailto:[email protected]>> wrote:
>>>
>>> Dear Bibdesk users
>>>
>>> I use the following previewtemplate to generate LaTeX preview for the notes
>>> that I write in the Annotate field in a bibdesk record.
>>> I would like to cite other papers which are also in my bibdesk library
>>> during my notes. However, these at the moment are rendered as [?]
>>> marks in the generated preview. I was wondering whether there is a way to
>>> get this done?
>>>
>>> Thank you
>>>
>>> danushka
>>>
>>> \documentclass[letterpaper,11pt]{article}
>>> \usepackage{xcolor}
>>> \usepackage{pagecolor}
>>> \usepackage{times}
>>> \usepackage{danudefs}
>>>
>>> \pagestyle{empty}
>>> \textwidth = 6.5in
>>> \voffset = -105pt
>>> \hoffset = -120pt
>>> \renewcommand{\refname}{}
>>>
>>> \newtheorem{definition}{Definition}
>>>
>>> % The following command is provided for LaTeX2RTF compatibility with
>>> amslatex.
>>> \newif\iflatextortf
>>> \iflatextortf
>>> \providecommand{\bysame}{\_\_\_\_\_}
>>> \fi
>>>
>>> %\pagecolor{black}
>>> %\color{white}
>>>
>>> \begin{document}
>>> \nocite{<<CiteKeys>>}
>>> %\bibliography{<<File>>}
>>> \bibliography{/Users/danubol/Dropbox/Research/ResearchPapers/Papers/danu.bib}
>>> \bibliographystyle{<<Style>>}
>>> \end{document}
>>>
>>
>> Why are you using a fixed .bib file in the preview file, rather than the
>> <<File>> placeholder?
>>
>> Christiaan
>>
>> _______________________________________________
>> Bibdesk-users mailing list
>> [email protected]
>> <mailto:[email protected]>
>> https://lists.sourceforge.net/lists/listinfo/bibdesk-users
>> <https://lists.sourceforge.net/lists/listinfo/bibdesk-users>
>
> _______________________________________________
> Bibdesk-users mailing list
> [email protected]
> <mailto:[email protected]>
> https://lists.sourceforge.net/lists/listinfo/bibdesk-users
> <https://lists.sourceforge.net/lists/listinfo/bibdesk-users>
> <PastedGraphic-1.png>_______________________________________________
> Bibdesk-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bibdesk-users
_______________________________________________
Bibdesk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-users