From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thomas S. Dye" Subject: Re: LaTeX export: Skip headline lines? "Paragraph" sectioning? Date: Mon, 30 Aug 2010 15:59:35 -1000 Message-ID: <4496C190-2783-46B7-B9F6-0079288F3B02@tsdye.com> References: <15790.1283141198@gamaville.dokosmarshall.org> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: multipart/mixed; boundary="===============0124899384==" Return-path: Received: from [140.186.70.92] (port=40856 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OqG8U-0004Fy-Ch for emacs-orgmode@gnu.org; Mon, 30 Aug 2010 21:59:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OqG8S-0006bN-RE for emacs-orgmode@gnu.org; Mon, 30 Aug 2010 21:59:42 -0400 Received: from oproxy3-pub.bluehost.com ([69.89.21.8]:58744) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1OqG8S-0006b0-HY for emacs-orgmode@gnu.org; Mon, 30 Aug 2010 21:59:40 -0400 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: "Alan E. Davis" Cc: nicholas.dokos@hp.com, org-mode --===============0124899384== Content-Type: multipart/alternative; boundary=Apple-Mail-34--29902522 --Apple-Mail-34--29902522 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Aloha Alan, IMHO, yes, this makes good sense. It is probably a good idea to name the org-export-latex-class something associated with the output you want from org-mode, rather than with the LaTeX class that is used to typeset it. All the best, Tom On Aug 30, 2010, at 3:43 PM, Alan E. Davis wrote: > 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 > > > > _______________________________________________ > 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 --Apple-Mail-34--29902522 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Aloha = Alan,

IMHO, yes, this makes good sense.  It is = probably a good idea to name the org-export-latex-class something = associated with the output you want from org-mode, rather than with the = LaTeX class that is used to typeset = it. 

All the = best,
Tom

On Aug 30, 2010, at 3:43 PM, = Alan E. Davis wrote:

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 <lngndvs@gmail.com> = wrote:
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.  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 <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.  
> 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<= br>

=


= _______________________________________________
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

= --Apple-Mail-34--29902522-- --===============0124899384== 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 --===============0124899384==--