From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julian Gehring Subject: ox-bibtex: Allow for missing bibtex style Date: Thu, 19 Dec 2013 13:03:18 +0100 Message-ID: <52B2E086.3060108@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54189) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VtcKJ-0000q0-IY for emacs-orgmode@gnu.org; Thu, 19 Dec 2013 07:03:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VtcKC-0006ws-2F for emacs-orgmode@gnu.org; Thu, 19 Dec 2013 07:03:39 -0500 Received: from plane.gmane.org ([80.91.229.3]:59136) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VtcKB-0006we-Rk for emacs-orgmode@gnu.org; Thu, 19 Dec 2013 07:03:31 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VtcK9-0003Wh-5H for emacs-orgmode@gnu.org; Thu, 19 Dec 2013 13:03:29 +0100 Received: from embln.embl.de ([194.94.44.220]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 19 Dec 2013 13:03:29 +0100 Received: from julian.gehring by embln.embl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 19 Dec 2013 13:03:29 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Cc: n.goaziou@gmail.com Hi, I recently started using ox-bibtex, and was impressed by the nice and simple functionality. Currently, it is required to specify a bibtex style when defining the bibliography: #+BIBLIOGRAPHY: bibfilebasename stylename optional-options Would it be reasonable to allow for a missing 'stylename'? Such that if 'stylename' is missing or 'nil', that: a) 'stylename' is passed with the '-s' argument to 'bibtex2html' and b) the line '\bibliographystyle{stylename}' is not added to the latex output? Then, the bibtex style can be overwritten by default settings of the latex document. At the moment, this results in a warning about two conflicting styles. Would be happy to hear your opinion about this suggestion. Best wishes Julian