From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: Re: [export] latex: texorpdfstring in heading Date: Tue, 25 Nov 2014 01:25:19 +0000 Message-ID: References: <87ppcc6023.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45267) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xt4sp-0003Ji-7Q for emacs-orgmode@gnu.org; Mon, 24 Nov 2014 20:25:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xt4sj-0002ab-AZ for emacs-orgmode@gnu.org; Mon, 24 Nov 2014 20:25:35 -0500 Received: from plane.gmane.org ([80.91.229.3]:54804) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xt4sj-0002aV-2T for emacs-orgmode@gnu.org; Mon, 24 Nov 2014 20:25:29 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Xt4sh-00046i-HM for emacs-orgmode@gnu.org; Tue, 25 Nov 2014 02:25:27 +0100 Received: from cpc33-cmbg15-2-0-cust4.5-4.cable.virginm.net ([81.102.136.5]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 25 Nov 2014 02:25:27 +0100 Received: from andreas.leha by cpc33-cmbg15-2-0-cust4.5-4.cable.virginm.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 25 Nov 2014 02:25:27 +0100 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: emacs-orgmode@gnu.org Hi Eric, Eric S Fraga writes: > On Monday, 24 Nov 2014 at 15:16, Andreas Leha wrote: > > [...] > >> So, here is my question: How do I use \texorpdfstring correctly in an >> org heading? >> >> #+latex_header: \usepackage{hyperref} >> >> * This contains \texorpdfstring{$\prod_{k=1}^N$}{product 1toN} math >> For some reason. > > Use the @@latex:xxx@@ directive, as in > > * This contains @@latex:\texorpdfstring{$\prod_{k=1}^N$}{product 1toN}@@ math Thank you very much! That should have been obvious to me as well... (It seems that you sent your reply even earlier than Nicolas -- unfortunately I only just saw it now appearing on the list) Thanks, Andreas