From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Filippo A. Salustri" Subject: Re: Re: Continuation of main section text after subsections ? Date: Wed, 30 Mar 2011 07:06:59 -0400 Message-ID: References: <20110327170251.58923564@hsdev.com> <87hbal7o60.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=48449 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q4tEu-0004Yz-MT for emacs-orgmode@gnu.org; Wed, 30 Mar 2011 07:07:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q4tEt-00029A-7m for emacs-orgmode@gnu.org; Wed, 30 Mar 2011 07:07:04 -0400 Received: from mail-ww0-f49.google.com ([74.125.82.49]:48234) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q4tEt-000290-2f for emacs-orgmode@gnu.org; Wed, 30 Mar 2011 07:07:03 -0400 Received: by wwb39 with SMTP id 39so1144590wwb.30 for ; Wed, 30 Mar 2011 04:07:01 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Rasmus Cc: emacs-orgmode@gnu.org Crazy idea: what if there were a special kind of headline, which basically treats it's content as part of the preceding headline of the same level? Cheers. Fil On 30 March 2011 06:05, Rasmus wrote: > >> --8<---------------cut here---------------start------------->8--- >> =A0* Main headline >> =A0 =A0Some thoughts expressed here >> >> =A0** Subheading 1 >> =A0 =A0 More thoughts expressed here >> =A0** Subheading 2 >> =A0 =A0 More thoughts expressed here >> =A0** Main headline (cont.) >> >> =A0 I would like to have this text part of 'Main headline', not of >> =A0 'Subheading 2' >> --8<---------------cut here---------------end--------------->8--- > > I don't understand the logic in this. > > In terms of final layout, do you want to have subheading appear as a > "box"? Like in some (introductory) textbooks? If so, you could program a > certain ** to be export as a certain type of object. You might even be > able to use tags to determine how output should be formatted, like in > Org-latex-beamer mode. This might require some hacking. > > > I do however, strongly support the idea of terminating headings, but for > other reasons. > > My problem is ending * COMMENT headings. > > This sketch the issue (in terms of LaTeX export): > #+begin_src emacs-org > * COMMENT This is were I put all my export settings, various notes and su= ch > > =A0it could be placed as the very last headline, but that is somewhat > =A0annoying an illogical to me. > > ** Export > #+TITLE: Test > #+AUTHOR: me > [A bunch of paper-specific #+latex_header:] > > ** An outline of the task at hand > [...] > > And HERE I want to put text before the first subsection. That is beneath > Title but before first section. > #+end_src > > In terms of LaTeX I need something like: > > #+begin_src latex > \begin{document} > \maketitle > This is where I want some initial text > \section{first section} > #+end_src > > Of course, I could start explicitly with a \section{intro} (i.e. * > Intro) right after \maketitle/\begin{document}, but for short papers I > find this is redundant. > > Is my style the problem or should there be a way to terminate section, ma= ybe > with an artificial new heading (similar to the :B_ignoreheading: tag)? > > Cheers, > Rasmus > > > > --=20 Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salustri@ryerson.ca http://deseng.ryerson.ca/~fil/