From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cAy2HannzWAU2AAAgWs5BA (envelope-from ) for ; Sat, 19 Jun 2021 14:48:41 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 6NYsGannzWARMwAAB5/wlQ (envelope-from ) for ; Sat, 19 Jun 2021 12:48:41 +0000 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 AC9301EB36 for ; Sat, 19 Jun 2021 14:48:40 +0200 (CEST) Received: from localhost ([::1]:48126 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1luaOs-0008VJ-9u for larch@yhetil.org; Sat, 19 Jun 2021 08:48:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35606) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1luaOU-0008V9-MJ for emacs-orgmode@gnu.org; Sat, 19 Jun 2021 08:48:14 -0400 Received: from mout01.posteo.de ([185.67.36.65]:40019) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1luaOR-0006zG-VJ for emacs-orgmode@gnu.org; Sat, 19 Jun 2021 08:48:14 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 9E3BA240026 for ; Sat, 19 Jun 2021 14:48:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1624106888; bh=r6E8x5AEQdEnHHWvhezThylrNUISNmo4wownFWhvsSk=; h=From:To:Cc:Subject:Date:From; b=DrexrkhMjJ/fJQvUnXu2DcaFOQYZXV02lfC/0Iw1UKxxYrmsCrqdNCiYkAhB5jwNI /exB/ta2UbK3AVMWnaekD/fNFpduNbllRmQWsD10YfQhxoPlRU7v+F4Khi8x8uGe5P +aTTj3j26Qt3rJaQwCDDf7myl6Y5We3vDh9SFhoFvKd+Hzyb8q+61ppTaMuQCr9lSz aC9/Kb8dyaqtLwaAYcNBDyncxRLfUAF9wXodsEj8JGuS8m2Czc6LK/Vr6RNic83xor ffCr76xvpJxwxkHUioE317xQKMvyhzFFrwlhPBMfxjvK/5m7dnI4a3tRQdBU9gxOcE zTngRvE0s2cdg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4G6bDl70vbz6tmL; Sat, 19 Jun 2021 14:48:07 +0200 (CEST) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: "Christopher W. Ryan" Subject: Re: publishing: no default publishing function, or symbol is not defined References: <44f768b5-bade-e07a-29a7-15999eefd148@binghamton.edu> Date: Sat, 19 Jun 2021 12:48:07 +0000 In-Reply-To: <44f768b5-bade-e07a-29a7-15999eefd148@binghamton.edu> (Christopher W. Ryan's message of "Fri, 18 Jun 2021 18:15:40 -0400") Message-ID: <87v96a81h4.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.65; envelope-from=maciaschain@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_SBL_A=0.1 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: orgmode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1624106921; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=OnUgBsMUdbvX9+QIHuxvHaO8UD9WuAtJQvc9jAmjP2g=; b=uOyHf4JobTp5Tl134aUjWlCXOvltquELP0RFSVR+5pIkweZpm+ZSbg1gesGJGLEpSgxnQb 3NshOXW+FjLPn/3xlTDg4ACmN0eNhJkEi9UDqCHfPSHQLWqOGjYYFV57EDHdLRTYc1eYZp GwM+pn26Hchh6zwrrV0kpoLRKgtuHlSHaAFvn99BruT9psBJx8pJlFCFqaEvszri27C7Ux 2/elGTigpuZ49epD8fiWBNGh2UlHzkLPIRBwEvbUF1JfaiyV6Itbk6KpGt/XohQe1o4ySy ayV2QDCXu2nlCtuLL3vRZL7FNxkBZEHHBfa5U+4QLKaDDM2pHMC/6GIrSKeQIQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1624106921; a=rsa-sha256; cv=none; b=MPmuoIvbH1jDevox4nr1WKWNhuU3P2PI+r7d7IgMTcseDKSjXyFMr9aYpYPMnkfVihSScX WAIGXjQ27YPNMn/+wOb3PJ6hzMCe2PvIR3ihHZixtFIDwc9iDi7Zqd35r877duZ0nBBfPd /wC7JdhafCj3ZbBSIBiqBkdBiyaqsUfz3J9wRVENRcDkdLSnRbU4lfqZaC6X32jRv5V7gM 5eUcymEYuDJzsjQbepaMjSRGxPr6QKFYNsJtbwe/S+UY0/pbQ2k4IE2BwxAMBQYHY096b3 bsID9trxc49vJmdebniAY4Wr0YhP3v8QeTK57Vfz14AVb8bDMKQoGcR75H/IQw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=DrexrkhM; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -2.82 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=DrexrkhM; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: AC9301EB36 X-Spam-Score: -2.82 X-Migadu-Scanner: scn1.migadu.com X-TUID: eT86Ez9Xm7gS Hi Christopher, Christopher W. Ryan" via "General discussions about Org-mode. writes: > I'm making my first foray into publishing a project. I'm running GNU > Emacs 26.2 (build 1, x86_64-w64-mingw32) of 2019-04-13, on Windows 10. > > I've defined a single project, just to try it out and learn. As Christian Moe said, the function you need is `org-html-publish-to-html'. In case it helps, I keep this blog about typography and TeX (in spanish), made with org-publish: https://lunotipia.juanmanuelmacias.com/index.html The blog's public repository is at: https://gitlab.com/maciaschain/lunotipia And this is the org-publish configuration for the blog: ;; lunotipia ("lunotipia-notes" ;; Org files :base-directory "~/Git/lunotipia/org/" :base-extension "org" ;; HTML files :publishing-directory "~/Git/lunotipia/public/" :publishing-function org-html-publish-to-html :recursive t :auto-sitemap t :sitemap-title "Textos publicados" :sitemap-function my-sitemap-function-lunotipia :sitemap-filename "entradas.org" :sitemap-style list :sitemap-sort-files anti-chronologically :exclude "org-rss\\|theindex\\|acerca-de\.org" :makeindex t :html-postamble mi-postamble) ;; static files ("lunotipia-static" :base-directory "~/Git/lunotipia/org/images/" :base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf" :publishing-directory "~/Git/lunotipia/public/images/" :recursive t :publishing-function org-publish-attachment) And my custom sitemap function: (defun my-sitemap-function-lunotipia (title list) "Return sitemap using TITLE and LIST returned by `org-blog-sitemap-format= -entry'." (concat "#+TITLE: " title "\n\n" "#+SETUPFILE:" "~/Git/lunotipia/html-lunotipia.setup" "\n#+SETUPFILE:" "~/Git/gnutas/macros-gnutas.setup" "\n#+AUTHOR:" "Juan Manuel Mac=C3=ADas" "\n#+LANGUAGE:" "es" "\n#+begin_archive\n" (mapconcat (lambda (li) (format "@@html:
  • @@ %s @@html:
  • @@" (car li))) (seq-filter #'car (cdr list)) "\n") "\n#+end_archive\n" "\n#+begin_export html" "\n
    " "\n
    " "\n

    " "\nAcerca de..." "\n

    " "\n

    " "\nRSS" "\n

    " "\n#+end_export\n")) Best regards, Juan Manuel=20