emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: tsd@tsdye.com (Thomas S. Dye)
To: celano <celano@laposte.net>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: [Latex+orgmode] #+LaTeX:\printbibliography AND '(:noexport:)
Date: Thu, 27 Dec 2012 06:01:10 -1000	[thread overview]
Message-ID: <m11ueblc1l.fsf@tsdye.com> (raw)
In-Reply-To: <50DC0BDF.9020608@laposte.net> (celano@laposte.net's message of "Thu, 27 Dec 2012 09:50:39 +0100")

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 <celano@laposte.net> 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

  reply	other threads:[~2012-12-27 16:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-27  8:50 [Latex+orgmode] #+LaTeX:\printbibliography AND '(:noexport:) celano
2012-12-27 16:01 ` Thomas S. Dye [this message]
2012-12-27 21:25 ` Myles English
2012-12-27 21:36   ` celano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m11ueblc1l.fsf@tsdye.com \
    --to=tsd@tsdye.com \
    --cc=celano@laposte.net \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).