From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id OLaNJHleU1/bQAAA0tVLHw (envelope-from ) for ; Sat, 05 Sep 2020 09:46:33 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id ECp4IHleU1+fVAAAbx9fmQ (envelope-from ) for ; Sat, 05 Sep 2020 09:46:33 +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 30F849404CA for ; Sat, 5 Sep 2020 09:46:33 +0000 (UTC) Received: from localhost ([::1]:39136 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kEUmG-0003Ii-0v for larch@yhetil.org; Sat, 05 Sep 2020 05:46:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46702) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kEUlo-0003IQ-9I for emacs-orgmode@gnu.org; Sat, 05 Sep 2020 05:46:04 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:60892) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kEUln-0007JU-RQ; Sat, 05 Sep 2020 05:46:03 -0400 Received: from [2a01:e35:2fe1:f780:68c6:8f4c:dae1:2381] (port=39272 helo=guerry) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1kEUlm-0003z3-Me; Sat, 05 Sep 2020 05:46:02 -0400 Received: by guerry (Postfix, from userid 1000) id 018A91A60D46; Sat, 5 Sep 2020 11:45:59 +0200 (CEST) From: Bastien To: Paramjit Singh Subject: Re: Documentation for org html head scripts Organization: GNU References: Date: Sat, 05 Sep 2020 11:45:59 +0200 In-Reply-To: (Paramjit Singh's message of "Mon, 20 Jul 2020 19:31:58 +0200") Message-ID: <87wo185zfs.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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-Spam-Score: -1.01 X-TUID: KRUZeIoLJ3nd Hi Paramjit, Paramjit Singh writes: > I was trying to have a clean html-head while exporting using `ox-html`, and even > while setting > > (setq org-html-head-include-default-style nil) > (setq org-html-mathjax-template "") > > I would get some code in the header, as shown in the following reddit post: > https://old.reddit.com/r/emacs/comments/humgny/getting_rid_of_excess_header_in_org_html_export/ > > I tried following the org manual, but a solution was not mentioned in > it. The person who > solved the issue for me in the reddit post recommended letting the devs know > to add it in the documentation. Namely, something like: > "Customizing the variable org-html-head-include-scripts to nil, > disables any scripts > being added to the html-head" (the variable is indeed mentioned, > however, a small > paragraph regarding how to get a clean html-head could be added). Thanks for the suggestion, I added a small section explaining how to export to bare HTML (see ed8369aff in master). Best, -- Bastien