From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Alan E. Davis" Subject: Re: Exporting org to LaTeX to PDF: headings do not convert to sections Date: Fri, 22 May 2009 06:14:17 +1000 Message-ID: <7bef1f890905211314p4f14e44fj57aac5d339578a28@mail.gmail.com> References: <7bef1f890905210650o1a4a66e1t5b87cbc363b44ac5@mail.gmail.com> <50C05343-0CF2-4E8A-873B-2E040C225789@gmail.com> <7929538D-33E3-4D6D-AC2B-BC12BFED2DD1@uva.nl> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1640601240==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M7Ef5-0003pm-WE for emacs-orgmode@gnu.org; Thu, 21 May 2009 16:14:44 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M7Ef1-0003o1-70 for emacs-orgmode@gnu.org; Thu, 21 May 2009 16:14:43 -0400 Received: from [199.232.76.173] (port=42802 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M7Ef1-0003nu-0S for emacs-orgmode@gnu.org; Thu, 21 May 2009 16:14:39 -0400 Received: from mail-pz0-f107.google.com ([209.85.222.107]:47049) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M7Ef0-0006Cf-2i for emacs-orgmode@gnu.org; Thu, 21 May 2009 16:14:38 -0400 Received: by pzk5 with SMTP id 5so1357701pzk.14 for ; Thu, 21 May 2009 13:14:37 -0700 (PDT) In-Reply-To: <7929538D-33E3-4D6D-AC2B-BC12BFED2DD1@uva.nl> 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: Carsten Dominik Cc: org-mode , Carsten Dominik --===============1640601240== Content-Type: multipart/alternative; boundary=001636e1fd010914ee046a71cb05 --001636e1fd010914ee046a71cb05 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Thank you for the response. > On May 21, 2009, at 4:27 PM, Carsten Dominik wrote: > >> >> The only thing you can do in Org is to increase the number of headline >> levels to the maximum possible: >> >> #+OPTION H:5 > > This doesn't work for me. > >> is I think the maximum you can get. You cal also create a >> LaTeX class with more headline leves and push H even further. >> I believe there are some clases which provide at least subsubparagraph. >> > > >> If you have a good idea how to represent deeper levels in LaTeX, maybe we >> can do something clever in the LaTeX exporter. >> > ?????? > >> >> > I just realize that your question provides the answer to a question > I had for a long time: Why did Bastien implement lower > levels in the LaTeX export as {description} lists instead of > {itemize} lists. Now I know the answer: Because the number of levels > in a description list is not limited. > > I recently changed Bastien's code to use itemize instead, for > consistence with HTML export. Fortunately I left the old code > in, with a customization option. Please try: > > (setq org-export-latex-low-level 'description) > So far, this doesn't solve my problem. Should I then use description lists for all outline entries? I don't understand why I do not see "section" or "subsection", and the sections often come out with bare stars. Is this also because the number of levels has been exceeded? Thank you again. This is the first limitation of LaTeX I have not seen an immediate way around. Alan --001636e1fd010914ee046a71cb05 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable =A0Thank you for the response. =A0=A0

<= br> On May 21, 2009, at 4:27 PM, Carsten Dominik wrote:

The only thing you can do in Org is to increase the number of headline leve= ls to the maximum possible:

#+OPTION H:5
=A0
This doesn&#= 39;t work for me.
=A0

is I think the maximum you can get. =A0You cal also create a
LaTeX class with more headline leves and push H even further.
I believe there are some clases which provide at least subsubparagraph.

=A0

If you have a good idea how to represent deeper levels in LaTeX, maybe we can do something clever in the LaTeX exporter.

??????
=A0



I just realize that your question provides the answer to a question
I had for a long time: =A0Why did Bastien implement lower
levels in the LaTeX export as {description} lists instead of
{itemize} lists. =A0Now I know the answer: =A0Because the number of levels<= br> in a description list is not limited.

I recently changed Bastien's code to use itemize instead, for
consistence with HTML export. =A0Fortunately I left the old code
in, with a customization option. =A0Please try:

(setq org-export-latex-low-level 'description)

So far, this doesn't solve my problem.=A0 Should = I then use description lists for all outline entries?=A0

=A0
<= div>I don't understand why=A0 I=A0 do not see "section" or &q= uot;subsection", and the sections often come out with bare stars.=A0 I= s this also because the number of levels has been exceeded?

Thank you again.=A0 This is the first limitation of LaTeX I have not se= en an immediate way around.=A0


=A0
Alan

--001636e1fd010914ee046a71cb05-- --===============1640601240== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1640601240==--