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 1jT6B2-0005xt-8g for pgsql-docs@arkaria.postgresql.org; Mon, 27 Apr 2020 16:00:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jT6B1-0005Mi-54 for pgsql-docs@arkaria.postgresql.org; Mon, 27 Apr 2020 16:00:11 +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 1jT6B0-0005Mb-WD for pgsql-docs@lists.postgresql.org; Mon, 27 Apr 2020 16:00:11 +0000 Received: from mail-lf1-x135.google.com ([2a00:1450:4864:20::135]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jT6Au-0007nQ-CP for pgsql-docs@lists.postgresql.org; Mon, 27 Apr 2020 16:00:10 +0000 Received: by mail-lf1-x135.google.com with SMTP id u10so14272257lfo.8 for ; Mon, 27 Apr 2020 09:00:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language; bh=FhjdsU6kY+oHiQKjZsv8jR0H3foiYRTiZ7E/bsrAxLQ=; b=E6NAoCaeObDQAQ10Bsxq4io45HPkGaWqO8IKpVH9KoDZxlOfJMVLfmEogcr3c8vp8b NBf/bMObF0rH/6+9rZEcxlsaHECk6lf2OKyCcWv80kwGFtW0q6EBv2h5+w2qD9eSaNsg BcZy0G1gOQuM5g4xsvWvtVARPOF48FijHAl63GZxA+qziTzE9kA5HwL0g2mmo21fxNEY sJ2eueBb/vNvRJwYIMIPzjM229+n+IDQJa/UW6nTyy9Lyxq7xHNZ2m5ZRkPtbgbx+IWz DqT7KyeShmBV+uoI9MAlLSKQzEXi++lKuKRjVadUySxMkb59qrxmhyDa8NbY7hOd65WW IPMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=FhjdsU6kY+oHiQKjZsv8jR0H3foiYRTiZ7E/bsrAxLQ=; b=nSgTvIJwtBpIqT30IZWYqhpS9pK61Cr4T+Kk/aAPI0Q3GhXFBasioNtaI0SgEmmnu0 /+keDwJ6gg35ncMVJCy9mC+jpt5wmF10mY1/bCOQIljwq5ckIeoSnUM5FagEw32w6w81 D5arkAnKfG/Naxc6uaRDrjKOtjn/MoGHKgcJjC9t/TsCRrrJPyCNpbk+2WcT7SJMfHEc WCf1sye5KgXU8wa8w7cfDcOs5aUSTT5kKi5KI6+MFoSkoOYZOa2vrN7yGXI3SKEZF1aq juuX0uPj8GHlT/kitAX1dl6EpWdu7GjQS+W9d+07LP8OFYKAKyNJ09SnCjyJrvllSPym TSNQ== X-Gm-Message-State: AGi0PuZ/TWmD0qa9iaKm8eCYoMNHUiV7QFLKkuISZ4nMpc/BLpdwRRqe IkRxz+ESFhTpVUlKMbdYca6xWfI1 X-Google-Smtp-Source: APiQypKK1Mg3em7Y9N+VzqVSZcV9IxO5El2kKVH8Oq9Abk0YdWEK6AE9Qignp+IJIyVe7a/KWZRE7Q== X-Received: by 2002:a19:ee06:: with SMTP id g6mr16068188lfb.90.1588003202974; Mon, 27 Apr 2020 09:00:02 -0700 (PDT) Received: from [1.0.0.7] ([178.155.6.242]) by smtp.gmail.com with ESMTPSA id 73sm11584567ljj.72.2020.04.27.09.00.02 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 27 Apr 2020 09:00:02 -0700 (PDT) Subject: Re: Rendering pi more nicely in PDF To: Tom Lane Cc: pgsql-docs@lists.postgresql.org References: <10598.1587928415@sss.pgh.pa.us> <664f9462-54b1-256c-69f1-9795c5055a40@gmail.com> <25094.1587999854@sss.pgh.pa.us> From: Alexander Lakhin Message-ID: <40367f31-64c9-8713-b7c2-760a055ac74d@gmail.com> Date: Mon, 27 Apr 2020 19:00:01 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <25094.1587999854@sss.pgh.pa.us> Content-Type: multipart/mixed; boundary="------------CA05AAE0F8D8206D9A0966F3" Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------CA05AAE0F8D8206D9A0966F3 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit 27.04.2020 18:04, Tom Lane wrote: > Alexander Lakhin writes: >> 26.04.2020 22:13, 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? >> Oh well. We can have a single template "symbol_font" and reuse it, but it doesn't seem cleaner to me (for just two cases). (Placing   into wouldn't work as such a content goes into the output, whilst all xsl:templates apply to the input tree.) Best regards, Alexander --------------CA05AAE0F8D8206D9A0966F3 Content-Type: text/x-patch; charset=UTF-8; name="single_symbol_font_template.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="single_symbol_font_template.patch" diff --git a/doc/src/sgml/stylesheet-fo.xsl b/doc/src/sgml/stylesheet-fo.xsl index 2f2517d8ce..38c96737d5 100644 --- a/doc/src/sgml/stylesheet-fo.xsl +++ b/doc/src/sgml/stylesheet-fo.xsl @@ -92,7 +92,7 @@ - → + @@ -102,8 +102,9 @@ - - + + + --------------CA05AAE0F8D8206D9A0966F3--