From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Changed behaviours of LaTeX exporter in version 8.0+ Date: Wed, 17 Sep 2014 21:01:58 +0200 Message-ID: <87d2aujck9.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48701) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XUKTr-0003BZ-Tv for emacs-orgmode@gnu.org; Wed, 17 Sep 2014 15:01:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XUKTh-0007Xi-9w for emacs-orgmode@gnu.org; Wed, 17 Sep 2014 15:01:31 -0400 Received: from relay5-d.mail.gandi.net ([2001:4b98:c:538::197]:45369) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XUKTh-0007Wj-3p for emacs-orgmode@gnu.org; Wed, 17 Sep 2014 15:01:21 -0400 In-Reply-To: (Kyeong Soo Kim's message of "Wed, 17 Sep 2014 22:54:16 +0800") 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: "Kyeong Soo (Joseph) Kim" Cc: emacs-orgmode@gnu.org Hello, "Kyeong Soo (Joseph) Kim" writes: > 1. Double backslashes (for line break) embedded in a string for "#+AUTHOR:" > > With version 7.x, the following line > > #+AUTHOR: Joseph Kim\\Department of Electrical and Electronic > Engineering\\Example University > [...] > With version 8.2.7c, however, the same line is exported to > > \author{Joseph Kim$\backslash$\Department of Electrical and Electronic > Engineering$\backslash$\Example University} > > which results in LaTeX compilation error. AUTHOR, like TITLE, and DATE, now expect Org syntax, not LaTeX code. You can insert raw LaTeX using an export snippet: @@latex:\\@@. Your author line would then be #+AUTHOR: Joseph Kim@@latex:\\@@Department of Electrical and Electronic Engineering@@latex:\\@@Example University Note that you can shorten this with a macro. > 2. Accessing the value of "#+KEYWORDS:" and change of cases in > "org-special-blocks" > > For keywords section in IEEE papers, I used to have the following settings: > > #+KEYWORDS: AAA, BBB, CCC > ... > #+BEGIN_IEEEkeywords > {{{KEYWORDS}}}. > #+END_IEEEkeywords [...] > Version 8.2.7c, however, produces the following from the same settings: > > \begin{ieeekeywords} > . > \end{ieeekeywords} I'm surprised {{{KEYWORDS}}} even worked as, AFAIK, it wasn't documented. Indeed, there is no such macro in Org 8.0. However, you can define your own #+MACRO: keywords AAA, BBB, CCC and then use #+BEGIN_IEEEkeywords {{{keywords}}}. #+END_IEEEkeywords > Because the keyword environment in IEEE LaTeX class is case-sensitive, > again it results in LaTeX compilation error. I fixed it in master. It will land in Org 8.3. Meanwhile, you can use a filter to upcase IEEE in your special blocks. Regards, -- Nicolas Goaziou