From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.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 KHkbBx0P0mU+2AAAqHPOHw:P1 (envelope-from ) for ; Sun, 18 Feb 2024 15:07:25 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id KHkbBx0P0mU+2AAAqHPOHw (envelope-from ) for ; Sun, 18 Feb 2024 15:07:25 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=ErhgbQM0; 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=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1708265245; 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=gu9LF4oXUTbFHuYk6J89dFuol/KKflRxymua2xKGvyQ=; b=cl5SNvHQOdOlcrO45zaGeJReZqw4KRgjQPuMc3VZ8d+58gRygFLDqtSf3UZm7KHwrijpn+ wAgBqOeov6DJtHGEUQdYqUumlEXnf6wKj8w6T5Y6SKJlYIrGyKt1QxPtW3Gu3VR9f6X/nk k8atLxh770/+MNsbdS1TQYnPCe0aZxFWiziF77teLkCP6zGkaBl0P3d61mcMAbZWZ7i/yF n2xdh1/K4zzz+7mf/W8eaRg/aVcWFsc8Hx+fodUilbF4RG6D4VzSKGW46JVEWoglukuqeA JyVj+EV3WwTslWyfmgHKY2IPql8Rno3X9zszEgb9owDrGxdVX2PhyRKjgUBC9A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=ErhgbQM0; 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=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1708265245; a=rsa-sha256; cv=none; b=Wds0kNHTBofo+vEtlSbaLjed4FX8S/jR8C1d7z2iDE940Foq/BHNNJ9txbPTMKtH6u2H2s tAOOq6chRiiNQJ1xTp/ZHtOUIgPAyQd2k9RYpZxTNl8Vx/H37uiF69h1Bfc3eI6tKDoy9q 889AndwVFmsQ4XXyZkV8ajk1x/b4BTN7htgwEAWicS1UcT7qvP9Bv93MlRWq3iTFgI/B88 FVtOT0ULS0UEsFFETNz+8iGg0IS/stVVirMX/vZvt1I4W3JnIdDzEt/rNiL9OggBpaWPDa 0ZaPoOSWzLvxIBRE2izitOJSz3PBnZyAGKDW0GI3wQ6NQKhbVsPIz3j32mzsXg== 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 03E4343CF4 for ; Sun, 18 Feb 2024 15:07:24 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rbhoW-0006Ir-GB; Sun, 18 Feb 2024 09:06:40 -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 1rbhoU-0006IS-He for emacs-orgmode@gnu.org; Sun, 18 Feb 2024 09:06:38 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rbhoS-000169-EP for emacs-orgmode@gnu.org; Sun, 18 Feb 2024 09:06:38 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id C9403240101 for ; Sun, 18 Feb 2024 15:06:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1708265193; bh=IsrqV7cWOLy2MaPnrBUDDKjzVhDAglRI84e/NxpGPZY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=ErhgbQM0rP/StlZMSiqSSiFbwtph4z+d+aWbnl7SuOYg12jJVrPfWs4fuv8bJ9kWC UwbPa1pZ+ol0kxtYj4LZwZj+Ntu2iLGYr5sDMnZiOe2p74kE3rZTaOSuz4N79xniZT sJyp6xK42B8aV0ibo/cBsGR70wIGOut6O4SbcEX+u3LwIAg5IamxPSPhjEOYdolcAE IZoFPYgfOsiiCfntms1JXwl1KZqz9SGCmTOqmX7QTwUiiMj+bZcBvsxLcQikcDdwki +XzFgzR2Ou1tZSNua3ucSxY4XcCWDXVFlb+5R9zPK8IbzPBQZn2l7Lerr5p16Srr/7 4dcGpOgKH0+ag== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Td6sh5tTQz6tmv; Sun, 18 Feb 2024 15:06:32 +0100 (CET) From: Ihor Radchenko To: Martin =?utf-8?Q?Edstr=C3=B6m?= Cc: emacs-orgmode@gnu.org Subject: Re: Warn about shell-expansion in the docstring of org-latex-to-html-convert-command In-Reply-To: References: Date: Sun, 18 Feb 2024 16:06:47 +0000 Message-ID: <87wmr1rc2w.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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: -8.40 X-Spam-Score: -8.40 X-Migadu-Queue-Id: 03E4343CF4 X-Migadu-Scanner: mx11.migadu.com X-TUID: r7MmoJg0ZLDP 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 --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at