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:43:25 +1000 Message-ID: References: <15790.1283141198@gamaville.dokosmarshall.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1814568016==" Return-path: Received: from [140.186.70.92] (port=53419 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OqFt5-00008j-Ox for emacs-orgmode@gnu.org; Mon, 30 Aug 2010 21:43:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OqFt4-0004zJ-Jm for emacs-orgmode@gnu.org; Mon, 30 Aug 2010 21:43:47 -0400 Received: from mail-bw0-f41.google.com ([209.85.214.41]:61792) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OqFt4-0004zF-Ac for emacs-orgmode@gnu.org; Mon, 30 Aug 2010 21:43:46 -0400 Received: by bwz6 with SMTP id 6so5588420bwz.0 for ; Mon, 30 Aug 2010 18:43:45 -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 --===============1814568016== Content-Type: multipart/alternative; boundary=0016e6d7ed332ad9d1048f14b6a5 --0016e6d7ed332ad9d1048f14b6a5 Content-Type: text/plain; charset=ISO-8859-1 Perhaps I can get this done, but I have one important question. When I define a new "class" in org-export-latex-classes, does it make sense to add a new class that calls the same /documentclass{article} class? I could name this class article2, and define the section structure as I will. Hope this is not a silly question. MY head feels dense today, Alan On Tue, Aug 31, 2010 at 11:09 AM, Alan E. Davis wrote: > 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 >>> >> >> > --0016e6d7ed332ad9d1048f14b6a5 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Perhaps I can get this done, but I have one important question.=A0

= When I define a new "class" in org-export-latex-classes, does it = make sense to add a new class that calls the same /documentclass{article} c= lass?=A0 I could name this class article2, and define the section structure= as I will.

Hope this is not a silly question.=A0 MY head feels dense today,
Alan

On Tue, Aug 31, 2010 at 11:09 AM, A= lan E. Davis <lng= ndvs@gmail.com> wrote:
Scot:

I se= e 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 alt= ernate 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.dokos@hp.com> wrote:
=
Alan E. Davis <lngndvs@gmail.com> wrote:

> 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



--0016e6d7ed332ad9d1048f14b6a5-- --===============1814568016== 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 --===============1814568016==--