From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Alan E. Davis" Subject: Re: LaTeX export: Skip headline lines? "Paragraph" sectioning? Date: Tue, 31 Aug 2010 11:09:43 +1000 Message-ID: References: <15790.1283141198@gamaville.dokosmarshall.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2002081068==" Return-path: Received: from [140.186.70.92] (port=40126 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OqFMT-00071Y-Md for emacs-orgmode@gnu.org; Mon, 30 Aug 2010 21:10:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OqFMS-0001Bh-JX for emacs-orgmode@gnu.org; Mon, 30 Aug 2010 21:10:05 -0400 Received: from mail-bw0-f41.google.com ([209.85.214.41]:54024) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OqFMS-0001BW-AH for emacs-orgmode@gnu.org; Mon, 30 Aug 2010 21:10:04 -0400 Received: by bwz6 with SMTP id 6so5566308bwz.0 for ; Mon, 30 Aug 2010 18:10:03 -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: Scot Becker Cc: nicholas.dokos@hp.com, org-mode --===============2002081068== Content-Type: multipart/alternative; boundary=0016e6d6441ca4741e048f143ded --0016e6d6441ca4741e048f143ded Content-Type: text/plain; charset=ISO-8859-1 Scot: I see what you mean On Mon, Aug 30, 2010 at 3:14 PM, Scot Becker wrote: > > As you'll see org-mode's latex export is currently designed to use org for > basic document structuring and only allows for a limited set of mappings > between org's structure and latex structure. But you'll see in the latex > configuration documentation that it is possible to define what kind of > \section{}, \chapter{}, or \subsubparagraph{} is exported for each level of > org's headlines. > > One imagines it would be possible to define alternate use cases for a class, for example the "article" class. I can see it is possible to define the article class to use \\section{%s} for the first headline level and \\paragraph{%s} for second levels This would be useful to me. However, the ordinary article structure with subsection, subsubsection, etc., is good enough for much of what I do. I can imagine copying the article class file into my org directory, and renaming it to article2.cls, and adding it to org-export-latex-classes, with the section -> paragraph structure. Is there an easier or canonical way to do this? Thank you for your interest and help. Alan > > > > > > > > On Mon, Aug 30, 2010 at 5:06 AM, Nick Dokos wrote: > >> Alan E. Davis wrote: >> >> > Sometimes, I have used outliners, like ThinkTank, to organize my >> > thoughts, and reorganize the structure of a document of whatever kind. >> > I don't need headings or sectioning in some cases. >> > >> > I have not found a way to exclude heading lines from >> > LaTeX output in Orgmode, nor have I found a >> > tag to say, "omit this headline." I do see the variables >> > org-export-exclude-tags, and org-export-select tags; as well as an >> > option to include a specific number of headings as LaTeX sections. In >> > the later case, other headings are exported as plain list items, not >> > what I have in mind. >> > >> > A related issue perhaps: what would it take to export, say list items, >> > as "paragraph" and "subparagraph" sections in LaTeX. >> > >> > The ability to export a pdf almost automatically through LaTeX, even >> > with images, is magical. Many thanks for this. >> > >> >> Some examples might help. I may be particularly dense tonight but I have >> read your mail a few times and I still have no idea what you are asking >> (or rather I have multiple ideas, none of which make much sense to me.) >> >> Thanks, >> Nick >> >> >> >> _______________________________________________ >> 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 >> > > --0016e6d6441ca4741e048f143ded Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Scot:

I see what you mean

On Mon, = Aug 30, 2010 at 3:14 PM, Scot Becker <scot.becker@gmail.com> wrote:

As you'll see org-mode's latex export is currently designed to = use org for basic document structuring and only allows for a limited set of= mappings between org's structure and latex structure.=A0 But you'l= l see in the latex configuration documentation that it is possible to defin= e what kind of \section{}, \chapter{}, or \subsubparagraph{} is exported fo= r each level of org's headlines.

One imagines it would be possible to define alternate= use cases for a class, for example the "article" class.=A0 I can= see it is possible to define the article class to use

=A0 =A0 =A0 = \\section{%s} =A0 for the first headline level
and
=A0 =A0=A0 \\paragraph{%s} for second levels

This would be us= eful to me. =A0 However, the ordinary article structure with subsection, su= bsubsection, etc., is good enough for much of what I do.=A0=A0 I can imagin= e copying the article class file into my org directory, and renaming it to = article2.cls, and adding it to org-export-latex-classes, with the section -= > paragraph structure.=A0

Is there an easier or canonical way to do this?

Thank you for yo= ur interest and help.=A0

Alan







On Mon, Aug 30, 2010 at 5:06 AM, Nick Dokos <nicholas.do= kos@hp.com> wrote:
=
Alan E. Davis <lngndvs@gmail.com> w= rote:

> Sometimes, I have used outliners, like ThinkTank, to organize my
> thoughts, and reorganize the structure of a document of whatever kind.= =A0
> I don't need headings or sectioning in some cases.
>
> I have not found a way to exclude heading lines from=A0
> LaTeX output in Orgmode, nor have I found a
> tag to say, "omit this headline." =A0I do see the variables<= br> > org-export-exclude-tags, and org-export-select tags; as well as an
> option to include a specific number of headings as LaTeX sections. =A0= In
> the later case, other =A0headings are exported as plain list items, no= t
> what I have in mind.
>
> A related issue perhaps: what would it take to export, say list items,=
> as "paragraph" and "subparagraph" sections in LaTe= X.
>
> The ability to export a pdf almost automatically through LaTeX, even > with images, is magical. =A0Many thanks for this.
>

Some examples might help. I may be particularly dense tonight b= ut I have
read your mail a few times and I still have no idea what you are asking
(or rather I have multiple ideas, none of which make much sense to me.)

Thanks,
Nick



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


--0016e6d6441ca4741e048f143ded-- --===============2002081068== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============2002081068==--