From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-io0-f173.google.com (mail-io0-f173.google.com [209.85.223.173]) by fantadrom.bsd.lv (OpenSMTPD) with ESMTP id 2059593c for ; Tue, 20 Jun 2017 03:04:32 -0500 (EST) Received: by mail-io0-f173.google.com with SMTP id y77so79256563ioe.3 for ; Tue, 20 Jun 2017 01:04:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cathet-us.20150623.gappssmtp.com; s=20150623; h=sender:from:to:subject:mime-version:content-id:date:message-id; bh=qMy0WLhhSREZUm/bJu34x1LrjywfJb5Me3Ph+Ctq0eo=; b=R+1vZnTABY18cZDQ4CyIMTV7QYhqLETst8brc3BlMYUcj2R1EZ9Ikqs4Y/T1ljxGIV mwSxgg27YyM7tqSSdxpA8gQyNtIlLfjqvhXhvIAoj0hnNln4KuNr5XlNnO4/C/aeV5Rj uMqizDYqr4/+1vDdpIzlnucaJDASDwmbnBzcgEbC8j2uobFEgd6HMalO0FbieKlfsuNy ONyXOXRoE7ZQJX93Gu0D/upOTDIRUJVeemZn+siWacENFaQebA6M8dNFj1tPVRn5evu5 suClDIyacKNC5SnHTk3/zXc3cfSJ/Tak7m/TxXQNGP/B8LyNRr5euvPMcAQNe1dZaETg D7rQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:mime-version:content-id :date:message-id; bh=qMy0WLhhSREZUm/bJu34x1LrjywfJb5Me3Ph+Ctq0eo=; b=ZiAGMWMxjkLOIssHrRYdKLL6Te6dX4UHxHnwayR0bN0x4nz1KUFtKSpTgclw9FraJI nnGlzcJECCldu++LOHnHudwyX3K2s3RASFQt7zzEN2hXw6QVDczIcHIHeSExJZr176BU UVHYyRU1BI2tGZtB/mNaA/C7qoa0H7lOi1nlDAfAPopG10w00TOhPNz839ZV45A9YBjV GcyZLIz524AKyw10Z86bs++uusDTiWl9spKghDkUbZ2tyb0p32Pw9tnrIrYcKZ/fdUi4 40m2kBWvtkHL4WY/X+CywCHOFHcPsbYQcKtIu6sIx2LlpqlmHZbbbk/g2q/UVXXE6Y6m nUYQ== X-Gm-Message-State: AKS2vOwA+KjGsQEPg4iZeK44/IGSbjnbJg826SLIkuk2dktrSPWb2Elg S/tb+L7OxWr5Mtl3OH8= X-Received: by 10.107.156.17 with SMTP id f17mr13545534ioe.9.1497945871245; Tue, 20 Jun 2017 01:04:31 -0700 (PDT) Received: from cathet.us. (75-161-15-69.albq.qwest.net. [75.161.15.69]) by smtp.gmail.com with ESMTPSA id l12sm7337107ioi.42.2017.06.20.01.04.30 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 20 Jun 2017 01:04:30 -0700 (PDT) Sender: "Anthony J. Bentley" Received: from cathet.us (localhost [127.0.0.1]) by cathet.us. (OpenSMTPD) with ESMTP id 1fd1c9d0 for ; Tue, 20 Jun 2017 02:04:29 -0600 (MDT) From: "Anthony J. Bentley" To: tech@mdocml.bsd.lv Subject: MathML and , , X-Mailinglist: mdocml-tech Reply-To: tech@mdocml.bsd.lv MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <71440.1497945869.1@cathet.us> Date: Tue, 20 Jun 2017 02:04:29 -0600 Message-ID: <45090.1497945869@cathet.us> Hi, Consider the quadratic formula: x={-b +- sqrt{b sup 2 - 4ac}} over 2a Wikipedia suggests it should be rendered in MathML like so (leaving out invisible operators): x = b ± b 2 4 a c 2 a mandoc -Thtml renders it like so: x= -b ± b 2 4ac 2a A few things are noticeable here: - mandoc only uses , not or . - mandoc will transform a '-' into U+2212, but only when it's not directly adjacent to a digit. - In Firefox, only seems to italicize single letters. It looks like adjacent variables, numbers, and operators should be split: - 'x=' should become x= - '-b' should become b - '-4ac' should become 4ac The MathML standard says (MathML 3.0 2e # 3.2.33) that "sin" is appropriately marked up with . So sin should be enough to correctly render eqn's mathematical words. It seems that for non-mathematical words to be rendered with italics by default, they should be rendered with a per letter? -- Anthony J. Bentley -- To unsubscribe send an email to tech+unsubscribe@mdocml.bsd.lv