From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 43JVNi1T0mUp7QAA62LTzQ:P1 (envelope-from ) for ; Sun, 18 Feb 2024 19:57:50 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 43JVNi1T0mUp7QAA62LTzQ (envelope-from ) for ; Sun, 18 Feb 2024 19:57:49 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=mDhBNfUM; 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"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1708282669; 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=Qa6uERLdB7JoFSLy4WFFSayV9D2WIIcELNN4apQNHIc=; b=BV52xBX3KJhQvaz13f2hJ3zmUlJWlC9aVAezuxhXHULR0lkb2pRhujrcGqpcppbivxOxuL +nl3KpWUSJqYMUi+LJ7O4iBAv0hdLlINJ9/ofJi/OW0gwYyElxJqRCtbkeiv2zDOqan81O 87XVWbOD0m0xwAVMaD3wEZaWOrlPoBh+jwD1g+zP2onLAR4VFIqOLcng1FQuWRlqMtkmZN ORKKG4SDBoVre+mlK+6vYlDPYDpi/kJca1sLbQZMvxpy635Ej9yqSIKkpjx9DTcp4QVSte kVuxtwHqx6hHDlo2WGIMkbH6qkNMQGcj3OOHfQ14MBMQylofLO12cV/GOgYR5Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=mDhBNfUM; 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"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1708282669; a=rsa-sha256; cv=none; b=lWZGjjb/4sPOWHxo6j53yL87eVyUou2qisu0Mu8Lx8QbD0RmMBvfp9tMdSHrM8lYER3vBD ah9EiKZVpgEKbfhbrQFg0E6bYVVbozh8RQlou4gH7M/H6sgWTiinpsDr/HEa5TG355OJ7V dLYU2Z42rpwvmCGu+IzD0DNig+J1TD+VewRfu7ZyBLPvMzbPFAagMNhi93DNsXbxDkpg4d M0sgQKjI+M7KPKNpF1DFiDb1BAvbuPQcpp5liz1RcfdBnWVjpLIY0tpGKsAVgRkfQFj50G jzYGUANUKOitPiF86SsXiWOlAr9y9FNXLXH2XoqCZoX81FTiPtBbgoJI6qae+Q== 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 A50BA3A983 for ; Sun, 18 Feb 2024 19:57:49 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rbmLZ-0002RH-Ky; Sun, 18 Feb 2024 13:57:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rbmLX-0002Qp-RV for emacs-orgmode@gnu.org; Sun, 18 Feb 2024 13:57:03 -0500 Received: from mail-wm1-x343.google.com ([2a00:1450:4864:20::343]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rbmLW-00016y-4t for emacs-orgmode@gnu.org; Sun, 18 Feb 2024 13:57:03 -0500 Received: by mail-wm1-x343.google.com with SMTP id 5b1f17b1804b1-41265d2f7acso1631725e9.1 for ; Sun, 18 Feb 2024 10:57:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708282619; x=1708887419; darn=gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Qa6uERLdB7JoFSLy4WFFSayV9D2WIIcELNN4apQNHIc=; b=mDhBNfUMpcSRBQtLk51rXlGkZevnbviGRUUavP6ytnR9dCw0S29gGjUvpsIxHyJAz/ foefHW28uSbb0k7KCTCxzt0rXh3whcYED5gWGCu6f6d0+5zgT/M6zEyFuqLCH69g4Ppq 6sy96CbMHCHWxprNQOeW+Q8UNV3kyDS3zDsEk1NJ+So58PN2dXj3WsBMl7RssARYLbC5 jDB3NgXNR3sNoJ8Miqf2dSheHjqD+HqJr++cOdp+onwuQz4hQBEKnIhIX63fojAp3+uD oLBBT5lQdw0X9nizty9TdvsXelYtoijvPCkOYSAkf4WJK5nQU6/dTQSrTJ4Y7eTfl1ut oLPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708282619; x=1708887419; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Qa6uERLdB7JoFSLy4WFFSayV9D2WIIcELNN4apQNHIc=; b=c0KlZ6fH9AnxeK/jPs1EGxekZbdvDQBLGaE7y7OtFEOwk1S6NFTipiTIl6dGfnKc9G FZR7RJyRLMNsViMQcexl3oGgFii9c5FZjLS1x2ZmeD5gjvmDCQCmVf4yhy1Y6sV45HQr gA0tQAKNF3Ki7Doz0MbZ2D0qGq+e4DC6bhdisjESI2zsVtKqK/Sn4YdpTAuB0wx/Njq+ 7M0wuYuE/qpXzvK+B0M0qhX83kCVdn2GeWsLFK9V8HnLYrFJirMJPUob3u2XO2pCwbDb YXnYhmDV4JPpN9bE5oGncdqroW0gCdgPA0kRH5s1rTG8JcoQrQKE332Vx2fjdgAsmGgs JNzA== X-Gm-Message-State: AOJu0YwmcCcYeFoT31STk7UmOF/q3qMOufahavt/+R1Vi2QMI74bdLgJ wAEa5seFiYUHAujcDFPMnLqfCh/NWDWsjIRrV9Dug47SH0tUZkIs+WeH/lgHXePWzP0B7UB+0Vj k3sUSqFZI1dbOMT0pjKv2rZiqJI0= X-Google-Smtp-Source: AGHT+IEUvQeRTYxzp7K+05EqGLfIAzY2afsuMpFc6Flga4S3EsRrx1zu9UDXviLvpv17prt91Xj85SwBMiPboVxQtGA= X-Received: by 2002:a5d:4b0c:0:b0:33d:1416:7149 with SMTP id v12-20020a5d4b0c000000b0033d14167149mr7057635wrq.66.1708282619095; Sun, 18 Feb 2024 10:56:59 -0800 (PST) MIME-Version: 1.0 References: <87wmr1rc2w.fsf@localhost> In-Reply-To: <87wmr1rc2w.fsf@localhost> From: =?UTF-8?Q?Martin_Edstr=C3=B6m?= Date: Sun, 18 Feb 2024 19:56:48 +0100 Message-ID: Subject: Re: Warn about shell-expansion in the docstring of org-latex-to-html-convert-command To: Ihor Radchenko Cc: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="000000000000afee550611ac8aaa" Received-SPF: pass client-ip=2a00:1450:4864:20::343; envelope-from=meedstrom91@gmail.com; helo=mail-wm1-x343.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -7.83 X-Spam-Score: -7.83 X-Migadu-Queue-Id: A50BA3A983 X-Migadu-Scanner: mx11.migadu.com X-TUID: y+jn/mlMTGzK --000000000000afee550611ac8aaa Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I will try to do a patch, thanks for the link. Stay tuned. On Sun, Feb 18, 2024 at 15:06 Ihor Radchenko wrote: > Martin Edstr=C3=B6m writes: > > > I've just been struggling with my custom setting for > > `org-latex-to-html-convert-command` outputting many math snippets > > wrong. The fault was mine: I didn't correctly shell-quote the input. > > I propose to add a warning in the docstring, because many people will > > trip the same problem. > > > The thing is that double-quotes don't work in shell commands. I had > > \"%i\", but it should've been '%i': > > Would you be interested to submit a patch? > See https://orgmode.org/worg/org-contribute.html#first-patch > > -- > Ihor Radchenko // yantar92, > Org mode contributor, > Learn more about Org mode at . > Support Org development at , > or support my work at > --000000000000afee550611ac8aaa Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I will try to do a patch, thanks for the link. Stay tuned= .=C2=A0

On Sun, Feb 18, 2024 at 15:06 Ihor Radchenko <yantar92@posteo.net> wrote:
Martin Edstr=C3=B6m <meedstrom91@gmail.com> writes:

> I've just been struggling with my custom setting for
> `org-latex-to-html-convert-command` outputting many math snippets
> wrong. The fault was mine: I didn't correctly shell-quote the inpu= t.
> I propose to add a warning in the docstring, because many people will<= br> > trip the same problem.

> The thing is that double-quotes don't work in shell commands.=C2= =A0 I had
> \"%i\", but it should've been '%i':

Would you be interested to submit a patch?
See https://orgmode.org/worg/org-contribute.= html#first-patch

--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,=
or support my work at <https://liberapay.com/yantar92>
--000000000000afee550611ac8aaa--