From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Smith Subject: Bug: export to LaTeX doesn't handle filenames properly [7.8.11] Date: Tue, 11 Dec 2012 12:48:54 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=0015174a0e62358b8704d09244bd Return-path: Received: from eggs.gnu.org ([208.118.235.92]:46910) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TiOsi-0007Hf-5G for emacs-orgmode@gnu.org; Tue, 11 Dec 2012 07:24:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TiOsY-0005WH-MV for emacs-orgmode@gnu.org; Tue, 11 Dec 2012 07:24:16 -0500 Received: from mail-bk0-f41.google.com ([209.85.214.41]:45790) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TiOKX-0004xw-Li for emacs-orgmode@gnu.org; Tue, 11 Dec 2012 06:48:57 -0500 Received: by mail-bk0-f41.google.com with SMTP id jg9so1724833bkc.0 for ; Tue, 11 Dec 2012 03:48: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 --0015174a0e62358b8704d09244bd Content-Type: text/plain; charset=ISO-8859-1 Hi, I have in my .org file links to files that contain spaces and []. org-insert-link converts space to %20, [ to %5B, ] to %5D. When doint html-export, the links work, but LaTeX export just leaves the links as they are (so now there are LaTeX comments in the middle of filename) After doing 'replace-string four times: %20 -> space %5B -> [ %5D -> ] %~. -> /home/oleh The document compiles. I figure it'd be nice to change 'org-export-as-latex to do this automatically. regards, Oleh --0015174a0e62358b8704d09244bd Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,

I have in my .org file links to files that contain spaces and []= .
org-insert-link converts space to %20, [ to %5B, ] to %5D.

When= doint html-export, the links work, but LaTeX export just leaves the links = as they are
(so now there are LaTeX comments in the middle of filename)
After doing = 'replace-string four times:
%20 -> space
%5B -> [
%5D -= > ]
%~. -> /home/oleh
The document compiles. I figure it'd = be nice to change 'org-export-as-latex to do this automatically.

regards,
Oleh
--0015174a0e62358b8704d09244bd--