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 1jT6YA-0006qC-M7 for pgsql-docs@arkaria.postgresql.org; Mon, 27 Apr 2020 16:24:06 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jT6Y9-0000uH-8V for pgsql-docs@arkaria.postgresql.org; Mon, 27 Apr 2020 16:24:05 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jT6Y9-0000qZ-2e for pgsql-docs@lists.postgresql.org; Mon, 27 Apr 2020 16:24:05 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jT6Y6-0002q4-FQ for pgsql-docs@lists.postgresql.org; Mon, 27 Apr 2020 16:24:04 +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 03RGO0TT020828; Mon, 27 Apr 2020 12:24:00 -0400 From: Tom Lane To: Alexander Lakhin cc: pgsql-docs@lists.postgresql.org Subject: Re: Rendering pi more nicely in PDF In-reply-to: <40367f31-64c9-8713-b7c2-760a055ac74d@gmail.com> References: <10598.1587928415@sss.pgh.pa.us> <664f9462-54b1-256c-69f1-9795c5055a40@gmail.com> <25094.1587999854@sss.pgh.pa.us> <40367f31-64c9-8713-b7c2-760a055ac74d@gmail.com> Comments: In-reply-to Alexander Lakhin message dated "Mon, 27 Apr 2020 19:00:01 +0300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <20826.1588004640.1@sss.pgh.pa.us> Date: Mon, 27 Apr 2020 12:24:00 -0400 Message-ID: <20827.1588004640@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Alexander Lakhin writes: > 27.04.2020 18:04, Tom Lane wrote: >> 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? > We can have a single template "symbol_font" and reuse it, but it doesn't > seem cleaner to me (for just two cases). Yeah, I agree, that's not an improvement. It's invoking the template two different ways, which seems pretty weird (at least to an XSL novice like me). regards, tom lane