* export from a symlink to the source directory?
@ 2017-10-25 17:20 Sharon Kimble
2017-10-25 22:21 ` Tim Cross
0 siblings, 1 reply; 2+ messages in thread
From: Sharon Kimble @ 2017-10-25 17:20 UTC (permalink / raw)
To: org-mode-email
[-- Attachment #1: Type: text/plain, Size: 668 bytes --]
If I have a file symlinked to another directory, is it possible for it
to be exported to the original source directory as a .tex file please?
Example -
Original file ~/research/rhubarb/rhubarb17.org
Symlinked to ~/.emacs.d/org/rhubarb17.org
But when I export the file from the symlink to a latex file I end up with ~/.emacs.d/org/rhubarb17.tex
Whereas what I'm looking for is ~/research/rhubarb/rhubarb17.tex
So how can I do that please?
Thanks
Sharon.
--
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 9.2, fluxbox 1.3.5-2, emacs 25.3.2, org-mode 9.1.1
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: export from a symlink to the source directory?
2017-10-25 17:20 export from a symlink to the source directory? Sharon Kimble
@ 2017-10-25 22:21 ` Tim Cross
0 siblings, 0 replies; 2+ messages in thread
From: Tim Cross @ 2017-10-25 22:21 UTC (permalink / raw)
To: Sharon Kimble; +Cc: org-mode-email
Just off the top of my head, things I would try would be
There is no easy switch to just make this happen that I'm aware
of. Therefore, I think you really only have two options.
1. You could try setting an :export property at the file header level
which specifies the name (and location) of the export file.
2. Change your setup and instead of having a file sym link, do a sym
link of the parent directory. Any files you then put into that directory
will appear under your .emacs.d as well as being put into the original
source directory.
Tim
Sharon Kimble writes:
> If I have a file symlinked to another directory, is it possible for it
> to be exported to the original source directory as a .tex file please?
>
> Example -
>
> Original file ~/research/rhubarb/rhubarb17.org
>
> Symlinked to ~/.emacs.d/org/rhubarb17.org
>
> But when I export the file from the symlink to a latex file I end up with ~/.emacs.d/org/rhubarb17.tex
>
> Whereas what I'm looking for is ~/research/rhubarb/rhubarb17.tex
>
> So how can I do that please?
>
> Thanks
> Sharon.
--
Tim Cross
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-10-25 22:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-25 17:20 export from a symlink to the source directory? Sharon Kimble
2017-10-25 22:21 ` Tim Cross
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).