From: Suvayu Ali <fatkasuvayu+linux@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Using the file as 1st level headline
Date: Sat, 19 Sep 2015 12:25:56 +0200 [thread overview]
Message-ID: <20150919102556.GY30959@chitra.no-ip.org> (raw)
In-Reply-To: <876139q6bo.fsf@ntnu.no>
On Thu, Sep 17, 2015 at 07:55:07PM +0200, Sven Bretfeld wrote:
>
> * TODO Write book on XY
> ** Introduction
> Text.
> ********************* NEXT Something 1
> ********************* END
>
> ** Chapter 1
> Text.
> ******************** TODO Something 2
> ******************** END
If you are using latex export, you should be able to get the above
structure to work with a custom latex-class. Here is an example:
(add-to-list 'org-latex-classes
'("withtodos" "\\documentclass[11pt]{scrreprt}"
("%%%% %s" . "%%%% %s")
("\\chapter{%s}" . "\\chapter*{%s}")
("\\section{%s}" . "\\section*{%s}")
("\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" . "\\subsubsection*{%s}")))
This will insert the top level headline as a comment.
--
Suvayu
Open source is the future. It sets us free.
next prev parent reply other threads:[~2015-09-19 10:26 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-16 16:49 Using the file as 1st level headline Sven Bretfeld
2015-09-17 9:42 ` Eric S Fraga
2015-09-17 17:55 ` Sven Bretfeld
2015-09-18 7:54 ` Eric S Fraga
2015-09-19 9:05 ` Sven Bretfeld
2015-09-19 10:25 ` Suvayu Ali [this message]
2015-09-19 10:59 ` Sven Bretfeld
2015-09-21 8:25 ` Eric S Fraga
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150919102556.GY30959@chitra.no-ip.org \
--to=fatkasuvayu+linux@gmail.com \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.