[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Problem exporting to PDF (and viewing)
From: |
Nick Dokos |
Subject: |
Re: [O] Problem exporting to PDF (and viewing) |
Date: |
Sun, 13 May 2012 00:53:15 -0400 |
Richard Stanton <address@hidden> wrote:
> I think the problem is in the org-mode code that interprets "%s." (and
> how this interacts with my bash shell). This is supposed to pass the
> executable the fully qualified file name, but somehow it ends up
> passing the directory twice, which (understandably) confuses the
> executable.
>
> While this seems to have something to do with the bash shell I'm
> using, this works fine for everything else, so I'm pretty sure there's
> no fundamental problem in my setup, and it would be nice to find a way
> around this problem.
>
> Two thoughts:
>
> 1) Is there another string I could use, instead of %s, that results in
> the file name being passed without the path at all? This would
> probably cure the problem.
>
Don't know, but I don't think so.
> 2) If not, where is the code that interprets %s? I can try stepping
> through it and see what I can find.
>
It happens in org.el:org-open-file, specifically this piece of the
code (I think):
,----
| (while (string-match "%s" cmd)
| (setq cmd (replace-match
| (save-match-data
| (shell-quote-argument
| (convert-standard-filename file)))
| t t cmd)))
`----
Nick
- [O] Problem exporting to PDF (and viewing), Richard Stanton, 2012/05/11
- Re: [O] Problem exporting to PDF (and viewing), Richard Stanton, 2012/05/12
- Re: [O] Problem exporting to PDF (and viewing), Jonathan Leech-Pepin, 2012/05/12
- Re: [O] Problem exporting to PDF (and viewing), Nick Dokos, 2012/05/12
- Re: [O] Problem exporting to PDF (and viewing), Richard Stanton, 2012/05/13
- Re: [O] Problem exporting to PDF (and viewing),
Nick Dokos <=
- Re: [O] Problem exporting to PDF (and viewing), Richard Stanton, 2012/05/18
- Re: [O] Problem exporting to PDF (and viewing), Nick Dokos, 2012/05/18
- Re: [O] Problem exporting to PDF (and viewing), Richard Stanton, 2012/05/18
- Re: [O] Problem exporting to PDF (and viewing), Nick Dokos, 2012/05/18
- Re: [O] Problem exporting to PDF (and viewing), Richard Stanton, 2012/05/18
- Re: [O] Problem exporting to PDF (and viewing), Achim Gratz, 2012/05/19
- Re: [O] Problem exporting to PDF (and viewing), Achim Gratz, 2012/05/13
- Re: [O] Problem exporting to PDF (and viewing), Richard Stanton, 2012/05/14