From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Lundin Subject: Re: Latex export bugs and a request Date: Wed, 18 Mar 2009 11:33:09 -0500 Message-ID: <87bpryeqpm.fsf@fastmail.fm> References: <87zlflcm6t.fsf@fastmail.fm> <4CCC1BE5-B46F-4A01-AB69-AB1A28F4FF86@uva.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ljyhk-0003k2-EW for emacs-orgmode@gnu.org; Wed, 18 Mar 2009 12:33:20 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ljyhf-0003hh-Ts for emacs-orgmode@gnu.org; Wed, 18 Mar 2009 12:33:20 -0400 Received: from [199.232.76.173] (port=46558 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ljyhf-0003hZ-Hj for emacs-orgmode@gnu.org; Wed, 18 Mar 2009 12:33:15 -0400 Received: from out4.smtp.messagingengine.com ([66.111.4.28]:57110) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ljyhf-0001Sz-5o for emacs-orgmode@gnu.org; Wed, 18 Mar 2009 12:33:15 -0400 In-Reply-To: <4CCC1BE5-B46F-4A01-AB69-AB1A28F4FF86@uva.nl> (Carsten Dominik's message of "Mon, 16 Mar 2009 22:16:48 +0100") 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 ml Hi Carsten, Carsten Dominik writes: > > Strange, I am getting {lll}, with no vertical lines on either outside. > Ah, you have org-export-latex-tables-column-borders turned on. > Yes, there was a bug, fixed now. Thanks! > Thanks! Works beautifully now. >> >> 2. Headlines greater than n when H:n (e.g., level three headlines >> when H >> is set to 2) are exported as description lists. >> >> Is this the intended behavior? > > This is how Bastien designed it, and it is similar to the HTML way, > turning these into lists. It works fine if there is any text before > the plain list bullets. > When I use a paragraph of text instead of plain list bullets, the subsequent paragraph becomes the definition of the headline, which becomes the list label. Is this correct? > Do you have a better proposal? I suppose I was expecting the headings to become itemized lists if num:nil or enumerated lists if num:t. But I realize that's probably not the most straightforward behavior. I think it's easier for me to use bullet lists in the org source than to request a change. :) >> Would it be possible to have the latex exporter ignore markup >> designated as html? > > I am unable to reproduce this, works fine for me. You are right. I cannot reproduce this. I'm afraid it may have been due to a typo. Sorry for the false alarm. > OK, we have now #+begin_center > Again, thanks so much! This works beautifully and I've already used it in a syllabus. >> >> A related thought (and sorry for the very long email), is there any >> way >> to define these types of macros globally, rather than in-buffer? It >> would be really nice to be able to set commonly used macros globally. >> Even nicer would be the ability to define macros that are context >> sensitive: i.e., one substitution for for LaTeX export, another >> substitution for HTML export. This might make it easier to export the >> same source file to different outputs. Just a wishlist item.... > > Yes, guess we could have global macros, and also macros that expand > depending on exporter type. I have not though much about it, maybe > you'd like to draw up a syntax? Thanks for considering this. I'll do some brainstorming and get back to you. Best, Matt