Re: About options to export/tangle block for markdown or html, on a remote tramp ssh relative dir ?

2020-02-03 Thread Bastien
Hi S├ębastien,

rey-coyrehourcq  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



About options to export/tangle block for markdown or html, on a remote tramp ssh relative dir ?

2020-01-14 Thread rey-coyrehourcq
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/}




signature.asc
Description: This is a digitally signed message part