emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: export to LaTeX doesn't handle filenames properly [7.8.11]
@ 2012-12-11 11:48 John Smith
  2012-12-12 12:53 ` Bastien
  0 siblings, 1 reply; 2+ messages in thread
From: John Smith @ 2012-12-11 11:48 UTC (permalink / raw)
  To: emacs-orgmode

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Bug: export to LaTeX doesn't handle filenames properly [7.8.11]
  2012-12-11 11:48 Bug: export to LaTeX doesn't handle filenames properly [7.8.11] John Smith
@ 2012-12-12 12:53 ` Bastien
  0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2012-12-12 12:53 UTC (permalink / raw)
  To: John Smith; +Cc: emacs-orgmode

Hi John,

John Smith <ohwoeowho@gmail.com> writes:

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

Fixed for the current exporter, I didn't check with the new LaTeX
exporter.

Thanks for reporting this,

-- 
 Bastien

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-12-12 12:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-11 11:48 Bug: export to LaTeX doesn't handle filenames properly [7.8.11] John Smith
2012-12-12 12:53 ` Bastien

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).