* About options to export/tangle block for markdown or html, on a remote tramp ssh relative dir ?
@ 2020-01-14 21:28 rey-coyrehourcq
2020-02-03 18:57 ` Bastien
0 siblings, 1 reply; 2+ messages in thread
From: rey-coyrehourcq @ 2020-01-14 21:28 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 1535 bytes --]
Hi,
I'm using tramp and remote ssh VM with org-mode v9 & org-babel to
produce reproducible scientific document on web using ox-hugo.
In this context, to describe my scientific workflow, i'm interested to
display html or markdown block content in my final exported document
AND export this content as a file (bla.html or bla.org used as input
file for other scripts into org document) in my remote session.
I have a global header arg which define my session on vm :
:properties:
:header-args:sh: :dir /ssh:rzine@multipass:/home/rzine/
:end:
To move into different folders using relative or absolute path starting
from this remote :dir i found some weird solution, and ask for other
answer by org experts here :
https://emacs.stackexchange.com/questions/54914/rewrite-relative-or-absolute-path-from-inherited-tramp-ssh-property-with-org-bab
But i face another problem, in the final document, i'm interest to
display and export html/markdown text, so i use BEGIN_EXPORT block.
#+BEGIN_EXPORT html
...
#+END_EXPORT
#+BEGIN_EXPORT markdown
...
#+END_EXPORT
But is it possible using options to :
- export this block as file using :tangle,
- on a remote :dir using option for #+BEGIN_EXPORT ?
I search a little on the org doc and on the mailling list, but i see
nothing like this.
Thanks for your help,
Best,
--
Sébastien Rey-Coyrehourcq
Research Engineer UMR IDEES
02.35.14.69.30
{Stronger security for your email, follow EFF tutorial :
https://ssd.eff.org/}
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: About options to export/tangle block for markdown or html, on a remote tramp ssh relative dir ?
2020-01-14 21:28 About options to export/tangle block for markdown or html, on a remote tramp ssh relative dir ? rey-coyrehourcq
@ 2020-02-03 18:57 ` Bastien
0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2020-02-03 18:57 UTC (permalink / raw)
To: rey-coyrehourcq; +Cc: emacs-orgmode
Hi Sébastien,
rey-coyrehourcq <sebastien.rey-coyrehourcq@univ-rouen.fr> writes:
> #+BEGIN_EXPORT markdown
> ...
> #+END_EXPORT
>
> But is it possible using options to :
> - export this block as file using :tangle,
> - on a remote :dir using option for #+BEGIN_EXPORT ?
What did you try exactly, and where does it fail? Can you provide an
example we can try to isolate the source of the problem?
Best,
PS: You can also join the french mailing list advertized here to seek
for help on a french list: https://www.emacs-doctor.com/
--
Bastien
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-02-03 18:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-14 21:28 About options to export/tangle block for markdown or html, on a remote tramp ssh relative dir ? rey-coyrehourcq
2020-02-03 18:57 ` 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).