Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <cb51e2e05081821426d7c9fd3@mail.gmail.com>
Date: Thu, 18 Aug 2005 21:42:27 -0700
From: Joshua Daniel Franklin <joshuadfranklin@gmail.com>
To: cygwin@cygwin.com
Subject: Re: Proposed FAQ in DocBook
In-Reply-To: <Pine.GSO.4.61.0508182115430.23183@slinky.cs.nyu.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Disposition: inline
References: <cb51e2e050803221558317848@mail.gmail.com> 	 <cb51e2e050805222537cf0c30@mail.gmail.com> 	 <Pine.GSO.4.61.0508181836060.23183@slinky.cs.nyu.edu> 	 <cb51e2e05081816517b0eeb99@mail.gmail.com> 	 <Pine.GSO.4.61.0508182115430.23183@slinky.cs.nyu.edu>
X-IsSubscribed: yes
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id j7J4gYYd010783

On 8/18/05, Igor Pechtchanski wrote:
> On Thu, 18 Aug 2005, Joshua Daniel Franklin wrote:
> 
> > On 8/18/05, Igor Pechtchanski wrote:
> > > Heh, this is the first time I accessed the FAQ after the switch, and
> > > the direct question links don't work. :-( I think the presence of the
> > > id= attribute and the name= attribute *in different <a> tags* confuses
> > > the older Netscape that I use.  I just checked, and combining them
> > > into one tag fixes the problem.  Is there a way to convince DocBook to
> > > do that?
> >
> > What version of Netscape, so I can attempt to reproduce?
> 
> 4.72 (don't laugh, I still use it occasionally).
> 
> > Also, do both the one- and multi-file versions fail for you?
> 
> Both.
> 
> > I'm not sure what you mean by "id=" maybe it's stuff like this:
> >
> > <a name="faq.what.where"></a><a name="id4678694"></a>
> 
> Yes, that's exactly what I meant (for some reason, I misread the second
> name= attribute as an id= attribute, sorry).  FWIW, changing the above to
> 
> <a name="faq.what.where" id="id4678694"></a>
> 
> makes the named link work in my version of Netscape, while not breaking it
> for either IE or FireFox.
> 
> Switching the anchors around also makes the named links work (at the
> expense of the id ones, but who uses those?):
> 
> <a name="id4678694"></a><a name="faq.what.where"></a>
> 
> As I understand it, DocBook is an XSLT stylesheet, right?  Do you know
> off-hand how to convince it to do either of the above two changes?  If
> not, I'll take a look and try to submit a patch...

I think we might want to use this:

<http://docbook.sourceforge.net/release/xsl/current/doc/html/generate.id.attributes.html>

Unfortunately it doesn't work. :(
Feel free to take a look.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


