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