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 IDaYEYMRT2LjBwAAgWs5BA (envelope-from ) for ; Thu, 07 Apr 2022 18:29:55 +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 wK3sDoMRT2JDCAEA9RJhRA (envelope-from ) for ; Thu, 07 Apr 2022 18:29:55 +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 40F062F632 for ; Thu, 7 Apr 2022 18:29:54 +0200 (CEST) Received: from localhost ([::1]:49938 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ncV17-0006CG-EM for larch@yhetil.org; Thu, 07 Apr 2022 12:29:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36796) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ncV0X-0006C8-Fx for emacs-orgmode@gnu.org; Thu, 07 Apr 2022 12:29:17 -0400 Received: from pb-smtp2.pobox.com ([64.147.108.71]:55437) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ncV0V-0005my-NR for emacs-orgmode@gnu.org; Thu, 07 Apr 2022 12:29:17 -0400 Received: from pb-smtp2.pobox.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id 404F7134D57 for ; Thu, 7 Apr 2022 12:29:11 -0400 (EDT) (envelope-from wtd@pobox.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=pobox.com; h=date:from :to:subject:message-id:mime-version:content-type; s=sasl; bh=tDj jdKYQ5zlAVjW0PX+sy9ipYnp28mp0n+UzD9JyZKE=; b=C+/+Rvczx4mAxccakb0 asWyiJQLlZZxgzHEPmOjRzXlu+/HYasebBxBBUu2NmNQamXf+N7xKX7/t2EBRbvb Y6yidjjhZDTuvgKmoBsjh7fGxi0staimopG3WwAFw1pUaUngfrHbgZ9bmf5KYebm Zl30MHDNo+fuhTxXRSFrXBSU= Received: from pb-smtp2.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id 37695134D56 for ; Thu, 7 Apr 2022 12:29:11 -0400 (EDT) (envelope-from wtd@pobox.com) Received: from shell3.miskatonic.org (unknown [199.103.62.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp2.pobox.com (Postfix) with ESMTPSA id BA116134D55 for ; Thu, 7 Apr 2022 12:29:10 -0400 (EDT) (envelope-from wtd@pobox.com) Received: by shell3.miskatonic.org (Postfix, from userid 1000) id 02603120E52; Thu, 7 Apr 2022 12:29:09 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by shell3.miskatonic.org (Postfix) with ESMTP id EEAEC1205A1 for ; Thu, 7 Apr 2022 12:29:09 -0400 (EDT) Date: Thu, 7 Apr 2022 12:29:09 -0400 (EDT) From: William Denton X-X-Sender: wtd@shell3.miskatonic.org To: emacs-orgmode@gnu.org Subject: How to handle strings with commas in macros? Message-ID: User-Agent: Alpine 2.22 (DEB 394 2020-01-19) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Pobox-Relay-ID: DAB8DE40-B68F-11EC-B122-CB998F0A682E-56320186!pb-smtp2.pobox.com Received-SPF: pass client-ip=64.147.108.71; envelope-from=wtd@pobox.com; helo=pb-smtp2.pobox.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H2=-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=1649348995; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=RyKHtlTrmPFoJtgQnVoYJZx03U1g2ugKz7z7piOWStc=; b=eq1vi9zn6KQVTnwcuudY1+CLBW13AXalCQkIuTGBRVKE1Qp8yECLdCralr8eNZ4OoABaAj xip7gRG4U0ghAqna5BN+hLIIRp5h6A2gfp7hS3ZEUejcZHAQEhwHdfiK/7gQSATydv08Xw n3sAHEVv9zMVqOWVzVljPSpf0UX7zQCWCd8Hl0omxhGXbGrr9mQenw0BeANGih35je+VZx 10rlRdBXmm9c79Bse/nTyO+cXdCQz3sJweDMPtu2+mLHOvA/j6EdycJIh/aIhR33XzU5CV NRnabNntKBTVINmm4r81iMdX/c7jWInPg4RXrWjcsCsn0FHcslsjG4bKMdLqyQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1649348995; a=rsa-sha256; cv=none; b=mOCd5rv63UfnA0d1YSNGh9Hijy88d3cZTlGm0rlRvl8OjWcTXfUp1zpe5oLV6VBF0MYcYH XABpJ39j+gdJT7Mvr/06bZQysSHViKnRUR0UPg6iB8w5jyPfhkpfSLaBY7jJMG5QEbRwzp 5Xu6bZFUDc99LCWoDgav0OMg5qwfcjDsdN688qGDnQKL+nYVSnjcatwbTPlMgkIdrTd3TK YGC6pJ6/5nk7conYADoqnFlyIkUgwr7y2eYUkdD3P3ZZoxuyef1vls7ioWbH7Z7a0BX2n+ 74goa6LMtgmFoGWjAsAyutAwp6R8ZfAtwYZgKEUgqKjr/HFhxYvcH2qDFRt9Yw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=pobox.com header.s=sasl header.b="C+/+Rvcz"; dmarc=pass (policy=none) header.from=pobox.com; 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: -3.46 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=pobox.com header.s=sasl header.b="C+/+Rvcz"; dmarc=pass (policy=none) header.from=pobox.com; 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: 40F062F632 X-Spam-Score: -3.46 X-Migadu-Scanner: scn0.migadu.com X-TUID: MrGkKWouJyjS I'm using macros to format names in a LaTeX export, like so: #+latex_header: \newcommand\m[1]{\textsc{#1}} #+macro: m \m{$1} Thus {{{m(William Denton)}}} becomes \m{William Denton} on export and LaTeX will format it. That works fine. But in an index of names, if I want {{{m(Denton, William)}}} then Org takes that as two arguments to the macro, and outputs \m{Denton} Is there a way to get around this? Thanks, Bill -- William Denton https://www.miskatonic.org/ Librarian, artist and licensed private investigator. Toronto, Canada