From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ken Okada Subject: Control links in LaTeX export Date: Mon, 27 Jan 2014 23:31:52 +0900 Message-ID: <86zjmhmr6v.wl%keno.ss57@gmail.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39100) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7nEM-0004Hw-Dw for emacs-orgmode@gnu.org; Mon, 27 Jan 2014 09:32:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W7nEE-0001Hi-DQ for emacs-orgmode@gnu.org; Mon, 27 Jan 2014 09:32:06 -0500 Received: from mail-pb0-x229.google.com ([2607:f8b0:400e:c01::229]:58436) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7nEE-0001Ej-5g for emacs-orgmode@gnu.org; Mon, 27 Jan 2014 09:31:58 -0500 Received: by mail-pb0-f41.google.com with SMTP id up15so5962652pbc.28 for ; Mon, 27 Jan 2014 06:31:56 -0800 (PST) Received: from senecio.gmail.com (p76ed6c37.kyotnt01.ap.so-net.ne.jp. [118.237.108.55]) by mx.google.com with ESMTPSA id sy2sm32499062pbc.28.2014.01.27.06.31.54 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 27 Jan 2014 06:31:55 -0800 (PST) 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 Hello, I have one question and one suggestion. In LaTeX exporting I want to use a different format for \hyperref, which is generated with `org-export-latex-links'. However I prefer the change of the format file local, i.e., I don't want set the global variable `org-export-latex-hyperref-format'. I tried to make this variable file local, but it have no effects. (I guess the reason is other buffer is used.) So my question is: Is there any options or methods to do this? Second, I want to use more flexible format for this. For example, I want to make some change in the string used for reference (second argument of \hyperref). A small dirty trick had solved this problem: https://gist.github.com/kenoss/8648351 However I think allowing users to modify the format more flexiblly is reasonable, because I found another people like me: http://comments.gmane.org/gmane.emacs.orgmode/54641 So, I suggest putting a layer for formatting in `org-export-latex-links'. Oh, I've got another thing now. I'm using "Org-mode version 7.8.11". I found that in the latest version there isn't variable `org-export-latex-hyperref-format' and \hyperref and \ref are hard coded, sadly. Sorry for not using the latest version, but this is (not mainly) because make fails in my environment. Sincerely. Ken Okada