bug-texinfo
[Top][All Lists]
Advanced

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

Re: Concept clash of gendocs.sh and HTML Xref links


From: Ralf Angeli
Subject: Re: Concept clash of gendocs.sh and HTML Xref links
Date: Sun, 07 Jan 2007 09:37:35 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.92 (gnu/linux)

* Patrice Dumas (2007-01-04) writes:

> For reference it searches a file named htmlxref.cnf in 
>
> ./.texinfo/
> $ENV{'HOME'}/.texinfo/
> $sysconfdir/texinfo/
> $datadir/texinfo/
>
> In that file there is a line for each manual, first on the line there is 
> the manual name, then 'split' or 'mono' which should be set depending on 
> whether the manual is split or not, and then an optional base url for 
> the manual.

Okay, I put the following lines into ./.texinfo/htmlxref.cnf:

emacs split http://www.gnu.org/software/emacs/manual/html_node/
emacs mono http://www.gnu.org/software/emacs/manual/emacs.html

Then I processed the AUCTeX manual by calling a changed version of
gendocs.sh with the following lines for HTML generation:

Monolithic:
cmd="${TEXI2HTML} -o $PACKAGE.html $html \"$srcfile\""

Split by nodes:
cmd="${TEXI2HTML} --split node --use-nodes --node-files 
--top-file=\"index.html\" -o $PACKAGE.html $html \"$srcfile\""

In the manual there is a cross-reference to the Emacs manual which is
specified like this:
@ref{Font Lock, , Font Lock Mode, emacs, GNU Emacs Manual}

The resulting Link in HTML output for the split manual is 
http://www.gnu.org/software/emacs/manual/html_node/Font-Lock.html#Font-Lock
which is correct.  The monolithic manual will use the same base URL
for link construction, however.  The result is
http://www.gnu.org/software/emacs/manual/html_node/#Font-Lock
which does not work.

Is this a bug or did I do something wrong?  I am using texi2html 1.76.

-- 
Ralf





reply via email to

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