From mboxrd@z Thu Jan 1 00:00:00 1970 From: celano Subject: [Latex+orgmode] #+LaTeX:\printbibliography AND '(:noexport:) Date: Thu, 27 Dec 2012 09:50:39 +0100 Message-ID: <50DC0BDF.9020608@laposte.net> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------040406030809010202080506" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:48408) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1To96C-0006e8-DD for emacs-orgmode@gnu.org; Thu, 27 Dec 2012 03:45:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1To96A-0001wq-1J for emacs-orgmode@gnu.org; Thu, 27 Dec 2012 03:45:56 -0500 Received: from smtpout3.laposte.net ([193.253.67.228]:40432 helo=smtpout.laposte.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1To969-0001wm-Qw for emacs-orgmode@gnu.org; Thu, 27 Dec 2012 03:45:53 -0500 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" This is a multi-part message in MIME format. --------------040406030809010202080506 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 --------------040406030809010202080506 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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
--------------040406030809010202080506-- 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Myles English Subject: Re: [Latex+orgmode] #+LaTeX:\printbibliography AND '(:noexport:) Date: Thu, 27 Dec 2012 21:25:28 +0000 Message-ID: <87han76vcn.fsf@gmail.com> References: <50DC0BDF.9020608@laposte.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:47817) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ToKwr-0001P1-TP for emacs-orgmode@gnu.org; Thu, 27 Dec 2012 16:25:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ToKwl-00079v-ND for emacs-orgmode@gnu.org; Thu, 27 Dec 2012 16:25:05 -0500 Received: from mail-wg0-f44.google.com ([74.125.82.44]:64742) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ToKwl-00079f-9L for emacs-orgmode@gnu.org; Thu, 27 Dec 2012 16:24:59 -0500 Received: by mail-wg0-f44.google.com with SMTP id dr12so4396799wgb.11 for ; Thu, 27 Dec 2012 13:24:58 -0800 (PST) In-reply-to: <50DC0BDF.9020608@laposte.net> 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" Hi celano, 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?* I think this does what you want: ["Re: [O] Bibtex export" 18 December 2012] http://lists.gnu.org/archive/html/emacs-orgmode/2012-12/msg00634.html > > > Thank you for helping me > Celano Myles From mboxrd@z Thu Jan 1 00:00:00 1970 From: celano Subject: Re: [Latex+orgmode] #+LaTeX:\printbibliography AND '(:noexport:) Date: Thu, 27 Dec 2012 22:36:36 +0100 Message-ID: <50DCBF64.3080706@laposte.net> References: <50DC0BDF.9020608@laposte.net> <87han76vcn.fsf@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 ([208.118.235.92]:50537) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ToL3Q-0003Xu-1U for emacs-orgmode@gnu.org; Thu, 27 Dec 2012 16:31:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ToL3N-0002rB-Kk for emacs-orgmode@gnu.org; Thu, 27 Dec 2012 16:31:51 -0500 Received: from smtpout7.laposte.net ([193.253.67.232]:43827 helo=smtpout.laposte.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ToL3N-0002r3-F0 for emacs-orgmode@gnu.org; Thu, 27 Dec 2012 16:31:49 -0500 In-Reply-To: <87han76vcn.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: emacs-orgmode@gnu.org Thank you, it is very usefull! Celano