From: muenkel@daedalus.tnt.uni-hannover.de (Heiko Muenkel)
Subject: Lisp package for writing HTML-pages with the lemacs
Date: 3 Nov 1993 22:38:07 +0200 [thread overview]
Message-ID: <2b94rf$lk2@klaava.Helsinki.FI> (raw)
Hi,
I've put the file hm--html-menus-2.0.tar.gz on the ftp server sunsite.unc.edu
in the directory /pub/Linux/apps/editors/emacs . It contains the new version
of my lisp package to write html-pages with the lemacs (The emacs from Lucid).
The package is based on the html-mode from Marc Andreessen, but provides more
functions and better popup and pulldown menus. I've put the NEWS file and the
README file at the end of this posting.
If someone wants to port the package for the GNU emacs 19, he should send me
a note. I can then help him and can put the changes in the next version of
this package.
Please send any comments, bug messages or proposals to
muenkel@tnt.uni-hannover.de
Heiko
---- BEGIN of the README file ----
This README file describes the lemacs lisp package hm--html-2.0.
The package provides various pupop and pulldown menus and functions for
the html-mode from Marc Andreessen, and support for the w3-package
from William M. Perry and the file html-view.el from Ron Tapia.
Look at the file NEWS, to see what is new in this release.
There is also a file in this package, which provides the posibility
to scroll a buffer by clicking with the mouse on the modeline. But you
need some files from the package hm--lemacs-menus-1.0 to use it. You
can get this package from one of the following sites:
ftp.rrzn.uni-hannover.de:/pub/unix/editors/lemacs/contrib
sunsite.unc.edu:/pub/Linux/Incoming
The filename of the package is hm--lemacs-menus-1.0.tar.gz.
You should (but must not) also get the w3 package from:
cs.indiana.edu:/pub/elisp/w3/w3.tar.z
which provides an world wide web mode for the lemacs, emacs and epoch.
This package is tested with the lemacs 19.4 on Suns with SunOS 4.1.3 and
on PC's with linux. But it should work also on other (only UNIX ?) plattforms.
I've never tested this package with the GNU emacs 19, but I think, that at
least the file hm--html-menu.el must be adapted to the GNU emacs 19. Let me
know, if you want to patch this package for the GNU emacs 19. I will then
include the changes in the next release.
The package consists of the following files:
README : this file;
hm--html.el : provides functions to write html pages;
some of these functions are similar to
functions of the html-mode.el;
hm--html-menu.el : provides the menus; this is the main file;
hm--html-configuration.el : configuration file for the html mode;
choose this as system configuration file
.hm--html-configuration.el : configuration file for the html mode;
choose this as user configuration file;
(it is only an example);
hm--date.el : Defines the function hm--date, which returns
the date in the format "day-month-year"
like "30-Jun-1993".
hm--mouse-on-modeline.el : provides functions for scrolling html
buffers by clicking on a modeline;
look at this file, if you want to add
the mouse scrolling feature to the
html-mode in the lemacs; it must be
loaded after the other html files;
html-mode.el : Marc Andreessen's html-mode file; use this
one, if your html-mode.el is older or doesn't
work together with my files;
html-view.el : Ron Tapia's html-view.el to view html-pages
in the Xmosaic; it is patched for the use
with the lemacs;
command-description-template.html
: Templatefile
INSTALLATION:
=============
1. Put all the *.el files (except .hm--html-configuration.el)
in one of your lemacs lisp load directories (i.e. lisp/packages).
2. Put the following in your .emacs (or default.el or site-init.el):
(autoload 'html-mode "hm--html-menu" "HTML major mode." t)
(or (assoc "\\.html$" auto-mode-alist)
(setq auto-mode-alist (cons '("\\.html$" . html-mode)
auto-mode-alist)))
The above lines assume, that you have not installed the html-mode.el.
You should remove the appropriate (old) lines, if that isn't true.
3. Set the environment variable HTML_CONFIG_FILE to the html system
configuration file i.e.:
setenv HTML_CONFIG_FILE /usr/lemacs/lisp/hm--html-configuration.el
4. Set (if you want) the environment variabe HTML_USER_CONFIG_FILE to
the html user configuration file i.e.:
setenv HTML_USER_CONFIG_FILE ~/.hm--html-configuration.el
And put the file .hm--html-configuration.el in your Homedirectory.
5. Check the files hm--html-configuration.el and
.hm--html-configuration.el, if all variables are set suitable for
you and your site. You can make changes in both of these files.
But .hm--html-configuration.el preceeds the settings in
hm--html-configuration.el, because it is the user specific
configuration file. So you should made site specific changes in
hm--html-configuartion.el.
Look at first at the following variables:
hm--html-signaturefile
hm--html-username
hm--html-template-dir
html-document-previewer
html-view-html-document-previewermosaic-command
w3-default-homepage
6. If you want to use templatefiles, you should put these files
in the directory on which 'hm--html-template-dir' pointed.
You can use the file command-description-template.html as
an example.
7. Look at the installation part of the file hm--mouse-on-modeline.el,
if you want to have the capability to scroll the buffer by mouseclick.
Every hm--*.el file has a description and installation part. Look at first
at these parts, if you have any questions.
Look at first at the configuration files, if you've problems with this package!
Sorry, I know that the documentation of this package isn't so good as it
should be, but I've now not the time to make a better one.
Please send any bug reports, fixes or comments to
muenkel@daedalus.tnt.uni-hannover.de
I hope these files will be usefull,
Heiko
---- END of the README file ----
---- BEGIN of the NEWS file ----
24.10.93:
The file hm--date.el is now also in this package.
Deleted the numeric anchor name stuff altogether. Therefore the
package can now use the version 2.1 of Marc Andreessens html-mode.el
instead of the version 2.0.
Added some keytable entrys.
Added the minor mode html-region-mode, which is active, if a region
is active. The minor-mode has its own keytable. That is why it is now
possible to use the same key sequences with different two functions,
one for adding something to an active region and one for adding some-
thing without a region.
All keys, without the keys which are defined by Marc Andreessen in
his file html-mode.el, are now defined in the general configuration
file hm--html-configuration.el.
25.09.93:
Fixed the wrong string "adress".
Added functions and menu items to insert html, head, and body elements
and to insert a complete html frame with the above elements, the title
the header and the signature.
The functions, which adds the header and the title at the same time
are now only using the header size 1.
Added functions for inserting underline and definition styles.
Changed the menu "Formated" according to the HTML quick reference
from Michael Grobe.
Changed the menu item name "Fixed" to "Typewriter".
Added functions to insert directory lists.
Changed the names of menu items in the submenu "Structure" according
to the HTML quick reference from Michael Grobe.
23.09.93:
Changed the functions to add the signature and the title.
This functions uses now the new tags <html>, </html>,
<head>, </body> and <isindex> to places the signature and
the title in a html-file.
Fixed also some minor bugs;
---- END of the NEWS file ----
--
_______________________________________________________________________________
Dipl.-Ing. Heiko Muenkel Universitaet Hannover
Institut fuer
Theoretische Nachrichtentechnik
und Informationsverarbeitung
muenkel@tnt.uni-hannover.de Appelstrasse 9A
fax: +49-511-762-5333 30167 Hannover
phone: +49-511-762-5323 Germany
_______________________________________________________________________________
reply other threads:[~1993-11-03 20:38 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox