bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug with anchors containing special characters in split HTML output


From: Thorsten Meyer
Subject: bug with anchors containing special characters in split HTML output
Date: Wed, 22 Oct 2008 23:11:14 +0200
User-agent: Mozilla-Thunderbird 2.0.0.16 (X11/20080724)

Hi,

I think I have found a bug in makeinfo (makeinfo (GNU texinfo) 4.11 on
debian):

when
  - an @anchor name contains a special characters (I tried - and _)
  - output is sent to html (--html option) and
  - output is relocated to another directory (e.g. --output HTML)
then
  - references to this anchor do not work in html, because the html tag
does not point to the right directory (i.e. HTML instead of a directory
with the name of the info file)

example:
see attached texi file, process it with
    makeinfo --html --output=HTML first.texi
and try the the links in first chapter:
 - first link, no special character: works fine
 - second and third link, special character: does not work, reference to
wrong directory

regards

Thorsten Meyer
\input texinfo   @c -*-texinfo-*-
@c %**start of header
@setfilename sample.info
@settitle Sample Manual 1.0
@c %**end of header

@copying
This is a short example of a complete Texinfo file.

Copyright © 2005 Free Software Foundation, Inc.
@end copying

@titlepage
@title Sample Title
@page
@vskip 0pt plus 1filll
@insertcopying
@end titlepage

@c Output the table of the contents at the beginning.
@contents

@ifnottex
@node Top
@top GNU Sample

@insertcopying
@end ifnottex

@menu
* First Chapter::    The first chapter is the
                      only chapter in this sample.
* Index::            Complete index.
@end menu


@node First Chapter
@chapter First Chapter

@cindex chapter, first

This is the first chapter.
@cindex index entry, another

Here is a numbered list.

@enumerate
@item
This is the nth item. @ref{rosem,,eine rose ist eine rose}

This is another item. @ref{mi-ma,,meine mami,sample}
@item
This is the nth item.
@ref{ma_mi,,meine mutter,sample}
@macro foo2 {p, q}
Together: \p\ & \q\.
@end macro
@macro foo3 {p, q, r}
Together: \p\ & \q\ & \r\.
@end macro
@foo2{a, b}
@foo3{a, b, c}


@item
This is the nth item. @anchor{mi-ma}
@item
This is the nth item.
@item
@anchor{ma_mi}
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the nth item.
@item
This is the second item @anchor{rosem} here and now.
@end enumerate


@node Index
@unnumbered Index

@printindex cp

@bye

reply via email to

[Prev in Thread] Current Thread [Next in Thread]