From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsd@tsdye.com (Thomas S. Dye) Subject: Re: [Latex+orgmode] #+LaTeX:\printbibliography AND '(:noexport:) Date: Thu, 27 Dec 2012 06:01:10 -1000 Message-ID: References: <50DC0BDF.9020608@laposte.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:60761) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ToFtu-0007sr-Rf for emacs-orgmode@gnu.org; Thu, 27 Dec 2012 11:01:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ToFtt-00076N-4b for emacs-orgmode@gnu.org; Thu, 27 Dec 2012 11:01:42 -0500 Received: from oproxy9.bluehost.com ([69.89.24.6]:60939) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1ToFts-000760-Se for emacs-orgmode@gnu.org; Thu, 27 Dec 2012 11:01:41 -0500 In-Reply-To: <50DC0BDF.9020608@laposte.net> (celano@laposte.net's message of "Thu, 27 Dec 2012 09:50:39 +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: celano Cc: "emacs-orgmode@gnu.org" Aloha Celano, This should work. You'll need to move the \printbibliography line when you decide to export the second or third chapters, if you want it to be at the end of the first part. >> #+LaTeX_CLASS:book >> * First part >> ** First chapter >> #+LaTeX: \printbibliography >> ** Second chapter '(:noexport:) >> ** Third chapter '(:noexport:) >> >> * Second part >> ** 4th chapter >> ** 5th chapter Alternatively, you can hack Org mode to ignore a heading, so you'd have something like this: ** Bibliography :ignoreheading: #+LaTeX: \printbibliography You can follow the instructions in this post for the new exporter: http://thread.gmane.org/gmane.emacs.orgmode/55821/focus=55972 or, you can use Suvayu Ali's preprocess hook described here for the old exporter: http://stackoverflow.com/questions/10295177/is-there-an-equivalent-of-org-modes-b-ignoreheading-for-non-beamer-documents hth, Tom celano writes: > Hello > > This is my file.org (I use it then with latex: C-c C-e l): > >> #+LaTeX_CLASS:book >> * First part >> ** First chapter >> ** Second chapter '(:noexport:) >> ** Third chapter '(:noexport:) >> #+LaTeX: \printbibliography >> >> * Second part >> ** 4th chapter >> ** 5th chapter > > As you see, \printbibliography is under the *noexport* tag, and will > not appear in the file.tex > > *How should I do to export the bibliography without creating a new chapter?* > > Thank you for helping me > Celano > Hello > > This is my file.org (I use it then with latex: C-c C-e l): > > #+LaTeX_CLASS:book > > * First part > ** First chapter > ** Second chapter '(:noexport:) > ** Third chapter '(:noexport:) > #+LaTeX: \printbibliography > > * Second part > ** 4th chapter > ** 5th chapter > > As you see, \printbibliography is under the noexport tag, and will not > appear in the file.tex > > How should I do to export the bibliography without creating a new > chapter? > > Thank you for helping me > Celano -- Thomas S. Dye http://www.tsdye.com