Re: Rendering pi more nicely in PDF

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alexander Lakhin <exclusion(at)gmail(dot)com>
Cc: pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: Rendering pi more nicely in PDF
Date: 2020-04-27 15:04:14
Message-ID: 25094.1587999854@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

Alexander Lakhin <exclusion(at)gmail(dot)com> 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 &sum; 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 <phrase> markup inside the template for
<returnvalue>, 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

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Alexander Lakhin 2020-04-27 16:00:01 Re: Rendering pi more nicely in PDF
Previous Message Daniel Gustafsson 2020-04-27 10:16:41 Roles for pg_basebackup