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

Emacs 23 breaks hyperlatex


with emacs22, everything is fine, but emacs23 breaks hyperlatex leading
it to FTBFS like this:

cd doc && PATH="/home/ernie/debian/hyperlatex-2.9a/bin:$PATH"
HYPERLATEX_DIR="/home/ernie/debian/hyperlatex-2.9a/hlx" hyperlatex
Hyperlatex formatting
  (on Emacs 23.1.1)
Running Hyperlatex 2.9-in-waiting-rk (oct06) (1.20 -- 2006/11/20)
Parsing ...
Package "siteinit" inserted
Package "init" not found...
Package "article" inserted
Reading site init file for Hyperlatex version 2.9-in-waiting (oct06):
Package "english" inserted
Package "bluepanels" inserted
   <Basic commands>,
Package "emulate" not found...
   <Footnotes, index, bibliography>,
Package "babel" inserted
Package "german" inserted
Babel package: German
Package "longtable" inserted
Package "makeidx" inserted
Package "frames" inserted
****  Making Frames ****

Making directory html
Title of work is "Hyperlatex Manual"
Using filename "html/hyperlatex.html"
Parsing: � ...

Hyperlatex ERROR: Empty hyperlatex-mode-stack in hyperlatex-set-state.
Hint: Try running Latex, it may give a better error message.

Error discovered here:

The basic idea of Hyperlatex is to make it possible to write a
document that will look like a flawless \latex document when printed
and like a handwritten \Html document when viewed with an \Html
browser. In this it completely follows the philosophy of \latexinfo
(and \texinfo).  Like \latexinfo, it defines its own input
format---the \emph{Hyperlatex markup language}---and provides two
converters to turn a document written in Hyperlatex markup into a \dvi
file or a set of \Html documents.

Obviously, this approach has the disadvantage that you have to learn a
``new'' language to generate \Html files. However, the mental effort
for this is quite limited. The Hyperlatex markup language is simply a
well-defined subset of \latex t��p��hat has been extended with commands to
create hyperlinks, to control the conversion to \Html, and to add
concepts of \Html such as horizontal rules and embedded images.
Furthermore, you can use Hyperlatex perfectly well without knowing
anything about \Html markup.

The fact that Hyperlatex defines only a restricted subset of \latex
does not mean that you have to restrict yourself in what you can do in
the printed copy. Hyperlatex provides many commands that allow you to
include arbitrary \latex commands (including commands from any package
that you'd like to use) which will be processed to create your printed
output, but which will be ignored in the \Html document.  However, you
do have to specify that \emph{explicitly}.  Whenever Hyperlatex
encounters a \latex command outside its restricted subset, it will
complain bitterly.

The rationale behind this is that when you are writing your document,
you should keep both the printed document and the \Html output in
mind.  Whenever you want to use a \latex command with no defined \Html
equivalent, you are thus forced to specify this equivalent.  If, for
instance, you have marked a logical separation between paragraphs with
\l ...


For now, I made hyperlatex 2.9a-4 Build-Depends: and Depends: emacs22
but this solution is suboptimal. Maybe someone has got an idea.

Sorry, I'm not following emacs lisp so closely... ;-)

Thanks in advance!


Reply to: