lgt2html(1)

NAME
lgt2html - Logtalk script for converting XML documenting files into (X)HTML files

SYNOPSIS
lgt2html [-f format] [-d directory] [-i index] [-t title] [-p processor]
lgt2html -h

DESCRIPTION
lgt2html is a Logtalk script for converting all XML documenting files in the current directory into (X)HTML files.

OPTIONS

-f  format Output file format (xhtml, html, or html5).

-d  directory Output directory for the generated (X)HTML files.

-i  index Name of the index file.

-t  title Title to be used in the index file.

-p  processor XSLT processor.

REQUIREMENTS
Requires a compatible XSLT processor. See the script help screen for more information.

ENVIRONMENT

LOGTALKHOME
    Specifies the location of the Logtalk installation.

LOGTALKUSER
    Specifies the location of the Logtalk user directory.

FILES

$LOGTALKHOME/tools/lgtdoc/xml/logtalk_entity.dtd
    The Logtalk entity DTD file.

$LOGTALKHOME/tools/lgtdoc/xml/logtalk_index.dtd
    The Logtalk index DTD file.

$LOGTALKUSER/tools/lgtdoc/xml/custom.ent
    The Logtalk custom entities file.

$LOGTALKHOME/tools/lgtdoc/xml/logtalk_entity.xsd
    The Logtalk entity XML Schema file.

$LOGTALKHOME/tools/lgtdoc/xml/logtalk_index.xsd
    The Logtalk index XML Schema file.

$LOGTALKUSER/tools/lgtdoc/xml/logtalk.css
    The default CSS file for the generated (X)HTML files.

$LOGTALKUSER/tools/lgtdoc/xml/logtalk_entity_to_html.xsl
    The Logtalk entity XSLT file for generating HTML 4.01 files.

$LOGTALKUSER/tools/lgtdoc/xml/logtalk_index_to_html.xsl
    The Logtalk index XSLT file for generating HTML 4.01 files.

$LOGTALKUSER/tools/lgtdoc/xml/logtalk_entity_to_html_5.xsl
    The Logtalk entity XSLT file for generating HTML 5 files.

$LOGTALKUSER/tools/lgtdoc/xml/logtalk_index_to_html_5.xsl
    The Logtalk index XSLT file for generating HTML 5 files.

$LOGTALKUSER/tools/lgtdoc/xml/logtalk_entity_to_xhtml.xsl
    The Logtalk entity XSLT file for generating XHTML 1.1 files.

$LOGTALKUSER/tools/lgtdoc/xml/logtalk_index_to_xhtml.xsl
    The Logtalk index XSLT file for generating XHTML 1.1 files.

SEE ALSO
The Logtalk website at https://logtalk.org/

The Logtalk Handbook at $LOGTALKHOME/docs/handbook/index.html

logtalk_user_setup(1), lgt2txt(1), lgt2md(1), lgt2xml(1), lgt2pdf(1)

AUTHOR
Paulo Moura <pmoura@logtalk.org>

COPYRIGHT
Copyright (c) 1998-2026 Paulo Moura.