Proposed FAQ in DocBook

Igor Pechtchanski pechtcha@cs.nyu.edu
Mon Aug 29 13:43:00 GMT 2005


On Fri, 26 Aug 2005, Joshua Daniel Franklin wrote:

> On 8/18/05, Joshua Daniel Franklin wrote:
> > 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.
> > > >
> > > > What version of Netscape, so I can attempt to reproduce?
> > >
> > > 4.72 (don't laugh, I still use it occasionally).
>
> Well, I didn't figure out how to do it in DocBook, but it was no
> problem with sed:
>
> sed -i 's;</a><a name="id[0-9]*"></a>;</a>;g' faq/faq*.html

BTW, I don't think I saw the "id\d+" form of reference ever used in the
FAQ, but just in case, to fully preserve the prior functionality (i.e.,
allow references to those anchor forms), you could use something like

sed -i 's;<a name="\(.*\)"></a><a name="\(id[0-9]*\)"></a>;<a name="\1" id="\2"></a>;g' faq/faq*.html

> Hopefully in the meantime you were able to make do with a more advanced
> browser such as lynx. :)

Firefox, actually.  But it does have its occasional problems...  I'll try
to find the time to look for a DocBook way of fixing this.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.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/



More information about the Cygwin mailing list