Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jT5Iy-0003uI-3A for pgsql-docs@arkaria.postgresql.org; Mon, 27 Apr 2020 15:04:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jT5Iw-00077D-VU for pgsql-docs@arkaria.postgresql.org; Mon, 27 Apr 2020 15:04:18 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jT5Iw-000776-Q3 for pgsql-docs@lists.postgresql.org; Mon, 27 Apr 2020 15:04:18 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jT5Iu-0007F7-NT for pgsql-docs@lists.postgresql.org; Mon, 27 Apr 2020 15:04:18 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id 03RF4Ej0025095; Mon, 27 Apr 2020 11:04:14 -0400 From: Tom Lane To: Alexander Lakhin cc: pgsql-docs@lists.postgresql.org Subject: Re: Rendering pi more nicely in PDF In-reply-to: <664f9462-54b1-256c-69f1-9795c5055a40@gmail.com> References: <10598.1587928415@sss.pgh.pa.us> <664f9462-54b1-256c-69f1-9795c5055a40@gmail.com> Comments: In-reply-to Alexander Lakhin message dated "Mon, 27 Apr 2020 08:00:01 +0300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <25093.1587999854.1@sss.pgh.pa.us> Date: Mon, 27 Apr 2020 11:04:14 -0400 Message-ID: <25094.1587999854@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Alexander Lakhin writes: > 26.04.2020 22:13, Tom Lane wrote: >> Use of a new processing-instruction might not be the most elegant >> way to do this ... anyone have a better suggestion? > I would use the phrase tag, which is intended for such uses: [1] [2]. Good idea, done that way. > The "phrase" sounds too generic, but it doesn't require yet another > processing instruction e.g. for ∑ or a similar entity. Yeah, lack of easy applicability to other cases was the main thing bothering me about the processing-instruction fix. BTW, I tried to also use this markup inside the template for , so we'd only need one font-switching special case not two. Didn't work though --- apparently templates don't get applied recursively? Oh well. regards, tom lane