From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id yGTCAYCFSmKDKAEAgWs5BA (envelope-from ) for ; Mon, 04 Apr 2022 07:43:28 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id oJ8DOn+FSmKIPQEAauVa8A (envelope-from ) for ; Mon, 04 Apr 2022 07:43:27 +0200 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 896DDA837 for ; Mon, 4 Apr 2022 07:43:26 +0200 (CEST) Received: from localhost ([::1]:55718 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nbFBM-0007L6-7K for larch@yhetil.org; Mon, 04 Apr 2022 01:23:16 -0400 Received: from eggs.gnu.org ([209.51.188.92]:41642) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nbF8f-0007Kt-S6 for emacs-orgmode@gnu.org; Mon, 04 Apr 2022 01:20:29 -0400 Received: from [2607:f8b0:4864:20::102f] (port=39452 helo=mail-pj1-x102f.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nbF8e-0004aw-20; Mon, 04 Apr 2022 01:20:29 -0400 Received: by mail-pj1-x102f.google.com with SMTP id mr5-20020a17090b238500b001c67366ae93so10511961pjb.4; Sun, 03 Apr 2022 22:20:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=oYMvGPNNc9lamN4jMD3FyWyrOoE3yKAFtEcEHqzAnKA=; b=iwHwyb0wIwpZxiaNmnY4dDJ3jdHJGw9DZ7mkUbdC8h6DKXYKNpnULhvJ+r6cBXGwV2 KmG+cEPzea648FFK0eaoc//P/05MN1a8wChfm2rMoyvDknXQfR1xwf1kieErATk/pZSd ug4jxrk1Rnj+rf8Gq3zTHfLojV40bzF7mRfa5rC4FxTyE6ycY6hOSvYGr68y/MuR62LG mR79awCLqPSTZ2tUMDDoDQAZ9vQyYlIqwpGtojnQAJ/uZrzzV/XTIdIIhNhnt7UsZzIK uu6JyIIu1YG07IABiOmT//bhFhggn8X4BgFAsf61m5CswcdUkPl/jehsIe2z1AtGPOFT ozJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=oYMvGPNNc9lamN4jMD3FyWyrOoE3yKAFtEcEHqzAnKA=; b=qdCMKI7bv5vBBVbkaOlKT0jfV59HZtkjlZ2ZulMK80SHL7wlw5Pc2ji+jhS5Ono7zy PgvPp6/J/7J91D7wLWqsw/lMWkFQdntSXersYv99vEKmegsPMVNhnTSLPCf7LIU3dxI1 K29X1PYTPnUkZbN14Tp4NzLNjXuTgkFlVjnuQR7g3dvUQrmYRsnVXl/D1eCZVpubAGP1 pF8WMd7NtfrKRE4Q39qpWgyvx8tEeTBeepqNhBRqGoQwjvOYySrNcNVNprSkvZS9Xsl/ j/SVCgr+t6D/sZWkKckk8ZksiAF1kul0LXPg03bwJr4Rdy9+C+mQZWjT+WQzPTxbcieq zzzw== X-Gm-Message-State: AOAM533hrJ52oUCQSJGqmsZg1gg1z7NHcSVWTzO2T1J7waGLqELsy68x aqOD/2VFnVUTylXLKK3YHZo= X-Google-Smtp-Source: ABdhPJw9yCeOBLo3oPv1xnW30N/V3oOG2Q1pFRE72bmte9Vw03IV63jbn9mz3z9ticgTNCNqx9gS6g== X-Received: by 2002:a17:902:a9c5:b0:156:32bf:b526 with SMTP id b5-20020a170902a9c500b0015632bfb526mr29485817plr.46.1649049625496; Sun, 03 Apr 2022 22:20:25 -0700 (PDT) Received: from localhost ([45.128.72.3]) by smtp.gmail.com with ESMTPSA id u204-20020a6279d5000000b004fa58625a80sm10445256pfc.53.2022.04.03.22.20.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Apr 2022 22:20:24 -0700 (PDT) From: Ihor Radchenko To: Yuchen Guo Subject: Re: Faulty SVG width in default HTML export style In-Reply-To: <87v8vpwika.fsf@students.uni-marburg.de> References: <87tucfigk0.fsf@students.uni-marburg.de> <87sfr0vkzl.fsf@students.uni-marburg.de> <87h779pncy.fsf@localhost> <87v8vpwika.fsf@students.uni-marburg.de> Date: Mon, 04 Apr 2022 13:20:51 +0800 Message-ID: <87bkxhpgp8.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::102f (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::102f; envelope-from=yantar92@gmail.com; helo=mail-pj1-x102f.google.com X-Spam_score_int: -3 X-Spam_score: -0.4 X-Spam_bar: / X-Spam_report: (-0.4 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, 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: , Cc: emacs-orgmode@gnu.org, Rudolf =?utf-8?Q?Adamkovi=C4=8D?= , rms@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1649051006; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=oYMvGPNNc9lamN4jMD3FyWyrOoE3yKAFtEcEHqzAnKA=; b=Ygp94OvU1DLy5XqW0w0w5icNgoKJhagDg4z3UYVFxxOBM2ogdEhTrHA+CAMnqU0WDVP4Zq Ez4hxZIGi1c4XE1Nkc3qsWv/T5OSHCItG/qSJTKbd++SG9GvKeDnbRp/eTB4wDOEStlFAf mBmcYSJbO7OeI2qt9FPkCKmsEh6khjQi5mghpSubmB+Iy1dLEWwDMHA+MkYHsylLl2ZmNx sPk+2WwxT1linjgD3nuv3hVU3I+ooclz4Qn2xYirkM2R+W7iGRKebG/IUDShhJgPEWXbqy sAuRWT3wSZdvOQmixTnqBmFxXqt9BQmtXeb+L2OUBZ0yMkMMlM/C2ELhdwxewQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1649051006; a=rsa-sha256; cv=none; b=rXeGZjIQHrlaUsQ7h4+k777o79f8uClirGbJNnP+8x5uHu3Fl5OgY4fdeXH2xOHqqnKfDH b5091yXZBCyxRPgWzxq1Y5b0jlUfhQp6Pkg+RhizkS0mWSYvjhbcC2guE0k1uLROlkKHdD 37BAhqiOoSCf7u3ujqyubpBaDZ+PlpyxXHFSu+vPRgh/x2R/Lw11Lv2/l6SYYAZ1Oz4vRq ZNnuxRnA+aONf28hkz1gmU1wHnGNb3NDV2zTNAMh1wEwBVxxtMjgZlk8I8Sfj2nSoEqxef R5MooL8072/jcBHWcrkAxqR0Kmx5MVb9XqXz5ccafqs3oC/9+4bxvIrn751yPw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=iwHwyb0w; dmarc=fail reason="SPF not aligned (relaxed)" 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: 5.82 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=iwHwyb0w; dmarc=fail reason="SPF not aligned (relaxed)" 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: 896DDA837 X-Spam-Score: 5.82 X-Migadu-Scanner: scn0.migadu.com X-TUID: jIyARHi0rurc Yuchen Guo writes: > Maybe I'm getting confused here, but as of the latest commit > (cbe3f2d697a973a41a412b826ab9435d5523f3d0): > > - in ox-html.el, `org-html-with-latex' is defined as > `org-export-with-latex', with the comment that: > > `mathjax', t: Do MathJax preprocessing and arrange for MathJax.js to > be loaded. > > - in ox.el, `org-export-with-latex' is defined as `t'. > > Therefore, MathJax is the default export option for math snippets in > HTML exports. My fault. You are right. I missed that `org-export-with-latex' is a variable, not a symbol. If you think that we need to change the default, feel free to open a new thread proposing an alternative. >> 2. We use MathJax script from >> https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js It is >> licenced under Apache 2.0, which is GPL-compatible according to >> https://www.gnu.org/licenses/license-list.html#GPLCompatibleLicenses > > Yes. But it is still problematic because: > > - The license is not declared in the script and therefore not compatible > with LibreJS. The license is declared in the script. You can see it by following the script url. It is right on top. The other question is why LibreJS does not recognise the license. Maybe LibreJS can fix it on LibreJS side or maybe we can indicate that MathJax is GPL-compatible on the html page itself (https://www.gnu.org/software/librejs/manual/html_node/Setting-Your-JavaScript-Free.html) For the latter, patches are welcome. > - It is not trivial to `control your computing', as in `modifying the > script and run your modified copy instead.' I am not sure what is the problem here. Apache licence does not restrict modifications and you can use your modified MathJax source by customising org-html-mathjax-options. Best, Ihor