[EMAIL PROTECTED]
    [EMAIL PROTECTED], , Syntax of Regular Expressions, emacs, The GNU Emacs
    +Manual}.
    [EMAIL PROTECTED] ifnothtml
    [EMAIL PROTECTED]
    +See
    [EMAIL 
PROTECTED]://www.gnu.org/@/software/@/emacs/@/manual/@/emacs.html#Regexps,
    +Syntax of Regular Expressions} in the GNU Emacs Manual.
    [EMAIL PROTECTED] ifhtml

BTW, this is certainly more useful html for the users, but the cost of
munging the source with these conditionals seems awfully high.

Another option would be to create an emacs.html symlink in the
www.gnu.org/software/m4/manual directory.

Another option would be to postprocess the html.  That's what I do for
the GNU coding standards and maintainer documents.  Also ugly, but at
least then the source doesn't have to be changed.  For example, for
maintain.html, I do this:

# new-style gendocs.sh
        perl -pi -e 
's,href="(texinfo|emacs).html,href="/software/\1/manual/\1/\1.html,g' 
manual/maintain.html 
        perl -pi -e 
's,href="\.\./(texinfo|emacs)/,href="/software/\1/manual/\1/html_node/,g' 
manual/html_node/*.html
#
# new-style gendocs.sh, but special location.
        perl -pi -e 's,href="(standards).html,href="/prep/\1/\1.html,g' 
manual/maintain.html 
        perl -pi -e 's,href="\.\./(standards)/,href="/prep/\1/html_node/,g' 
manual/html_node/*.html
#
# old-style (and not updated for ages)
        perl -pi -e 
's,href="(cvs).html,href="/software/\1/manual/html_mono/\1.html,g' 
manual/maintain.html 
        perl -pi -e 
's,href="\.\./(cvs)/,href="/software/\1/manual/\1/html_node/,g' 
manual/html_node/*.html
#
# old-style, and in the "wrong" directory.
        perl -pi -e 
's,href="elisp.html,href="/software/emacs/elisp-manual/html_mono/elisp.html,g' 
manual/maintain.html 
        perl -pi -e 
's,href="\.\./elisp/,href="/software/emacs/manual/elisp-manual/html_node/,g' 
manual/html_node/*.html

For whatever it may be worth ...

Best,
Karl


_______________________________________________
M4-patches mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/m4-patches

Reply via email to