From mboxrd@z Thu Jan 1 00:00:00 1970 From: rey-coyrehourcq 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 Message-ID: <4b9146edeee94180141894f37436c95c297ffb19.camel@univ-rouen.fr> Mime-Version: 1.0 Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-URApD3NsNuNKKDbRqz2n" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:50241) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1irTk3-0006Pk-Mt for emacs-orgmode@gnu.org; Tue, 14 Jan 2020 16:28:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1irTk2-0003i4-43 for emacs-orgmode@gnu.org; Tue, 14 Jan 2020 16:28:51 -0500 Received: from smtp-out-6.univ-rouen.fr ([193.52.152.101]:62743 helo=mailhoc.univ-rouen.fr) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1irTk1-0003g5-TL for emacs-orgmode@gnu.org; Tue, 14 Jan 2020 16:28:50 -0500 Received: from ired-15-19c0.home (lfbn-rou-1-778-net.w90-108.abo.wanadoo.fr [90.108.221.0]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mailhoc.univ-rouen.fr (Postfix) with ESMTPSA id E87A52535 for ; Tue, 14 Jan 2020 22:28:45 +0100 (CET) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane-mx.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org --=-URApD3NsNuNKKDbRqz2n Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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.=20 In this context, to describe my scientific workflow, i'm interested to display html or markdown block content in my final exported document=20 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 :=20 :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 :=20 https://emacs.stackexchange.com/questions/54914/rewrite-relative-or-absolut= e-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=20 #+BEGIN_EXPORT markdown ... #+END_EXPORT=20 But is it possible using options to : - export this block as file using :tangle,=20 - 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, --=20 S=C3=A9bastien Rey-Coyrehourcq Research Engineer UMR IDEES 02.35.14.69.30 {Stronger security for your email, follow EFF tutorial :=20 https://ssd.eff.org/} --=-URApD3NsNuNKKDbRqz2n Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEgl6ew4CVLUwtNXaynZBtnBRvx4MFAl4eMowACgkQnZBtnBRv x4NBcw/8DVlwoUIbcHVwaGADm7pbTpP69B+JAaJgPJ4D7C8XpcIDMOmMDm1iDj/s d3FQlCM9wPCAsgr14BbMvxsv9viNEvhiRQm6zdBE6PaF/YNEXd7wnnC7SSuOKPpX bzRCs3avB9lk74VddX4SZKODCITuovW4KU5IRV/lRVLZ2yoZotvexGqAmL8S0xID P5GHq7AL7J/sLBoRED1RGT18jULVfEeDz0c0Fqg2gOC7HTeap8PCRAZkNpOfkxrW h0gWr7nHHZxZcNtzRqd+GqVoFScyicfIapVMBHiG+gNFh4ElLOl62ETdOyGnYKLA Vdei1JhbD0nP7fYS9Skga+L31YnUjnUufbIx5Cx/pVDEEON2LeHHbvqUU2PYrx6B CQyuYCcw+xsQ2KY3F9tqe61bvEIDzdprZHwHe+GYFjAZLX+civnfypbXtPVdrFDZ hQfWFvLeBAZu75Konkgvhee+vjFAtW/GfmnSNrBG+DVAyYdoDljDCwlatCaRR7UC U6QXavCK1alqzbe03BANmGR7MWmRdxJZtfKYIobVgjZWOcTKEPo7fIAC/PtlFojB NLXtf77bAmfBmHreaJgPd52Z5BN0x04Yix6nhTPd6mpvzyiY+dm0BFwbuwQ3PejZ gHK8Sb55Mzh5IohchYUu3a5g0BGsIgzsLuBY9oKIaDhZjStdpe0= =OLOe -----END PGP SIGNATURE----- --=-URApD3NsNuNKKDbRqz2n--