From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: [WISH] LaTeX Export: Expand link abbreviations first before exporting LaTeX links Date: Sat, 5 Jul 2008 08:07:44 -0700 Message-ID: <439CC308-A466-4B01-BE71-16F900F95B3E@uva.nl> References: Mime-Version: 1.0 (Apple Message framework v924) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KF9Mf-0006JO-A8 for emacs-orgmode@gnu.org; Sat, 05 Jul 2008 11:07:53 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KF9Md-0006HU-Ey for emacs-orgmode@gnu.org; Sat, 05 Jul 2008 11:07:52 -0400 Received: from [199.232.76.173] (port=39064 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KF9Md-0006HO-Bp for emacs-orgmode@gnu.org; Sat, 05 Jul 2008 11:07:51 -0400 Received: from korteweg.uva.nl ([146.50.98.70]:24164) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KF9Md-0002rY-5m for emacs-orgmode@gnu.org; Sat, 05 Jul 2008 11:07:51 -0400 In-Reply-To: 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: Frank Chang Cc: emacs-orgmode@gnu.org Fixed, thanks. - Carsten On Jul 4, 2008, at 4:25 AM, Frank Chang wrote: > Hi, Carsten > > Thank you for fixing the tag problem in headline. > It's really amazing that the problem can be fixed so quick (just few > hours)! > > Now I have another problem:) > > Since I put all image files in one directory called, for example, ~/ > notes/img. > And I want it to be a link abbreviation, > > #+LINK: image file:~/notes/img/ > > so the image link will be easy to write: > > [[image:demo.jpg]] > > and also easy to maintain. > > But when I export the file, LaTeX exporter doesn't take it as a > valid image link > (\includegraphics[...]{~/notes/img/demo.jpg}). > > In function org-export-latex-links(), it seems that only the links > beginning > with 'file:' can be valid image links, and the link abbreviations > are not > replaced first. > > So is it possible to expand link abbreviations first before > exporting LaTeX > links (maybe apply the function org-link-expand-abbrev() in org.el)? > > > Thanks. > > > Best regards, > Frank > > > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode