From mboxrd@z Thu Jan 1 00:00:00 1970 From: Luke Crook Subject: Re: #+LATEX_HEADER:\newcommand{\orgtitle}{{{{TITLE}}}} Date: Wed, 19 Mar 2014 17:03:20 +0000 (UTC) Message-ID: References: <87y507fs5b.fsf@bzg.ath.cx> <87ppli4mdt.fsf@ucl.ac.uk> <878us6lbv2.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38609) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WQJuE-0003qt-DV for emacs-orgmode@gnu.org; Wed, 19 Mar 2014 13:04:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WQJu8-0005Wg-9b for emacs-orgmode@gnu.org; Wed, 19 Mar 2014 13:03:54 -0400 Received: from plane.gmane.org ([80.91.229.3]:47878) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WQJu8-0005WX-2H for emacs-orgmode@gnu.org; Wed, 19 Mar 2014 13:03:48 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WQJu5-0000lg-Pp for emacs-orgmode@gnu.org; Wed, 19 Mar 2014 18:03:46 +0100 Received: from 147.21.8.1 ([147.21.8.1]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 19 Mar 2014 18:03:45 +0100 Received: from luke by 147.21.8.1 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 19 Mar 2014 18:03:45 +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 Rasmus gmx.us> writes: > > I've used this snip to recover such fields > > \makeatletter > \let\Title\ title > \let\Author\ author > \let\Date\ date > \makeatother > > Obviously, this is only good for LaTeX. > How would I implement this? Is including in the .tex file sufficient? Having these in the Org-mode file itself? When I try in the .tex file, it appears almost verbatim as; Title title Author author I cannot get the substitution to work.