From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Vladimir Nikishkin Newsgroups: gmane.emacs.devel Subject: Re: Small typo in calc.texi Date: Tue, 13 Jun 2023 20:10:40 +0800 Message-ID: <87jzw78sr3.fsf@laptop.lockywolf.net> References: <875y854371.fsf@laptop.lockywolf.net> <83cz2d9im4.fsf@gnu.org> <87ttvc81wl.fsf@laptop.lockywolf.net> <83legnwqva.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8788"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.8.14; emacs 30.0.50 Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jun 13 14:36:06 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q93Fk-0001z5-W0 for ged-emacs-devel@m.gmane-mx.org; Tue, 13 Jun 2023 14:36:04 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q93F3-0003dd-SJ; Tue, 13 Jun 2023 08:35:21 -0400 Original-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 1q92uB-0004jO-Rz for emacs-devel@gnu.org; Tue, 13 Jun 2023 08:13:47 -0400 Original-Received: from mail-pg1-x534.google.com ([2607:f8b0:4864:20::534]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q92uA-00026e-B6; Tue, 13 Jun 2023 08:13:47 -0400 Original-Received: by mail-pg1-x534.google.com with SMTP id 41be03b00d2f7-53482b44007so2824595a12.2; Tue, 13 Jun 2023 05:13:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686658424; x=1689250424; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:from:to:cc:subject:date:message-id:reply-to; bh=cxdx965+GBH6dpoPJS45VAzZu9JUZa159dbK+rNLJlo=; b=d30qsLTtDJr3CnRKKzF6Nz7p+nC76+X436CT9bHwfT3zQChlz2KBaf1QqsM+hbj5ny F/R1PjZm6ya1TsKbNswO97V38ly4EJSuY58AggGzufpP6xYeB/LiYHMZ0OQKLR9qo/J7 cm9kPfm75qy7Y2banfEnvnQN+w5cN7/vJ42Jw3K+K3yODzCsU+sxj0nneebyC8qAXsHF sHDIQjospUX40EwsxSxqt0SS5gIoCQmH/e+JxlRpF1ZbP8QDQs+7sBM77mu9dFwLPefU fsPUyBF8s3cLHhGLbSxelDJpXG5QPdxeoNiiSEqv0MPjQkiOS9VMS46XmRXq95rpwiNU 2hiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686658424; x=1689250424; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=cxdx965+GBH6dpoPJS45VAzZu9JUZa159dbK+rNLJlo=; b=bJHr8ROM5FiDe8KUXUAJE/SiiPwk2qlqy5ymowKEcJl/QHW4aKLBn74z4rbcuR/mF5 ugak7wEw1IRD8dAgPKbMv+Q1EdvyaWMtFXH4s/e6zs4eVhfVUlrEola8icZmQalsWz/J xPGBAApzEl1qaOr0qj2+srIXe0jy49rbsxr3nvRROYShsWZ3y44CAZ0uT7o9Y4UNM5XT YZ/4fg7DnZIU/uxfHn7SCCk6lDyh6q73uwJ8LhfTyOC9QCNTMEV6EUMikxxS1i0OiCdP 3GlrhW6qz/Sb8eytzwFDBlzcZ2U5Af5n8r/4kgHaDUdi+q/6OWac4IdG/vZIJOsp4Knv TZ3A== X-Gm-Message-State: AC+VfDwjzqrSVivvUoVJBL5KZwwVAWQdqu99P0x1WZolZY250TqlFW3U H0fgElsY4eDTX55OIwVfFYhedjQJtKSX/g== X-Google-Smtp-Source: ACHHUZ4cgpq3SU7PQw2D/2tCUWnCOBJBBshi60Oc+W9VbbZS0QjhpkFHn44ji276+MFSFXI3vjiL1g== X-Received: by 2002:a17:90b:17c8:b0:259:548b:d394 with SMTP id me8-20020a17090b17c800b00259548bd394mr9957348pjb.28.1686658423996; Tue, 13 Jun 2023 05:13:43 -0700 (PDT) Original-Received: from laptop.lockywolf.net ([2001:470:24:315::102]) by smtp.gmail.com with ESMTPSA id c15-20020a17090abf0f00b0025645d118adsm9223642pjs.14.2023.06.13.05.13.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Jun 2023 05:13:43 -0700 (PDT) In-reply-to: <83legnwqva.fsf@gnu.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::534; envelope-from=lockywolf@gmail.com; helo=mail-pg1-x534.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_FROM=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-Mailman-Approved-At: Tue, 13 Jun 2023 08:35:19 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:306771 Archived-At: Eli Zaretskii writes: >> From: Vladimir Nikishkin >> Cc: emacs-devel@gnu.org >> Date: Tue, 13 Jun 2023 11:40:44 +0800 >> >> >> in the "Musical Notes" node: >> >> @expr{C_(-1)} corresponds to the midi note number 0 >> >> probably should be >> >> @expr{C_{(-1)}} corresponds to the midi note number 0 > > Are you sure? Texinfo in general doesn't allow unadorned { or }. > > What is the problem with @expr{C_(-1)}? What does "unadorned" mean? I think my suggestion uses a couple of matching curly braces. The problem with the current code is clearly seen in the pdf output. Only the first opening parenthesis is the lower index, the rest -1) are following that C-with-subindex-opening-parenthesis fully sized. This is a default behaviour for TeX mathematics. I am not sure how texinfo is different. -- Your sincerely, Vladimir Nikishkin (MiEr, lockywolf) (Laptop)