From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id kElzOoRkJV/bHwAA0tVLHw (envelope-from ) for ; Sat, 01 Aug 2020 12:48:04 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id GGxKNoRkJV8DcQAAB5/wlQ (envelope-from ) for ; Sat, 01 Aug 2020 12:48:04 +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 9AA85940414 for ; Sat, 1 Aug 2020 12:48:04 +0000 (UTC) Received: from localhost ([::1]:53530 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k1qvj-00064C-Hm for larch@yhetil.org; Sat, 01 Aug 2020 08:48:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50198) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jxZeZ-0008PF-G5 for emacs-orgmode@gnu.org; Mon, 20 Jul 2020 13:32:40 -0400 Received: from mail-il1-x134.google.com ([2607:f8b0:4864:20::134]:45534) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jxZeX-00054X-Iu for emacs-orgmode@gnu.org; Mon, 20 Jul 2020 13:32:39 -0400 Received: by mail-il1-x134.google.com with SMTP id o3so13976548ilo.12 for ; Mon, 20 Jul 2020 10:32:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=CHjvcUVHsoV4mgI3HA9y4ONguQlLU0QibAr1UrmHLOA=; b=sTMq15060+6OFvsv/NNvLByG4Bk5IKG0coByNxAmopFnv/oOGC0gKPRR2rQZcaFttj GhCR2I5ICFGDRL38lir9O7CRbrm0suK2MVBni9ieKBOcxE0FLkwFKmfLbcsePsOCIhsA IBDXqcy4VajUqjBQ9l50owkZcSOTxTUisj5KdwAPta29PHQKTPmq0ZKYcUTqytZA5Qok X5EZHCJ5DOUvzJ1zF48ZvQm4/m2iPFRIejmCOVt7pvDTnlRaCgfdFJYHRtN+gNCKhjq1 wwia1pt6oUz7lX9d8fFCbRJ0nUYYQn6qTPvvlldAQK1Gn0ZSTNZjXTrKSE8T2iGW/KDI j7Iw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=CHjvcUVHsoV4mgI3HA9y4ONguQlLU0QibAr1UrmHLOA=; b=PQyf0T31NAlikuQfBsvH5xafVcyWZNdnG+fB8U+sV5G5xGD7gv5irEgTfQo6IoEwHj tpfxXznZj35R/mOL1rVH1RNtx29+8EK+efx6GMtOwMkqSMFROsWp68bbNh0ooRjExiJH 2fFoSIpLWxb3dDD/pCIdAyn+E8SyV2YCOBQ27I49sfcu6sqh4ZA8vnnp/u1da56/ABy/ YsWE1CQQduoEA5VEJIIvxI4CNKgESver8Tc6XFd0jzNYlhYsfRgZxdYprPiCIMoodlkj PRaswa2lqG7oEmQTrcyjCGUMVt/DktuptiV8kDttV+pibFcKzMVIMD1Y31cFiJx7FxyK O6Xw== X-Gm-Message-State: AOAM532TykHtJqZfeo7RdPPhzSSlu5uSZcXO0WwJ3jM3O9rugMogzR4t sIYOWveGdhOK678fLdIEdphKvGW5+2RDiiBUj1yIEteW X-Google-Smtp-Source: ABdhPJwWRzrr0r5yGFiF68MOsw76fGS+um0zOWygbYDTfM6Xgn4bi5ZETsILhco+2GZka7iJTFjoxc8+cUWmxG/XsaY= X-Received: by 2002:a92:9110:: with SMTP id t16mr23671057ild.110.1595266354167; Mon, 20 Jul 2020 10:32:34 -0700 (PDT) MIME-Version: 1.0 From: Paramjit Singh Date: Mon, 20 Jul 2020 19:31:58 +0200 Message-ID: Subject: Documentation for org html head scripts To: emacs-orgmode@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::134; envelope-from=paramjitrohits@gmail.com; helo=mail-il1-x134.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 01 Aug 2020 08:47:14 -0400 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" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=sTMq1506; dmarc=pass (policy=none) header.from=gmail.com; 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: -0.71 X-TUID: PD53fn9lnola Hi, 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 attention. I hope you all are doing well! Sincerely, Paramjit