root/trunk/CUSTOMIZE.txt

Revision 4466, 3.5 kB (checked in by pmoura, 5 weeks ago)

Updated release number to 2.33.1.

Removed supported for the deprecated mutex_create/1 Prolog built-in predicate.

Updated the XSB config file by switching off the use of multifile/1 directives when compiling Logtalk source files as a workaround for know bugs in the implementation of this directive for dynamic predicates.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1================================================================
2Logtalk - Open source object-oriented logic programming language
3Release 2.33.1
4
5Copyright (c) 1998-2008 Paulo Moura.        All Rights Reserved.
6Logtalk is free software.  You can redistribute it and/or modify
7it under the terms of the "Artistic License 2.0" as published by
8The Perl Foundation. Consult the "LICENSE.txt" file for details.
9================================================================
10
11
12This file contains detailed instructions for customizing your Logtalk
13installation and working environment. Customization is mostly done on a
14per-user basis by editing configuration files on the Logtalk user folder
15(whose path is stored on the LOGTALKUSER environment variable; this folder
16can be (re)created by running the "cplgtdirs" shell command). The default
17paths for the Logtalk user folder are:
18
19    POSIX systems: $HOME/logtalk
20    Windows: My Documents\Logtalk
21
22
231. SETTING LIBRARY PATHS
24
25In Logtalk, a library is simply a directory containing source files. Library
26paths can be declared using a dynamic predicate. This allows compiling and
27loading of libraries and library files using the library names instead of the
28full library paths.
29
30Inside your Logtalk user folder, you will find a "libpaths" folder containing
31a sample file which, when loaded, defines the library paths for the Logtalk
32standard library and for all the supplied examples. This file may need to be
33edited to match both your Logtalk installation and your Prolog compiler and
34operating-system requirements. For details, see the "libpaths/NOTES.txt" file.
35
36
372. CUSTOMIZING PROLOG CONFIGURATION FILES
38
39Logtalk interfaces with a specific Prolog compiler using a configuration file
40that can be found on the "configs" folder inside your Logtalk user folder.
41These configuration files can be customized by changing the default values
42of the flags that are used by Logtalk when compiling source files. For a
43full description of these flags, consult the "Running and debugging Logtalk
44programs" section of the User Manual. Some of the default flags that you may
45want to change include: "smart_compilation", "startup_message", "altdirs",
46"tmpdir", "portability", "underscore_variables", and the documentation-related
47flags ("xmldocs", "xmldir", "xslfile", "xmlspec", and "xmlsref"). Be sure
48to read the "configs/NOTES.txt" file for Prolog specific compatibility notes;
49some Prolog compilers do not support some of the possible compilation flags
50values.
51
52
533. CUSTOMIZING DOCUMENTATION PROCESSING SCRIPTS AND SUPPORTING FILES
54
55Inside your Logtalk user folder, you will find a "xml" folder containing a
56set of shell scripts, CSS and XSLT style-sheets, and DTD and XML Schema files
57for processing the XML documenting files that are automatically generated
58when you compile source files. You may want to customize the CSS and XSLT
59files to modify the layout or style of the resulting PDF/(X)HTML files or to
60write new scripts and transformations to generate other formats. You may also
61edit the file "custom.ent" in order to specify XML entities for your personal
62data that can be used on Logtalk documenting directives. For details, see the
63"xml/NOTES.txt" file.
64
65
664. ADDING SUPPORT FOR EDITING LOGTALK SOURCE FILES TO TEXT EDITORS
67
68Inside your Logtalk user folder, you will find a "wenv" folder, containing
69configuration files for several text editors, which add support for syntax
70highlighting and other text editing services for Logtalk source files.
71For details, see the "wenv/NOTES.txt" file.
Note: See TracBrowser for help on using the browser.