From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id mEIsME8lQ2IBfwAAgWs5BA (envelope-from ) for ; Tue, 29 Mar 2022 17:27:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id wIhNLU8lQ2JcbQAA9RJhRA (envelope-from ) for ; Tue, 29 Mar 2022 17:27:11 +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 3DAA9FCF7 for ; Tue, 29 Mar 2022 17:27:11 +0200 (CEST) Received: from localhost ([::1]:53168 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nZDkU-0000za-Br for larch@yhetil.org; Tue, 29 Mar 2022 11:27:10 -0400 Received: from eggs.gnu.org ([209.51.188.92]:52506) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nZDjW-0000wd-Py for emacs-orgmode@gnu.org; Tue, 29 Mar 2022 11:26:10 -0400 Received: from vhrz1173.hrz.uni-marburg.de ([137.248.1.43]:41663) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nZDjS-00088H-7G for emacs-orgmode@gnu.org; Tue, 29 Mar 2022 11:26:10 -0400 Received: from vhrz1173.hrz.uni-marburg.de (vhrz1173.HRZ.Uni-Marburg.DE [137.248.1.43]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by vhrz1147.HRZ.Uni-Marburg.DE (Postfix) with ESMTPS id 4KSYL65lfnzn9D; Tue, 29 Mar 2022 17:25:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=uni-marburg.de; s=dkim; t=1648567550; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=aSRuI/QWPiefpptbOnxdArXpVSXE5v/rEsAVIGZCV1c=; b=K6ot/KftSy1rcdX5W/Y4idGhinwHJ7tpw4hv+3OewkHEbZldXZYOMBrNdujRB8SRV9dDxF ZrBJoezFLavDTnPBYvT6IhMV3nfsnBKlURcWbQKUXLp+V67OQ/7lQZ+U0Lf5Lhj6dBkjCC tx0r8S/Y6zS5G0mBKLQlz1UaIsLaHbc= Received: from localhost (mue-88-130-54-132.dsl.tropolys.de [88.130.54.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by vhrz1147.HRZ.Uni-Marburg.DE (Postfix) with ESMTPSA id 4KSYL63W4PznBB; Tue, 29 Mar 2022 17:25:50 +0200 (CEST) References: <87tucfigk0.fsf@students.uni-marburg.de> User-agent: mu4e 1.6.10; emacs 29.0.50 From: Yuchen Guo To: Rudolf =?utf-8?Q?Adamkovi=C4=8D?= Cc: emacs-orgmode@gnu.org Subject: Re: Faulty SVG width in default HTML export style Date: Tue, 29 Mar 2022 16:48:05 +0200 In-reply-to: Message-ID: <87sfr0vkzl.fsf@students.uni-marburg.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Score: -0.97 / 12.00 / 15.00 X-Rspamd-Queue-Id: 4KSYL65lfnzn9D Received-SPF: pass client-ip=137.248.1.43; envelope-from=Guoyuc@students.uni-marburg.de; helo=vhrz1173.hrz.uni-marburg.de X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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-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=1648567631; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=aSRuI/QWPiefpptbOnxdArXpVSXE5v/rEsAVIGZCV1c=; b=I1EX1OS/kYKNz4llO7/o/zBddGIWf+X9bVz7WD+3/yK37jR8SXxCq9ZlMqUFNbjP3GmBJ7 Fkmke8tOCY1fHJysgkj425O1e5soLjO7Vga9PPlkWpjwBbnUqbgzt5tJc374I/f10UBXUQ 5Iqk3Schc+XBhwNl57xSGBUeNmnigkowZzXwv/Sn+i5EngGy1Ea4qIIhGJMMtoLHe2ExiR nCCAgojRl4y3HThVY9SSKV6A89WliewEAPFcGT3nHD8SWcjIvJf3br7DYMjaDdic2Bl+HA +suWOZYt/B639DdypkOXaXrL6oGD/oXbUNPwUi4nZeN4Qjr9ioAqYkRHPD4Mtw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648567631; a=rsa-sha256; cv=none; b=mvTQRAtvA54CUlgNOgKKIDFDpfg+KTFAP4FH7oR+YKgY2z2c+59rquygyvflrxoBQLcZtq lZFYetGP6Qe8IGeBT1z1YJpNXh1HzpwY25B3vTtkOWoGwZxJkZnLvDs/KYYrU3bCv5yDCJ hnv/4fqu/p8Y3N51VL2Sv4Zxi+H8L5w9HEFXBaMOcS0DPsTJbX8efj/+MQQ5SMDAwqSNse I90l2R0UvLm+YcLIThx/qHFJsbIv3XlQ/T0up6LSbaaSDaKkZ8OKD/HluR1nUt743vaRxs DiKCrbbLA+TLigtUHrh//y0V2xLlgOokUYuzOT4u2hKGj1owJJjInVAc3SodgA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=uni-marburg.de header.s=dkim header.b="K6ot/Kft"; dmarc=pass (policy=quarantine) header.from=uni-marburg.de; 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.07 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=uni-marburg.de header.s=dkim header.b="K6ot/Kft"; dmarc=pass (policy=quarantine) header.from=uni-marburg.de; 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: 3DAA9FCF7 X-Spam-Score: -5.07 X-Migadu-Scanner: scn1.migadu.com X-TUID: l2LNtl5J0tr3 Rudolf Adamkovi=C4=8D writes: > I now wonder if anyone knows how to fix the misaligned baselines of > inline LaTeX fragments (as shown in the second screenshot). I think we can solve this issue by looking at how Wikipedia does the alignment of text and LaTeX snippets. A cursory look at https://en.wikipedia.org/wiki/Normal_distribution ... shows that they use something like this: The alignment parameters are also dependent on the snippet itself. > If we could somehow fix that, MathJax-less export > could become usable in practice *and* it would also unlock full LaTeX > power, including TikZ and beyond! (It would also put Emacs ahead of the > pack in the world of LaTeX-capable editors because virtually every other > modern editor, including the proprietary ones, can just use MathJax.) For me, Emacs using MathJax as default came across as an unpleasant surprise: any person aware of the free/libre software movement knows that one should never allow Javascript to run in their browser: (ref https://www.gnu.org/philosophy/javascript-trap.html ). MathJax is not even compatible with LibreJS and loads script from a bunch of 3rd-party servers like Cloudflare. This enables those 3rd parties to track visitors to your website. Also, by loading external scripts, author of an website essentially puts the website and its visitors under the mercy of the script: the script, if malicious, can just sabotage the entire website. Sadly it seems that there aren't enough people using Orgmode with SVG: this CSS bug is at least present since 2020, according to git logs. Rendering SVG images is also painfully slow: I can export the document as PDF much faster than as HTML+SVG. Then there is the alignment issue. > @me.com Unrelated but I think its best to not use Apple dis-services: it has a record of kowtowing to government requests such as moving email account to surveillance-friendly regimes: https://en.wikipedia.org/wiki/ICloud#China Not to mention its utter contempt of Software Freedom such as forbidding GNU GPL on their program distribution platform. --=20 Yuchen Guo