Hello list members,

I was trying to genarate html out put of the Emacs Lisp Introduction
using the sources coming with Gnu Emacs from git master. The source file
emacs-lisp-intro.texi uses some files by @including them, which are not
in the same directory, but at ../emacs.

I tried to run

[haawda@frege lispintro]$ texinfo-js  emacs-lisp-intro.texi
texi2any --html -c EXTRA_HEAD=
<link rel="stylesheet" type="text/css" href="info.css"/>
<script src="modernizr.js" type="text/javascript"></script>
<script src="info.js" type="text/javascript"></script>
 emacs-lisp-intro.texi -o emacs-lisp-intro-html
emacs-lisp-intro.texi:7: @include: docstyle.texi konnte nicht gefunden werden
emacs-lisp-intro.texi:12: @include: emacsver.texi konnte nicht gefunden werden
emacs-lisp-intro.texi:113: warning: undefiniertes Flag: EMACSVER
texinfo-js: texi2any failed

With LANG=C for english output:

[haawda@frege lispintro]$ LANG=C texinfo-js  emacs-lisp-intro.texi
texi2any --html -c EXTRA_HEAD=
<link rel="stylesheet" type="text/css" href="info.css"/>
<script src="modernizr.js" type="text/javascript"></script>
<script src="info.js" type="text/javascript"></script>
 emacs-lisp-intro.texi -o emacs-lisp-intro-html
emacs-lisp-intro.texi:7: @include: could not find docstyle.texi
emacs-lisp-intro.texi:12: @include: could not find emacsver.texi
emacs-lisp-intro.texi:113: warning: undefined flag: EMACSVER
texinfo-js: texi2any failed

Okay, so I tried

[haawda@frege lispintro]$ texinfo-js -I ../emacs emacs-lisp-intro.texi
texinfo-js: unknown option --I

Why two hyphens?

This works and produces good looking HTML code:

texinfo-js emacs-lisp-intro.texi -I ../emacs

So the order of options is significant, so far so good. But the error
message is quit unclear.

Happy New Year and best Regards

Stefan Husmann

Reply via email to