From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id lAbKI+86zmBjaAEAgWs5BA (envelope-from ) for ; Sat, 19 Jun 2021 20:43:59 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id oA3tHu86zmBrEwAA1q6Kng (envelope-from ) for ; Sat, 19 Jun 2021 18:43:59 +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 D62F222D05 for ; Sat, 19 Jun 2021 20:43:58 +0200 (CEST) Received: from localhost ([::1]:58908 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lufwi-0008SA-JF for larch@yhetil.org; Sat, 19 Jun 2021 14:43:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37198) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lufhS-0004vu-Ew for emacs-orgmode@gnu.org; Sat, 19 Jun 2021 14:28:10 -0400 Received: from p-impout008aa.msg.pkvw.co.charter.net ([47.43.26.139]:47837 helo=p-impout008.msg.pkvw.co.charter.net) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lufhQ-0001TJ-9u for emacs-orgmode@gnu.org; Sat, 19 Jun 2021 14:28:10 -0400 Received: from [192.168.24.197] ([72.45.238.146]) by cmsmtp with ESMTP id ufhNlR7XenDwfufhNlGlko; Sat, 19 Jun 2021 18:28:06 +0000 X-Authority-Analysis: v=2.4 cv=I5Kg+Psg c=1 sm=1 tr=0 ts=60ce3736 a=7QgMgp/broLlOr6k+duwOQ==:117 a=7QgMgp/broLlOr6k+duwOQ==:17 a=CBM8YPAgAc6hAcHk:21 a=IkcTkHD0fZMA:10 a=x7bEGLp0ZPQA:10 a=IZXko-VkAAAA:8 a=_7qBJ7haAAAA:20 a=WnubTVqVAAAA:8 a=9KwDzvdgAAAA:8 a=jypeRpVRo_woZO_1iu0A:9 a=QEXdDO2ut3YA:10 a=oZ4uzWfAcWzxZ6042uWi:22 a=pQlLgLE0qY37jXIg0yPI:22 a=B2whi3dRYPdBTrPFRyn6:22 a=2EONfesh1i7OTIVmns5U:22 Subject: Re: [External Email] Re: publishing: no default publishing function, or symbol is not defined To: orgmode References: <44f768b5-bade-e07a-29a7-15999eefd148@binghamton.edu> <87v96a81h4.fsf@posteo.net> Openpgp: preference=signencrypt Autocrypt: addr=cryan@binghamton.edu; prefer-encrypt=mutual; keydata= mQGiBD/k4bcRBACmQOZzbo+dfwxAbDra7lKFxYx3q8vz+qoucx5g3s3AahcOvneemvFjmne+ CMoPvUqOt0fA5GNiR6aIN45mtGveXyi0DXgxlAiLKMsdAg8cVKgMeFBY3dhF8okkuAKyN8nJ z6WzF2TY/8axi4PpqtAAXrjDecm1x4kZ1SVh/bFBywCg6gIVov4hywSDQu3LACL80aNONOED /A0S6jnOmcR4mYx4ZK8jn3YEDM0HqB5A1k2HnjNFxcFqW4KlSMWtDZbjrakAr98DvKLIheRe qdUakbMwkcF3NCsernQKb+xgPkR8WyglaFA1HxIJz5Sa9MZtA8ONYqt3x9Fx2kGpI6csdMPm IdwcF65ZwcRjyO1Cz6GzNlNoC25TA/4w+/eSUf0Rfm4YNc2gQcTx9XZWSHg2BmYTBwEOeHQS KobcVpqh+nh2eIO3FxvHn+F8J5mydOcp8cFQNrgy7lt+hVlS2HkztyYszcMD4ROyjwDExsbL sHxQjx8Oc0pAWIDWkteTeWWoKbF5D6tafDgIkNcWJHeg4IJIM1uohN04aLRBQ2hyaXN0b3Bo ZXIgVy4gUnlhbiAoR251UEcga2V5IDEyLTIwLTIwMDMpIDxjcnlhbkBiaW5naGFtdG9uLmVk dT6IXwQTEQIAHwUCP+ThtwIbAwcLCQgHAwIBAxUCAwMWAgECHgECF4AACgkQL3KcV1Z6JNgp 5QCgxo31b6PQ67NM5JkhzO0FGC27absAniTkQoCXYrZeDHu/Mm2bn7ZFQPzhuQENBD/k4coQ BADvkNegrYDhRkBerU28i2mMCl9jds21V89rykUfJdQqku8nfsAF1gPxlzJuT3H5MDDiL0RO LxwKZFN0yHxjNiiprujsyMeO/f2rcJ//Ixzc5eLlJ7RVgm+du6hGP+k8YMMycSaloz9WzNR1 pb62h0GP/8cTE6WGBs+XWtoKQb8NMwADBgP9GzWPc/AdTXBwZIWsni5lTI6Rg5XQoa+pP6R7 7gyGEjhk/DkV2dhzMAXBxPDvE8mW96Gen0+BQWzDv9OtBV9a1CFfFYZNideJgDej27MX6RXp n2FkbNA7l7wzKILRxQXqGPewHABNZroJe4So8WObQO+okO/4N1wTOil8bvN6C0KISQQYEQIA CQUCP+ThygIbDAAKCRAvcpxXVnok2Je2AKCiFMcnx+VvDKoHhyGhqqGFjhZN6QCeLe7EXSnI wGxaox2Ye2l1sYKHlMw= Message-ID: <40fcbf4c-db5b-bec2-25ca-760e8b8960d0@binghamton.edu> Date: Sat, 19 Jun 2021 14:28:05 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.4 MIME-Version: 1.0 In-Reply-To: <87v96a81h4.fsf@posteo.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfETIJ/jfGzRRDF6DYe0S/l0uiGA/CXGyF90+oTERZ2RAa2/Z24iT/ZKdjCGphUs2bj1blO7VCglcyPKWpcIxApxKMRCWYQ6XHLoFhEek9p3LrgvczJ2s WW1u6B9QVPTAhW+7zpkmMip3Pv92wLsCyjAsBoy5OiWefp5U8xAmYXP+ay9HRfzhbWkuNKyPsyorhiX2OIdO4adjlDeg+VS9Lgo= Received-SPF: softfail client-ip=47.43.26.139; envelope-from=cryan@binghamton.edu; helo=p-impout008.msg.pkvw.co.charter.net X-Spam_score_int: -8 X-Spam_score: -0.9 X-Spam_bar: / X-Spam_report: (-0.9 / 5.0 requ) BAYES_00=-1.9, KHOP_HELO_FCRDNS=0.399, NICE_REPLY_A=-0.202, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665, URIBL_SBL_A=0.1 autolearn=no 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" Reply-to: "Christopher W. Ryan" From: "Christopher W. Ryan" via "General discussions about Org-mode." X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1624128239; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to: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:openpgp:openpgp:autocrypt:autocrypt; bh=FH9xMvOFDFmMhGrilv4Tb1wNPma8GeDqF4DDCGI5wL0=; b=fyUkkM119wcfJ5PyMYMSToBpoCG/AOeKsbT8mYIFOhu1D7plUbO/60dbDS/qW9JB4mhI+J P+v8M0XHj+Tcfs4f7xnR+02VSeHYJ9AOdr1XC0ZQcaCjZoh4JSuXFmRGu6aajE2P6M2Y+2 /a01j/j19xCvAnUzgNVgffpyh09xqn4pN/V+Q+VxBOBa72iAki9CbARoOqfEN/njpFZciq cDMRuJo01cQ2jJ/0hZSLQ11zFpLrZpAlNUXFCXb2SoDp2+yXERB4YhkOfS9XPKNLlU0ops 7MpM4307iydZdlgAIosXmSncjE7+YyY9drCG1dVVmy/ph6X7r3oaZ8hT8+uiiw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1624128239; a=rsa-sha256; cv=none; b=sgxO2B+Jq1UmA3fhk2+iUUhbLZjMxu8u1Y6AsS8gX/JhNqLqY0n8uyqbwoFufyfkjyS2n6 mkuRBY+a3W+kDUV3PtPByNtxRqn58QFDgs82TwxB6Z36n4VoKcZZMXjg7JalCFGebOlYmm vufzVzKUAaMZ+Vb/BM4A9+0lt1FVr+VGsjEkxE9z6wGoL+70bGo9kGlNyeTms4uot8i49d MZZniIpI6vVPe0b9NFcexwE9lyxRvPfwwYFU/UBgA7P/df04qw9vKQMplikLg0oSHkkRXE EcGiMLNQfEuilONoMg1VzgtOXlDtthd52Yji8jPbJ54gokZo08miRqWr8IUFkA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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.62 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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: D62F222D05 X-Spam-Score: -2.62 X-Migadu-Scanner: scn1.migadu.com X-TUID: CNIOCHhNGeLU Oops, spoke to soon about the structure of the index. Here is a section of theindex.html I Incarceration Incarceration Interview Interview Interview Interview Interview Isolation Isolation Isolation I would expect each named entry in an index to appear once, with, if necessary, multiple links next to it for all the places that index tag occurs in the main document. At least, that's how the indices in books work. Can the same be done in org mode? Thanks. --Chris Juan Manuel Macías wrote: > 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ías" > "\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 >