<?lsmb FILTER latex { format=FORMAT _ "(xelatex)" } ?>
\documentclass{scrartcl}
 \usepackage{xltxtra}
 \usepackage{fontspec}
 \setmainfont{LiberationSans-Regular.ttf}
\usepackage{tabularx}
\usepackage[letterpaper,top=2cm,bottom=1.5cm,left=1.1cm,right=1.5cm]{geometry}
\usepackage{graphicx}

<?lsmb PROCESS check_base ?>

\begin{document}

\pagestyle{myheadings}
\thispagestyle{empty}

<?lsmb FOR check = checks ?>
<?lsmb name = check.name ?>
<?lsmb INCLUDE check_single 
        source = check.source
        control_code = check.control_code
        text_amount = check.text_amount
        decimal = check.decimal
        amount = check.amount
        legal_name = check.legal_name
        street1 = check.street1 
        street2 = check.street2 
        city = check.city
        state = check.state
        mail_code = check.mail_code
        country = check.country
        memo = check.memo
        invoices = check.invoices
?>
\clearpage
<?lsmb END # FOR check ?>
\end{document}
<?lsmb END # FILTER latex { format=FORMAT _ "(xelatex)" } ?>
