emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [Latex+orgmode] #+LaTeX:\printbibliography AND '(:noexport:)
@ 2012-12-27  8:50 celano
  2012-12-27 16:01 ` Thomas S. Dye
  2012-12-27 21:25 ` Myles English
  0 siblings, 2 replies; 4+ messages in thread
From: celano @ 2012-12-27  8:50 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

[-- Attachment #1: Type: text/plain, Size: 516 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 931 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Latex+orgmode] #+LaTeX:\printbibliography AND '(:noexport:)
  2012-12-27  8:50 [Latex+orgmode] #+LaTeX:\printbibliography AND '(:noexport:) celano
@ 2012-12-27 16:01 ` Thomas S. Dye
  2012-12-27 21:25 ` Myles English
  1 sibling, 0 replies; 4+ messages in thread
From: Thomas S. Dye @ 2012-12-27 16:01 UTC (permalink / raw)
  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 <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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Latex+orgmode] #+LaTeX:\printbibliography AND '(:noexport:)
  2012-12-27  8:50 [Latex+orgmode] #+LaTeX:\printbibliography AND '(:noexport:) celano
  2012-12-27 16:01 ` Thomas S. Dye
@ 2012-12-27 21:25 ` Myles English
  2012-12-27 21:36   ` celano
  1 sibling, 1 reply; 4+ messages in thread
From: Myles English @ 2012-12-27 21:25 UTC (permalink / raw)
  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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Latex+orgmode] #+LaTeX:\printbibliography AND '(:noexport:)
  2012-12-27 21:25 ` Myles English
@ 2012-12-27 21:36   ` celano
  0 siblings, 0 replies; 4+ messages in thread
From: celano @ 2012-12-27 21:36 UTC (permalink / raw)
  To: emacs-orgmode

Thank you, it is very usefull!
Celano

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-12-27 21:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-27  8:50 [Latex+orgmode] #+LaTeX:\printbibliography AND '(:noexport:) celano
2012-12-27 16:01 ` Thomas S. Dye
2012-12-27 21:25 ` Myles English
2012-12-27 21:36   ` celano

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).