emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Smith <ohwoeowho@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Bug: export to LaTeX doesn't handle filenames properly [7.8.11]
Date: Tue, 11 Dec 2012 12:48:54 +0100	[thread overview]
Message-ID: <CAA01p3oyLO7Qp4Kjuuigqwvjs1ZyoXjdzsjaRbLxvYo9+6Daog@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 488 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 569 bytes --]

             reply	other threads:[~2012-12-11 12:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-11 11:48 John Smith [this message]
2012-12-12 12:53 ` Bug: export to LaTeX doesn't handle filenames properly [7.8.11] Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAA01p3oyLO7Qp4Kjuuigqwvjs1ZyoXjdzsjaRbLxvYo9+6Daog@mail.gmail.com \
    --to=ohwoeowho@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).