Re: Getting our tables to render better in PDF output

From: Jürgen Purtz <juergen(at)purtz(dot)de>
To: pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: Getting our tables to render better in PDF output
Date: 2020-04-12 07:57:52
Message-ID: a83267b9-04a3-1413-74ae-43000d749983@purtz.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs


On 11.04.20 22:51, Tom Lane wrote:
>> Yet another possibility is to use the docbook tags:
>> <funcdef><function>func()</function>
>> <returnvalue>int</returnvalue></funcdef>.
>> Then we can define the desired formatting for such markup (similar to
>> <menuchoice><guimenu>...</guimenu><guimenuitem>...</guimenuitem></menuchoice>).
> I looked into this. It appears that <funcdef> is fairly tightly tied
> to C function declaration syntax, plus it sounds like it might get
> deprecated in future docbook versions.

funcsynopsis, funcdef, function, ... keeps valid in Docbook 5, see:
https://tdg.docbook.org/tdg/5.1/funcsynopsis.html . There is even an
option to distinguish between K&R and ANSI style during rendering:
<?dbhtml funcsynopsis-style='kr'?>

Kind regards, Jürgen Purtz

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Ankush Chawla 2020-04-12 12:21:22 pre-requiste for installation
Previous Message Jürgen Purtz 2020-04-12 07:36:50 Re: Add A Glossary