Thank you Christiaan.

Best wishes

Danushka




> On 17 Jul 2020, at 22:38, Christiaan Hofman <cmhof...@gmail.com> wrote:
> 
> No. The items that are cited are determined by bibtex to be the ones that are 
> actually used, not just all items from the bibliography. In this case, it’s 
> what is in the \nocite command, which is the cite keys of the selected items.
> 
> Christiaan
> 
>> On 17 Jul 2020, at 20:47, Christiaan Hofman <cmhof...@gmail.com 
>> <mailto:cmhof...@gmail.com>> 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 
>> <danushka.bolleg...@gmail.com <mailto:danushka.bolleg...@gmail.com>:
>>> 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 <cmhof...@gmail.com 
>>> <mailto:cmhof...@gmail.com>> wrote:
>>> 
>>> 
>>> 
>>>> On 17 Jul 2020, at 16:40, Danushka Bollegala <danushka.bolleg...@gmail.com 
>>>> <mailto:danushka.bolleg...@gmail.com>> 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
> Bibdesk-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bibdesk-users

_______________________________________________
Bibdesk-users mailing list
Bibdesk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-users

Reply via email to