From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: :EXPORT_FILE_NAME: in new exporter possible? Date: Fri, 22 Mar 2013 09:51:53 -0500 Message-ID: References: <514C0B38.4080404@online.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:44215) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UJ3K0-0004U2-QL for emacs-orgmode@gnu.org; Fri, 22 Mar 2013 10:51:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UJ3Jz-0000mf-4B for emacs-orgmode@gnu.org; Fri, 22 Mar 2013 10:51:56 -0400 Received: from mail-la0-x22d.google.com ([2a00:1450:4010:c03::22d]:54515) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UJ3Jy-0000mN-Sw for emacs-orgmode@gnu.org; Fri, 22 Mar 2013 10:51:55 -0400 Received: by mail-la0-f45.google.com with SMTP id er20so7370388lab.4 for ; Fri, 22 Mar 2013 07:51:53 -0700 (PDT) In-Reply-To: <514C0B38.4080404@online.de> 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.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Rainer Stengele Cc: emacs-orgmode On Fri, Mar 22, 2013 at 2:41 AM, Rainer Stengele wrote: > Am 22.03.2013 01:20, schrieb John Hendy: >> Can you try using just "file" and "file.html" (but without quotes) and >> see I'd it pops out in your working directory ? >> >> Your current path looks like a Windows server share which might be an >> issue. Even if not, simplifying the path might be one place to start . >> >> I just successfully exported using the file path setting in a subtree >> export this afternoon. (on 8.0-pre) >> >> John >> >> On Mar 21, 2013 8:06 AM, "Rainer Stengele" > > wrote: >> >> Hi, >> >> Exporting to HTML I cannot get EXPORT_FILE_NAME to work: >> >> :PROPERTIES: >> :VISIBILITY: folded >> #+SETUPFILE: ~/org/GLOBAL_SETUP_DIPLAN.org >> #+CATEGORY: ROB >> :EXPORT_FILE_NAME: >> //max2008/diplan/0PROJEKT/Kunden/ROB/Status-ROB-Electronic-20130321b.html >> :END: >> >> :EXPORT_FILE_NAME: entry is in one line. >> >> Is this still possible with the new exporter? >> How to deal with spaces in filepaths? >> >> Thanks, >> Rainer >> >> Org-mode version 8.0-pre (release_8.0-pre-147-gfbb30a) >> >> > C-c C-e C-s h o > does save the file under the correct path. > Unfortunately the "open" part for the html file fails: > > > Wrote //max2008/diplan/0PROJEKT/Kunden/ROB/01 > Kommunikation/Statusprotokolle/Status-ROB-Electronic-20130321b.html > eval: ShellExecute failed: Das System kann die angegebene Datei nicht finden > > which translated means: The system cannot find the file > Again, I'd try just removing all the path and seeing if Emacs can find it then. Mine opens in a buffer with C-c C-e h o, by the way. I probably need to tell Emacs to use a browser somehow. > Another funny issue here is that for the test my exported subtree has > the tag :noexport: > > My setting is: > > org-export-exclude-tags is a variable defined in `ox.el'. > Its value is ("noexport") > > So the export shouldn't export that subtree shouldn't it? Not sure about the noexport tag. Perhaps manually telling it to export a subtree overrides? If you export a higher level subtree or the document, will it omit? > > Thanks, Rainer