From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id KBcTEqTIKGL1VQEAgWs5BA (envelope-from ) for ; Wed, 09 Mar 2022 16:32:52 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id AAN/CqTIKGLtZwEAG6o9tA (envelope-from ) for ; Wed, 09 Mar 2022 16:32:52 +0100 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 C501343F6B for ; Wed, 9 Mar 2022 16:32:51 +0100 (CET) Received: from localhost ([::1]:48894 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nRyJ0-0002tG-34 for larch@yhetil.org; Wed, 09 Mar 2022 10:32:50 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50488) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nRyIR-0002t7-Hn for emacs-orgmode@gnu.org; Wed, 09 Mar 2022 10:32:17 -0500 Received: from ciao.gmane.io ([116.202.254.214]:56786) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nRyIP-0000qd-Re for emacs-orgmode@gnu.org; Wed, 09 Mar 2022 10:32:15 -0500 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1nRyIN-0002Re-NW for emacs-orgmode@gnu.org; Wed, 09 Mar 2022 16:32:11 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Max Nikulin Subject: Re: ox-publish: Some starting problems Date: Wed, 9 Mar 2022 22:32:02 +0700 Message-ID: References: <4f18b7eac091dd14cfaf5ed10e7c63ed@posteo.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Content-Language: en-US In-Reply-To: <4f18b7eac091dd14cfaf5ed10e7c63ed@posteo.de> 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: 28 X-Spam_score: 2.8 X-Spam_bar: ++ X-Spam_report: (2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FORGED_MUA_MOZILLA=2.309, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, NICE_REPLY_A=-0.001, 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-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1646839972; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=UXTipD+TRusGcHm/fn9OGVlkR/mQ0tu3EZuRJvhVSq0=; b=VUSgwYsvdK5mweLTXFJbKM65Lyy1rvy65zh8h4BBTBGFFK6VGd8ncmpkp8odO0QdtwPYU1 2wHGEB7gHjUC8gg/HTwXyUiYzznZ3YsZAtbRltbhU5feYdOIfPquhoo3hfBR4wu4hRgmCj tGl/iQ2Zn8g7M0Mnk6yUYZwfJizm+AoaewCK9ikGJN8vGc4D41F2CNpYQ2AMU4eAPY1lu0 RhrPevo9IsRtTzvTTNC1tVba9hptTKQWTSo56wk9BwCgQs1MtmqYY4gToe2INSi8yzd6cg 9nbjhK1YolkgfTQAgIP3CyV/aTVTsGX8QjBc92umc6UCZ5+mtrN7AW4I6egpzg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1646839972; a=rsa-sha256; cv=none; b=BSFrHZv1eOZ6QQ3SfpovYqivPfxFt32ugfdKrMubFvRNfbzdzU+RMu5TycnY0IjQepQ9z8 J2MUP5L7tPn5DTT5yUNqSk/pNb8GJH4xn0AYv71GpPF2YwpVXalyrvVz5uMNRFrcQnkwY0 4GuazXDByzpNDnecrGC33LSpM+Ub/h4ufeUGw6D9aRUTXQ+hU9PLRt9vhJcz9l10N/josG VnagQE6TvxQ4Yxj6VXeDCyxfhg9yDtJqp0Omp19LVJf1y6qnfpUP2AtE+R80doAeghdREs IYUPq4HE4LUiB5l9IG1fgY0a1UoJ31FPGeqhsPguQIzbMuuWUYGtsZEluqnZVA== 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: 2.19 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: C501343F6B X-Spam-Score: 2.19 X-Migadu-Scanner: scn0.migadu.com X-TUID: 9CuEbYQhFmVv On 09/03/2022 15:55, c.buhtz wrote: > > 1. > Is this mailing list the right place to discuss ox-publish related > topics? The ox-publish.el only contains two e-mail addresses? ox-publish.el belongs to the "core" part of Org mode, so this mail list is an appropriate place. There is a chance to get response from the Org maintainers. I do not follow stackexchange and reddit topics so I can tell nothing concerning probability to get some answer there. > 3. > I use (setq org-export-with-broken-links t) with and without > ":with-broken-links "mark"" to prevend ox-publish stopping when there > are broken links. I swear and I also checked that there are only a few > of them. But in the HTML output all links are gone. No links. No text > for the links. If you insist on setq than try (setq org-export-with-broken-links 'mark) without :with-broken-links. You can get correct value using easy customization interface. It does not matter for `org-export-with-broken-links', but some custom variables have :set property, so the following may be generally better (custom-set-variables '(org-export-with-broken-links 'mark)) When specifying the publish project option, do not add quotes around "mark", the string (unlike the symbol) is considered as t. Unfortunately no warning is issued. > I tried to reproduce this in a minimal example with two new nodes. But > for them the links are generated. It seems, changing project options or global variables does not lead to updating of the files if the sources have not modified. > First I thought ox-publish has a problem with org-roam-v2 id-links. But > the two new created nodes just for testing where working well. The older > nodes (just 2 months old) also using id-links and where created with the > same Emacs and org-roam version. There is a known problem with id links. They may be broken if they lead to another file: inkbottle. org-id with ox-html. Sat, 14 Aug 2021 00:28:35 +0200 https://list.orgmode.org/4617246.m1MCmUpgFQ@pluto/ > 4. > ox-publish ignores newlines. Two short lines in the org-file becomes one > line in the HTML content. I suppose, it is unrelated to ox-publish, it is behavior of ox (org-export) and org-element parser. Paragraphs are separated by empty lines. Likely you need some markup, e.g. #+begin_example ... #+end_example block. > 5. > I am not totally new to Emacs but quit fresh. So I have two questions > about how to handle the documentation and help informations here. > a) I tried to "descrbie" the mode "ox-publish". But Emacs only offers me > an "describe-mode" which describe all currently existing nodes. There is > nothing like "describe-mode MODENAME". How can I handle that? org-mode is a mode, ox-publish maybe a package (actually unsure). Unfortunately e.g. `describe-package' C-h P org shows built-in version of org for me even though git main HEAD is actually loaded. It extracts some comments from the top of the source file. > b) I another thread I was pointed to > https://orgmode.org/manual/Publishing-options.html . There is no > description about the options they are only listed. This does not help > me. Maybe there are some useful options that could solve some of my > problems. But without description I am not able to decide or know. That page specifies related global variable, so you can try `describe-variable' C-h v with the related name. I do not know if you are familiar with GNU "info" https://www.gnu.org/software/emacs/manual/html_node/info/ that allows to read e.g. Org Manual in Emacs. There is a variable index https://orgmode.org/manual/Variable-Index.html but this case the entry leads to the "Export Settings" section already known to you. Sometimes it is more convenient to search in the manual variant exported as a single HTML page https://orgmode.org/org.html The last resort is reading source files. > 6. > Is there a way to integrated backlinks into output? Do you mean something specific to org-roam?