From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: New LaTeX exporter and source code blocks Date: Sat, 05 May 2012 23:37:28 +0200 Message-ID: <87havue2cn.fsf@gmail.com> References: <87lil6e45e.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:41515) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQmiI-0002Nj-Ny for emacs-orgmode@gnu.org; Sat, 05 May 2012 17:40:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SQmiC-0006sA-PZ for emacs-orgmode@gnu.org; Sat, 05 May 2012 17:40:26 -0400 Received: from mail-wg0-f49.google.com ([74.125.82.49]:35386) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQmiC-0006rn-Fw for emacs-orgmode@gnu.org; Sat, 05 May 2012 17:40:20 -0400 Received: by wgbds1 with SMTP id ds1so2920577wgb.30 for ; Sat, 05 May 2012 14:40:18 -0700 (PDT) In-Reply-To: (Thomas S. Dye's message of "Sat, 05 May 2012 11:32:13 -1000") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "Thomas S. Dye" Cc: Org-mode tsd@tsdye.com (Thomas S. Dye) writes: > Here is a problem with CAPTION and ATTR_LaTeX lines. Note that the > \table{} environment wasn't established. > > ---- Org-mode ---- > #+CAPTION: Frequency of Special Characters > #+ATTR_LaTeX: align=|c|c|l| > > |---------------------+-------------+-------------------| > | Non-English or Math | Frequency | Comments | > |---------------------+-------------+-------------------| > | \O | 1 in 1,000 | For Swedish names | > |---------------------+-------------+-------------------| > | $\pi$ | 1 in 5 | Common in math | > |---------------------+-------------+-------------------| > | \$ | 4 in 5 | Used in business | > |---------------------+-------------+-------------------| > | $\Psi^2_1$ | 1 in 40,000 | Unexplained usage | > |---------------------+-------------+-------------------| > ------------------ Affiliated keywords (#+name:, #+caption:, #+attr_...) are expected to be right before their corresponding element. The blank line you introduced is wrong. Remove and it should export fine. > When #+CAPTION: is used with figures the \figure{} environment isn't > established. > > ---- Org-mode ---- > #+CAPTION: A sample black and white graphic (.eps format). > > [[file:fly.eps]] > ------------------ Ditto. Regards, -- Nicolas Goaziou