From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id IKreEEIwlmLP5QAAbAwnHQ (envelope-from ) for ; Tue, 31 May 2022 17:12:02 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id YPWtEEIwlmL2qwAAauVa8A (envelope-from ) for ; Tue, 31 May 2022 17:12:02 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D88311365D for ; Tue, 31 May 2022 17:12:01 +0200 (CEST) Received: from localhost ([::1]:52134 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nw3XN-00020G-2y for larch@yhetil.org; Tue, 31 May 2022 11:12:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58574) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nw3WZ-0001zY-64 for emacs-orgmode@gnu.org; Tue, 31 May 2022 11:11:11 -0400 Received: from ciao.gmane.io ([116.202.254.214]:40638) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nw3WX-0002Ff-0a for emacs-orgmode@gnu.org; Tue, 31 May 2022 11:11:10 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1nw3WP-0006hd-Qs for emacs-orgmode@gnu.org; Tue, 31 May 2022 17:11:01 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Nick Dokos Subject: Re: how to export an org file, to 2 different locations (in to different formats) Date: Tue, 31 May 2022 11:10:48 -0400 Message-ID: <87pmjtlouf.fsf@alphaville.usersys.redhat.com> References: <87r14flzaa.fsf@mat.ucm.es> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cancel-Lock: sha1:XKS8ZJDimJy5GhY8D0dTuxcsTN0= Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 5 X-Spam_score: 0.5 X-Spam_bar: / X-Spam_report: (0.5 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1654009921; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=hpfvWweYVeGgDdqoC1f+nUBAUs+zdsxEn1M4kW7Pa/E=; b=aVc9At2H9FhOj7z1PMV0Qjwhy2aD2Cmiu0MycqBRLPtaGxXGK1sGO+5SjuLE3/Or9MNiGX +Qv3tMHR6g54WxkheHGdkKq3kAvCtAreLIahkkt9tUsMK5ttNXmscVVb86vemwGpK5HeCZ n/GiphyL6dtx8BAbUZqxH1wqVWubk0W5WFGXlcJ/awzybkt0G31g1dzayvO6W8tlSKHXvQ mEzIIPAUy+/vnqBwXcZI740KMk5qLCOHB9QKFgEsYyPPU5vSawyxA1Q+9P1j/dVDjgFN4D xoCFbkkaTpGDlnXPhtOwu1hGjcnizc9Ber2e/X6XHpqNBusAB4zEJtDjGvEmPA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1654009921; a=rsa-sha256; cv=none; b=TY6P1jCdthLqO5Rg5v9Ve93F3gGwKJA/9gBGw8L2CCVTyAx7/gJvPYEPw73lUP3MYO88Fz sPHv2jgFQHDQED1y5xp4d9W4HTbDu2kpPFXlDHKiKBoVD7IzvTg7iASZuhWPly3CLthXT+ uCzR3cJ6PkMJ5EJWWNpChqRKykdMfhnVgAZJetWmQ4Lt9pHqu5paXk8llhVeBN8jyDhhHq dIRXRY1RtiezhCayiX6je9tbLLg4uUP4rzI5DdPs6D8YyhrG6Uw0mp24eGLe1I9hmEIQdD T3jCFxbxbW9hC9JmtE6H7bs0WSrxgtTsxX5885x5okX+14ZXeXFfXgcrECATnA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 1.86 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: D88311365D X-Spam-Score: 1.86 X-Migadu-Scanner: scn0.migadu.com X-TUID: gj75b8Nd16Pl Uwe Brauer writes: > Hi > > Currently I use > #+EXPORT_FILE_NAME: /home/oub/Desktop/some-stuff.html > > To export my org file in html format to that location. > > But I would also like to export it as a latex file to a different > location, without modifying the above line, or to be more precise to add > a different location, like > > 1. if export to latex use that folder > > 2. If export to html use this folder > > Anybody know about such a functionality? > org-publish? You should be able to write a simple publishing config file to do that. > Thanks and regards > > Uwe Brauer -- Nick "There are only two hard problems in computer science: cache invalidation, naming things, and off-by-one errors." -Martin Fowler