From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: ox-bibtex: Allow for missing bibtex style Date: Fri, 20 Dec 2013 23:30:02 +0100 Message-ID: <87ob4bjgut.fsf@gmail.com> References: <52B2E086.3060108@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33710) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vu8Zq-00055l-WE for emacs-orgmode@gnu.org; Fri, 20 Dec 2013 17:30:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vu8Zi-0007nX-IJ for emacs-orgmode@gnu.org; Fri, 20 Dec 2013 17:29:50 -0500 Received: from mail-wi0-x22d.google.com ([2a00:1450:400c:c05::22d]:38672) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vu8Zi-0007nT-CF for emacs-orgmode@gnu.org; Fri, 20 Dec 2013 17:29:42 -0500 Received: by mail-wi0-f173.google.com with SMTP id hn9so4391103wib.12 for ; Fri, 20 Dec 2013 14:29:41 -0800 (PST) In-Reply-To: <52B2E086.3060108@gmail.com> (Julian Gehring's message of "Thu, 19 Dec 2013 13:03:18 +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: Julian Gehring Cc: emacs-orgmode@gnu.org Hello, Julian Gehring writes: > 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: Due to BIBLIOGRAPHY syntax, it may be easier to set it to nil instead of removing it completely. > 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. It sounds interesting. Would you want to provide a patch for that? Regards, -- Nicolas Goaziou