root/tags/lgt2282/CUSTOMIZE.txt

Revision 3056, 3.0 KB (checked in by pmoura, 2 years ago)

Updated release number to 2.28.2.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1=================================================================
2Logtalk - Object oriented extension to Prolog
3Release 2.28.2
4
5Copyright (c) 1998-2006 Paulo Moura.  All Rights Reserved.
6=================================================================
7
8
9This file contains detailed instructions for customizing your Logtalk
10installation and working environment. Customization is mostly done on
11a per-user basis by editing files on the Logtalk user folder (whose
12path is sorted on the LOGTALKUSER environment variable).
13
14
151. SETTING LIBRARY PATHS
16
17In Logtalk, a library is simply a directory containing source files. Library
18paths can be declared using a dynamic predicate. This allows compiling and
19loading of libraries and library files to be performed without worries about
20library paths.
21
22Inside your Logtalk user folder, you will find a "libpaths" folder containing
23a sample file which, when loaded, defines the library paths for the Logtalk
24standard library and for all the supplied examples. This file may need to be
25edited to match both your Logtalk installation and your Prolog compiler and
26operating-system requirements. For details, see the file "libpaths/NOTES".
27
28
292. CUSTOMIZING PROLOG CONFIGURATION FILES
30
31Logtalk interfaces with a specific Prolog compiler via a configuration file
32that can be found on the "configs" folder inside your Logtalk user folder.
33These configuration files can be customized by changing the values of the
34default flags that are used by Logtalk when compiling source files. For a
35full description of these default flags, consult the "Running and debugging
36Logtalk programs" section of the User Manual. Some of the default flags that
37you may want to change include: "smart_compilation", "startup_message",
38"portability", "underscore_vars", "altdirs", and the set of documentation-
39related flags ("xmldocs", "xslfile", "xmlspec", and "xmlsref"). Be sure to
40read the "configs/NOTES" file for Prolog specific notes; some Prolog compilers
41do not support the whole range of compilation flag values. 
42
43
443. CUSTOMIZING DOCUMENTATION PROCESSING SCRIPTS AND SUPPORTING FILES
45
46Inside your Logtalk user folder, you will find a "xml" folder containing a
47set of shell scripts, CSS and XSLT style-sheets, and DTD and XML Schema files
48for processing the XML documenting files that are automatically generated
49when you compile source files. You may want to customize the CSS and XSLT
50files to modify the layout or style of the resulting PDF/(X)HTML files or to
51write new scripts and transformations to generate other formats. You may also
52edit the file "custom.ent" in order to specify XML entities for your personal
53data that can be used on Logtalk documenting directives. For details, see the
54file "xml/NOTES".
55
56
574. ADDING SUPPORT FOR EDITING LOGTALK SOURCE FILES TO TEXT EDITORS
58
59Inside your Logtalk user folder, you will find a "wenv" folder, containing
60configuration files for several text editors, which add support for syntax
61coloring and other editing services of Logtalk source files. For details,
62see the file "wenv/NOTES".
Note: See TracBrowser for help on using the browser.