Re: compiling the man-pages

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: compiling the man-pages
Дата
Msg-id Pine.LNX.4.30.0101061622380.755-100000@peter.localdomain
обсуждение исходный текст
Ответ на Re: compiling the man-pages  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-docs
I wrote:

> If you look closely (not easy to do) then you will notice that the whole
> compilation process is run twice.  The first time all the cross-references
> will be undefined but the links are recorded in the file manpage.refs.
> The second time whenever a cross-reference is encountered the correct link
> will be inserted into the file.  (This is similar to how LaTeX operates.)
>
> So yes, it is normal to see a lot of noise like this.  You will notice,
> however, that even if you run this many times the warnings/errors will not
> go away completely.  This is a missing feature in the docbook2man script,
> but it can be patched.  The man pages will still look okay with the
> exception that occasionally where you would like something like "see also
> CREATE TABLE" you will get "see also [XRef to SQL-CREATE-TABLE]".

Scrap this explanation.  It's accurate, but it doesn't explain what you
are seeing.  The reason for the messages you get is that nsgmls is run on
each file separately, so when it sees an xref that's in a different file
it complains.  Since nsgmls doesn't do any formatting, just parsing, this
is not a fatal condition, and indeed docbook2man copes with it (via the
manpages.refs file).

I've been working with different makefile rules recently that don't
produce these messages anymore and run a lot faster.  I'll commit them
sometime this weekend.

--
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/


В списке pgsql-docs по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: compiling the man-pages
Следующее
От: Ron Chmara
Дата:
Сообщение: Re: [GENERAL] RE: RE: Re: MySQL and PostgreSQL speed compare