Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 May 2017 22:37:57 -0500
From:      Benjamin Kaduk <kaduk@mit.edu>
To:        Ernie Luzar <luzar722@gmail.com>
Cc:        "freebsd-doc@freebsd.org" <freebsd-doc@freebsd.org>, "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: handbook TOC
Message-ID:  <20170530033757.GK39245@kduck.kaduk.org>
In-Reply-To: <592AED43.3090007@gmail.com>
References:  <592AED43.3090007@gmail.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Sun, May 28, 2017 at 11:31:15AM -0400, Ernie Luzar wrote:
> Been working on updating a chapter in the English version of the 
> handbook. I deleted a section from the chapter.xml file and now keep 
> getting an error code 4 from the "make".

Without looking at the actual patch and build log in question, my
guess would be that here is something somewhere else in the handbook
that tries to refer to the now-deleted section (by id) producing the
error.

> How is the TOC [table of contents] built?
> Is it a file that contains all the chapter sect headers?
> When I delete a section from a chapter do I also have to remove said 
> section header from some file that the build of the TOC uses?

I do not believe you need to delete a section header from the TOC
specifically when deleting a section.  But, the XML id for that
section may be referenced from a different part of the document, so
it would be worth grepping through to see if it is still referenced.


> The igor pgm  does not seem to test for open and close of sections 
> headers like it does for other tags. Is there some reason for this?

I don't know, sorry.

-Ben



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20170530033757.GK39245>