delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/08/18/21:24:06

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Thu, 18 Aug 2005 21:23:53 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Joshua Daniel Franklin <joshuadfranklin AT gmail DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: Proposed FAQ in DocBook
In-Reply-To: <cb51e2e05081816517b0eeb99@mail.gmail.com>
Message-ID: <Pine.GSO.4.61.0508182115430.23183@slinky.cs.nyu.edu>
References: <cb51e2e050803221558317848 AT mail DOT gmail DOT com> <cb51e2e050805222537cf0c30 AT mail DOT gmail DOT com> <Pine DOT GSO DOT 4 DOT 61 DOT 0508181836060 DOT 23183 AT slinky DOT cs DOT nyu DOT edu> <cb51e2e05081816517b0eeb99 AT mail DOT gmail DOT com>
MIME-Version: 1.0

On Thu, 18 Aug 2005, Joshua Daniel Franklin wrote:

> On 8/18/05, Igor Pechtchanski wrote:
> > On Fri, 5 Aug 2005, Joshua Daniel Franklin wrote:
> >
> > > On 8/3/05, Joshua Daniel Franklin wrote:
> > > > I'm tired of tip-toeing around the texinfo source for the FAQ just
> > > > to make sure links to the numbered questions work, so I've
> > > > converted the source to DocBook and put up preliminary versions:
> > >
> > > All done! Everyone update their Cygwin FAQ bookmarks with new,
> > > somewhat meaningful ones!
> >
> > 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...
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019