Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I use BibDesk to organise my library and implement quotations through biblatex in my documents.

BibDesk has this feature of allowing the user to see a BiBTeX-preview (not biblatex!) of the currently selected publication at the bottom or the sidebar. You can choose between different styles (like ieeetr, alpha, abrvnat etc.).

Until now I never thought about using this preview, because (1) I did not find a style I like and (2) it does not render my biblatex commands and types properly.

So, instead I used the following .tex file (which I found somewhere on the net and modified):

% !TEX TS-program = lualatexmk
\documentclass[a4paper, 11pt, DIV=13]{scrartcl}
\usepackage{fontspec}
\setmainfont[   Numbers=OldStyle,
            Ligatures=TeX]{Times New Roman}
\usepackage[british]{babel}
\usepackage{csquotes}
\usepackage[    style=reading,
            abstract=false,
            abbreviate=false,
            backend=biber
                ]{biblatex}

\addbibresource{BibLaTeX.bib}

\usepackage{hyperref}

\begin{document}
\nocite{*}
\printbibliography
\end{document}

This .tex file creates a PDF listing all the publications I have in my .bib file. With this PDF I could easily check and see whether references are properly set. However, creating this PDF file takes rather long, as my library is growing... And anyway it is rather a detour, to be honest, given that there actually is a preview feature implemented into BibDesk.

My question now is: Is it possible to preview my biblatex references with BibDesk's preview-feature using the style I used in the .tex file shown above? What do I have to change in the settings of BibDesk in order to generate a biblatex output?

share|improve this question

1 Answer 1

up vote 3 down vote accepted

It is possible to use biblatex with Bibdesk to generate the TeX preview.

Go to Preferences --> TeX preview

Then if you want to use XeLaTeX change the executable for pdflatex to xelatex

enter image description here

Then you have to change the TeX template. Based on you what you have provided a suitable template is.

\documentclass[a4paper, 11pt, DIV=13]{scrartcl}
\usepackage{fontspec}
\setmainfont[   Numbers=OldStyle,
            Ligatures=TeX]{Times New Roman}
\usepackage[british]{babel}
\usepackage{csquotes}
\usepackage[    style=reading,
            abstract=false,
            abbreviate=false,
            backend=bibtex
                ]{biblatex}
\addbibresource{<<File>>}
\pagestyle{empty}
\textwidth = 6.5in
\renewcommand{\refname}{}

% The following command is provided for LaTeX2RTF compatibility with amslatex.
\newif\iflatextortf
\iflatextortf
\providecommand{\bysame}{\_\_\_\_\_}
\fi

\begin{document}
\nocite{<<CiteKeys>>}   
\printbibliography
\end{document}

After that you are ready to generate the preview (I am not been able to use biber as backend). Also I would suggest to use pdflatex instead of xelatex given that the generation with xelatex is slower.

share|improve this answer
1  
While basic preview can easily be achieved with BibDesk and biblatex/biber there are limits to this combo. Basically, BibDesk doesn't know how to handle any of biblatex's linked entries by the xref or related entries entries. For bibtex traditional crossref fields BibDesk will search for the linked entry and display everything correctly. But if you want to display an entry making use of biblatex's related feature you have to select both entries by hand. Unfortunately, BibDesk's developers are not interested in improving this. –  Simifilm Jan 14 '13 at 6:22

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.