This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
yap-6.3/Logtalk/wenv/source-highlight/NOTES.txt
pmoura d79dd807e6 Logtalk 2.29.1 files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1744 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-12-28 13:03:34 +00:00

46 lines
1.5 KiB
Plaintext

=================================================================
Logtalk - Object oriented extension to Prolog
Release 2.29.1
Copyright (c) 1998-2006 Paulo Moura. All Rights Reserved.
=================================================================
This directory contains files that provide support for using version 2.0
or later of the source-highlight package by Lorenzo Bettini with Logtalk
source files. A detailed description on the source-highlight package is
available from:
http://www.gnu.org/software/src-highlite/
In order to check if your source-highlight installation already includes
support for Logtalk, use the following command:
% source-highlight --lang-list
If support for Logtalk is not included or if it is outdated, copy the file
"logtalk.lang" to the folder:
$prefix/share/source-highlight
where $prefix is the source-highlight installation directory (by default,
/usr/local) and then edit, if necessary, the file:
$prefix/share/source-highlight/lang.map
and add the entry:
lgt = logtalk.lang
Usage example for a "foo.lgt" Logtalk source file:
% source-highlight --out-format xhtml --input foo.lgt --output foo.html
Usually, Logtalk files are formatted using four-spaces tabs. You may want to
use the "--tab=4"option to keep you source code formatting choices.
You may also use the "logtalk.lang" file with plain Prolog files by using
the "--src-lang" option. For example:
% source-highlight --src-lang lgt --out-format xhtml --input foo.pl --output foo.html