From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: [BUG] latex superscript and documentation bugs Date: Wed, 28 Apr 2010 17:22:03 +0200 Message-ID: <86924F51-29C4-4E07-9E0F-A0190BF84347@gmail.com> References: <8739yge6ml.fsf@stats.ox.ac.uk> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O795c-0002hQ-TI for emacs-orgmode@gnu.org; Wed, 28 Apr 2010 11:22:16 -0400 Received: from [140.186.70.92] (port=43694 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O795V-0002hG-SQ for emacs-orgmode@gnu.org; Wed, 28 Apr 2010 11:22:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O795U-0004PB-88 for emacs-orgmode@gnu.org; Wed, 28 Apr 2010 11:22:09 -0400 Received: from mail-ew0-f214.google.com ([209.85.219.214]:58621) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O795U-0004Ot-3Q for emacs-orgmode@gnu.org; Wed, 28 Apr 2010 11:22:08 -0400 Received: by ewy6 with SMTP id 6so5515277ewy.32 for ; Wed, 28 Apr 2010 08:22:07 -0700 (PDT) In-Reply-To: <8739yge6ml.fsf@stats.ox.ac.uk> 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: Dan Davison Cc: emacs org-mode mailing list On Apr 28, 2010, at 2:57 AM, Dan Davison wrote: > Org: > x^{(0)} > > becomes [note missing parenthesis] > > LaTeX: > x$^{\mathrm{(0}}$ This is now fixed. > > (Emacs 24 with Org 6.35i and also with current Org-mode HEAD) > > Also, two possible documentation bugs: > > 1 > ============================= > > http://orgmode.org/manual/Images-and-tables.html#Images-and-tables > > says > > You can use the following lines somewhere before the table to > assign > a caption and a label for cross references, and in the text you can > refer to the object with \ref{tab:basic-data}: > > I think that is a LaTeX-specific comment in a non-LaTeX specific > manual > section? Should it say "and if exporting to LaTeX, in the text you can > refer to the object..."? No, this works also in HTML. It should, anyway. > > > > 2 > ============================== > > In the docstring for org-export-latex-classes it says > > So a header like > > \documentclass{article} > [NO-DEFAULT-PACKAGES] > [EXTRA] > \providecommand{\alert}[1]{\textbf{#1}} > [PACKAGES] > > will omit the default packages, > > I wonder whether it would be better to show the double backslashes (\ > \) > explicitly, seeing as the user will need to escape them in this way, > or > at least to warn the reader. You can add a warning - but this depends on whether you use customize or not to edit the variable. - Carsten