emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* LaTeX habits and org-mode
@ 2009-11-20 13:59 Emmanuel Di Pretoro
  2009-11-20 14:37 ` Scot Becker
  2009-11-20 15:06 ` Carsten Dominik
  0 siblings, 2 replies; 5+ messages in thread
From: Emmanuel Di Pretoro @ 2009-11-20 13:59 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 277 bytes --]

Hi,

I'm currently writing a document with org-mode instead of LaTeX. Usually,
with LaTeX, the first section of such a document is a
\chapter*{Introduction} where I explain the context of the document. How can
I do that with org-mode ?

Thanks in advance,

Emmanuel Di Pretoro

[-- Attachment #1.2: Type: text/html, Size: 319 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* Re: LaTeX habits and org-mode
  2009-11-20 13:59 LaTeX habits and org-mode Emmanuel Di Pretoro
@ 2009-11-20 14:37 ` Scot Becker
  2009-11-20 14:57   ` Emmanuel Di Pretoro
  2009-11-20 15:06 ` Carsten Dominik
  1 sibling, 1 reply; 5+ messages in thread
From: Scot Becker @ 2009-11-20 14:37 UTC (permalink / raw)
  To: Emmanuel Di Pretoro; +Cc: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 1944 bytes --]

Emmanuel,

If the introduction LOOKs just like a normal chapter, then you just do:

* Introduction

In this paper I indend to once and for all solve the problem of [blaaa].

* Chapter One: The Problem
* Chapter Two: Lame Previous Attempts at a Solution
* Chapter Three:  Appproach it Like This
* Chapter Four: The Goods

In other words, if this section is a chapter unto itself, just give it its
own top level heading.  What you then have to pay attention to is the way
the org exports the LaTeX, which you do by adding a configuration to the
org-export-latex-classes list, something like this:

(setq org-export-latex-classes '(("book"
"\\documentclass[11pt]{book}\n\\usepackage[utf8]{inputenc}\n\\usepackage[T1]{fontenc}\n\\usepackage{graphicx}\n\\usepackage{longtable}\n\\usepackage{hyperref}"
  ("\\chapter{%s}" . "\\chapter*{%s}")
  ("\\section{%s}" . "\\section*{%s}")
  ("\\subsection{%s}" . "\\subsection*{%s}")
  ("\\subsubsection{%s}" . "\\subsubsection*{%s}"))))

I'm not sure if this one is useful as it is, so you might want to look at
other (better formatted) examples as well.  But the trick is just to tell
org to assign first level headings to 'chapters'.

Now if you don't want your introduction chapter numbered, that's a slightly
different problem, which I'm not sure I know how to solve.

Hope that gets you started.

Scot



On Fri, Nov 20, 2009 at 1:59 PM, Emmanuel Di Pretoro
<edipretoro@gmail.com>wrote:

> Hi,
>
> I'm currently writing a document with org-mode instead of LaTeX. Usually,
> with LaTeX, the first section of such a document is a
> \chapter*{Introduction} where I explain the context of the document. How can
> I do that with org-mode ?
>
> Thanks in advance,
>
> Emmanuel Di Pretoro
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>

[-- Attachment #1.2: Type: text/html, Size: 2640 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* Re: LaTeX habits and org-mode
  2009-11-20 14:37 ` Scot Becker
@ 2009-11-20 14:57   ` Emmanuel Di Pretoro
  0 siblings, 0 replies; 5+ messages in thread
From: Emmanuel Di Pretoro @ 2009-11-20 14:57 UTC (permalink / raw)
  To: Scot Becker; +Cc: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 301 bytes --]

2009/11/20 Scot Becker <scot.becker@gmail.com>

> Now if you don't want your introduction chapter numbered, that's a slightly
> different problem, which I'm not sure I know how to solve.
>

This is my problem. Sorry, my explanations wasn't good enough.

So, I'll continue to search.

Thanks

Emmanuel

[-- Attachment #1.2: Type: text/html, Size: 611 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* Re: LaTeX habits and org-mode
  2009-11-20 13:59 LaTeX habits and org-mode Emmanuel Di Pretoro
  2009-11-20 14:37 ` Scot Becker
@ 2009-11-20 15:06 ` Carsten Dominik
  2009-11-28  7:33   ` Emmanuel Di Pretoro
  1 sibling, 1 reply; 5+ messages in thread
From: Carsten Dominik @ 2009-11-20 15:06 UTC (permalink / raw)
  To: Emmanuel Di Pretoro; +Cc: emacs-orgmode


On Nov 20, 2009, at 2:59 PM, Emmanuel Di Pretoro wrote:

> Hi,
>
> I'm currently writing a document with org-mode instead of LaTeX.  
> Usually, with LaTeX, the first section of such a document is a  
> \chapter*{Introduction} where I explain the context of the document.  
> How can I do that with org-mode ?

------------------------------------------------------------------------------
#+LaTeX: \chapter*{Introduction}

Introduction text

* first headline

...
------------------------------------------------------------------------------


HTH

- Carsten

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

* Re: LaTeX habits and org-mode
  2009-11-20 15:06 ` Carsten Dominik
@ 2009-11-28  7:33   ` Emmanuel Di Pretoro
  0 siblings, 0 replies; 5+ messages in thread
From: Emmanuel Di Pretoro @ 2009-11-28  7:33 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 329 bytes --]

2009/11/20 Carsten Dominik <carsten.dominik@gmail.com>

> #+LaTeX: \chapter*{Introduction}
>
> Introduction text
>
> * first headline
>

It takes me a long time to test your solution, sorry.

Unfortunately the footnotes in this introduction are converted as
'1 FOOTNOTE DEFINITION NOT FOUND : fn :1'.

Have a nice day,

Emmanuel

[-- Attachment #1.2: Type: text/html, Size: 820 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

end of thread, other threads:[~2009-11-28  7:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-20 13:59 LaTeX habits and org-mode Emmanuel Di Pretoro
2009-11-20 14:37 ` Scot Becker
2009-11-20 14:57   ` Emmanuel Di Pretoro
2009-11-20 15:06 ` Carsten Dominik
2009-11-28  7:33   ` Emmanuel Di Pretoro

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