From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hsiu-Khuern Tang Subject: Re: [PATCH] Allow inclusion of author's email in LaTeX export Date: Tue, 22 Feb 2011 13:25:27 -0800 Message-ID: References: <1294928979-14439-1-git-send-email-wence@gmx.li> <877he31gkp.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=38194 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ps0A9-0003Zy-IO for emacs-orgmode@gnu.org; Tue, 22 Feb 2011 16:52:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ps0A8-0006PA-8q for emacs-orgmode@gnu.org; Tue, 22 Feb 2011 16:52:53 -0500 Received: from mail-qy0-f176.google.com ([209.85.216.176]:52430) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ps0A8-0006P6-6O for emacs-orgmode@gnu.org; Tue, 22 Feb 2011 16:52:52 -0500 Received: by qyk30 with SMTP id 30so2705450qyk.0 for ; Tue, 22 Feb 2011 13:52:51 -0800 (PST) In-Reply-To: <877he31gkp.fsf@gnu.org> 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: emacs-orgmode@gnu.org Hi, I noticed that special characters in the email, such as an underscore, are not escaped. This causes LaTeX errors. To reproduce, put this line at the top of an org file and try to export to PDF via LaTeX: #+EMAIL: first_last@example.com Thanks, Hsiu-Khuern. On Mon, Jan 17, 2011 at 11:21 AM, Bastien wro= te: > Hi Lawrence, > > Lawrence Mitchell writes: > >> * org-latex.el (org-export-latex-make-header): Export email in >> author line if `org-export-email-info' is non-nil. > > Thanks a lot - I just applied a slightly modified version of your > patch. > > The trick is to use (plist-get opt-plist :email-info) instead of > `org-export-email-info' so that in-buffer options are taken into > account. > > Thanks for submitting this! > > -- > =A0Bastien > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode >