<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">########################################################################
# SGMLSPL script produced automatically by the script sgmlspl.pl
#
# Document Type: invitation --&gt; customization for LaTeX
# Edited by: mg (August 14th 1998)
########################################################################

use SGMLS;                      # Use the SGMLS package.
use SGMLS::Output;              # Use stack-based output.

#
# Document Handlers.
#
sgml('start', sub {});
sgml('end', sub {});

#
# Element Handlers.
#

# Element: invitation
sgml('&lt;invitation&gt;', "\\documentclass[]{article}\n" .
                     "\\usepackage{invitation}\n" .
                     "\\begin{document}\n");
sgml('&lt;/invitation&gt;', "\\end{document}\n");

# Element: front
sgml('&lt;front&gt;', "\\begin{Front}\n");
sgml('&lt;/front&gt;', "\\end{Front}\n");

# Element: to
sgml('&lt;to&gt;', "\\To{");
sgml('&lt;/to&gt;', "}\n");
 
# Element: date
sgml('&lt;date&gt;', "\\Date{");
sgml('&lt;/date&gt;', "}\n");

# Element: where
sgml('&lt;where&gt;', "\\Where{");
sgml('&lt;/where&gt;', "}\n");

# Element: why
sgml('&lt;why&gt;', "\\Why{");
sgml('&lt;/why&gt;', "}\n");

# Element: body
sgml('&lt;body&gt;', "\\begin{Body}\n");
sgml('&lt;/body&gt;', "\\end{Body}\n");

# Element: par
sgml('&lt;par&gt;', "\\par ");
sgml('&lt;/par&gt;', "\n");

# Element: emph
sgml('&lt;emph&gt;', "\\emph{");
sgml('&lt;/emph&gt;', "}");

# Element: back
sgml('&lt;back&gt;', "\\begin{Back}\n");
sgml('&lt;/back&gt;', "\\end{Back}\n");

# Element: signature
sgml('&lt;signature&gt;', "\\Signature{");
sgml('&lt;/signature&gt;', "}\n");
#
# Default handlers 
#
sgml('start_element',sub { die "Unknown element: " . $_[0]-&gt;name; });
sgml('cdata',sub { output $_[0]; });
sgml('re'," ");
sgml('pi',sub { die "Unknown processing instruction: " . $_[0]; });
sgml('entity',sub { die "Unknown external entity: " . $_[0]-&gt;name; });
sgml('conforming','');

1;
</pre></body></html>