emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: rey-coyrehourcq <sebastien.rey-coyrehourcq@univ-rouen.fr>
To: emacs-orgmode@gnu.org
Subject: About options to export/tangle block for markdown or html, on a remote tramp ssh relative dir ?
Date: Tue, 14 Jan 2020 22:28:44 +0100	[thread overview]
Message-ID: <4b9146edeee94180141894f37436c95c297ffb19.camel@univ-rouen.fr> (raw)

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

             reply	other threads:[~2020-01-14 21:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-14 21:28 rey-coyrehourcq [this message]
2020-02-03 18:57 ` About options to export/tangle block for markdown or html, on a remote tramp ssh relative dir ? 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=4b9146edeee94180141894f37436c95c297ffb19.camel@univ-rouen.fr \
    --to=sebastien.rey-coyrehourcq@univ-rouen.fr \
    --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).