From mboxrd@z Thu Jan 1 00:00:00 1970 From: feng shu Subject: Re: [PATCH] Add "latex" option to ox-bibtex.el Date: Fri, 12 Jul 2013 21:17:18 +0800 Message-ID: References: <87vc4g83po.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f46d044402688c779f04e15054fe Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38215) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxdDv-0003rK-1i for emacs-orgmode@gnu.org; Fri, 12 Jul 2013 09:17:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UxdDr-0006Ol-Pu for emacs-orgmode@gnu.org; Fri, 12 Jul 2013 09:17:22 -0400 Received: from mail-we0-x22d.google.com ([2a00:1450:400c:c03::22d]:59173) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxdDr-0006Oh-It for emacs-orgmode@gnu.org; Fri, 12 Jul 2013 09:17:19 -0400 Received: by mail-we0-f173.google.com with SMTP id x54so8049098wes.18 for ; Fri, 12 Jul 2013 06:17:19 -0700 (PDT) In-Reply-To: <87vc4g83po.fsf@gmail.com> 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: Nicolas Goaziou Cc: "emacs-orgmode@gnu.org" --f46d044402688c779f04e15054fe Content-Type: text/plain; charset=UTF-8 Really? This problem can be resolved with hooks or filters? Could you give me more informations or a example? ---------- Forwarded message ---------- From: Nicolas Goaziou Date: Fri, Jul 12, 2013 at 6:36 PM Subject: Re: [PATCH] Add "latex" option to ox-bibtex.el To: feng shu Cc: "emacs-orgmode@gnu.org" Hello, feng shu writes: > From 34d1af7f1b0ecb38000f7a19ad17f3d7bfdf26fa Mon Sep 17 00:00:00 2001 > From: Feng Shu > Date: Fri, 12 Jul 2013 15:14:56 +0800 > Subject: [PATCH] Add "latex" optional option to ox-bibtex > > * ox-bibtex.el (org-latex-keyword, org-bibtex-get-arguments): > Add `:latex' properties. > > If "latex" option is set to `nil', when export to latex, > "ox-bibtex" will not insert bibliography commands in output file. > you should insert the commands manually, for example: > > \#+BIBLIOGRAPHY: foo plain option:-d latex:nil > \bibliographystyle{otherbibstyle} > \bibliography{foo} > > or: > > \#+BIBLIOGRAPHY: foo plain option:-d latex:nil > \printbibliography Thanks for your patch. Though, it seems a bit hackish. Can't you achive the same with hooks or filters? Regards, -- Nicolas Goaziou --f46d044402688c779f04e15054fe Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Really?=C2=A0 This problem= can be resolved with hooks or filters?=C2=A0 Could you
give me m= ore informations or a example?


---------- Forwarded message ----------
From: Nicolas Goaziou &= lt;n.goaziou@gmail= .com>
Date: Fri, Jul 12, 2013 at 6:36 PM
Subject: Re: [PATCH] Add "latex&= quot; option to ox-bibtex.el
To: feng shu <tumashu@gmail.com>
Cc: "emacs-orgmode@gnu.org" <ema= cs-orgmode@gnu.org>


Hello,

feng shu <tumashu= @gmail.com> writes:

> From 34d1af7f1b0ecb38000f7a19ad17f3d7bfdf26fa Mon Sep 17 00:00:00 2001=
> From: Feng Shu <tumashu@gmail.com>
> Date: Fri, 12 Jul 2013 15:14:56 +0800
> Subject: [PATCH] Add "latex" optional option to ox-bibtex >
> * ox-bibtex.el (org-latex-keyword, org-bibtex-get-arguments):
> Add `:latex' properties.
>
> If "latex" option is set to `nil', when export to latex,=
> "ox-bibtex" =C2=A0will not insert bibliography commands in o= utput file.
> you should insert the commands manually, for example:
>
> \#+BIBLIOGRAPHY: foo plain option:-d latex:nil
> \bibliographystyle{otherbibstyle}
> \bibliography{foo}
>
> or:
>
> \#+BIBLIOGRAPHY: foo plain option:-d latex:nil
> \printbibliography

Thanks for your patch.

Though, it seems a bit hackish. Can't you achive the same with hooks or=
filters?




Regards,

--
Nicolas Goaziou

--f46d044402688c779f04e15054fe--