[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb: [142] trunk/templates



Revision: 142
          http://svn.sourceforge.net/ledger-smb/?rev=142&view=rev
Author:   einhverfr
Date:     2006-09-24 10:44:51 -0700 (Sun, 24 Sep 2006)

Log Message:
-----------
Changed all templates to the new syntax

Modified Paths:
--------------
    trunk/templates/Brazilian_Portuguese-ap_transaction.html
    trunk/templates/Brazilian_Portuguese-ap_transaction.tex
    trunk/templates/Brazilian_Portuguese-ar_transaction.html
    trunk/templates/Brazilian_Portuguese-ar_transaction.tex
    trunk/templates/Brazilian_Portuguese-balance_sheet.html
    trunk/templates/Brazilian_Portuguese-bin_list.html
    trunk/templates/Brazilian_Portuguese-bin_list.tex
    trunk/templates/Brazilian_Portuguese-check.tex
    trunk/templates/Brazilian_Portuguese-income_statement.html
    trunk/templates/Brazilian_Portuguese-invoice.html
    trunk/templates/Brazilian_Portuguese-invoice.tex
    trunk/templates/Brazilian_Portuguese-packing_list.html
    trunk/templates/Brazilian_Portuguese-packing_list.tex
    trunk/templates/Brazilian_Portuguese-pick_list.html
    trunk/templates/Brazilian_Portuguese-pick_list.tex
    trunk/templates/Brazilian_Portuguese-pos_invoice.txt
    trunk/templates/Brazilian_Portuguese-purchase_order.html
    trunk/templates/Brazilian_Portuguese-purchase_order.tex
    trunk/templates/Brazilian_Portuguese-receipt.tex
    trunk/templates/Brazilian_Portuguese-request_quotation.html
    trunk/templates/Brazilian_Portuguese-request_quotation.tex
    trunk/templates/Brazilian_Portuguese-sales_order.html
    trunk/templates/Brazilian_Portuguese-sales_order.tex
    trunk/templates/Brazilian_Portuguese-sales_quotation.html
    trunk/templates/Brazilian_Portuguese-sales_quotation.tex
    trunk/templates/Brazilian_Portuguese-statement.html
    trunk/templates/Brazilian_Portuguese-statement.tex
    trunk/templates/Brazilian_Portuguese-timecard.html
    trunk/templates/Brazilian_Portuguese-timecard.tex
    trunk/templates/Brazilian_Portuguese-work_order.html
    trunk/templates/Brazilian_Portuguese-work_order.tex
    trunk/templates/Danish-ap_transaction.html
    trunk/templates/Danish-ap_transaction.tex
    trunk/templates/Danish-ar_transaction.html
    trunk/templates/Danish-ar_transaction.tex
    trunk/templates/Danish-balance_sheet.html
    trunk/templates/Danish-bin_list.html
    trunk/templates/Danish-bin_list.tex
    trunk/templates/Danish-check.tex
    trunk/templates/Danish-income_statement.html
    trunk/templates/Danish-invoice.html
    trunk/templates/Danish-invoice.tex
    trunk/templates/Danish-packing_list.html
    trunk/templates/Danish-packing_list.tex
    trunk/templates/Danish-pick_list.html
    trunk/templates/Danish-pick_list.tex
    trunk/templates/Danish-pos_invoice.txt
    trunk/templates/Danish-purchase_order.html
    trunk/templates/Danish-purchase_order.tex
    trunk/templates/Danish-receipt.tex
    trunk/templates/Danish-request_quotation.html
    trunk/templates/Danish-request_quotation.tex
    trunk/templates/Danish-sales_order.html
    trunk/templates/Danish-sales_order.tex
    trunk/templates/Danish-sales_quotation.html
    trunk/templates/Danish-sales_quotation.tex
    trunk/templates/Danish-statement.html
    trunk/templates/Danish-statement.tex
    trunk/templates/Danish-timecard.html
    trunk/templates/Danish-timecard.tex
    trunk/templates/Danish-work_order.html
    trunk/templates/Danish-work_order.tex
    trunk/templates/Default-ap_transaction.html
    trunk/templates/Default-ap_transaction.tex
    trunk/templates/Default-ar_transaction.html
    trunk/templates/Default-ar_transaction.tex
    trunk/templates/Default-balance_sheet.html
    trunk/templates/Default-bin_list.html
    trunk/templates/Default-bin_list.tex
    trunk/templates/Default-check.tex
    trunk/templates/Default-income_statement.html
    trunk/templates/Default-invoice.html
    trunk/templates/Default-invoice.tex
    trunk/templates/Default-letterhead.html
    trunk/templates/Default-letterhead.tex
    trunk/templates/Default-packing_list.html
    trunk/templates/Default-packing_list.tex
    trunk/templates/Default-pick_list.html
    trunk/templates/Default-pick_list.tex
    trunk/templates/Default-pos_invoice.txt
    trunk/templates/Default-purchase_order.html
    trunk/templates/Default-purchase_order.tex
    trunk/templates/Default-receipt.tex
    trunk/templates/Default-request_quotation.html
    trunk/templates/Default-request_quotation.tex
    trunk/templates/Default-sales_order.html
    trunk/templates/Default-sales_order.tex
    trunk/templates/Default-sales_quotation.html
    trunk/templates/Default-sales_quotation.tex
    trunk/templates/Default-statement.html
    trunk/templates/Default-statement.tex
    trunk/templates/Default-timecard.html
    trunk/templates/Default-timecard.tex
    trunk/templates/Default-work_order.html
    trunk/templates/Default-work_order.tex
    trunk/templates/Dutch-ap_transaction.html
    trunk/templates/Dutch-ap_transaction.tex
    trunk/templates/Dutch-ar_transaction.html
    trunk/templates/Dutch-ar_transaction.tex
    trunk/templates/Dutch-balance_sheet.html
    trunk/templates/Dutch-bin_list.html
    trunk/templates/Dutch-bin_list.tex
    trunk/templates/Dutch-check.tex
    trunk/templates/Dutch-income_statement.html
    trunk/templates/Dutch-invoice.html
    trunk/templates/Dutch-invoice.tex
    trunk/templates/Dutch-packing_list.html
    trunk/templates/Dutch-packing_list.tex
    trunk/templates/Dutch-pick_list.html
    trunk/templates/Dutch-pick_list.tex
    trunk/templates/Dutch-pos_invoice.txt
    trunk/templates/Dutch-purchase_order.html
    trunk/templates/Dutch-purchase_order.tex
    trunk/templates/Dutch-receipt.tex
    trunk/templates/Dutch-request_quotation.html
    trunk/templates/Dutch-request_quotation.tex
    trunk/templates/Dutch-sales_order.html
    trunk/templates/Dutch-sales_order.tex
    trunk/templates/Dutch-sales_quotation.html
    trunk/templates/Dutch-sales_quotation.tex
    trunk/templates/Dutch-statement.html
    trunk/templates/Dutch-statement.tex
    trunk/templates/Dutch-timecard.html
    trunk/templates/Dutch-timecard.tex
    trunk/templates/Dutch-work_order.html
    trunk/templates/Dutch-work_order.tex
    trunk/templates/Estonian-ap_transaction.html
    trunk/templates/Estonian-ap_transaction.tex
    trunk/templates/Estonian-ar_transaction.html
    trunk/templates/Estonian-ar_transaction.tex
    trunk/templates/Estonian-balance_sheet.html
    trunk/templates/Estonian-bin_list.html
    trunk/templates/Estonian-bin_list.tex
    trunk/templates/Estonian-check.tex
    trunk/templates/Estonian-income_statement.html
    trunk/templates/Estonian-invoice.html
    trunk/templates/Estonian-invoice.tex
    trunk/templates/Estonian-letterhead.html
    trunk/templates/Estonian-letterhead.tex
    trunk/templates/Estonian-packing_list.html
    trunk/templates/Estonian-packing_list.tex
    trunk/templates/Estonian-pick_list.html
    trunk/templates/Estonian-pick_list.tex
    trunk/templates/Estonian-pos_invoice.txt
    trunk/templates/Estonian-purchase_order.html
    trunk/templates/Estonian-purchase_order.tex
    trunk/templates/Estonian-receipt.tex
    trunk/templates/Estonian-request_quotation.html
    trunk/templates/Estonian-request_quotation.tex
    trunk/templates/Estonian-sales_order.html
    trunk/templates/Estonian-sales_order.tex
    trunk/templates/Estonian-sales_quotation.html
    trunk/templates/Estonian-sales_quotation.tex
    trunk/templates/Estonian-statement.html
    trunk/templates/Estonian-statement.tex
    trunk/templates/Estonian-timecard.html
    trunk/templates/Estonian-timecard.tex
    trunk/templates/Estonian-work_order.html
    trunk/templates/Estonian-work_order.tex
    trunk/templates/Estonian_UTF8-ap_transaction.html
    trunk/templates/Estonian_UTF8-ap_transaction.tex
    trunk/templates/Estonian_UTF8-ar_transaction.html
    trunk/templates/Estonian_UTF8-ar_transaction.tex
    trunk/templates/Estonian_UTF8-balance_sheet.html
    trunk/templates/Estonian_UTF8-bin_list.html
    trunk/templates/Estonian_UTF8-bin_list.tex
    trunk/templates/Estonian_UTF8-check.tex
    trunk/templates/Estonian_UTF8-income_statement.html
    trunk/templates/Estonian_UTF8-invoice.html
    trunk/templates/Estonian_UTF8-invoice.tex
    trunk/templates/Estonian_UTF8-letterhead.html
    trunk/templates/Estonian_UTF8-letterhead.tex
    trunk/templates/Estonian_UTF8-packing_list.html
    trunk/templates/Estonian_UTF8-packing_list.tex
    trunk/templates/Estonian_UTF8-pick_list.html
    trunk/templates/Estonian_UTF8-pick_list.tex
    trunk/templates/Estonian_UTF8-pos_invoice.txt
    trunk/templates/Estonian_UTF8-purchase_order.html
    trunk/templates/Estonian_UTF8-purchase_order.tex
    trunk/templates/Estonian_UTF8-receipt.tex
    trunk/templates/Estonian_UTF8-request_quotation.html
    trunk/templates/Estonian_UTF8-request_quotation.tex
    trunk/templates/Estonian_UTF8-sales_order.html
    trunk/templates/Estonian_UTF8-sales_order.tex
    trunk/templates/Estonian_UTF8-sales_quotation.html
    trunk/templates/Estonian_UTF8-sales_quotation.tex
    trunk/templates/Estonian_UTF8-statement.html
    trunk/templates/Estonian_UTF8-statement.tex
    trunk/templates/Estonian_UTF8-timecard.html
    trunk/templates/Estonian_UTF8-timecard.tex
    trunk/templates/Estonian_UTF8-work_order.html
    trunk/templates/Estonian_UTF8-work_order.tex
    trunk/templates/French-ap_transaction.html
    trunk/templates/French-ap_transaction.tex
    trunk/templates/French-ar_transaction.html
    trunk/templates/French-ar_transaction.tex
    trunk/templates/French-balance_sheet.html
    trunk/templates/French-bin_list.html
    trunk/templates/French-bin_list.tex
    trunk/templates/French-check.tex
    trunk/templates/French-income_statement.html
    trunk/templates/French-invoice.html
    trunk/templates/French-invoice.tex
    trunk/templates/French-packing_list.html
    trunk/templates/French-packing_list.tex
    trunk/templates/French-pick_list.html
    trunk/templates/French-pick_list.tex
    trunk/templates/French-pos_invoice.txt
    trunk/templates/French-purchase_order.html
    trunk/templates/French-purchase_order.tex
    trunk/templates/French-receipt.tex
    trunk/templates/French-request_quotation.html
    trunk/templates/French-request_quotation.tex
    trunk/templates/French-sales_order.html
    trunk/templates/French-sales_order.tex
    trunk/templates/French-sales_quotation.html
    trunk/templates/French-sales_quotation.tex
    trunk/templates/French-statement.html
    trunk/templates/French-statement.tex
    trunk/templates/French-timecard.html
    trunk/templates/French-timecard.tex
    trunk/templates/French-work_order.html
    trunk/templates/French-work_order.tex
    trunk/templates/German-ap_transaction.html
    trunk/templates/German-ap_transaction.tex
    trunk/templates/German-ar_transaction.html
    trunk/templates/German-ar_transaction.tex
    trunk/templates/German-balance_sheet.html
    trunk/templates/German-bin_list.html
    trunk/templates/German-bin_list.tex
    trunk/templates/German-check.tex
    trunk/templates/German-income_statement.html
    trunk/templates/German-invoice.html
    trunk/templates/German-invoice.tex
    trunk/templates/German-packing_list.html
    trunk/templates/German-packing_list.tex
    trunk/templates/German-pick_list.html
    trunk/templates/German-pick_list.tex
    trunk/templates/German-pos_invoice.txt
    trunk/templates/German-purchase_order.html
    trunk/templates/German-purchase_order.tex
    trunk/templates/German-receipt.tex
    trunk/templates/German-request_quotation.html
    trunk/templates/German-request_quotation.tex
    trunk/templates/German-sales_order.html
    trunk/templates/German-sales_order.tex
    trunk/templates/German-sales_quotation.html
    trunk/templates/German-sales_quotation.tex
    trunk/templates/German-statement.html
    trunk/templates/German-statement.tex
    trunk/templates/German-timecard.html
    trunk/templates/German-timecard.tex
    trunk/templates/German-work_order.html
    trunk/templates/German-work_order.tex
    trunk/templates/Hungarian-ap_transaction.html
    trunk/templates/Hungarian-ap_transaction.tex
    trunk/templates/Hungarian-ar_transaction.html
    trunk/templates/Hungarian-ar_transaction.tex
    trunk/templates/Hungarian-balance_sheet.html
    trunk/templates/Hungarian-bin_list.html
    trunk/templates/Hungarian-bin_list.tex
    trunk/templates/Hungarian-check.tex
    trunk/templates/Hungarian-income_statement.html
    trunk/templates/Hungarian-invoice.html
    trunk/templates/Hungarian-invoice.tex
    trunk/templates/Hungarian-packing_list.html
    trunk/templates/Hungarian-packing_list.tex
    trunk/templates/Hungarian-pick_list.html
    trunk/templates/Hungarian-pick_list.tex
    trunk/templates/Hungarian-pos_invoice.txt
    trunk/templates/Hungarian-purchase_order.html
    trunk/templates/Hungarian-purchase_order.tex
    trunk/templates/Hungarian-receipt.tex
    trunk/templates/Hungarian-request_quotation.html
    trunk/templates/Hungarian-request_quotation.tex
    trunk/templates/Hungarian-sales_order.html
    trunk/templates/Hungarian-sales_order.tex
    trunk/templates/Hungarian-sales_quotation.html
    trunk/templates/Hungarian-sales_quotation.tex
    trunk/templates/Hungarian-statement.html
    trunk/templates/Hungarian-statement.tex
    trunk/templates/Hungarian-timecard.html
    trunk/templates/Hungarian-timecard.tex
    trunk/templates/Hungarian-work_order.html
    trunk/templates/Hungarian-work_order.tex
    trunk/templates/Italian-ap_transaction.html
    trunk/templates/Italian-ap_transaction.tex
    trunk/templates/Italian-ar_transaction.html
    trunk/templates/Italian-ar_transaction.tex
    trunk/templates/Italian-balance_sheet.html
    trunk/templates/Italian-bin_list.html
    trunk/templates/Italian-bin_list.tex
    trunk/templates/Italian-check.tex
    trunk/templates/Italian-income_statement.html
    trunk/templates/Italian-invoice.html
    trunk/templates/Italian-invoice.tex
    trunk/templates/Italian-packing_list.html
    trunk/templates/Italian-packing_list.tex
    trunk/templates/Italian-pick_list.html
    trunk/templates/Italian-pick_list.tex
    trunk/templates/Italian-pos_invoice.txt
    trunk/templates/Italian-purchase_order.html
    trunk/templates/Italian-purchase_order.tex
    trunk/templates/Italian-receipt.tex
    trunk/templates/Italian-request_quotation.html
    trunk/templates/Italian-request_quotation.tex
    trunk/templates/Italian-sales_order.html
    trunk/templates/Italian-sales_order.tex
    trunk/templates/Italian-sales_quotation.html
    trunk/templates/Italian-sales_quotation.tex
    trunk/templates/Italian-statement.html
    trunk/templates/Italian-statement.tex
    trunk/templates/Italian-timecard.html
    trunk/templates/Italian-timecard.tex
    trunk/templates/Italian-work_order.html
    trunk/templates/Italian-work_order.tex
    trunk/templates/Norwegian-ap_transaction.html
    trunk/templates/Norwegian-ap_transaction.tex
    trunk/templates/Norwegian-ar_transaction.html
    trunk/templates/Norwegian-ar_transaction.tex
    trunk/templates/Norwegian-balance_sheet.html
    trunk/templates/Norwegian-bin_list.html
    trunk/templates/Norwegian-bin_list.tex
    trunk/templates/Norwegian-check.tex
    trunk/templates/Norwegian-income_statement.html
    trunk/templates/Norwegian-invoice.html
    trunk/templates/Norwegian-invoice.tex
    trunk/templates/Norwegian-packing_list.html
    trunk/templates/Norwegian-packing_list.tex
    trunk/templates/Norwegian-pick_list.html
    trunk/templates/Norwegian-pick_list.tex
    trunk/templates/Norwegian-pos_invoice.txt
    trunk/templates/Norwegian-purchase_order.html
    trunk/templates/Norwegian-purchase_order.tex
    trunk/templates/Norwegian-receipt.tex
    trunk/templates/Norwegian-request_quotation.html
    trunk/templates/Norwegian-request_quotation.tex
    trunk/templates/Norwegian-sales_order.html
    trunk/templates/Norwegian-sales_order.tex
    trunk/templates/Norwegian-sales_quotation.html
    trunk/templates/Norwegian-sales_quotation.tex
    trunk/templates/Norwegian-statement.html
    trunk/templates/Norwegian-statement.tex
    trunk/templates/Norwegian-timecard.html
    trunk/templates/Norwegian-timecard.tex
    trunk/templates/Norwegian-work_order.html
    trunk/templates/Norwegian-work_order.tex
    trunk/templates/Russian-ap_transaction.html
    trunk/templates/Russian-ap_transaction.tex
    trunk/templates/Russian-ar_transaction.html
    trunk/templates/Russian-ar_transaction.tex
    trunk/templates/Russian-balance_sheet.html
    trunk/templates/Russian-bin_list.html
    trunk/templates/Russian-bin_list.tex
    trunk/templates/Russian-check.tex
    trunk/templates/Russian-income_statement.html
    trunk/templates/Russian-invoice.html
    trunk/templates/Russian-invoice.tex
    trunk/templates/Russian-packing_list.html
    trunk/templates/Russian-packing_list.tex
    trunk/templates/Russian-pick_list.html
    trunk/templates/Russian-pick_list.tex
    trunk/templates/Russian-pos_invoice.txt
    trunk/templates/Russian-purchase_order.html
    trunk/templates/Russian-purchase_order.tex
    trunk/templates/Russian-receipt.tex
    trunk/templates/Russian-request_quotation.html
    trunk/templates/Russian-request_quotation.tex
    trunk/templates/Russian-sales_order.html
    trunk/templates/Russian-sales_order.tex
    trunk/templates/Russian-sales_quotation.html
    trunk/templates/Russian-sales_quotation.tex
    trunk/templates/Russian-statement.html
    trunk/templates/Russian-statement.tex
    trunk/templates/Russian-timecard.html
    trunk/templates/Russian-timecard.tex
    trunk/templates/Russian-work_order.html
    trunk/templates/Russian-work_order.tex
    trunk/templates/Service-ap_transaction.html
    trunk/templates/Service-ap_transaction.tex
    trunk/templates/Service-ar_transaction.html
    trunk/templates/Service-ar_transaction.tex
    trunk/templates/Service-balance_sheet.html
    trunk/templates/Service-bin_list.html
    trunk/templates/Service-bin_list.tex
    trunk/templates/Service-check.tex
    trunk/templates/Service-income_statement.html
    trunk/templates/Service-invoice.html
    trunk/templates/Service-invoice.tex
    trunk/templates/Service-packing_list.html
    trunk/templates/Service-packing_list.tex
    trunk/templates/Service-pick_list.html
    trunk/templates/Service-pick_list.tex
    trunk/templates/Service-pos_invoice.txt
    trunk/templates/Service-purchase_order.html
    trunk/templates/Service-purchase_order.tex
    trunk/templates/Service-receipt.tex
    trunk/templates/Service-request_quotation.html
    trunk/templates/Service-request_quotation.tex
    trunk/templates/Service-sales_order.html
    trunk/templates/Service-sales_order.tex
    trunk/templates/Service-sales_quotation.html
    trunk/templates/Service-sales_quotation.tex
    trunk/templates/Service-statement.html
    trunk/templates/Service-statement.tex
    trunk/templates/Service-timecard.html
    trunk/templates/Service-timecard.tex
    trunk/templates/Service-work_order.html
    trunk/templates/Service-work_order.tex
    trunk/templates/Spanish_A4-ap_transaction.html
    trunk/templates/Spanish_A4-ap_transaction.tex
    trunk/templates/Spanish_A4-ar_transaction.html
    trunk/templates/Spanish_A4-ar_transaction.tex
    trunk/templates/Spanish_A4-balance_sheet.html
    trunk/templates/Spanish_A4-bin_list.html
    trunk/templates/Spanish_A4-bin_list.tex
    trunk/templates/Spanish_A4-check.tex
    trunk/templates/Spanish_A4-income_statement.html
    trunk/templates/Spanish_A4-invoice.html
    trunk/templates/Spanish_A4-invoice.tex
    trunk/templates/Spanish_A4-packing_list.html
    trunk/templates/Spanish_A4-packing_list.tex
    trunk/templates/Spanish_A4-pick_list.html
    trunk/templates/Spanish_A4-pick_list.tex
    trunk/templates/Spanish_A4-pos_invoice.txt
    trunk/templates/Spanish_A4-purchase_order.html
    trunk/templates/Spanish_A4-purchase_order.tex
    trunk/templates/Spanish_A4-receipt.tex
    trunk/templates/Spanish_A4-request_quotation.html
    trunk/templates/Spanish_A4-request_quotation.tex
    trunk/templates/Spanish_A4-sales_order.html
    trunk/templates/Spanish_A4-sales_order.tex
    trunk/templates/Spanish_A4-sales_quotation.html
    trunk/templates/Spanish_A4-sales_quotation.tex
    trunk/templates/Spanish_A4-statement.html
    trunk/templates/Spanish_A4-statement.tex
    trunk/templates/Spanish_A4-timecard.html
    trunk/templates/Spanish_A4-timecard.tex
    trunk/templates/Spanish_A4-work_order.html
    trunk/templates/Spanish_A4-work_order.tex
    trunk/templates/Spanish_Letter-ap_transaction.html
    trunk/templates/Spanish_Letter-ap_transaction.tex
    trunk/templates/Spanish_Letter-ar_transaction.html
    trunk/templates/Spanish_Letter-ar_transaction.tex
    trunk/templates/Spanish_Letter-balance_sheet.html
    trunk/templates/Spanish_Letter-bin_list.html
    trunk/templates/Spanish_Letter-bin_list.tex
    trunk/templates/Spanish_Letter-check.tex
    trunk/templates/Spanish_Letter-income_statement.html
    trunk/templates/Spanish_Letter-invoice.html
    trunk/templates/Spanish_Letter-invoice.tex
    trunk/templates/Spanish_Letter-packing_list.html
    trunk/templates/Spanish_Letter-packing_list.tex
    trunk/templates/Spanish_Letter-pick_list.html
    trunk/templates/Spanish_Letter-pick_list.tex
    trunk/templates/Spanish_Letter-pos_invoice.txt
    trunk/templates/Spanish_Letter-purchase_order.html
    trunk/templates/Spanish_Letter-purchase_order.tex
    trunk/templates/Spanish_Letter-receipt.tex
    trunk/templates/Spanish_Letter-request_quotation.html
    trunk/templates/Spanish_Letter-request_quotation.tex
    trunk/templates/Spanish_Letter-sales_order.html
    trunk/templates/Spanish_Letter-sales_order.tex
    trunk/templates/Spanish_Letter-sales_quotation.html
    trunk/templates/Spanish_Letter-sales_quotation.tex
    trunk/templates/Spanish_Letter-statement.html
    trunk/templates/Spanish_Letter-statement.tex
    trunk/templates/Spanish_Letter-timecard.html
    trunk/templates/Spanish_Letter-timecard.tex
    trunk/templates/Spanish_Letter-work_order.html
    trunk/templates/Spanish_Letter-work_order.tex
    trunk/templates/Swedish-ap_transaction.html
    trunk/templates/Swedish-ap_transaction.tex
    trunk/templates/Swedish-ar_transaction.html
    trunk/templates/Swedish-ar_transaction.tex
    trunk/templates/Swedish-balance_sheet.html
    trunk/templates/Swedish-bin_list.html
    trunk/templates/Swedish-bin_list.tex
    trunk/templates/Swedish-check.tex
    trunk/templates/Swedish-income_statement.html
    trunk/templates/Swedish-invoice.html
    trunk/templates/Swedish-invoice.tex
    trunk/templates/Swedish-packing_list.html
    trunk/templates/Swedish-packing_list.tex
    trunk/templates/Swedish-pick_list.html
    trunk/templates/Swedish-pick_list.tex
    trunk/templates/Swedish-pos_invoice.txt
    trunk/templates/Swedish-purchase_order.html
    trunk/templates/Swedish-purchase_order.tex
    trunk/templates/Swedish-receipt.tex
    trunk/templates/Swedish-request_quotation.html
    trunk/templates/Swedish-request_quotation.tex
    trunk/templates/Swedish-sales_order.html
    trunk/templates/Swedish-sales_order.tex
    trunk/templates/Swedish-sales_quotation.html
    trunk/templates/Swedish-sales_quotation.tex
    trunk/templates/Swedish-statement.html
    trunk/templates/Swedish-statement.tex
    trunk/templates/Swedish-timecard.html
    trunk/templates/Swedish-timecard.tex
    trunk/templates/Swedish-work_order.html
    trunk/templates/Swedish-work_order.tex
    trunk/templates/Traditional_Chinese_Big5-ap_transaction.html
    trunk/templates/Traditional_Chinese_Big5-ap_transaction.tex
    trunk/templates/Traditional_Chinese_Big5-ar_transaction.html
    trunk/templates/Traditional_Chinese_Big5-ar_transaction.tex
    trunk/templates/Traditional_Chinese_Big5-balance_sheet.html
    trunk/templates/Traditional_Chinese_Big5-bin_list.html
    trunk/templates/Traditional_Chinese_Big5-bin_list.tex
    trunk/templates/Traditional_Chinese_Big5-check.tex
    trunk/templates/Traditional_Chinese_Big5-income_statement.html
    trunk/templates/Traditional_Chinese_Big5-invoice.html
    trunk/templates/Traditional_Chinese_Big5-invoice.tex
    trunk/templates/Traditional_Chinese_Big5-letterhead.html
    trunk/templates/Traditional_Chinese_Big5-letterhead.tex
    trunk/templates/Traditional_Chinese_Big5-packing_list.html
    trunk/templates/Traditional_Chinese_Big5-packing_list.tex
    trunk/templates/Traditional_Chinese_Big5-pick_list.html
    trunk/templates/Traditional_Chinese_Big5-pick_list.tex
    trunk/templates/Traditional_Chinese_Big5-pos_invoice.txt
    trunk/templates/Traditional_Chinese_Big5-purchase_order.html
    trunk/templates/Traditional_Chinese_Big5-purchase_order.tex
    trunk/templates/Traditional_Chinese_Big5-receipt.tex
    trunk/templates/Traditional_Chinese_Big5-request_quotation.html
    trunk/templates/Traditional_Chinese_Big5-request_quotation.tex
    trunk/templates/Traditional_Chinese_Big5-sales_order.html
    trunk/templates/Traditional_Chinese_Big5-sales_order.tex
    trunk/templates/Traditional_Chinese_Big5-sales_quotation.html
    trunk/templates/Traditional_Chinese_Big5-sales_quotation.tex
    trunk/templates/Traditional_Chinese_Big5-statement.html
    trunk/templates/Traditional_Chinese_Big5-statement.tex
    trunk/templates/Traditional_Chinese_Big5-timecard.html
    trunk/templates/Traditional_Chinese_Big5-timecard.tex
    trunk/templates/Traditional_Chinese_Big5-work_order.html
    trunk/templates/Traditional_Chinese_Big5-work_order.tex
    trunk/templates/Traditional_Chinese_UTF8-ap_transaction.html
    trunk/templates/Traditional_Chinese_UTF8-ap_transaction.tex
    trunk/templates/Traditional_Chinese_UTF8-ar_transaction.html
    trunk/templates/Traditional_Chinese_UTF8-ar_transaction.tex
    trunk/templates/Traditional_Chinese_UTF8-balance_sheet.html
    trunk/templates/Traditional_Chinese_UTF8-bin_list.html
    trunk/templates/Traditional_Chinese_UTF8-bin_list.tex
    trunk/templates/Traditional_Chinese_UTF8-check.tex
    trunk/templates/Traditional_Chinese_UTF8-income_statement.html
    trunk/templates/Traditional_Chinese_UTF8-invoice.html
    trunk/templates/Traditional_Chinese_UTF8-invoice.tex
    trunk/templates/Traditional_Chinese_UTF8-letterhead.html
    trunk/templates/Traditional_Chinese_UTF8-letterhead.tex
    trunk/templates/Traditional_Chinese_UTF8-packing_list.html
    trunk/templates/Traditional_Chinese_UTF8-packing_list.tex
    trunk/templates/Traditional_Chinese_UTF8-pick_list.html
    trunk/templates/Traditional_Chinese_UTF8-pick_list.tex
    trunk/templates/Traditional_Chinese_UTF8-pos_invoice.txt
    trunk/templates/Traditional_Chinese_UTF8-purchase_order.html
    trunk/templates/Traditional_Chinese_UTF8-purchase_order.tex
    trunk/templates/Traditional_Chinese_UTF8-receipt.tex
    trunk/templates/Traditional_Chinese_UTF8-request_quotation.html
    trunk/templates/Traditional_Chinese_UTF8-request_quotation.tex
    trunk/templates/Traditional_Chinese_UTF8-sales_order.html
    trunk/templates/Traditional_Chinese_UTF8-sales_order.tex
    trunk/templates/Traditional_Chinese_UTF8-sales_quotation.html
    trunk/templates/Traditional_Chinese_UTF8-sales_quotation.tex
    trunk/templates/Traditional_Chinese_UTF8-statement.html
    trunk/templates/Traditional_Chinese_UTF8-statement.tex
    trunk/templates/Traditional_Chinese_UTF8-timecard.html
    trunk/templates/Traditional_Chinese_UTF8-timecard.tex
    trunk/templates/Traditional_Chinese_UTF8-work_order.html
    trunk/templates/Traditional_Chinese_UTF8-work_order.tex

Modified: trunk/templates/Brazilian_Portuguese-ap_transaction.html
===================================================================
--- trunk/templates/Brazilian_Portuguese-ap_transaction.html	2006-09-24 17:41:49 UTC (rev 141)
+++ trunk/templates/Brazilian_Portuguese-ap_transaction.html	2006-09-24 17:44:51 UTC (rev 142)
@@ -1,17 +1,17 @@
 
 <body bgcolor=ffffff>
 
-<table width=100%>
+<table width=100 ?>
   <tr>
     <td width=10>&nbsp;</td>
 
     <td>
-      <table width=100%>
+      <table width=100 ?>
         <tr>
           <td>
             <h4>
-            <%company%>
-        <br><%address%>
+            <?lsmb company ?>
+        <br><?lsmb address ?>
             </h4>
           </td>
 
@@ -19,8 +19,8 @@
 
           <td align=right>
             <h4>
-            Tel: <%tel%>
-        <br>Fax: <%fax%>
+            Tel: <?lsmb tel ?>
+        <br>Fax: <?lsmb fax ?>
             </h4>
           </td>
         </tr>
@@ -41,56 +41,56 @@
     <td>
       <table width=100% callspacing=0 cellpadding=0>
         <tr valign=top>
-          <td><%name%>
-          <br><%address1%>
-	  <%if address2%>
-          <br><%address2%>
-	  <%end address2%>
-          <br><%city%> <%state%> <%zipcode%>
-	  <%if country%>
-	  <br><%country%>
-	  <%end country%>
+          <td><?lsmb name ?>
+          <br><?lsmb address1 ?>
+	  <?lsmb if address2 ?>
+          <br><?lsmb address2 ?>
+	  <?lsmb end address2 ?>
+          <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?>
+	  <?lsmb if country ?>
+	  <br><?lsmb country ?>
+	  <?lsmb end country ?>
           <br>
 
-          <%if contact%>
-          <br><%contact%>
+          <?lsmb if contact ?>
+          <br><?lsmb contact ?>
           <br>
-          <%end contact%>
+          <?lsmb end contact ?>
 
-          <%if customerphone%>
-          <br>Tel: <%customerphone%>
-          <%end customerphone%>
+          <?lsmb if customerphone ?>
+          <br>Tel: <?lsmb customerphone ?>
+          <?lsmb end customerphone ?>
 
-          <%if customerfax%>
-          <br>Fax: <%customerfax%>
-          <%end customerfax%>
+          <?lsmb if customerfax ?>
+          <br>Fax: <?lsmb customerfax ?>
+          <?lsmb end customerfax ?>
 
-          <%if email%>
-          <br><%email%>
-          <%end email%>
+          <?lsmb if email ?>
+          <br><?lsmb email ?>
+          <?lsmb end email ?>
           </td>
    
 	  <td align=right>
 	    <table>
 	      <tr>
 		<th align=left nowrap>Fatura#</th>
-		<td><%invnumber%></td>
+		<td><?lsmb invnumber ?></td>
 	      </tr>
 	      <tr>
 		<th align=left nowrap>Date</th>
-		<td><%invdate%></td>
+		<td><?lsmb invdate ?></td>
 	      </tr>
 	      <tr>
 		<th align=left nowrap>Vencimento</th>
-		<td><%duedate%></td>
+		<td><?lsmb duedate ?></td>
 	      </tr>
 	      <tr>
 		<th align=left>Pedido #</th>
-		<td><%ordnumber%>&nbsp;</td>
+		<td><?lsmb ordnumber ?>&nbsp;</td>
 	      </tr>
 	      <tr>
 		<th align=left nowrap>Funcion\xE1rio</th>
-		<td><%employee%>&nbsp;</td>
+		<td><?lsmb employee ?>&nbsp;</td>
 	      </tr>
 	    </table>
 	  </td>
@@ -105,47 +105,47 @@
     <td>&nbsp;</td>
   
     <td>
-      <table width=100%>
+      <table width=100 ?>
         <tr valign=top>
-	  <td width=50%>
+	  <td width=50 ?>
 	    <table>
-	      <%foreach account%>
+	      <?lsmb foreach account ?>
 	      <tr valign=top>
-		<td><%accno%></td>
-		<td><%account%></td>
-		<td align=right><%amount%></td>
-		<td><%projectnumber%></td>
+		<td><?lsmb accno ?></td>
+		<td><?lsmb account ?></td>
+		<td align=right><?lsmb amount ?></td>
+		<td><?lsmb projectnumber ?></td>
 	      </tr>
-	      <%end account%>
+	      <?lsmb end account ?>
 
 	      <tr>
-		<%if taxincluded%>
+		<?lsmb if taxincluded ?>
 		<th colspan=2 align=right>Total</th>
-		<td align=right><%invtotal%></td>
-		<%end taxincluded%>
+		<td align=right><?lsmb invtotal ?></td>
+		<?lsmb end taxincluded ?>
 
-		<%if not taxincluded%>
+		<?lsmb if not taxincluded ?>
 		<th colspan=2 align=right>Subtotal</th>
-		<td align=right><%subtotal%></td>
-		<%end taxincluded%>
+		<td align=right><?lsmb subtotal ?></td>
+		<?lsmb end taxincluded ?>
 	      </tr>
 
-	      <%foreach tax%>
+	      <?lsmb foreach tax ?>
 	      <tr>
-		<th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th>
-		<td align=right><%tax%></td>
+		<th colspan=2 align=right><?lsmb taxdescription ?> @ <?lsmb taxrate ?> %</th>
+		<td align=right><?lsmb tax ?></td>
 	      </tr>
-	      <%end tax%>
+	      <?lsmb end tax ?>
 	      
-	      <%if not taxincluded%>
+	      <?lsmb if not taxincluded ?>
 		<th colspan=2 align=right>Total</th>
-		<td align=right><%invtotal%></td>
-	      <%end taxincluded%>
+		<td align=right><?lsmb invtotal ?></td>
+	      <?lsmb end taxincluded ?>
 
 	    </table>
 	  </td>
-	  <td width=50%>
-	    <%notes%>
+	  <td width=50 ?>
+	    <?lsmb notes ?>
 	  </td>
 	</tr>
       </table>
@@ -159,11 +159,11 @@
     <td>&nbsp;</td>
 
     <td>
-      <%text_amount%> ***** <%decimal%>/100 <%currency%>
+      <?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 <?lsmb currency ?>
     </td>
   </tr>
 
-  <%if paid%>
+  <?lsmb if paid ?>
   <tr>
     <td>&nbsp;</td>
 
@@ -189,30 +189,30 @@
 		<th align=left>Obs.</th>
 		<th align=left>Valor</th>
 	      </tr>
-  <%end paid%>
+  <?lsmb end paid ?>
 
-        <%foreach payment%>
+        <?lsmb foreach payment ?>
 	      <tr>
-		<td><%paymentdate%></td>
-		<td><%paymentaccount%></td>
-		<td><%paymentsource%></td>
-		<td><%paymentmemo%></td>
-		<td><%payment%></td>
+		<td><?lsmb paymentdate ?></td>
+		<td><?lsmb paymentaccount ?></td>
+		<td><?lsmb paymentsource ?></td>
+		<td><?lsmb paymentmemo ?></td>
+		<td><?lsmb payment ?></td>
 	      </tr>
-        <%end payment%>
+        <?lsmb end payment ?>
 
-  <%if paid%>
+  <?lsmb if paid ?>
 	    </table>
 	  </td>
         </tr>
       </table>
     </td>
   </tr>
-  <%end paid%>
+  <?lsmb end paid ?>
 
   <tr height=10></tr>
 
-  <%if taxincluded%>
+  <?lsmb if taxincluded ?>
   <tr>
     <td>&nbsp;</td>
   </tr>
@@ -220,7 +220,7 @@
   <tr>
     <th colspan=3 align=left><font size=-2>Os impostos est\xE3o incu\xEDdos nos pre\xE7os.</th>
   </tr>
-  <%end taxincluded%>
+  <?lsmb end taxincluded ?>
 
 </table>
 

Modified: trunk/templates/Brazilian_Portuguese-ap_transaction.tex
===================================================================
--- trunk/templates/Brazilian_Portuguese-ap_transaction.tex	2006-09-24 17:41:49 UTC (rev 141)
+++ trunk/templates/Brazilian_Portuguese-ap_transaction.tex	2006-09-24 17:44:51 UTC (rev 142)
@@ -16,16 +16,16 @@
 
 \parbox{\textwidth}{%
   \parbox[b]{.42\textwidth}{%
-    <%company%>
+    <?lsmb company ?>
    
-    <%address%>
+    <?lsmb address ?>
   }
   \parbox[b]{.2\textwidth}{
     \includegraphics[scale=0.3]{ledger-smb}
   }\hfill
   ..hidden..
-  Telephone & <%tel%>\\
-  Facsimile & <%fax%>
+  Telephone & <?lsmb tel ?>\\
+  Facsimile & <?lsmb fax ?>
   \end{tabular}
 
   \rule[1.5em]{\textwidth}{0.5pt}
@@ -36,78 +36,78 @@
 \vspace*{0.5cm}
 
 \parbox[t]{.5\textwidth}{
-<%name%>
+<?lsmb name ?>
 
-<%address1%>
+<?lsmb address1 ?>
 
-<%address2%>
+<?lsmb address2 ?>
 
-<%city%> <%state%> <%zipcode%>
+<?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?>
 
-<%country%>
+<?lsmb country ?>
 
 \vspace{0.3cm}
 
-<%if contact%>
-<%contact%>
-<%end contact%>
+<?lsmb if contact ?>
+<?lsmb contact ?>
+<?lsmb end contact ?>
 
 \vspace{0.2cm}
 
-<%if customerphone%>
-Tel: <%customerphone%>
-<%end customerphone%>
+<?lsmb if customerphone ?>
+Tel: <?lsmb customerphone ?>
+<?lsmb end customerphone ?>
 
-<%if customerfax%>
-Fax: <%customerfax%>
-<%end customerfax%>
+<?lsmb if customerfax ?>
+Fax: <?lsmb customerfax ?>
+<?lsmb end customerfax ?>
 
-<%email%>
+<?lsmb email ?>
 }
 \hfill
 \begin{tabular}[t]{ll}
-  \textbf{Invoice \#} & <%invnumber%> \\
-  \textbf{Date} & <%invdate%> \\
-  \textbf{Due} & <%duedate%> \\
-  \textbf{Order \#} & <%ordnumber%> \\
-  \textbf{Employee} & <%employee%> \\
+  \textbf{Invoice \#} & <?lsmb invnumber ?> \\
+  \textbf{Date} & <?lsmb invdate ?> \\
+  \textbf{Due} & <?lsmb duedate ?> \\
+  \textbf{Order \#} & <?lsmb ordnumber ?> \\
+  \textbf{Employee} & <?lsmb employee ?> \\
 \end{tabular}
 
 \vspace{1cm}
 
 ..hidden..@{}}
-<%foreach amount%>
-  <%accno%> & <%account%> & <%amount%> & <%projectnumber%> \\
-<%end amount%>
+<?lsmb foreach amount ?>
+  <?lsmb accno ?> & <?lsmb account ?> & <?lsmb amount ?> & <?lsmb projectnumber ?> \\
+<?lsmb end amount ?>
 
-  \multicolumn{2}{r}{\textbf{Subtotal}} & <%subtotal%> & \\
-<%foreach tax%>
-  \multicolumn{2}{r}{\textbf{<%taxdescription%> @ <%taxrate%> \%}} & <%tax%> & \\
-<%end tax%>
+  \multicolumn{2}{r}{\textbf{Subtotal}} & <?lsmb subtotal ?> & \\
+<?lsmb foreach tax ?>
+  \multicolumn{2}{r}{\textbf{<?lsmb taxdescription ?> @ <?lsmb taxrate ?> \%}} & <?lsmb tax ?> & \\
+<?lsmb end tax ?>
 
-  \multicolumn{2}{r}{\textbf{Total}} & <%invtotal%> & \\
+  \multicolumn{2}{r}{\textbf{Total}} & <?lsmb invtotal ?> & \\
   
 \end{tabularx}
-<%notes%>
+<?lsmb notes ?>
 
 \vspace{0.3cm}
 
-<%text_amount%> ***** <%decimal%>/100 <%currency%>
+<?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 <?lsmb currency ?>
 
 \vspace{0.3cm}
 
-<%if paid%>
+<?lsmb if paid ?>
 ..hidden..@{}}
   \multicolumn{5}{c}{\textbf{Payments}} \\
   \hline
   \textbf{Date} & & \textbf{Source} & \textbf{Memo} & \textbf{Amount} \\
-<%end paid%>
-<%foreach payment%>
-  <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%paymentmemo%> & <%payment%> \\
-<%end payment%>
-<%if paid%>
+<?lsmb end paid ?>
+<?lsmb foreach payment ?>
+  <?lsmb paymentdate ?> & <?lsmb paymentaccount ?> & <?lsmb paymentsource ?> & <?lsmb paymentmemo ?> & <?lsmb payment ?> \\
+<?lsmb end payment ?>
+<?lsmb if paid ?>
 \end{tabular}
-<%end paid%>
+<?lsmb end paid ?>
 
 \end{document}
 

Modified: trunk/templates/Brazilian_Portuguese-ar_transaction.html
===================================================================
--- trunk/templates/Brazilian_Portuguese-ar_transaction.html	2006-09-24 17:41:49 UTC (rev 141)
+++ trunk/templates/Brazilian_Portuguese-ar_transaction.html	2006-09-24 17:44:51 UTC (rev 142)
@@ -1,17 +1,17 @@
 
 <body bgcolor=ffffff>
 
-<table width=100%>
+<table width=100 ?>
   <tr>
     <td width=10>&nbsp;</td>
 
     <td>
-      <table width=100%>
+      <table width=100 ?>
         <tr>
           <td>
             <h4>
-            <%company%>
-        <br><%address%>
+            <?lsmb company ?>
+        <br><?lsmb address ?>
             </h4>
           </td>
 
@@ -19,8 +19,8 @@
 
           <td align=right>
             <h4>
-            Tel: <%tel%>
-        <br>Fax: <%fax%>
+            Tel: <?lsmb tel ?>
+        <br>Fax: <?lsmb fax ?>
             </h4>
           </td>
         </tr>
@@ -41,56 +41,56 @@
     <td>
       <table width=100% callspacing=0 cellpadding=0>
         <tr valign=top>
-          <td><%name%>
-          <br><%address1%>
-	  <%if address2%>
-          <br><%address2%>
-	  <%end address2%>
-          <br><%city%> <%state%> <%zipcode%>
-	  <%if country%>
-	  <br><%country%>
-	  <%end country%>
+          <td><?lsmb name ?>
+          <br><?lsmb address1 ?>
+	  <?lsmb if address2 ?>
+          <br><?lsmb address2 ?>
+	  <?lsmb end address2 ?>
+          <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?>
+	  <?lsmb if country ?>
+	  <br><?lsmb country ?>
+	  <?lsmb end country ?>
           <br>
 
-          <%if contact%>
-          <br><%contact%>
+          <?lsmb if contact ?>
+          <br><?lsmb contact ?>
           <br>
-          <%end contact%>
+          <?lsmb end contact ?>
 
-          <%if customerphone%>
-          <br>Tel: <%customerphone%>
-          <%end customerphone%>
+          <?lsmb if customerphone ?>
+          <br>Tel: <?lsmb customerphone ?>
+          <?lsmb end customerphone ?>
 
-          <%if customerfax%>
-          <br>Fax: <%customerfax%>
-          <%end customerfax%>
+          <?lsmb if customerfax ?>
+          <br>Fax: <?lsmb customerfax ?>
+          <?lsmb end customerfax ?>
 
-          <%if email%>
-          <br><%email%>
-          <%end email%>
+          <?lsmb if email ?>
+          <br><?lsmb email ?>
+          <?lsmb end email ?>
           </td>
    
 	  <td align=right>
 	    <table>
 	      <tr>
 		<th align=left nowrap>Fatura #</th>
-		<td><%invnumber%></td>
+		<td><?lsmb invnumber ?></td>
 	      </tr>
 	      <tr>
 		<th align=left nowrap>Data</th>
-		<td><%invdate%></td>
+		<td><?lsmb invdate ?></td>
 	      </tr>
 	      <tr>
 		<th align=left nowrap>Vencimento</th>
-		<td><%duedate%></td>
+		<td><?lsmb duedate ?></td>
 	      </tr>
 	      <tr>
 		<th align=left>Pedido #</th>
-		<td><%ordnumber%>&nbsp;</td>
+		<td><?lsmb ordnumber ?>&nbsp;</td>
 	      </tr>
 	      <tr>
 		<th align=left nowrap>Vendedor</th>
-		<td><%employee%>&nbsp;</td>
+		<td><?lsmb employee ?>&nbsp;</td>
 	      </tr>
 	    </table>
 	  </td>
@@ -105,47 +105,47 @@
     <td>&nbsp;</td>
   
     <td>
-      <table width=100%>
+      <table width=100 ?>
         <tr valign=top>
-	  <td width=50%>
+	  <td width=50 ?>
 	    <table>
-	      <%foreach account%>
+	      <?lsmb foreach account ?>
 	      <tr valign=top>
-		<td><%accno%></td>
-		<td><%account%></td>
-		<td align=right><%amount%></td>
-		<td><%projectnumber%></td>
+		<td><?lsmb accno ?></td>
+		<td><?lsmb account ?></td>
+		<td align=right><?lsmb amount ?></td>
+		<td><?lsmb projectnumber ?></td>
 	      </tr>
-	      <%end account%>
+	      <?lsmb end account ?>
 
 	      <tr>
-		<%if taxincluded%>
+		<?lsmb if taxincluded ?>
 		<th colspan=2 align=right>Total</th>
-		<td align=right><%invtotal%></td>
-		<%end taxincluded%>
+		<td align=right><?lsmb invtotal ?></td>
+		<?lsmb end taxincluded ?>
 
-		<%if not taxincluded%>
+		<?lsmb if not taxincluded ?>
 		<th colspan=2 align=right>Subtotal</th>
-		<td align=right><%subtotal%></td>
-		<%end taxincluded%>
+		<td align=right><?lsmb subtotal ?></td>
+		<?lsmb end taxincluded ?>
 	      </tr>
 
-	      <%foreach tax%>
+	      <?lsmb foreach tax ?>
 	      <tr>
-		<th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th>
-		<td align=right><%tax%></td>
+		<th colspan=2 align=right><?lsmb taxdescription ?> @ <?lsmb taxrate ?> %</th>
+		<td align=right><?lsmb tax ?></td>
 	      </tr>
-	      <%end tax%>
+	      <?lsmb end tax ?>
 	      
-	      <%if not taxincluded%>
+	      <?lsmb if not taxincluded ?>
 		<th colspan=2 align=right>Total</th>
-		<td align=right><%invtotal%></td>
-	      <%end taxincluded%>
+		<td align=right><?lsmb invtotal ?></td>
+	      <?lsmb end taxincluded ?>
 
 	    </table>
 	  </td>
-	  <td width=50%>
-	    <%notes%>
+	  <td width=50 ?>
+	    <?lsmb notes ?>
 	  </td>
 	</tr>
       </table>
@@ -159,11 +159,11 @@
     <td>&nbsp;</td>
 
     <td>
-      <%text_amount%> ***** <%decimal%>/100 <%currency%>
+      <?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 <?lsmb currency ?>
     </td>
   </tr>
 
-  <%if paid%>
+  <?lsmb if paid ?>
   <tr>
     <td>&nbsp;</td>
 
@@ -189,38 +189,38 @@
 		<th align=left>Obs.</th>
 		<th align=left>Valor</th>
 	      </tr>
-  <%end paid%>
+  <?lsmb end paid ?>
 
-        <%foreach payment%>
+        <?lsmb foreach payment ?>
 	      <tr>
-		<td><%paymentdate%></td>
-		<td><%paymentaccount%></td>
-		<td><%paymentsource%></td>
-		<td><%paymentmemo%></td>
-		<td><%payment%></td>
+		<td><?lsmb paymentdate ?></td>
+		<td><?lsmb paymentaccount ?></td>
+		<td><?lsmb paymentsource ?></td>
+		<td><?lsmb paymentmemo ?></td>
+		<td><?lsmb payment ?></td>
 	      </tr>
-        <%end payment%>
+        <?lsmb end payment ?>
 
-  <%if paid%>
+  <?lsmb if paid ?>
 	    </table>
 	  </td>
         </tr>
       </table>
     </td>
   </tr>
-  <%end paid%>
+  <?lsmb end paid ?>
 
   <tr height=10></tr>
 
-  <%foreach tax%>
+  <?lsmb foreach tax ?>
   <tr>
     <td>&nbsp;</td>
 
-    <th colspan=9 align=left><font size=-2><%taxdescription%> Registro <%taxnumber%></th>
+    <th colspan=9 align=left><font size=-2><?lsmb taxdescription ?> Registro <?lsmb taxnumber ?></th>
   </tr>
-  <%end tax%>
+  <?lsmb end tax ?>
 
-  <%if taxincluded%>
+  <?lsmb if taxincluded ?>
   <tr>
     <td>&nbsp;</td>
   </tr>
@@ -228,7 +228,7 @@
   <tr>
     <th colspan=3 align=left><font size=-2>Os impostos est\xE3o inclu\xEDdos nos pre\xE7os.</th>
   </tr>
-  <%end taxincluded%>
+  <?lsmb end taxincluded ?>
 
 </table>
 

Modified: trunk/templates/Brazilian_Portuguese-ar_transaction.tex
===================================================================
--- trunk/templates/Brazilian_Portuguese-ar_transaction.tex	2006-09-24 17:41:49 UTC (rev 141)
+++ trunk/templates/Brazilian_Portuguese-ar_transaction.tex	2006-09-24 17:44:51 UTC (rev 142)
@@ -16,16 +16,16 @@
 
 \parbox{\textwidth}{%
   \parbox[b]{.42\textwidth}{%
-    <%company%>
+    <?lsmb company ?>
    
-    <%address%>
+    <?lsmb address ?>
   }
   \parbox[b]{.2\textwidth}{
     \includegraphics[scale=0.3]{ledger-smb}
   }\hfill
   ..hidden..
-  Telephone & <%tel%>\\
-  Facsimile & <%fax%>
+  Telephone & <?lsmb tel ?>\\
+  Facsimile & <?lsmb fax ?>
   \end{tabular}
 
   \rule[1.5em]{\textwidth}{0.5pt}
@@ -36,84 +36,84 @@
 \vspace*{0.5cm}
 
 \parbox[t]{.5\textwidth}{
-<%name%>
+<?lsmb name ?>
 
-<%address1%>
+<?lsmb address1 ?>
 
-<%address2%>
+<?lsmb address2 ?>
 
-<%city%> <%state%> <%zipcode%>
+<?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?>
 
-<%country%>
+<?lsmb country ?>
 
 \vspace{0.3cm}
 
-<%if contact%>
-<%contact%>
-<%end contact%>
+<?lsmb if contact ?>
+<?lsmb contact ?>
+<?lsmb end contact ?>
 
 \vspace{0.2cm}
 
-<%if customerphone%>
-Tel: <%customerphone%>
-<%end customerphone%>
+<?lsmb if customerphone ?>
+Tel: <?lsmb customerphone ?>
+<?lsmb end customerphone ?>
 
-<%if customerfax%>
-Fax: <%customerfax%>
-<%end customerfax%>
+<?lsmb if customerfax ?>
+Fax: <?lsmb customerfax ?>
+<?lsmb end customerfax ?>
 
-<%email%>
+<?lsmb email ?>
 }
 \hfill
 \begin{tabular}[t]{ll}
-  \textbf{Invoice \#} & <%invnumber%> \\
-  \textbf{Date} & <%invdate%> \\
-  \textbf{Due} & <%duedate%> \\
-  \textbf{Order \#} & <%ordnumber%> \\
-  \textbf{Employee} & <%employee%> \\
+  \textbf{Invoice \#} & <?lsmb invnumber ?> \\
+  \textbf{Date} & <?lsmb invdate ?> \\
+  \textbf{Due} & <?lsmb duedate ?> \\
+  \textbf{Order \#} & <?lsmb ordnumber ?> \\
+  \textbf{Employee} & <?lsmb employee ?> \\
 \end{tabular}
 
 \vspace{1cm}
 
 ..hidden..@{}}
-<%foreach amount%>
-  <%accno%> & <%account%> & <%amount%> & <%projectnumber%> \\
-<%end amount%>
+<?lsmb foreach amount ?>
+  <?lsmb accno ?> & <?lsmb account ?> & <?lsmb amount ?> & <?lsmb projectnumber ?> \\
+<?lsmb end amount ?>
 
-  \multicolumn{2}{r}{\textbf{Subtotal}} & <%subtotal%> & \\
-<%foreach tax%>
-  \multicolumn{2}{r}{\textbf{<%taxdescription%> @ <%taxrate%> \%}} & <%tax%> & \\
-<%end tax%>
+  \multicolumn{2}{r}{\textbf{Subtotal}} & <?lsmb subtotal ?> & \\
+<?lsmb foreach tax ?>
+  \multicolumn{2}{r}{\textbf{<?lsmb taxdescription ?> @ <?lsmb taxrate ?> \%}} & <?lsmb tax ?> & \\
+<?lsmb end tax ?>
 
-  \multicolumn{2}{r}{\textbf{Total}} & <%invtotal%> & \\
+  \multicolumn{2}{r}{\textbf{Total}} & <?lsmb invtotal ?> & \\
   
 \end{tabularx}
-<%notes%>
+<?lsmb notes ?>
 
 \vspace{0.3cm}
 
-<%text_amount%> ***** <%decimal%>/100 <%currency%>
+<?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 <?lsmb currency ?>
 
 \vspace{0.3cm}
 
-<%if paid%>
+<?lsmb if paid ?>
 ..hidden..@{}}
   \multicolumn{5}{c}{\textbf{Payments}} \\
   \hline
   \textbf{Date} & & \textbf{Source} & \textbf{Memo} & \textbf{Amount} \\
-<%end paid%>
-<%foreach payment%>
-  <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%paymentmemo%> & <%payment%> \\
-<%end payment%>
-<%if paid%>
+<?lsmb end paid ?>
+<?lsmb foreach payment ?>
+  <?lsmb paymentdate ?> & <?lsmb paymentaccount ?> & <?lsmb paymentsource ?> & <?lsmb paymentmemo ?> & <?lsmb payment ?> \\
+<?lsmb end payment ?>
+<?lsmb if paid ?>
 \end{tabular}
-<%end paid%>
+<?lsmb end paid ?>
 
 \vspace{0.5cm}
 
-<%foreach tax%>
-\textbf{\small{<%taxdescription%> Registration <%taxnumber%>}} \\
-<%end tax%>
+<?lsmb foreach tax ?>
+\textbf{\small{<?lsmb taxdescription ?> Registration <?lsmb taxnumber ?>}} \\
+<?lsmb end tax ?>
   
 \end{document}
 

Modified: trunk/templates/Brazilian_Portuguese-balance_sheet.html
===================================================================
--- trunk/templates/Brazilian_Portuguese-balance_sheet.html	2006-09-24 17:41:49 UTC (rev 141)
+++ trunk/templates/Brazilian_Portuguese-balance_sheet.html	2006-09-24 17:44:51 UTC (rev 142)
@@ -2,32 +2,32 @@
 <body bgcolor=ffffff>
 
 <h2 align=center>
-<%company%>
-<br><%address%>
+<?lsmb company ?>
+<br><?lsmb address ?>
 
 <p>FOLHA DE BALAN\xC7O
-<br>as at <%this_period%>
+<br>as at <?lsmb this_period ?>
 </h2>
 
-<%if department%>
-<h4>Departamento: <%department%></h4>
-<%end department%>
+<?lsmb if department ?>
+<h4>Departamento: <?lsmb department ?></h4>
+<?lsmb end department ?>
 
 <table border=0>
 <tr>
   <th align=left width=400 colspan=2>ATIVO<br><hr align=left width=250 size=5 noshade></th>
-  <th><%this_period%></th>
-  <th><%last_period%></th>
+  <th><?lsmb this_period ?></th>
+  <th><?lsmb last_period ?></th>
 </tr>
 
-<%foreach asset_account%>
+<?lsmb foreach asset_account ?>
 <tr>
   <td> </td>
-  <td><%asset_account%></td>
-  <td align=right><%asset_this_period%></td>
-  <td align=right><%asset_last_period%></td>
+  <td><?lsmb asset_account ?></td>
+  <td align=right><?lsmb asset_this_period ?></td>
+  <td align=right><?lsmb asset_last_period ?></td>
 </tr>
-<%end asset_account%>
+<?lsmb end asset_account ?>
 
 <tr>
   <td colspan=2> </td>
@@ -37,22 +37,22 @@
 
 <tr valign=top>
   <th align=left colspan=2>TOTAL DO ATIVO</th>
-  <td align=right><%total_assets_this_period%><hr noshade size=2></td>
-  <td align=right><%total_assets_last_period%><hr noshade size=2></td>
+  <td align=right><?lsmb total_assets_this_period ?><hr noshade size=2></td>
+  <td align=right><?lsmb total_assets_last_period ?><hr noshade size=2></td>
 </tr>
 
 <tr>
   <th align=left colspan=4>OBRIGA\xC7\xD5ES<b><hr align=left width=250 size=5 noshade></th>
 </tr>
 
-<%foreach liability_account%>
+<?lsmb foreach liability_account ?>
 <tr>
   <td></td>
-  <td><%liability_account%></td>
-  <td align=right><%liability_this_period%></td>
-  <td align=right><%liability_last_period%></td>
+  <td><?lsmb liability_account ?></td>
+  <td align=right><?lsmb liability_this_period ?></td>
+  <td align=right><?lsmb liability_last_period ?></td>
 </tr>
-<%end liability_account%>
+<?lsmb end liability_account ?>
 
 <tr>
   <td colspan=2> </td>
@@ -63,22 +63,22 @@
 <tr valign=top>
   <td></td>
   <th align=left>TOTAL DE OBRIGA\xC7\xD5ES</th>
-  <td align=right><%total_liabilities_this_period%><br><hr noshade size=2</td>
-  <td align=right><%total_liabilities_last_period%><br><hr noshade size=2</td>
+  <td align=right><?lsmb total_liabilities_this_period ?><br><hr noshade size=2</td>
+  <td align=right><?lsmb total_liabilities_last_period ?><br><hr noshade size=2</td>
 </tr>
 
 <tr>
   <th align=left colspan=4>PATRIM\xD4NIO LIQUIDO<br><hr align=left width=250 size=5 noshade></th>
 </tr>
 
-<%foreach equity_account%>
+<?lsmb foreach equity_account ?>
 <tr>
   <td></td>
-  <td><%equity_account%></td>
-  <td align=right><%equity_this_period%></td>
-  <td align=right><%equity_last_period%></td>
+  <td><?lsmb equity_account ?></td>
+  <td align=right><?lsmb equity_this_period ?></td>
+  <td align=right><?lsmb equity_last_period ?></td>
 </tr>
-<%end equity_account%>
+<?lsmb end equity_account ?>
 
 <tr>
   <td colspan=2> </td>
@@ -89,14 +89,14 @@
 <tr valign=top>
   <td></td>
   <th align=left>TOTAL PATRIM\xD4NIO</th>
-  <td align=right><%total_equity_this_period%><br><hr noshade size=2</td>
-  <td align=right><%total_equity_last_period%><br><hr noshade size=2</td>
+  <td align=right><?lsmb total_equity_this_period ?><br><hr noshade size=2</td>
+  <td align=right><?lsmb total_equity_last_period ?><br><hr noshade size=2</td>
 </tr>
 
 <tr valign=top>
   <th align=left colspan=2>TOTAL OBRIGA\xC7\xD5ES & PATRIM\xD4NIO</th>
-  <td align=right><%total_this_period%><br><hr noshade size=2></td>
-  <td align=right><%total_last_period%><br><hr noshade size=2></td>
+  <td align=right><?lsmb total_this_period ?><br><hr noshade size=2></td>
+  <td align=right><?lsmb total_last_period ?><br><hr noshade size=2></td>
 </tr>
 </table>
 

Modified: trunk/templates/Brazilian_Portuguese-bin_list.html
===================================================================
--- trunk/templates/Brazilian_Portuguese-bin_list.html	2006-09-24 17:41:49 UTC (rev 141)
+++ trunk/templates/Brazilian_Portuguese-bin_list.html	2006-09-24 17:44:51 UTC (rev 142)
@@ -1,17 +1,17 @@
 
 <body bgcolor=ffffff>
 
-<table width=100%>
+<table width=100 ?>
   <tr>
     <td width=10>&nbsp;</td>
     
     <td>
-      <table width=100%>
+      <table width=100 ?>
 	<tr>
 	  <td>
 	    <h4>
-	    <%company%>
-	    <br><%address%>
+	    <?lsmb company ?>
+	    <br><?lsmb address ?>
 	    </h4>
 	  </td>
 	  
@@ -19,8 +19,8 @@
 
 	  <th align=right>
 	    <h4>
-	    Tel: <%tel%>
-	    <br>Fax: <%fax%>
+	    Tel: <?lsmb tel ?>
+	    <br>Fax: <?lsmb fax ?>
 	    </h4>
 	  </td>
 	</tr>
@@ -40,62 +40,62 @@
     <td>
       <table width=100% cellspacing=0 cellpadding=0>
 	<tr bgcolor=000000>
-	  <th align=left width=50%><font color=ffffff>De</th>
-	  <th align=left width=50%><font color=ffffff>Enviar para</th>
+	  <th align=left width=50 ?><font color=ffffff>De</th>
+	  <th align=left width=50 ?><font color=ffffff>Enviar para</th>
 	</tr>
 
 	<tr valign=top>
-	  <td><%name%>
-	  <br><%address1%>
-	  <%if address2%>
-<br><%address2%>
-<%end address2%>
-	  <br><%city%> <%state%> <%zipcode%>
-	  <%if country%>
-<%country%>
-<%end country%>
+	  <td><?lsmb name ?>
+	  <br><?lsmb address1 ?>
+	  <?lsmb if address2 ?>
+<br><?lsmb address2 ?>
+<?lsmb end address2 ?>
+	  <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?>
+	  <?lsmb if country ?>
+<?lsmb country ?>
+<?lsmb end country ?>
 	  <br>
 
-	  <%if contact%>
-	  <br>A/C: <%contact%>
-	  <%end contact%>
+	  <?lsmb if contact ?>
+	  <br>A/C: <?lsmb contact ?>
+	  <?lsmb end contact ?>
 
-	  <%if vendorphone%>
-	  <br>Tel: <%vendorphone%>
-	  <%end vendorphone%>
+	  <?lsmb if vendorphone ?>
+	  <br>Tel: <?lsmb vendorphone ?>
+	  <?lsmb end vendorphone ?>
 
-	  <%if vendorfax%>
-	  <br>Fax: <%vendorfax%>
-	  <%end vendorfax%>
+	  <?lsmb if vendorfax ?>
+	  <br>Fax: <?lsmb vendorfax ?>
+	  <?lsmb end vendorfax ?>
 
-	  <%if email%>
-	  <br><%email%>
-	  <%end email%>
+	  <?lsmb if email ?>
+	  <br><?lsmb email ?>
+	  <?lsmb end email ?>
 	  
 	  </td>
 	  
-	  <td><%shiptoname%>
-	  <br><%shiptoaddress1%>
-	  <%if shiptoaddress2%>
-<br><%shiptoaddress2%>
-<%end shiptoaddress2%>
-	  <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-	  <%if shiptocountry%>
-<%shiptocountry%>
-<%end shiptocountry%>
+	  <td><?lsmb shiptoname ?>
+	  <br><?lsmb shiptoaddress1 ?>
+	  <?lsmb if shiptoaddress2 ?>
+<br><?lsmb shiptoaddress2 ?>
+<?lsmb end shiptoaddress2 ?>
+	  <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?>
+	  <?lsmb if shiptocountry ?>
+<?lsmb shiptocountry ?>
+<?lsmb end shiptocountry ?>
 
 	  <br>
-	  <%if shiptocontact%>
-	  <br>A/C: <%shiptocontact%>
-	  <%end shiptocontact%>
+	  <?lsmb if shiptocontact ?>
+	  <br>A/C: <?lsmb shiptocontact ?>
+	  <?lsmb end shiptocontact ?>
 	  
-	  <%if shiptophone%>
-	  <br>Tel: <%shiptophone%>
-	  <%end shiptophone%>
+	  <?lsmb if shiptophone ?>
+	  <br>Tel: <?lsmb shiptophone ?>
+	  <?lsmb end shiptophone ?>
 
-	  <%if shiptofax%>
-	  <br>Fax: <%shiptofax%>
-	  <%end shiptofax%>
+	  <?lsmb if shiptofax ?>
+	  <br>Fax: <?lsmb shiptofax ?>
+	  <?lsmb end shiptofax ?>
 	  </td>
 	</tr>
       </table>
@@ -113,32 +113,32 @@
 	  <th width=17% align=left nowrap>Pedido #</th>
 	  <th width=17% align=left nowrap>Data</th>
 	  <th width=17% align=left nowrap>Contato</th>
-	  <%if warehouse%>
+	  <?lsmb if warehouse ?>
 	  <th width=17% align=left nowrap>Armaz\xE9m</th>
-	  <%end warehouse%>
+	  <?lsmb end warehouse ?>
 	  <th width=17% align=left>Local do despacho</th>
 	  <th width=15% align=left>Enviar por</th>
 	</tr>
 
 	<tr>
-	  <td><%ordnumber%>&nbsp;</td>
+	  <td><?lsmb ordnumber ?>&nbsp;</td>
 	  
-	  <%if shippingdate%>
-	  <td><%shippingdate%></td>
-	  <%end shippingdate%>
+	  <?lsmb if shippingdate ?>
+	  <td><?lsmb shippingdate ?></td>
+	  <?lsmb end shippingdate ?>
 	  
-	  <%if not shippingdate%>
-	  <td><%orddate%></td>
-	  <%end shippingdate%>
+	  <?lsmb if not shippingdate ?>
+	  <td><?lsmb orddate ?></td>
+	  <?lsmb end shippingdate ?>
 	  
-	  <td><%employee%>&nbsp;</td>
+	  <td><?lsmb employee ?>&nbsp;</td>
 
-	  <%if warehouse%>
-	  <td><%warehouse%></td>
-	  <%end warehouse%>
+	  <?lsmb if warehouse ?>
+	  <td><?lsmb warehouse ?></td>
+	  <?lsmb end warehouse ?>
   
-	  <td><%shippingpoint%>&nbsp;</td>
-	  <td><%shipvia%>&nbsp;</td>
+	  <td><?lsmb shippingpoint ?>&nbsp;</td>
+	  <td><?lsmb shipvia ?>&nbsp;</td>
 	</tr>
       </table>
     </td>
@@ -148,7 +148,7 @@
     <td>&nbsp;</td>
 
     <td>
-      <table width=100%>
+      <table width=100 ?>
 	<tr bgcolor=000000>
 	  <th align=left><font color=ffffff>Pos</th>
 	  <th align=left><font color=ffffff>N\xFAmero</th>
@@ -161,19 +161,19 @@
 	  <th><font color=ffffff>Local</th>
 	</tr>
 
-	<%foreach number%>
+	<?lsmb foreach number ?>
 	<tr valign=top>
-	  <td><%runningnumber%></td>
-	  <td><%number%></td>
-	  <td><%description%></td>
-	  <td><%serialnumber%></td>
-	  <td><%deliverydate%></td>
-	  <td align=right><%qty%></td>
-	  <td align=right><%ship%></td>
-	  <td><%unit%></td>
-	  <td><%bin%></td>
+	  <td><?lsmb runningnumber ?></td>
+	  <td><?lsmb number ?></td>
+	  <td><?lsmb description ?></td>
+	  <td><?lsmb serialnumber ?></td>
+	  <td><?lsmb deliverydate ?></td>
+	  <td align=right><?lsmb qty ?></td>
+	  <td align=right><?lsmb ship ?></td>
+	  <td><?lsmb unit ?></td>
+	  <td><?lsmb bin ?></td>
 	</tr>
-	<%end number%>
+	<?lsmb end number ?>
 
       </table>
     </td>

Modified: trunk/templates/Brazilian_Portuguese-bin_list.tex
===================================================================
--- trunk/templates/Brazilian_Portuguese-bin_list.tex	2006-09-24 17:41:49 UTC (rev 141)
+++ trunk/templates/Brazilian_Portuguese-bin_list.tex	2006-09-24 17:44:51 UTC (rev 142)
@@ -16,34 +16,34 @@
 
 \parbox{\textwidth}{
   \parbox[b]{.42\textwidth}{%
-    <%company%>
+    <?lsmb company ?>
     
-    <%address%>
+    <?lsmb address ?>
   }
   \parbox[b]{.2\textwidth}{
     \includegraphics[scale=0.3]{ledger-smb}
   }\hfill
   ..hidden..
-  Telephone & <%tel%>\\
-  Facsimile & <%fax%>
+  Telephone & <?lsmb tel ?>\\
+  Facsimile & <?lsmb fax ?>
   \end{tabular}
 
   \rule[1.5ex]{\textwidth}{0.5pt}
 }
 
  
-<%pagebreak 65 27 37%>
+<?lsmb pagebreak 65 27 37 ?>
 \end{tabularx}
 
 \newpage
 
-\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
+\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}
 
 \vspace*{-12pt}
 
 ..hidden..@{}}
   \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\
-<%end pagebreak%>
+<?lsmb end pagebreak ?>
 
 
 \vspace*{0.5cm}
@@ -53,37 +53,37 @@
 \textbf{From}
 \vspace{0.7cm}
 
-<%name%>
+<?lsmb name ?>
 
-<%address1%>
+<?lsmb address1 ?>
 
-<%if %address2%>
-<%address2%>
-<%end address2%>
+<?lsmb if %address2 ?>
+<?lsmb address2 ?>
+<?lsmb end address2 ?>
 
-<%city%> <%state%> <%zipcode%>
+<?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?>
 
-<%if country%>
-<%country4%>
-<%end country%>
+<?lsmb if country ?>
+<?lsmb country4 ?>
+<?lsmb end country ?>
 }
 \parbox[t]{.4\textwidth}{
 \textbf{Ship To}
 \vspace{0.7cm}
 
-<%shiptoname%>
+<?lsmb shiptoname ?>
 
-<%shiptoaddress1%>
+<?lsmb shiptoaddress1 ?>
 
-<%if shiptoaddress2%>
-<%shiptoaddress2%>
-<%end shiptoaddress2%>
+<?lsmb if shiptoaddress2 ?>
+<?lsmb shiptoaddress2 ?>
+<?lsmb end shiptoaddress2 ?>
 
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
+<?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?>
 
-<%if shiptocountry%>
-<%shiptocountry%>
-<%end shiptocountry%>
+<?lsmb if shiptocountry ?>
+<?lsmb shiptocountry ?>
+<?lsmb end shiptocountry ?>
 }
 \hfill
 
@@ -96,24 +96,24 @@
 
 \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
   \textbf{Order \#} & \textbf{Date} & \textbf{Contact}
-  <%if warehouse%>
+  <?lsmb if warehouse ?>
   & \textbf{Warehouse}
-  <%end warehouse%>
+  <?lsmb end warehouse ?>
   & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em]
   \hline
   
-  <%ordnumber%>
-  <%if shippingdate%>
-  & <%shippingdate%>
-  <%end shippingdate%>
-  <%if not shippingdate%>
-  & <%orddate%>
-  <%end shippingdate%>
-  & <%employee%>
-  <%if warehouse%>
-  & <%warehouse%>
-  <%end warehouse%>
-  & <%shippingpoint%> & <%shipvia%> \\
+  <?lsmb ordnumber ?>
+  <?lsmb if shippingdate ?>
+  & <?lsmb shippingdate ?>
+  <?lsmb end shippingdate ?>
+  <?lsmb if not shippingdate ?>
+  & <?lsmb orddate ?>
+  <?lsmb end shippingdate ?>
+  & <?lsmb employee ?>
+  <?lsmb if warehouse ?>
+  & <?lsmb warehouse ?>
+  <?lsmb end warehouse ?>
+  & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\
   \hline
 \end{tabularx}
   
@@ -122,10 +122,10 @@
 ..hidden..@{}}
   \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\
 
-<%foreach number%>
-  <%runningnumber%> & <%number%> & <%description%> & <%serialnumber%> &
-  <%deliverydate%> & <%qty%> & <%ship%> & <%unit%> & <%bin%> \\
-<%end number%>
+<?lsmb foreach number ?>
+  <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & <?lsmb serialnumber ?> &
+  <?lsmb deliverydate ?> & <?lsmb qty ?> & <?lsmb ship ?> & <?lsmb unit ?> & <?lsmb bin ?> \\
+<?lsmb end number ?>
 \end{tabularx}
 
 

Modified: trunk/templates/Brazilian_Portuguese-check.tex
===================================================================
--- trunk/templates/Brazilian_Portuguese-check.tex	2006-09-24 17:41:49 UTC (rev 141)
+++ trunk/templates/Brazilian_Portuguese-check.tex	2006-09-24 17:44:51 UTC (rev 142)
@@ -11,55 +11,55 @@
 \fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont
 
 \parbox[t]{12cm}{
-  <%company%>
+  <?lsmb company ?>
 
-  <%address%>}
+  <?lsmb address ?>}
 \hfill
-\parbox[t]{6cm}{\hfill <%source%>}
+\parbox[t]{6cm}{\hfill <?lsmb source ?>}
 
 \vspace*{0.6cm}
 
-<%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill}
+<?lsmb text_amount ?> \dotfill <?lsmb decimal ?>/100 \makebox[0.5cm]{\hfill}
 
 \vspace{0.5cm}
 
-\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%>
+\hfill <?lsmb datepaid ?> \makebox[2cm]{\hfill} <?lsmb amount ?>
 
 \vspace{0.5cm}
 
-<%name%>
+<?lsmb name ?>
 
-<%address1%>
+<?lsmb address1 ?>
 
-<%if address2%>
-<%address2%>
-<%end address2%>
+<?lsmb if address2 ?>
+<?lsmb address2 ?>
+<?lsmb end address2 ?>
 
-<%city%> <%state%> <%zipcode%>
+<?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?>
 
-<%if country%>
-<%country%>
-<%end country%>
+<?lsmb if country ?>
+<?lsmb country ?>
+<?lsmb end country ?>
 
 \vspace{2.8cm}
 
-<%company%>
+<?lsmb company ?>
 
 \vspace{0.5cm}
 
-<%name%> \hfill <%datepaid%> \hfill <%source%>
+<?lsmb name ?> \hfill <?lsmb datepaid ?> \hfill <?lsmb source ?>
 
 \vspace{0.5cm}
 ..hidden..
 \textbf{N\xFAmero da Fatura} & \textbf{Data da Fatura}
   & \textbf{Prazo} & \textbf{Aplica\xE7\xE3o} \\
-<%foreach invnumber%>
-<%invnumber%> & <%invdate%> \dotfill
-  & <%due%> & <%paid%> \\
-<%end invnumber%>
+<?lsmb foreach invnumber ?>
+<?lsmb invnumber ?> & <?lsmb invdate ?> \dotfill
+  & <?lsmb due ?> & <?lsmb paid ?> \\
+<?lsmb end invnumber ?>
 \end{tabularx}
 
 \vfill
-<%message%>
+<?lsmb message ?>
 \end{document}
 

Modified: trunk/templates/Brazilian_Portuguese-income_statement.html
===================================================================
--- trunk/templates/Brazilian_Portuguese-income_statement.html	2006-09-24 17:41:49 UTC (rev 141)
+++ trunk/templates/Brazilian_Portuguese-income_statement.html	2006-09-24 17:44:51 UTC (rev 142)
@@ -2,36 +2,36 @@
 <body bgcolor=ffffff>
 
 <h2 align=center>
-<%company%>
-<br><%address%>
+<?lsmb company ?>
+<br><?lsmb address ?>
 
 <p>APURA\xC7\xC3O DE LUCROS E PERDAS
-<br><%period%>
+<br><?lsmb period ?>
 </h2>
 
-<%if department%>
-<h4>Departamento: <%department%></h4>
-<%end department%>
+<?lsmb if department ?>
+<h4>Departamento: <?lsmb department ?></h4>
+<?lsmb end department ?>
 
-<%if projectnumber%>
-<h4>N\xFAmero do Projeto: <%projectnumber%></h4>
-<%end projectnumber%>
+<?lsmb if projectnumber ?>
+<h4>N\xFAmero do Projeto: <?lsmb projectnumber ?></h4>
+<?lsmb end projectnumber ?>
 
 <table width=100% border=0>
 <tr>
   <th width=400 align=left colspan=2>LUCRO<br><hr width=300 size=5 align=left noshade></th>
-  <th><%this_period%></th>
-  <th><%last_period%></th>
+  <th><?lsmb this_period ?></th>
+  <th><?lsmb last_period ?></th>
 </tr>
 
-<%foreach income_account%>
+<?lsmb foreach income_account ?>
 <tr>
   <td width=4> </td>
-  <td><%income_account%></td>
-  <td align=right><%income_this_period%></td>
-  <td align=right><%income_last_period%></td>
+  <td><?lsmb income_account ?></td>
+  <td align=right><?lsmb income_this_period ?></td>
+  <td align=right><?lsmb income_last_period ?></td>
 </tr>
-<%end income_account%>
+<?lsmb end income_account ?>
 
 <tr>
   <td colspan=2> </td>
@@ -42,22 +42,22 @@
 <tr valign=top>
   <td> </td>
   <th align=left>TOTAL DE RECEITAS</th>
-  <td align=right><%total_income_this_period%><hr noshade size=2></td>
-  <td align=right><%total_income_last_period%><hr noshade size=2></td>
+  <td align=right><?lsmb total_income_this_period ?><hr noshade size=2></td>
+  <td align=right><?lsmb total_income_last_period ?><hr noshade size=2></td>
 </tr>
 
 <tr>
   <th align=left colspan=2>DESPESAS<br><hr width=300 size=5 align=left noshade></th>
 </tr>
 
-<%foreach expense_account%>
+<?lsmb foreach expense_account ?>
 <tr>
   <td> </td>
-  <td><%expense_account%></td>
-  <td align=right><%expenses_this_period%></td>
-  <td align=right><%expenses_last_period%></td>
+  <td><?lsmb expense_account ?></td>
+  <td align=right><?lsmb expenses_this_period ?></td>
+  <td align=right><?lsmb expenses_last_period ?></td>
 </tr>
-<%end expense_account%>
+<?lsmb end expense_account ?>
 
 <tr>
   <td colspan=2> </td>
@@ -68,14 +68,14 @@
 <tr valign=top>
   <td> </td>
   <th align=left>TOTAL DE DESPESAS</th>
-  <td align=right><%total_expenses_this_period%><br><hr noshade size=2</td>
-  <td align=right><%total_expenses_last_period%><br><hr noshade size=2</td>
+  <td align=right><?lsmb total_expenses_this_period ?><br><hr noshade size=2</td>
+  <td align=right><?lsmb total_expenses_last_period ?><br><hr noshade size=2</td>
 </tr>
 
 <tr valign=top>
   <th align=left colspan=2>LUCRO / (PREJU\xCDZO)</th>
-  <td align=right><%total_this_period%><br><hr noshade size=2></td>
-  <td align=right><%total_last_period%><br><hr noshade size=2></td>
+  <td align=right><?lsmb total_this_period ?><br><hr noshade size=2></td>
+  <td align=right><?lsmb total_last_period ?><br><hr noshade size=2></td>
 </tr>
 
 </table>

Modified: trunk/templates/Brazilian_Portuguese-invoice.html
===================================================================
--- trunk/templates/Brazilian_Portuguese-invoice.html	2006-09-24 17:41:49 UTC (rev 141)
+++ trunk/templates/Brazilian_Portuguese-invoice.html	2006-09-24 17:44:51 UTC (rev 142)
@@ -1,17 +1,17 @@
 
 <body bgcolor=ffffff>
 
-<table width=100%>
+<table width=100 ?>
 <tr valign=bottom>
     <td width=10>&nbsp;</td>
 
     <td>
-      <table width=100%>
+      <table width=100 ?>
         <tr>
           <td>
             <h4>
-            <%company%>
-        <br><%address%>
+            <?lsmb company ?>
+        <br><?lsmb address ?>
             </h4>
           </td>
 
@@ -19,8 +19,8 @@
 
           <td align=right>
             <h4>
-            Tel: <%tel%>
-        <br>Fax: <%fax%>
+            Tel: <?lsmb tel ?>
+        <br>Fax: <?lsmb fax ?>
             </h4>
           </td>
         </tr>
@@ -40,67 +40,67 @@
     <td>
       <table width=100% callspacing=0 cellpadding=0>
         <tr bgcolor=000000>
-          <th align=left width=50%><font color=ffffff>Para</th>
-          <th align=left width=50%><font color=ffffff>Enviar para</th>
+          <th align=left width=50 ?><font color=ffffff>Para</th>
+          <th align=left width=50 ?><font color=ffffff>Enviar para</th>
         </tr>
 
         <tr valign=top>
-          <td><%name%>
-          <br><%address1%>
-	  <%if address2%>
-          <br><%address2%>
-	  <%end address2%>
-          <br><%city%> <%state%> <%zipcode%>
-	  <%if country%>
-	  <br><%country%>
-	  <%end country%>
+          <td><?lsmb name ?>
+          <br><?lsmb address1 ?>
+	  <?lsmb if address2 ?>
+          <br><?lsmb address2 ?>
+	  <?lsmb end address2 ?>
+          <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?>
+	  <?lsmb if country ?>
+	  <br><?lsmb country ?>
+	  <?lsmb end country ?>
           <br>
 
-          <%if contact%>
-          <br><%contact%>
+          <?lsmb if contact ?>
+          <br><?lsmb contact ?>
           <br>
-          <%end contact%>
+          <?lsmb end contact ?>
 
-          <%if customerphone%>
-          <br>Tel: <%customerphone%>
-          <%end customerphone%>
+          <?lsmb if customerphone ?>
+          <br>Tel: <?lsmb customerphone ?>
+          <?lsmb end customerphone ?>
 
-          <%if customerfax%>
-          <br>Fax: <%customerfax%>
-          <%end customerfax%>
+          <?lsmb if customerfax ?>
+          <br>Fax: <?lsmb customerfax ?>
+          <?lsmb end customerfax ?>
 
-          <%if email%>
-          <br><%email%>
-          <%end email%>
+          <?lsmb if email ?>
+          <br><?lsmb email ?>
+          <?lsmb end email ?>
           </td>
 
-          <td><%shiptoname%>
-          <br><%shiptoaddress1%>
-	  <%if shiptoaddress2%>
-          <br><%shiptoaddress2%>
-	  <%end shiptoaddress2%>
-          <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-	  <%if shiptocountry%>
-	  <br><%shiptocountry%>
-	  <%end shiptocountry%>
+          <td><?lsmb shiptoname ?>
+          <br><?lsmb shiptoaddress1 ?>
+	  <?lsmb if shiptoaddress2 ?>
+          <br><?lsmb shiptoaddress2 ?>
+	  <?lsmb end shiptoaddress2 ?>
+          <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?>
+	  <?lsmb if shiptocountry ?>
+	  <br><?lsmb shiptocountry ?>
+	  <?lsmb end shiptocountry ?>
           <br>
 
-          <%if shiptocontact%>
-          <br><%shiptocontact%>
+          <?lsmb if shiptocontact ?>
+          <br><?lsmb shiptocontact ?>
           <br>
-          <%end shiptocontact%>
+          <?lsmb end shiptocontact ?>
 
-          <%if shiptophone%>
-          <br>Tel: <%shiptophone%>
-          <%end shiptophone%>
+          <?lsmb if shiptophone ?>
+          <br>Tel: <?lsmb shiptophone ?>
+          <?lsmb end shiptophone ?>
 
-          <%if shiptofax%>
-          <br>Fax: <%shiptofax%>
-          <%end shiptofax%>
+          <?lsmb if shiptofax ?>
+          <br>Fax: <?lsmb shiptofax ?>
+          <?lsmb end shiptofax ?>
 
-          <%if shiptoemail%>
-          <br><%shiptoemail%>
-          <%end shiptoemail%>
+          <?lsmb if shiptoemail ?>
+          <br><?lsmb shiptoemail ?>
+          <?lsmb end shiptoemail ?>
           </td>
         </tr>
       </table>
@@ -125,13 +125,13 @@
 	</tr>
 
 	<tr>
-	  <td><%invnumber%></td>
-	  <td><%invdate%></td>
-	  <td><%duedate%></td>
-	  <td><%ordnumber%>&nbsp;</td>
-	  <td><%employee%>&nbsp;</td>
-	  <td><%shippingpoint%>&nbsp;</td>
-	  <td><%shipvia%>&nbsp;</td>
+	  <td><?lsmb invnumber ?></td>
+	  <td><?lsmb invdate ?></td>
+	  <td><?lsmb duedate ?></td>
+	  <td><?lsmb ordnumber ?>&nbsp;</td>
+	  <td><?lsmb employee ?>&nbsp;</td>
+	  <td><?lsmb shippingpoint ?>&nbsp;</td>
+	  <td><?lsmb shipvia ?>&nbsp;</td>
 	</tr>
       </table>
     </td>
@@ -141,7 +141,7 @@
     <td>&nbsp;</td>
   
     <td>
-      <table width=100%>
+      <table width=100 ?>
         <tr bgcolor=000000>
           <th align=right><font color=ffffff>No.</th>
           <th align=left><font color=ffffff>N\xFAmero</th>
@@ -154,19 +154,19 @@
           <th align=right><font color=ffffff>Extendido</th>
         </tr>
 
-        <%foreach number%>
+        <?lsmb foreach number ?>
         <tr valign=top>
-          <td align=right><%runningnumber%>.</td>
-          <td><%number%></td>
-          <td><%description%></td>
-          <td><%deliverydate%></td>
-          <td align=right><%qty%></td>
-          <td><%unit%></td>
-          <td align=right><%sellprice%></td>
-          <td align=right><%discountrate%></td>
-          <td align=right><%linetotal%></td>
+          <td align=right><?lsmb runningnumber ?>.</td>
+          <td><?lsmb number ?></td>
+          <td><?lsmb description ?></td>
+          <td><?lsmb deliverydate ?></td>
+          <td align=right><?lsmb qty ?></td>
+          <td><?lsmb unit ?></td>
+          <td align=right><?lsmb sellprice ?></td>
+          <td align=right><?lsmb discountrate ?></td>
+          <td align=right><?lsmb linetotal ?></td>
         </tr>
-        <%end number%>
+        <?lsmb end number ?>
 
 <!--
 you can also use netprice instead of sellprice if you
@@ -179,43 +179,43 @@
         </tr>
     
         <tr>
-          <%if taxincluded%>
+          <?lsmb if taxincluded ?>
           <th colspan=7 align=right>Total</th>
-          <td colspan=2 align=right><%invtotal%></td>
-          <%end taxincluded%>
+          <td colspan=2 align=right><?lsmb invtotal ?></td>
+          <?lsmb end taxincluded ?>
 
-          <%if not taxincluded%>
+          <?lsmb if not taxincluded ?>
           <th colspan=7 align=right>Subtotal</th>
-          <td colspan=2 align=right><%subtotal%></td>
-          <%end taxincluded%>
+          <td colspan=2 align=right><?lsmb subtotal ?></td>
+          <?lsmb end taxincluded ?>
         </tr>
 
-        <%foreach tax%>
+        <?lsmb foreach tax ?>
         <tr>
-          <th colspan=7 align=right><%taxdescription%> em <%taxbase%> @ <%taxrate%> %</th>
-          <td colspan=2 align=right><%tax%></td>
+          <th colspan=7 align=right><?lsmb taxdescription ?> em <?lsmb taxbase ?> @ <?lsmb taxrate ?> %</th>
+          <td colspan=2 align=right><?lsmb tax ?></td>
         </tr>
-        <%end tax%>
+        <?lsmb end tax ?>
 
-        <%if paid%>
+        <?lsmb if paid ?>
         <tr>
           <th colspan=7 align=right>Pago</th>
-          <td colspan=2 align=right>- <%paid%></td>
+          <td colspan=2 align=right>- <?lsmb paid ?></td>
         </tr>
-        <%end paid%>
+        <?lsmb end paid ?>
 
         <tr>
           <td colspan=5>&nbsp;</td>
           <td colspan=4><hr noshade></td>
         </tr>
 
-        <%if total%>
+        <?lsmb if total ?>
         <tr>
           <td colspan=5>&nbsp;</td>
           <th colspan=2 align=right nowrap>Pendente</th>
-          <th colspan=2 align=right><%total%></th>
+          <th colspan=2 align=right><?lsmb total ?></th>
         </tr>
-        <%end total%>
+        <?lsmb end total ?>
 
         <tr>
       </table>
@@ -226,28 +226,28 @@
     <td>&nbsp;</td>
 
     <td>
-      <table width=100%>
+      <table width=100 ?>
         <tr valign=top>
-          <%if notes%>
-          <td><%notes%></td>
-          <%end notes%>
+          <?lsmb if notes ?>
+          <td><?lsmb notes ?></td>
+          <?lsmb end notes ?>
 
-	  <td><%text_amount%> ***** <%decimal%>/100</td>
+	  <td><?lsmb text_amount ?> ***** <?lsmb decimal ?>/100</td>
 	  
           <td align=right nowrap>
-          Todos os valores em <b><%currency%></b>
+          Todos os valores em <b><?lsmb currency ?></b>
           </td>
         </tr>
       </table>
     </td>
   </tr>
 
-  <%if paid%>
+  <?lsmb if paid ?>
   <tr>
     <td>&nbsp;</td>
 
     <td colspan=9>
-      <table width=60%>
+      <table width=60 ?>
 
         <tr>
           <th align=left>Pagamentos</th>
@@ -265,22 +265,22 @@
           <th align=left>Fonte</th>
           <th align=left>Valor</th>
         </tr>
-  <%end paid%>
+  <?lsmb end paid ?>
 
-        <%foreach payment%>
+        <?lsmb foreach payment ?>
         <tr>
-          <td><%paymentdate%></td>
-          <td><%paymentaccount%></td>
-          <td><%paymentsource%></td>
-          <td><%payment%></td>
+          <td><?lsmb paymentdate ?></td>
+          <td><?lsmb paymentaccount ?></td>
+          <td><?lsmb paymentsource ?></td>
+          <td><?lsmb payment ?></td>
         </tr>
-        <%end payment%>
+        <?lsmb end payment ?>
 
-  <%if paid%>
+  <?lsmb if paid ?>
       </table>
     </td>
   </tr>
-  <%end paid%>
+  <?lsmb end paid ?>
 
   <tr height=10></tr>
 
@@ -296,15 +296,15 @@
     <td>&nbsp;</td>
 
     <td>
-      <table width=100%>
+      <table width=100 ?>
         <tr valign=top>
-          <td width=60%><font size=-3>
-          Pagamentos pendentes at\xE9 <%duedate%>.
-          Itens devolvidos est\xE3o sujeitos a cobran\xE7a de 10% como taxa de reestocagem. Uma autoriza\xE7\xE3o de devolu\xE7\xE3o deve ser obtida de <%company%> antes da devolu\xE7\xE3o das mercadorias. Devolu\xE7\xF5es devem ser  enviadas com frete pago e com o seguro apropriado. <%company%> n\xE3o se responsabilizar\xE1 por danos durante o transporte.
+          <td width=60 ?><font size=-3>
+          Pagamentos pendentes at\xE9 <?lsmb duedate ?>.
+          Itens devolvidos est\xE3o sujeitos a cobran\xE7a de 10% como taxa de reestocagem. Uma autoriza\xE7\xE3o de devolu\xE7\xE3o deve ser obtida de <?lsmb company ?> antes da devolu\xE7\xE3o das mercadorias. Devolu\xE7\xF5es devem ser  enviadas com frete pago e com o seguro apropriado. <?lsmb company ?> n\xE3o se responsabilizar\xE1 por danos durante o transporte.
           </font>
           </td>
 
-          <td width=40%>
+          <td width=40 ?>
           X <hr noshade>
           </td>
         </tr>
@@ -312,15 +312,15 @@
     </td>
   </tr>
 
-  <%foreach tax%>
+  <?lsmb foreach tax ?>
   <tr>
     <td>&nbsp;</td>
 
-    <th colspan=9 align=left><font size=-2><%taxdescription%> Registro <%taxnumber%></th>
+    <th colspan=9 align=left><font size=-2><?lsmb taxdescription ?> Registro <?lsmb taxnumber ?></th>
   </tr>
-  <%end tax%>
+  <?lsmb end tax ?>
 
-  <%if taxincluded%>
+  <?lsmb if taxincluded ?>
   <tr>
     <td>&nbsp;</td>
   </tr>
@@ -328,7 +328,7 @@
   <tr>
     <th colspan=8 align=left><font size=-2>Os impostos est\xE3o incu\xEDdos nos pre\xE7os.</th>
   </tr>
-  <%end taxincluded%>
+  <?lsmb end taxincluded ?>
 
 </table>
 

Modified: trunk/templates/Brazilian_Portuguese-invoice.tex
===================================================================
--- trunk/templates/Brazilian_Portuguese-invoice.tex	2006-09-24 17:41:49 UTC (rev 141)
+++ trunk/templates/Brazilian_Portuguese-invoice.tex	2006-09-24 17:44:51 UTC (rev 142)
@@ -15,12 +15,12 @@
 
   \parbox{\textwidth}{
     \parbox[b]{12cm}{
-      <%company%>
+      <?lsmb company ?>
       
-      <%address%>}\hfill
+      <?lsmb address ?>}\hfill
     ..hidden..
-    Telefone & <%tel%>\\
-    Fax & <%fax%>
+    Telefone & <?lsmb tel ?>\\
+    Fax & <?lsmb fax ?>
     \end{tabular}
 
     \rule[1.5ex]{\textwidth}{0.5pt}
@@ -29,32 +29,32 @@
     
 \fontfamily{cmss}\fontshape{n}\selectfont
 
-\markboth{<%company%>\hfill <%invnumber%>}{\usebox{\hdr}}
+\markboth{<?lsmb company ?>\hfill <?lsmb invnumber ?>}{\usebox{\hdr}}
 
 \pagestyle{myheadings}
 %\thispagestyle{empty}     use this with letterhead paper
 
-<%pagebreak 65 27 37%>
+<?lsmb pagebreak 65 27 37 ?>
 \end{tabular*}
 
   \rule{\textwidth}{2pt}
   
   \hfill
   ..hidden..
-  \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\
+  \textbf{Subtotal} & \textbf{<?lsmb sumcarriedforward ?>} \\
   \end{tabularx}
 
 \newpage
 
-\markright{<%company%>\hfill <%invnumber%>}
+\markright{<?lsmb company ?>\hfill <?lsmb invnumber ?>}
 
 \vspace*{-12pt}
 
 ..hidden..@..hidden..
   \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
     \textbf{Unit} & \textbf{Price} & \textbf{Disc} & \textbf{Amount} \\
-  & carried forward from page <%lastpage%> & & & & & <%sumcarriedforward%> \\
-<%end pagebreak%>
+  & carried forward from page <?lsmb lastpage ?> & & & & & <?lsmb sumcarriedforward ?> \\
+<?lsmb end pagebreak ?>
 
 
 \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
@@ -66,74 +66,74 @@
   \textbf{To}
   \vspace{0.5cm}
 
-<%name%>
+<?lsmb name ?>
 
-<%address1%>
+<?lsmb address1 ?>
 
-<%if address2%>
-<%address2%>
-<%end address2%>
+<?lsmb if address2 ?>
+<?lsmb address2 ?>
+<?lsmb end address2 ?>
 
-<%city%> <%state%> <%zipcode%>
+<?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?>
 
-<%if country%>
-<%country%>
-<%end country%>
+<?lsmb if country ?>
+<?lsmb country ?>
+<?lsmb end country ?>
 
 \vspace{0.3cm}
 
-%<%if contact%>
-%Attn: <%contact%>
+%<?lsmb if contact ?>
+%Attn: <?lsmb contact ?>
 %\vspace{0.3cm}
-%<%end contact%>
+%<?lsmb end contact ?>
 \vspace{0.5cm}
 
-<%if customerphone%>
-Tel: <%customerphone%>
-<%end customerphone%>
+<?lsmb if customerphone ?>
+Tel: <?lsmb customerphone ?>
+<?lsmb end customerphone ?>
 
-<%if customerfax%>
-Fax: <%customerfax%>
-<%end customerfax%>
+<?lsmb if customerfax ?>
+Fax: <?lsmb customerfax ?>
+<?lsmb end customerfax ?>
 
-<%email%>
+<?lsmb email ?>
 }
 \parbox[t]{7.5cm}{
 \textbf{Ship To}
 \vspace{0.5cm}
 
-<%shiptoname%>
+<?lsmb shiptoname ?>
 
-<%shiptoaddress1%>
+<?lsmb shiptoaddress1 ?>
 
-<%if shiptoaddress2%>
-<%shiptoaddress2%>
-<%end shiptoaddress2%>
+<?lsmb if shiptoaddress2 ?>
+<?lsmb shiptoaddress2 ?>
+<?lsmb end shiptoaddress2 ?>
 
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
+<?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?>
 
-<%if shiptocountry%>
-<%shiptocountry%>
-<%end shiptocountry%>
+<?lsmb if shiptocountry ?>
+<?lsmb shiptocountry ?>
+<?lsmb end shiptocountry ?>
 
 \vspace{0.3cm}
 
 \vspace{0.3cm}
 
-<%if shiptocontact%>
-Attn: <%shiptocontact%>
+<?lsmb if shiptocontact ?>
+Attn: <?lsmb shiptocontact ?>
 \vspace{0.3cm}
-<%end shiptocontact%>
+<?lsmb end shiptocontact ?>
 
-<%if shiptophone%>
-Tel: <%shiptophone%>
-<%end shiptophone%>
+<?lsmb if shiptophone ?>
+Tel: <?lsmb shiptophone ?>
+<?lsmb end shiptophone ?>
 
-<%if shiptofax%>
-Fax: <%shiptofax%>
-<%end shiptofax%>
+<?lsmb if shiptofax ?>
+Fax: <?lsmb shiptofax ?>
+<?lsmb end shiptofax ?>
 
-<%shiptoemail%>
+<?lsmb shiptoemail ?>
 }
 \hfill
 
@@ -145,10 +145,10 @@
 \vspace{1cm}
 
 ..hidden..
-  \textbf{Data} & <%invdate%> \\
-  \textbf{N\xFAmero} & <%invnumber%> \\
-  \textbf{Pedido} & <%ordnumber%> \\
-  \textbf{Produto} & <%employee%>
+  \textbf{Data} & <?lsmb invdate ?> \\
+  \textbf{N\xFAmero} & <?lsmb invnumber ?> \\
+  \textbf{Pedido} & <?lsmb ordnumber ?> \\
+  \textbf{Produto} & <?lsmb employee ?>
 \end{tabular}
 
 \vspace{1cm}
@@ -156,10 +156,10 @@
 ..hidden..@..hidden..
   \textbf{N\xFAmero} & \textbf{Descri\xE7\xE3o} & \textbf{Quant.} &
     \textbf{Unid.} & \textbf{Pre\xE7o} & \textbf{Disc.} & \textbf{Total} \\
-<%foreach number%>
-  <%number%> & <%description%> & <%qty%> &
-    <%unit%> & <%sellprice%> & <%discount%> & <%linetotal%> \\
-<%end number%>
+<?lsmb foreach number ?>
+  <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> &
+    <?lsmb unit ?> & <?lsmb sellprice ?> & <?lsmb discount ?> & <?lsmb linetotal ?> \\
+<?lsmb end number ?>
 \end{tabular*}
 
 
@@ -170,44 +170,44 @@
 
 \hfill
 ..hidden..
-  \textbf{Subtotal} & \textbf{<%subtotal%>} \\
-<%foreach tax%>
-  <%taxdescription%> em <%taxbase%> & <%tax%> \\
-<%end tax%>
-<%if paid%>
-  \textbf{Pago} & - <%paid%> \\
-<%end paid%>
+  \textbf{Subtotal} & \textbf{<?lsmb subtotal ?>} \\
+<?lsmb foreach tax ?>
+  <?lsmb taxdescription ?> em <?lsmb taxbase ?> & <?lsmb tax ?> \\
+<?lsmb end tax ?>
+<?lsmb if paid ?>
+  \textbf{Pago} & - <?lsmb paid ?> \\
+<?lsmb end paid ?>
   \hline
-  \textbf{Pendente} & \textbf{<%total%>} \\
+  \textbf{Pendente} & \textbf{<?lsmb total ?>} \\
 \end{tabularx}
 
 \vspace{0.3cm}
 
 \hfill
-  Pre\xE7os em \textbf{<%currency%>}.
+  Pre\xE7os em \textbf{<?lsmb currency ?>}.
 
 \vspace{12pt}
 
-<%if notes%>
-  <%notes%>
-<%end if%>
+<?lsmb if notes ?>
+  <?lsmb notes ?>
+<?lsmb end if ?>
 
 }
 
 \vfill
 
-<%if paid%>
+<?lsmb if paid ?>
 ..hidden..@{}}
   \textbf{Pagamentos} & & & \\
   \hline
   \textbf{Data} & \textbf{Conta} & \textbf{Origem} & \textbf{Total} \\
-<%end paid%>
-<%foreach payment%>
-  <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%payment%> \\
-<%end payment%>
-<%if paid%>
+<?lsmb end paid ?>
+<?lsmb foreach payment ?>
+  <?lsmb paymentdate ?> & <?lsmb paymentaccount ?> & <?lsmb paymentsource ?> & <?lsmb payment ?> \\
+<?lsmb end payment ?>
+<?lsmb if paid ?>
 \end{tabularx}
-<%end paid%>
+<?lsmb end paid ?>
 
 \vspace{1cm}
 

Modified: trunk/templates/Brazilian_Portuguese-packing_list.html
===================================================================
--- trunk/templates/Brazilian_Portuguese-packing_list.html	2006-09-24 17:41:49 UTC (rev 141)
+++ trunk/templates/Brazilian_Portuguese-packing_list.html	2006-09-24 17:44:51 UTC (rev 142)
@@ -1,18 +1,18 @@
 
 <body bgcolor=ffffff>
 
-<table width=100%>
+<table width=100 ?>
 <tr>
   <td width=10>
   </td> 
   <td>
   
-  <table width=100%>
+  <table width=100 ?>
   <tr>
     <td>
       <h4>
-      <%company%>
-      <br><%address%>
+      <?lsmb company ?>
+      <br><?lsmb address ?>
       </h4>
     </td>
 
@@ -31,12 +31,12 @@
     <table>
     <tr>
                 <th align=right>Data</th>
-                <td width=10> </td><td><%invdate%></td>
+                <td width=10> </td><td><?lsmb invdate ?></td>
     </tr>
   
     <tr>
                 <th align=right>N&uacute;mero</th>
-                <td></td><td><%invnumber%></td></tr>
+                <td></td><td><?lsmb invnumber ?></td></tr>
     </table></tr>
   
     <tr>
@@ -49,21 +49,21 @@
 
   <tr>
     <td>
-    <table width=100%>
+    <table width=100 ?>
     <tr bgcolor=000000>
         <th align=left><font color="ffffff">Para:</font></th>
     </tr>
 
     <tr>
-      <td><%shiptoname%>
-      <br><%shiptoaddress1%>
-      <br><%shiptoaddress2%>
-      <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-      <br><%shiptocountry%>
-<%if shiptocontact%>
+      <td><?lsmb shiptoname ?>
+      <br><?lsmb shiptoaddress1 ?>
+      <br><?lsmb shiptoaddress2 ?>
+      <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?>
+      <br><?lsmb shiptocountry ?>
+<?lsmb if shiptocontact ?>
           <p>Obs.: 
-            <%shiptocontact%>
-            <%end shiptocontact%>
+            <?lsmb shiptocontact ?>
+            <?lsmb end shiptocontact ?>
         </td>
     </tr>
     </table>
@@ -77,7 +77,7 @@
   
   <tr>
     <td>
-    <table width=100%>
+    <table width=100 ?>
     <tr bgcolor=000000>
         <th align=left><font color=ffffff>N&uacute;mero</font></th>
         <th align=left><font color=ffffff>Descri&ccedil;&atilde;o</font></th>
@@ -85,14 +85,14 @@
       <th>&nbsp;</th>
     </tr>
 
-<%foreach number%>
+<?lsmb foreach number ?>
     <tr valign=top>
-      <td><%number%></td>
-      <td><%description%></td>
-      <td align=right><%qty%></td>
-      <td><%unit%></td>
+      <td><?lsmb number ?></td>
+      <td><?lsmb description ?></td>
+      <td align=right><?lsmb qty ?></td>
+      <td><?lsmb unit ?></td>
     </tr>
-<%end number%>
+<?lsmb end number ?>
 
     <tr>
       <td colspan=4><hr noshade></td>
@@ -104,14 +104,14 @@
 
 <tr>
   <td>
-  <table width=100%>
+  <table width=100 ?>
     <tr valign=top>
-<%if notes%>
+<?lsmb if notes ?>
         <td>Obs.:</td>
-      <td><pre><%notes%></pre></td>
-<%end notes%>
+      <td><pre><?lsmb notes ?></pre></td>
+<?lsmb end notes ?>
       <td align=right>
-      <%shippingpoint%>
+      <?lsmb shippingpoint ?>
       </td>
     </tr>
 
@@ -121,7 +121,7 @@
 
 <tr>
   <td>
-  <table width=100%>
+  <table width=100 ?>
   <tr valign=top>
         <td><font size=-3> </font> </td>
     <td width=150>

Modified: trunk/templates/Brazilian_Portuguese-packing_list.tex
===================================================================
--- trunk/templates/Brazilian_Portuguese-packing_list.tex	2006-09-24 17:41:49 UTC (rev 141)
+++ trunk/templates/Brazilian_Portuguese-packing_list.tex	2006-09-24 17:44:51 UTC (rev 142)
@@ -25,12 +25,12 @@
 
   \parbox{\textwidth}{
     \parbox[b]{12cm}{
-      <%company%>
+      <?lsmb company ?>
       
-      <%address%>}\hfill
+      <?lsmb address ?>}\hfill
     ..hidden..
-    Telephone & <%tel%>\\
-    Facsimile & <%fax%>
+    Telephone & <?lsmb tel ?>\\
+    Facsimile & <?lsmb fax ?>
     \end{tabular}
 
     \rule[1.5ex]{\textwidth}{0.5pt}
@@ -39,39 +39,39 @@
     
 \fontfamily{cmss}\fontshape{n}\selectfont
 
-\markboth{<%company%>\hfill <%invnumber%>}{\usebox{\hdr}}
+\markboth{<?lsmb company ?>\hfill <?lsmb invnumber ?>}{\usebox{\hdr}}
 
 \pagestyle{myheadings}
 %\thispagestyle{empty}     use this with letterhead paper
 
-<%pagebreak 65 27 37%>
+<?lsmb pagebreak 65 27 37 ?>
 \end{tabular*}
 
 \newpage
 
-\markright{<%company%>\hfill <%invnumber%>}
+\markright{<?lsmb company ?>\hfill <?lsmb invnumber ?>}
 
 \vspace*{-12pt}
 
 ..hidden..@..hidden..
   \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
     \textbf{Unit} & \textbf{Bin} \\
-<%end pagebreak%>
+<?lsmb end pagebreak ?>
 
 
 \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
 
 \vspace*{2cm}
 
-<%shiptoname%>
+<?lsmb shiptoname ?>
 
-<%shiptoaddress1%>
+<?lsmb shiptoaddress1 ?>
 
-<%shiptoaddress2%>
+<?lsmb shiptoaddress2 ?>
 
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
+<?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?>
 
-<%shiptocountry%>
+<?lsmb shiptocountry ?>
 
 \vspace{3.5cm}
 
@@ -79,9 +79,9 @@
 
 \hfill
 ..hidden..
-  \textbf{Data} & <%invdate%> \\
-  \textbf{N\xFAmero} & <%invnumber%> \\
-  \textbf{Cliente} & <%customer_id%>
+  \textbf{Data} & <?lsmb invdate ?> \\
+  \textbf{N\xFAmero} & <?lsmb invnumber ?> \\
+  \textbf{Cliente} & <?lsmb customer_id ?>
 \end{tabular}
 
 \vspace{1cm}
@@ -89,10 +89,10 @@
 ..hidden..@..hidden..
   \textbf{N\xFAmero} & \textbf{Descri\xE7\xE3o} & \textbf{Quant.} &
     \textbf{Unid.} & \textbf{Bin} \\
-<%foreach number%>
-  <%number%> & <%description%> & <%qty%> &
-    <%unit%> & <%bin%> \\
-<%end number%>
+<?lsmb foreach number ?>
+  <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> &
+    <?lsmb unit ?> & <?lsmb bin ?> \\
+<?lsmb end number ?>
 \end{tabular*}
 
 \parbox{\textwidth}{
@@ -100,7 +100,7 @@
 
 \vspace{12pt}
 
-<%notes%>
+<?lsmb notes ?>
 
 }
 

Modified: trunk/templates/Brazilian_Portuguese-pick_list.html
===================================================================
--- trunk/templates/Brazilian_Portuguese-pick_list.html	2006-09-24 17:41:49 UTC (rev 141)
+++ trunk/templates/Brazilian_Portuguese-pick_list.html	2006-09-24 17:44:51 UTC (rev 142)
@@ -1,17 +1,17 @@
 
 <body bgcolor=ffffff>
 
-<table width=100%>
+<table width=100 ?>
   <tr>
     <td width=10>&nbsp;</td>
     
     <td>
-      <table width=100%>
+      <table width=100 ?>
 	<tr>
 	  <td>
 	  <h4>
-	  <%company%>
-	  <br><%address%>
+	  <?lsmb company ?>
+	  <br><?lsmb address ?>
 	  </h4>
 	  </td>
 
@@ -19,8 +19,8 @@
 
 	  <td align=right>
 	  <h4>
-	  Tel: <%tel%>
-	  <br>Fax: <%fax%>
+	  Tel: <?lsmb tel ?>
+	  <br>Fax: <?lsmb fax ?>
 	  </h4>
 	  </td>
 	</tr>
@@ -41,35 +41,35 @@
       <table width=100% callspacing=0 cellpadding=0>
         <tr bgcolor=000000>
 	  <th width=50% align=left><font color=ffffff>Enviar para:</th>
-	  <th width=50%>&nbsp;</th>
+	  <th width=50 ?>&nbsp;</th>
 	</tr>
 
 	<tr valign=top>
-	  <td><%shiptoname%>
-	  <br><%shiptoaddress1%>
-	  <%if shiptoaddress2%>
-	  <br><%shiptoaddress2%>
-	  <%end shiptoaddress2%>
-	  <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-	  <%if shiptocountry%>
-	  <br><%shiptocountry%>
-	  <%end shiptocountry%>
+	  <td><?lsmb shiptoname ?>
+	  <br><?lsmb shiptoaddress1 ?>
+	  <?lsmb if shiptoaddress2 ?>
+	  <br><?lsmb shiptoaddress2 ?>
+	  <?lsmb end shiptoaddress2 ?>
+	  <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?>
+	  <?lsmb if shiptocountry ?>
+	  <br><?lsmb shiptocountry ?>
+	  <?lsmb end shiptocountry ?>
 	  </td>
 
 	  <td>
-	  <%if shiptocontact%>
-	  <br>A/C: <%shiptocontact%>
-	  <%end shiptocontact%>
+	  <?lsmb if shiptocontact ?>
+	  <br>A/C: <?lsmb shiptocontact ?>
+	  <?lsmb end shiptocontact ?>
 
-	  <%if shiptophone%>
-	  <br>Tel: <%shiptophone%>
-	  <%end shiptophone%>
+	  <?lsmb if shiptophone ?>
+	  <br>Tel: <?lsmb shiptophone ?>
+	  <?lsmb end shiptophone ?>
 
-	  <%if shiptofax%>
-	  <br>Fax: <%shiptofax%>
-	  <%end shiptofax%>
+	  <?lsmb if shiptofax ?>
+	  <br>Fax: <?lsmb shiptofax ?>
+	  <?lsmb end shiptofax ?>
 
-	  <%shiptoemail%>
+	  <?lsmb shiptoemail ?>
 	  </td>
 	</tr>
       </table>
@@ -94,20 +94,20 @@
 	</tr>
 
         <tr>
-	  <td><%invnumber%>&nbsp;</td>
-	  <td><%ordnumber%>&nbsp;</td>
-          <%if shippingdate%>
-	  <td><%shippingdate%></td>
-          <%end shippingdate%>
+	  <td><?lsmb invnumber ?>&nbsp;</td>
+	  <td><?lsmb ordnumber ?>&nbsp;</td>
+          <?lsmb if shippingdate ?>
+	  <td><?lsmb shippingdate ?></td>
+          <?lsmb end shippingdate ?>
 
-	  <%if not shippingdate%>
-	  <td><%transdate%></td>
-	  <%end shippingdate%>
+	  <?lsmb if not shippingdate ?>
+	  <td><?lsmb transdate ?></td>
+	  <?lsmb end shippingdate ?>
 
-	  <td><%employee%>&nbsp;</td>
-	  <td><%warehouse%>&nbsp;</td>
-	  <td><%shippingpoint%>&nbsp;</td>
-	  <td><%shipvia%>&nbsp;</td>
+	  <td><?lsmb employee ?>&nbsp;</td>
+	  <td><?lsmb warehouse ?>&nbsp;</td>
+	  <td><?lsmb shippingpoint ?>&nbsp;</td>
+	  <td><?lsmb shipvia ?>&nbsp;</td>
 	</tr>
       </table>
     </td>
@@ -117,7 +117,7 @@
     <td>&nbsp;</td>
     
     <td>
-      <table width=100%>
+      <table width=100 ?>
 	<tr bgcolor=000000>
 	  <th align=left><font color=ffffff>Pos</th>
 	  <th align=left><font color=ffffff>N\xFAmero</th>
@@ -128,17 +128,17 @@
 	  <th><font color=ffffff>Local</th>
 	</tr>
 
-        <%foreach number%>
+        <?lsmb foreach number ?>
 	<tr valign=top>
-	  <td><%runningnumber%>
-	  <td><%number%></td>
-	  <td><%description%></td>
-	  <td align=right><%qty%></td>
+	  <td><?lsmb runningnumber ?>
+	  <td><?lsmb number ?></td>
+	  <td><?lsmb description ?></td>
+	  <td align=right><?lsmb qty ?></td>
 	  <td align=right>[&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;]</td>
-	  <td><%unit%></td>
-	  <td align=right><%bin%></td>
+	  <td><?lsmb unit ?></td>
+	  <td align=right><?lsmb bin ?></td>
 	</tr>
-	<%end number%>
+	<?lsmb end number ?>
       </table>
     </td>
   </tr>

Modified: trunk/templates/Brazilian_Portuguese-pick_list.tex
===================================================================
--- trunk/templates/Brazilian_Portuguese-pick_list.tex	2006-09-24 17:41:49 UTC (rev 141)
+++ trunk/templates/Brazilian_Portuguese-pick_list.tex	2006-09-24 17:44:51 UTC (rev 142)
@@ -29,35 +29,35 @@
 
 \parbox{\textwidth}{
   \parbox[b]{.42\textwidth}{
-    <%company%>
+    <?lsmb company ?>
     
-    <%address%>
+    <?lsmb address ?>
   }
   \parbox[b]{.2\textwidth}{
     \includegraphics[scale=0.3]{ledger-smb}
   }\hfill
   ..hidden..
-  Telephone & <%tel%>\\
-  Facsimile & <%fax%>
+  Telephone & <?lsmb tel ?>\\
+  Facsimile & <?lsmb fax ?>
   \end{tabular}
 
   \rule[1.5ex]{\textwidth}{0.5pt}
 }
 
  
-<%pagebreak 65 27 37%>
+<?lsmb pagebreak 65 27 37 ?>
 \end{tabularx}
 
 \newpage
 
-\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
+\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}
 
 \vspace*{-12pt}
 
 ..hidden..@{}}
   \textbf{Pos} & \textbf{Number} & \textbf{Description} &
   \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\
-<%end pagebreak%>
+<?lsmb end pagebreak ?>
 
 
 \vspace*{0.5cm}
@@ -72,28 +72,28 @@
 \parbox[t]{1cm}{\hfill}
 \parbox[t]{.5\textwidth}{
   
-<%shiptoname%>
+<?lsmb shiptoname ?>
 
-<%shiptoaddress1%>
+<?lsmb shiptoaddress1 ?>
 
-<%shiptoaddress2%>
+<?lsmb shiptoaddress2 ?>
 
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
+<?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?>
 
-<%shiptocountry%>
+<?lsmb shiptocountry ?>
 }
 \parbox[t]{.4\textwidth}{
-  <%shiptocontact%>
+  <?lsmb shiptocontact ?>
 
-  <%if shiptophone%>
-  Tel: <%shiptophone%>
-  <%end shiptophone%>
+  <?lsmb if shiptophone ?>
+  Tel: <?lsmb shiptophone ?>
+  <?lsmb end shiptophone ?>
 
-  <%if shiptofax%>
-  Fax: <%shiptofax%>
-  <%end shiptofax%>
+  <?lsmb if shiptofax ?>
+  Fax: <?lsmb shiptofax ?>
+  <?lsmb end shiptofax ?>
 
-  <%shiptoemail%>
+  <?lsmb shiptoemail ?>
 }
 \hfill
 
@@ -108,18 +108,18 @@
   \textbf{Invoice \#} & \textbf{Order \#} & \textbf{Date} & \textbf{Contact}
   & \textbf{Warehouse} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em]
   \hline
-  <%invnumber%> & <%ordnumber%>
-  <%if shippingdate%>
-  & <%shippingdate%>
-  <%end shippingdate%>
-  <%if not shippingdate%>
-  & <%transdate%>
-  <%end shippingdate%>
-  & <%employee%>
-  <%if warehouse%>
-  & <%warehouse%>
-  <%end warehouse%>
-  & <%shippingpoint%> & <%shipvia%> \\
+  <?lsmb invnumber ?> & <?lsmb ordnumber ?>
+  <?lsmb if shippingdate ?>
+  & <?lsmb shippingdate ?>
+  <?lsmb end shippingdate ?>
+  <?lsmb if not shippingdate ?>
+  & <?lsmb transdate ?>
+  <?lsmb end shippingdate ?>
+  & <?lsmb employee ?>
+  <?lsmb if warehouse ?>
+  & <?lsmb warehouse ?>
+  <?lsmb end warehouse ?>
+  & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\
   \hline
 \end{tabularx}
   
@@ -128,10 +128,10 @@
 ..hidden..@{}}
   \textbf{Pos} & \textbf{Number} & \textbf{Description} &
   \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\
-<%foreach number%>
-  <%runningnumber%> & <%number%> & <%description%> &
-  <%qty%> & [\hspace{1cm}] & <%unit%> & <%bin%> \\
-<%end number%>
+<?lsmb foreach number ?>
+  <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> &
+  <?lsmb qty ?> & [\hspace{1cm}] & <?lsmb unit ?> & <?lsmb bin ?> \\
+<?lsmb end number ?>
 \end{tabularx}
 
 

Modified: trunk/templates/Brazilian_Portuguese-pos_invoice.txt
===================================================================
--- trunk/templates/Brazilian_Portuguese-pos_invoice.txt	2006-09-24 17:41:49 UTC (rev 141)
+++ trunk/templates/Brazilian_Portuguese-pos_invoice.txt	2006-09-24 17:44:51 UTC (rev 142)
@@ -1,50 +1,50 @@
-<%company align=center width=40%>
-<%address align=center width=40%>
+<?lsmb company align=center width=40 ?>
+<?lsmb address align=center width=40 ?>
 
-At\xE9: <%till align=left width=3%>        fone#: <%tel%>
-Clerk: <%username%>
-Vendedor: <%employee%>
+At\xE9: <?lsmb till align=left width=3 ?>        fone#: <?lsmb tel ?>
+Clerk: <?lsmb username ?>
+Vendedor: <?lsmb employee ?>
 
-<%invtime%><%invnumber align=right width=16%>
+<?lsmb invtime ?><?lsmb invnumber align=right width=16 ?>
 
   Qtd Descri\xE7\xE3o                 Total
-<%foreach number%>
-<%qty align=right width=5%> <%description align=left width=24 offset=6%> <%linetotal align=right width=9%>
-      <%number%> @ <%sellprice%>/<%unit%>
-<%end number%>
+<?lsmb foreach number ?>
+<?lsmb qty align=right width=5 ?> <?lsmb description align=left width=24 offset=6 ?> <?lsmb linetotal align=right width=9 ?>
+      <?lsmb number ?> @ <?lsmb sellprice ?>/<?lsmb unit ?>
+<?lsmb end number ?>
 
-N\xFAmero de itens: <%rowcount%>
-<%if taxincluded%>
+N\xFAmero de itens: <?lsmb rowcount ?>
+<?lsmb if taxincluded ?>
                          ---------------
-                   Total devido: <%invtotal align=right width=9%>
-<%end taxincluded%>
-<%if not taxincluded%>
+                   Total devido: <?lsmb invtotal align=right width=9 ?>
+<?lsmb end taxincluded ?>
+<?lsmb if not taxincluded ?>
                             ------------
-                     Subtotal: <%subtotal align=right width=9%>
-<%end taxincluded%>
-<%foreach tax%>
-<%taxdescription align=right width=23%> @ <%taxrate align=right width=2%>%: <%tax align=right width=9%>
-<%end tax%>
-                   Total devido: <%invtotal align=right width=9%>
-<%foreach payment%>
-<%paymentaccount align=right width=29%>: <%payment align=right width=9%> <%currency%>
-<%end payment%>
-<%if change%>
-                       Troco: <%change align=right width=9%>
-<%end change%>
-<%if total%>
-                  Saldo devido: <%total align=right width=9%>
-<%end total%>
-<%if discount%>
+                     Subtotal: <?lsmb subtotal align=right width=9 ?>
+<?lsmb end taxincluded ?>
+<?lsmb foreach tax ?>
+<?lsmb taxdescription align=right width=23 ?> @ <?lsmb taxrate align=right width=2 ?>%: <?lsmb tax align=right width=9 ?>
+<?lsmb end tax ?>
+                   Total devido: <?lsmb invtotal align=right width=9 ?>
+<?lsmb foreach payment ?>
+<?lsmb paymentaccount align=right width=29 ?>: <?lsmb payment align=right width=9 ?> <?lsmb currency ?>
+<?lsmb end payment ?>
+<?lsmb if change ?>
+                       Troco: <?lsmb change align=right width=9 ?>
+<?lsmb end change ?>
+<?lsmb if total ?>
+                  Saldo devido: <?lsmb total align=right width=9 ?>
+<?lsmb end total ?>
+<?lsmb if discount ?>
 
-<%discount%> % Desconto aplicado
-<%end discount%>
+<?lsmb discount ?> % Desconto aplicado
+<?lsmb end discount ?>
 
    Obrigado por ser nosso cliente!
 
-<%if taxincluded%>
+<?lsmb if taxincluded ?>
 Os impostos est\xE3o inclusos no pre\xE7o.
-<%end taxincluded%>
+<?lsmb end taxincluded ?>
 
 
 

Modified: trunk/templates/Brazilian_Portuguese-purchase_order.html
===================================================================
--- trunk/templates/Brazilian_Portuguese-purchase_order.html	2006-09-24 17:41:49 UTC (rev 141)
+++ trunk/templates/Brazilian_Portuguese-purchase_order.html	2006-09-24 17:44:51 UTC (rev 142)
@@ -1,17 +1,17 @@
 
 <body bgcolor=ffffff>
 
-<table width=100%>
+<table width=100 ?>
 <tr valign=bottom>
   <td width=10>&nbsp;</td>
   <td>
   
-  <table width=100%>
+  <table width=100 ?>
   <tr>
     <td>
       <h4>
-      <%company%>
-      <br><%address%>
+      <?lsmb company ?>
+      <br><?lsmb address ?>
       </h4>
     </td>
 
@@ -20,8 +20,8 @@
 
     <td align=right>
       <h4>
-      Tel: <%tel%>
-      <br>Fax: <%fax%>
+      Tel: <?lsmb tel ?>
+      <br>Fax: <?lsmb fax ?>
       </h4>
     </td>
   </tr>
@@ -39,53 +39,53 @@
     
   <tr>
     <td>
-    <table width=100%>
+    <table width=100 ?>
     <tr bgcolor=000000>
-      <th align=left width=50%><font color=ffffff>Para:</th>
-      <th align=left width=50%><font color=ffffff>Enviar para:</th>
+      <th align=left width=50 ?><font color=ffffff>Para:</th>
+      <th align=left width=50 ?><font color=ffffff>Enviar para:</th>
     </tr>
 
     <tr valign=top>
-      <td><%name%>
-      <br><%address1%>
-      <%if address2%>
-      <br><%address2%>
-      <%end address2%>
-      <br><%city%> <%state%> <%zipcode%>
-      <%if country%>
-      <br><%country%>
-      <%end country%>
+      <td><?lsmb name ?>
+      <br><?lsmb address1 ?>
+      <?lsmb if address2 ?>
+      <br><?lsmb address2 ?>
+      <?lsmb end address2 ?>
+      <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?>
+      <?lsmb if country ?>
+      <br><?lsmb country ?>
+      <?lsmb end country ?>
 <br>
-<%if contact%>
-<br>A?C: <%contact%>
-<%end contact%>
-<%if vendorphone%>
-<br>Tel: <%vendorphone%>
-<%end vendorphone%>
-<%if vendorfax%>
-<br>Fax: <%vendorfax%>
-<%end vendorfax%>
+<?lsmb if contact ?>
+<br>A?C: <?lsmb contact ?>
+<?lsmb end contact ?>
+<?lsmb if vendorphone ?>
+<br>Tel: <?lsmb vendorphone ?>
+<?lsmb end vendorphone ?>
+<?lsmb if vendorfax ?>
+<br>Fax: <?lsmb vendorfax ?>
+<?lsmb end vendorfax ?>
       </td>
 
-      <td><%shiptoname%>
-      <br><%shiptoaddress1%>
-      <%if shiptoaddress2%>
-      <br><%shiptoaddress2%>
-      <%end shiptoaddress2%>
-      <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-      <%if shiptocountry%>
-      <br><%shiptocountry%>
-      <%end shiptocountry%>
+      <td><?lsmb shiptoname ?>
+      <br><?lsmb shiptoaddress1 ?>
+      <?lsmb if shiptoaddress2 ?>
+      <br><?lsmb shiptoaddress2 ?>
+      <?lsmb end shiptoaddress2 ?>
+      <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?>
+      <?lsmb if shiptocountry ?>
+      <br><?lsmb shiptocountry ?>
+      <?lsmb end shiptocountry ?>
 <br>
-<%if shiptocontact%>
-<br>A/C: <%shiptocontact%>
-<%end shiptocontact%>
-<%if shiptophone%>
-<br>Tel: <%shiptophone%>
-<%end shiptophone%>
-<%if shiptofax%>
-<br>Fax: <%shiptofax%>
-<%end shiptofax%>
+<?lsmb if shiptocontact ?>
+<br>A/C: <?lsmb shiptocontact ?>
+<?lsmb end shiptocontact ?>
+<?lsmb if shiptophone ?>
+<br>Tel: <?lsmb shiptophone ?>
+<?lsmb end shiptophone ?>
+<?lsmb if shiptofax ?>
+<br>Fax: <?lsmb shiptofax ?>
+<?lsmb end shiptofax ?>
     </tr>
     </table>
     </td>
@@ -106,12 +106,12 @@
     </tr>
 
     <tr>
-      <td><%ordnumber%></td>
-      <td><%orddate%></td>
-      <td><%reqdate%></td>
-      <td><%employee%></td>
-      <td><%shippingpoint%>&nbsp;</td>
-      <td><%shipvia%>&nbsp;</td>
+      <td><?lsmb ordnumber ?></td>
+      <td><?lsmb orddate ?></td>
+      <td><?lsmb reqdate ?></td>
+      <td><?lsmb employee ?></td>
+      <td><?lsmb shippingpoint ?>&nbsp;</td>
+      <td><?lsmb shipvia ?>&nbsp;</td>
     </tr>
     </table>
     </td>
@@ -120,7 +120,7 @@
  
   <tr>
     <td>
-    <table width=100%>
+    <table width=100 ?>
     <tr bgcolor=000000>
 <!--      <th align=right><font color=ffffff>No.</th>  -->
       <th align=left><font color=ffffff>N\xFAmero</th>
@@ -132,80 +132,80 @@
       <th><font color=ffffff>Total</th>
     </tr>
 
-<%foreach number%>
+<?lsmb foreach number ?>
     <tr valign=top>
-<!--      <td align=right><%runningnumber%>.</td>
-other per line item variables available <%reqdate%>
+<!--      <td align=right><?lsmb runningnumber ?>.</td>
+other per line item variables available <?lsmb reqdate ?>
 adjust the colspan if you include this to shift subtotal one to the right
 -->
-      <td><%number%></td>
-      <td><%description%></td>
-      <td align=right><%qty%></td>
-      <td><%unit%></td>
-      <td align=right><%sellprice%></td>
-      <td align=right><%discountrate%></th>
-      <td align=right><%linetotal%></td>
+      <td><?lsmb number ?></td>
+      <td><?lsmb description ?></td>
+      <td align=right><?lsmb qty ?></td>
+      <td><?lsmb unit ?></td>
+      <td align=right><?lsmb sellprice ?></td>
+      <td align=right><?lsmb discountrate ?></th>
+      <td align=right><?lsmb linetotal ?></td>
     </tr>
-<%end number%>
+<?lsmb end number ?>
 
     <tr>
       <td colspan=7><hr noshade></td>
     </tr>
     
     <tr>
-<%if taxincluded%>
+<?lsmb if taxincluded ?>
       <th colspan=6 align=right>Total</th>
-      <th colspan=1 align=right><%ordtotal%></th>
-<%end taxincluded%>
+      <th colspan=1 align=right><?lsmb ordtotal ?></th>
+<?lsmb end taxincluded ?>
      
-<%if not taxincluded%>
+<?lsmb if not taxincluded ?>
       <th colspan=6 align=right>Subtotal</th>
-      <td colspan=1 align=right><%subtotal%></td>
-<%end taxincluded%>
+      <td colspan=1 align=right><?lsmb subtotal ?></td>
+<?lsmb end taxincluded ?>
     </tr>
 
-<%foreach tax%>
+<?lsmb foreach tax ?>
     <tr>
-      <th colspan=6 align=right><%taxdescription%> em <%taxbase%> @ <%taxrate%> %</th>
-      <td colspan=1 align=right><%tax%></td>
+      <th colspan=6 align=right><?lsmb taxdescription ?> em <?lsmb taxbase ?> @ <?lsmb taxrate ?> %</th>
+      <td colspan=1 align=right><?lsmb tax ?></td>
     </tr>
-<%end tax%>
+<?lsmb end tax ?>
 
     <tr>
       <td colspan=3>&nbsp;</td>
       <td colspan=4><hr noshade></td>
     </tr>
     
-<%if not taxincluded%>
+<?lsmb if not taxincluded ?>
       <th colspan=6 align=right>Total</th>
-      <td colspan=1 align=right><%ordtotal%></td>
-<%end taxincluded%>
+      <td colspan=1 align=right><?lsmb ordtotal ?></td>
+<?lsmb end taxincluded ?>
 
-<%if terms%>
+<?lsmb if terms ?>
     <tr>
-      <td colspan=3>Termos <b><%terms%></b> dias</td>
+      <td colspan=3>Termos <b><?lsmb terms ?></b> dias</td>
       <th colspan=3 align=right>Total</th>
-      <th colspan=1 align=right><%ordtotal%></th>
+      <th colspan=1 align=right><?lsmb ordtotal ?></th>
     </tr>
-<%end terms%>
+<?lsmb end terms ?>
 
-<%if taxincluded%>
+<?lsmb if taxincluded ?>
     <tr>
       <td colspan=2>Imposto incluso</td>
     </tr>
-<%end taxincluded%>
+<?lsmb end taxincluded ?>
 
     <tr>
       <td>&nbsp;</td>
     </tr>
     
-<%if ordtotal%>
+<?lsmb if ordtotal ?>
     <tr>
       <td colspan=7 align=right>
-      Todos os pre\xE7os em <b><%currency%></b> 
+      Todos os pre\xE7os em <b><?lsmb currency ?></b> 
       </td>
     </tr>
-<%end ordtotal%>
+<?lsmb end ordtotal ?>
 
     </table>
     </td>
@@ -213,13 +213,13 @@
 
 <tr>
   <td>
-  <table width=100%>
-<%if notes%>
+  <table width=100 ?>
+<?lsmb if notes ?>
     <tr valign=top>
       <td>Observa\xE7\xF5es</td>
-      <td><%notes%></td>
+      <td><?lsmb notes ?></td>
     </tr>
-<%end notes%>
+<?lsmb end notes ?>
 
   </table>
   </td>
@@ -229,11 +229,11 @@
   
 <tr>
   <td>
-  <table width=100%>
+  <table width=100 ?>
   <tr valign=top>
-    <td width=70%>&nbsp;</td>
+    <td width=70 ?>&nbsp;</td>
 
-    <td width=30%>
+    <td width=30 ?>
     X <hr noshade>
     </td>
   </tr>

Modified: trunk/templates/Brazilian_Portuguese-purchase_order.tex
===================================================================
--- trunk/templates/Brazilian_Portuguese-purchase_order.tex	2006-09-24 17:41:49 UTC (rev 141)
+++ trunk/templates/Brazilian_Portuguese-purchase_order.tex	2006-09-24 17:44:51 UTC (rev 142)
@@ -25,12 +25,12 @@
 
   \parbox{\textwidth}{
     \parbox[b]{12cm}{
-      <%company%>
+      <?lsmb company ?>
       
-      <%address%>}\hfill
+      <?lsmb address ?>}\hfill
     ..hidden..
-    Telefone & <%tel%>\\
-    Fax & <%fax%>
+    Telefone & <?lsmb tel ?>\\
+    Fax & <?lsmb fax ?>
     \end{tabular}
 
     \rule[1.5ex]{\textwidth}{0.5pt}
@@ -39,32 +39,32 @@
     
 \fontfamily{cmss}\fontshape{n}\selectfont
 
-\markboth{<%company%>\hfill <%ordnumber%>}{\usebox{\hdr}}
+\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{\usebox{\hdr}}
 
 \pagestyle{myheadings}
 %\thispagestyle{empty}     use this with letterhead paper
 
-<%pagebreak 65 27 37%>
+<?lsmb pagebreak 65 27 37 ?>
 \end{tabular*}
 
   \rule{\textwidth}{2pt}
   
   \hfill
   ..hidden..
-  \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\
+  \textbf{Subtotal} & \textbf{<?lsmb sumcarriedforward ?>} \\
   \end{tabularx}
 
 \newpage
 
-\markright{<%company%>\hfill <%ordnumber%>}
+\markright{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}
 
 \vspace*{-12pt}
 
 ..hidden..@..hidden..
   \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
     \textbf{Unit} & \textbf{Price} & \textbf{Amount} \\
-  & carried forward from <%lastpage%> & & & & <%sumcarriedforward%> \\
-<%end pagebreak%>
+  & carried forward from <?lsmb lastpage ?> & & & & <?lsmb sumcarriedforward ?> \\
+<?lsmb end pagebreak ?>
 
 
 \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
@@ -76,71 +76,71 @@
 \textbf{To}
 \vspace{0.5cm}
 
-<%name%>
+<?lsmb name ?>
 
-<%address1%>
+<?lsmb address1 ?>
 
-<%if address2%>
-<%address2%>
-<%end address2%>
+<?lsmb if address2 ?>
+<?lsmb address2 ?>
+<?lsmb end address2 ?>
 
-<%city%> <%state%> <%zipcode%>
+<?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?>
 
-<%if country%>
-<%country%>
-<%end country%>
+<?lsmb if country ?>
+<?lsmb country ?>
+<?lsmb end country ?>
 
 \vspace{0.3cm}
 
-<%if contact%>
-Attn: <%contact%>
+<?lsmb if contact ?>
+Attn: <?lsmb contact ?>
 \vspace{0.3cm}
-<%end contact%>
+<?lsmb end contact ?>
 
-<%if customerphone%>
-Tel: <%customerphone%>
-<%end customerphone%>
+<?lsmb if customerphone ?>
+Tel: <?lsmb customerphone ?>
+<?lsmb end customerphone ?>
 
-<%if customerfax%>
-Fax: <%customerfax%>
-<%end customerfax%>
+<?lsmb if customerfax ?>
+Fax: <?lsmb customerfax ?>
+<?lsmb end customerfax ?>
 
-<%email%>
+<?lsmb email ?>
 }
 \parbox[t]{7.5cm}{
 \textbf{Ship To}
 \vspace{0.3cm}
 
-<%shiptoname%>
+<?lsmb shiptoname ?>
 
-<%shiptoaddress1%>
+<?lsmb shiptoaddress1 ?>
 
-<%if shiptoaddress2%>
-<%shiptoaddress2%>
-<%end shiptoaddress2%>
+<?lsmb if shiptoaddress2 ?>
+<?lsmb shiptoaddress2 ?>
+<?lsmb end shiptoaddress2 ?>
 
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
+<?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?>
 
-<%if shiptocountry%>
-<%shiptocountry%>
-<%end shiptocountry%>
+<?lsmb if shiptocountry ?>
+<?lsmb shiptocountry ?>
+<?lsmb end shiptocountry ?>
 
 \vspace{0.3cm}
 
-<%if shiptocontact%>
-Attn: <%shiptocontact%>
+<?lsmb if shiptocontact ?>
+Attn: <?lsmb shiptocontact ?>
 \vspace{0.3cm}
-<%end shiptocontact%>
+<?lsmb end shiptocontact ?>
 
-<%if shiptophone%>
-Tel: <%shiptophone%>
-<%end shiptophone%>
+<?lsmb if shiptophone ?>
+Tel: <?lsmb shiptophone ?>
+<?lsmb end shiptophone ?>
 
-<%if shiptofax%>
-Fax: <%shiptofax%>
-<%end shiptofax%>
+<?lsmb if shiptofax ?>
+Fax: <?lsmb shiptofax ?>
+<?lsmb end shiptofax ?>
 
-<%shiptoemail%>
+<?lsmb shiptoemail ?>
 }
 \hfill
 
@@ -149,11 +149,11 @@
 \textbf{ORDEM DE COMPRA} \parbox{0.3cm}{\hfill} \textbf{O R D E R}
 \hfill
 ..hidden..
-  \textbf{Data} & <%orddate%> \\
-<%if reqdate%>
-  \textbf{Requerido por} & <%reqdate%> \\
-<%end reqdate%>
-  \textbf{N\xFAmero} & <%ordnumber%>
+  \textbf{Data} & <?lsmb orddate ?> \\
+<?lsmb if reqdate ?>
+  \textbf{Requerido por} & <?lsmb reqdate ?> \\
+<?lsmb end reqdate ?>
+  \textbf{N\xFAmero} & <?lsmb ordnumber ?>
 \end{tabular}
 
 \vspace{1cm}
@@ -161,10 +161,10 @@
 ..hidden..@..hidden..
   \textbf{N\xFAmero} & \textbf{Descri\xE7\xE3o} & \textbf{Quant.} &
     \textbf{Unid.} & \textbf{Pre\xE7o} & \textbf{Total} \\
-<%foreach number%>
-  <%number%> & <%description%> & <%qty%> &
-    <%unit%> & <%sellprice%> & <%linetotal%> \\
-<%end number%>
+<?lsmb foreach number ?>
+  <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> &
+    <?lsmb unit ?> & <?lsmb sellprice ?> & <?lsmb linetotal ?> \\
+<?lsmb end number ?>
 \end{tabular*}
 
 
@@ -175,24 +175,24 @@
 
 \hfill
 ..hidden..
-  \textbf{Subtotal} & \textbf{<%subtotal%>} \\
-<%foreach tax%>
-  <%taxdescription%> em <%taxbase%> & <%tax%>\\
-<%end tax%>
+  \textbf{Subtotal} & \textbf{<?lsmb subtotal ?>} \\
+<?lsmb foreach tax ?>
+  <?lsmb taxdescription ?> em <?lsmb taxbase ?> & <?lsmb tax ?>\\
+<?lsmb end tax ?>
   \hline
-  \textbf{Total} & \textbf{<%ordtotal%>}\\
+  \textbf{Total} & \textbf{<?lsmb ordtotal ?>}\\
 \end{tabularx}
 
 \vspace{0.3cm}
 
 \hfill
-  Pre\xE7os em \textbf{<%currency%>}.
+  Pre\xE7os em \textbf{<?lsmb currency ?>}.
 
 \vspace{12pt}
 
-<%if notes%>
-  <%notes%>
-<%end if%>
+<?lsmb if notes ?>
+  <?lsmb notes ?>
+<?lsmb end if ?>
 
 }
 

Modified: trunk/templates/Brazilian_Portuguese-receipt.tex
===================================================================
--- trunk/templates/Brazilian_Portuguese-receipt.tex	2006-09-24 17:41:49 UTC (rev 141)
+++ trunk/templates/Brazilian_Portuguese-receipt.tex	2006-09-24 17:44:51 UTC (rev 142)
@@ -21,52 +21,52 @@
 \fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont
 
 \parbox[t]{12cm}{
-  <%company%>
+  <?lsmb company ?>
 
-  <%address%>}
+  <?lsmb address ?>}
 \hfill
-\parbox[t]{6cm}{\hfill <%source%>}
+\parbox[t]{6cm}{\hfill <?lsmb source ?>}
 
 \vspace*{0.6cm}
 
-<%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill}
+<?lsmb text_amount ?> \dotfill <?lsmb decimal ?>/100 \makebox[0.5cm]{\hfill}
 
 \vspace{0.5cm}
 
-\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%>
+\hfill <?lsmb datepaid ?> \makebox[2cm]{\hfill} <?lsmb amount ?>
 
 \vspace{0.5cm}
 
-<%name%>
+<?lsmb name ?>
 
-<%address1%>
+<?lsmb address1 ?>
 
-<%if address2%>
-<%address2%>
-<%end address2%>
+<?lsmb if address2 ?>
+<?lsmb address2 ?>
+<?lsmb end address2 ?>
 
-<%city%> <%state%> <%zipcode%>
+<?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?>
 
-<%if country%>
-<%country%>
-<%end country%>
+<?lsmb if country ?>
+<?lsmb country ?>
+<?lsmb end country ?>
 
 \vspace{2.8cm}
 
-<%company%>
+<?lsmb company ?>
 
 \vspace{0.5cm}
 
-<%name%> \hfill <%datepaid%> \hfill <%source%>
+<?lsmb name ?> \hfill <?lsmb datepaid ?> \hfill <?lsmb source ?>
 
 \vspace{0.5cm}
 ..hidden..
 \textbf{N\xFAmero da Fatura} & \textbf{Data da Fatura}
   & \textbf{Prazo} & \textbf{Aplica\xE7\xE3o} \\
-<%foreach invnumber%>
-<%invnumber%> & <%invdate%> \dotfill
-  & <%due%> & <%paid%> \\
-<%end invnumber%>
+<?lsmb foreach invnumber ?>
+<?lsmb invnumber ?> & <?lsmb invdate ?> \dotfill
+  & <?lsmb due ?> & <?lsmb paid ?> \\
+<?lsmb end invnumber ?>
 \end{tabularx}
 
 \vfill

Modified: trunk/templates/Brazilian_Portuguese-request_quotation.html
===================================================================
--- trunk/templates/Brazilian_Portuguese-request_quotation.html	2006-09-24 17:41:49 UTC (rev 141)
+++ trunk/templates/Brazilian_Portuguese-request_quotation.html	2006-09-24 17:44:51 UTC (rev 142)
@@ -1,17 +1,17 @@
 
 <body bgcolor=ffffff>
 
-<table width=100%>
+<table width=100 ?>
 <tr valign=bottom>
   <td width=10>&nbsp;</td>
   <td>
   
-  <table width=100%>
+  <table width=100 ?>
   <tr>
     <td>
       <h4>
-      <%company%>
-      <br><%address%>
+      <?lsmb company ?>
+      <br><?lsmb address ?>
       </h4>
     </td>
 
@@ -20,8 +20,8 @@
 
     <td align=right>
       <h4>
-      Tel: <%tel%>
-      <br>Fax: <%fax%>
+      Tel: <?lsmb tel ?>
+      <br>Fax: <?lsmb fax ?>
       </h4>
     </td>
   </tr>
@@ -39,53 +39,53 @@
     
   <tr>
     <td>
-    <table width=100%>
+    <table width=100 ?>
     <tr bgcolor=000000>
-      <th align=left width=50%><font color=ffffff>Para:</th>
-      <th align=left width=50%><font color=ffffff>Enviar para:</th>
+      <th align=left width=50 ?><font color=ffffff>Para:</th>
+      <th align=left width=50 ?><font color=ffffff>Enviar para:</th>
     </tr>
 
     <tr valign=top>
-      <td><%name%>
-      <br><%address1%>
-      <%if address2%>
-      <br><%address2%>
-      <%end address2%>
-      <br><%city%> <%state%> <%zipcode%>
-      <%if country%>
-      <br><%country%>
-      <%end country%>
+      <td><?lsmb name ?>
+      <br><?lsmb address1 ?>
+      <?lsmb if address2 ?>
+      <br><?lsmb address2 ?>
+      <?lsmb end address2 ?>
+      <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?>
+      <?lsmb if country ?>
+      <br><?lsmb country ?>
+      <?lsmb end country ?>
 <br>
-<%if contact%>
-<br>A/C: <%contact%>
-<%end contact%>
-<%if vendorphone%>
-<br>Tel: <%vendorphone%>
-<%end vendorphone%>
-<%if vendorfax%>
-<br>Fax: <%vendorfax%>
-<%end vendorfax%>
+<?lsmb if contact ?>
+<br>A/C: <?lsmb contact ?>
+<?lsmb end contact ?>
+<?lsmb if vendorphone ?>
+<br>Tel: <?lsmb vendorphone ?>
+<?lsmb end vendorphone ?>
+<?lsmb if vendorfax ?>
+<br>Fax: <?lsmb vendorfax ?>
+<?lsmb end vendorfax ?>
       </td>
 
-      <td><%shiptoname%>
-      <br><%shiptoaddress1%>
-      <%if shiptoaddress2%>
-      <br><%shiptoaddr2%>
-      <%end shiptoaddress2%>
-      <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
-      <%if shiptocountry%>
-      <br><%shiptocountry%>
-      <%end shiptocountry%>
+      <td><?lsmb shiptoname ?>
+      <br><?lsmb shiptoaddress1 ?>
+      <?lsmb if shiptoaddress2 ?>
+      <br><?lsmb shiptoaddr2 ?>
+      <?lsmb end shiptoaddress2 ?>
+      <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?>
+      <?lsmb if shiptocountry ?>
+      <br><?lsmb shiptocountry ?>
+      <?lsmb end shiptocountry ?>
 <br>
-<%if shiptocontact%>
-<br>A/C: <%shiptocontact%>
-<%end shiptocontact%>
-<%if shiptophone%>
-<br>Tel: <%shiptophone%>
-<%end shiptophone%>
-<%if shiptofax%>
-<br>Fax: <%shiptofax%>
-<%end shiptofax%>
+<?lsmb if shiptocontact ?>
+<br>A/C: <?lsmb shiptocontact ?>
+<?lsmb end shiptocontact ?>
+<?lsmb if shiptophone ?>
+<br>Tel: <?lsmb shiptophone ?>
+<?lsmb end shiptophone ?>
+<?lsmb if shiptofax ?>
+<br>Fax: <?lsmb shiptofax ?>
+<?lsmb end shiptofax ?>
     </tr>
     </table>
     </td>
@@ -106,12 +106,12 @@
     </tr>
 
     <tr>
-      <td><%quonumber%></td>
-      <td><%quodate%></td>
-      <td><%reqdate%></td>
-      <td><%employee%></td>
-      <td><%shippingpoint%>&nbsp;</td>
-      <td><%shipvia%>&nbsp;</td>
+      <td><?lsmb quonumber ?></td>
+      <td><?lsmb quodate ?></td>
+      <td><?lsmb reqdate ?></td>
+      <td><?lsmb employee ?></td>
+      <td><?lsmb shippingpoint ?>&nbsp;</td>
+      <td><?lsmb shipvia ?>&nbsp;</td>
     </tr>
     </table>
     </td>
@@ -127,7 +127,7 @@
 
   <tr>
     <td>
-    <table width=100%>
+    <table width=100 ?>
     <tr>
 <!--      <th align=right>No.</th>  -->
       <th align=left>N\xFAmero</th>
@@ -139,19 +139,19 @@
       <th>Extendido</th>
     </tr>
 
-<%foreach number%>
+<?lsmb foreach number ?>
     <tr valign=top>
-<!--      <td align=right><%runningnumber%>.</td>
-other per line item variables available <%reqdate%>
+<!--      <td align=right><?lsmb runningnumber ?>.</td>
+other per line item variables available <?lsmb reqdate ?>
 adjust the colspan if you include this to shift subtotal one to the right
 -->
-      <td><%number%></td>
-      <td><%description%></td>
-      <td align=right><%qty%></td>
-      <td><%unit%></td>
+      <td><?lsmb number ?></td>
+      <td><?lsmb description ?></td>
+      <td align=right><?lsmb qty ?></td>
+      <td><?lsmb unit ?></td>
 
     </tr>
-<%end number%>
+<?lsmb end number ?>
 
     <tr>
       <td colspan=7><hr noshade></td>
@@ -163,13 +163,13 @@
 
 <tr>
   <td>
-  <table width=100%>
-<%if notes%>
+  <table width=100 ?>
+<?lsmb if notes ?>
     <tr valign=top>
       <td>Observa\xE7\xF5es</td>
-      <td><%notes%></td>
+      <td><?lsmb notes ?></td>
     </tr>
-<%end notes%>
+<?lsmb end notes ?>
 
   </table>
   </td>
@@ -179,11 +179,11 @@
   
 <tr>
   <td>
-  <table width=100%>
+  <table width=100 ?>
   <tr valign=top>
-    <td width=70%>&nbsp;</td>
+    <td width=70 ?>&nbsp;</td>
 
-    <td width=30%>
+    <td width=30 ?>
     X <hr noshade>
     </td>
   </tr>

Modified: trunk/templates/Brazilian_Portuguese-request_quotation.tex
===================================================================
--- trunk/templates/Brazilian_Portuguese-request_quotation.tex	2006-09-24 17:41:49 UTC (rev 141)
+++ trunk/templates/Brazilian_Portuguese-request_quotation.tex	2006-09-24 17:44:51 UTC (rev 142)
@@ -27,43 +27,43 @@
 
 \parbox{\textwidth}{
   \parbox[b]{.42\textwidth}{
-    <%company%>
+    <?lsmb company ?>
     
-    <%address%>
+    <?lsmb address ?>
   }
   \parbox[b]{.2\textwidth}{
     \includegraphics[scale=0.3]{ledger-smb}
   }\hfill
   ..hidden..
-  Telephone & <%tel%>\\
-  Facsimile & <%fax%>
+  Telephone & <?lsmb tel ?>\\
+  Facsimile & <?lsmb fax ?>
   \end{tabular}
 
   \rule[1.5ex]{\textwidth}{0.5pt}
 }
     
 
-<%pagebreak 65 27 48%>
+<?lsmb pagebreak 65 27 48 ?>
 \end{tabularx}
 
   \rule{\textwidth}{2pt}
   
   \hfill
   ..hidden..
-  \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\
+  \textbf{Subtotal} & \textbf{<?lsmb sumcarriedforward ?>} \\
   \end{tabularx}
 
 \newpage
 
-\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
+\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}
 
 \vspace*{-12pt}
 
 ..hidden..@{}}
   \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
     \textbf{Unit} & \textbf{Price} & \textbf{Extended} \\
-  & carried forward from <%lastpage%> & & & & <%sumcarriedforward%> \\
-<%end pagebreak%>
+  & carried forward from <?lsmb lastpage ?> & & & & <?lsmb sumcarriedforward ?> \\
+<?lsmb end pagebreak ?>
 
 
 \vspace*{0.5cm}
@@ -73,63 +73,63 @@
 \textbf{To}
 \vspace{0.7cm}
   
-<%name%>
+<?lsmb name ?>
 
-<%address1%>
+<?lsmb address1 ?>
 
-<%address2%>
+<?lsmb address2 ?>
 
-<%city%> <%state%> <%zipcode%>
+<?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?>
 
-<%country%>
+<?lsmb country ?>
 
 \vspace{0.3cm}
 
-<%if contact%>
-<%contact%>
+<?lsmb if contact ?>
+<?lsmb contact ?>
 \vspace{0.2cm}
-<%end contact%>
+<?lsmb end contact ?>
 
-<%if vendorphone%>
-Tel: <%vendorphone%>
-<%end vendorphone%>
+<?lsmb if vendorphone ?>
+Tel: <?lsmb vendorphone ?>
+<?lsmb end vendorphone ?>
 
-<%if vendorfax%>
-Fax: <%vendorfax%>
-<%end vendorfax%>
+<?lsmb if vendorfax ?>
+Fax: <?lsmb vendorfax ?>
+<?lsmb end vendorfax ?>
 
-<%email%>
+<?lsmb email ?>
 }
 \parbox[t]{.45\textwidth}{
 \textbf{Ship To}
 \vspace{0.7cm}
 
-<%shiptoname%>
+<?lsmb shiptoname ?>
 
-<%shiptoaddress1%>
+<?lsmb shiptoaddress1 ?>
 
-<%shiptoaddress2%>
+<?lsmb shiptoaddress2 ?>
 
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
+<?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?>
 
-<%shiptocountry%>
+<?lsmb shiptocountry ?>
 
 \vspace{0.3cm}
 
-<%if shiptocontact%>
-<%shiptocontact%>
+<?lsmb if shiptocontact ?>
+<?lsmb shiptocontact ?>
 \vspace{0.2cm}
-<%end shiptocontact%>
+<?lsmb end shiptocontact ?>
 
-<%if shiptophone%>
-Tel: <%shiptophone%>
-<%end shiptophone%>
+<?lsmb if shiptophone ?>
+Tel: <?lsmb shiptophone ?>
+<?lsmb end shiptophone ?>
 
-<%if shiptofax%>
-Fax: <%shiptofax%>
-<%end shiptofax%>
+<?lsmb if shiptofax ?>
+Fax: <?lsmb shiptofax ?>
+<?lsmb end shiptofax ?>
 
-<%shiptoemail%>
+<?lsmb shiptoemail ?>
 }
 \hfill
 
@@ -143,7 +143,7 @@
 \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
   \textbf{RFQ \#} & \textbf{Date} & \textbf{Required by} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex]
   \hline
-  <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\
+  <?lsmb quonumber ?> & <?lsmb quodate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\
   \hline
 \end{tabularx}
 
@@ -156,9 +156,9 @@
 ..hidden..@{}}
   \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & &
   \textbf{Delivery} & \textbf{Unit Price} & \textbf{Extended} \\
-<%foreach number%>
-  <%number%> & <%description%> & <%qty%> & <%unit%> \\
-<%end number%>
+<?lsmb foreach number ?>
+  <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & <?lsmb unit ?> \\
+<?lsmb end number ?>
 \end{tabularx}
 
 
@@ -167,7 +167,7 @@
 
 \hfill
 
-<%notes%>
+<?lsmb notes ?>
 
 }
 

Modified: trunk/templates/Brazilian_Portuguese-sales_order.html
===================================================================
--- trunk/templates/Brazilian_Portuguese-sales_order.html	2006-09-24 17:41:49 UTC (rev 141)
+++ trunk/templates/Brazilian_Portuguese-sales_order.html	2006-09-24 17:44:51 UTC (rev 142)
@@ -1,17 +1,17 @@
 
 <body bgcolor=ffffff>
 
-<table width=100%>
+<table width=100 ?>
   <tr>
     <td width=10>&nbsp;</td>
     
     <td>
-      <table width=100%>
+      <table width=100 ?>
 	<tr valign=bottom>
 	  <td>
 	    <h4>
-	    <%company%>
-	    <br><%address%>
+	    <?lsmb company ?>
+	    <br><?lsmb address ?>
 	    </h4>
 	  </td>
 
@@ -19,8 +19,8 @@
 
 	  <td align=right>
 	    <h4>
-	    Tel: <%tel%>
-	    <br>Fax: <%fax%>
+	    Tel: <?lsmb tel ?>
+	    <br>Fax: <?lsmb fax ?>
 	    </h4>
 	  </td>
 	</tr>
@@ -40,59 +40,59 @@
     <td>
       <table width=100% callspacing=0 cellpadding=0>
 	<tr bgcolor=000000>
-	  <th align=left width=50%><font color=ffffff>Para</th>
-	  <th align=left width=50%><font color=ffffff>Enviar para</th>
+	  <th align=left width=50 ?><font color=ffffff>Para</th>
+	  <th align=left width=50 ?><font color=ffffff>Enviar para</th>
 	</tr>
 
 	<tr valign=top>
-	  <td><%name%>
-	  <br><%address1%>
-	  <%if address2%>
-	  <br><%address2%>
-	  <%end address2%>
-	  <br><%city%> <%state%>
-          <br><%zipcode%>
-	  <%if country%>
-	  <br><%country%>
-	  <%end country%>
+	  <td><?lsmb name ?>
+	  <br><?lsmb address1 ?>
+	  <?lsmb if address2 ?>
+	  <br><?lsmb address2 ?>
+	  <?lsmb end address2 ?>
+	  <br><?lsmb city ?> <?lsmb state ?>
+          <br><?lsmb zipcode ?>
+	  <?lsmb if country ?>
+	  <br><?lsmb country ?>
+	  <?lsmb end country ?>
           <br>
-	  <%if contact%>
-	  <br>Attn: <%contact%>
-	  <%end contact%>
-	  <%if customerphone%>
-	  <br>Tel: <%customerphone%>
-	  <%end customerphone%>
-	  <%if customerfax%>
-	  <br>Fax: <%customerfax%>
-	  <%end customerfax%>
-	  <%if email%>
-	  <br><%email%>
-	  <%end email%>
+	  <?lsmb if contact ?>
+	  <br>Attn: <?lsmb contact ?>
+	  <?lsmb end contact ?>
+	  <?lsmb if customerphone ?>
+	  <br>Tel: <?lsmb customerphone ?>
+	  <?lsmb end customerphone ?>
+	  <?lsmb if customerfax ?>
+	  <br>Fax: <?lsmb customerfax ?>
+	  <?lsmb end customerfax ?>
+	  <?lsmb if email ?>
+	  <br><?lsmb email ?>
+	  <?lsmb end email ?>
 	  </td>
 
-	  <td><%shiptoname%>
-	  <br><%shiptoaddress1%>
-	  <%if shiptoaddress2%>
-	  <br><%shiptoaddress2%>
-	  <%end shiptoaddress2%>
-	  <br><%shiptocity%> <%shiptostate%>
-          <br><%shiptozipcode%>
-	  <%if shiptocountry%>
-	  <br><%shiptocountry%>
-	  <%end shiptocountry%>
+	  <td><?lsmb shiptoname ?>
+	  <br><?lsmb shiptoaddress1 ?>
+	  <?lsmb if shiptoaddress2 ?>
+	  <br><?lsmb shiptoaddress2 ?>
+	  <?lsmb end shiptoaddress2 ?>
+	  <br><?lsmb shiptocity ?> <?lsmb shiptostate ?>
+          <br><?lsmb shiptozipcode ?>
+	  <?lsmb if shiptocountry ?>
+	  <br><?lsmb shiptocountry ?>
+	  <?lsmb end shiptocountry ?>
 	  <br>
-          <%if shiptocontact%>
-          <br><%shiptocontact%>
-          <%end shiptocontact%>
-	  <%if shiptophone%>
-	  <br>Tel: <%shiptophone%>
-	  <%end shiptophone%>
-	  <%if shiptofax%>
-	  <br>Fax: <%shiptofax%>
-	  <%end shiptofax%>
-	  <%if shiptoemail%>
-	  <br><%shiptoemail%>
-	  <%end shiptoemail%>
+          <?lsmb if shiptocontact ?>
+          <br><?lsmb shiptocontact ?>
+          <?lsmb end shiptocontact ?>
+	  <?lsmb if shiptophone ?>
+	  <br>Tel: <?lsmb shiptophone ?>
+	  <?lsmb end shiptophone ?>
+	  <?lsmb if shiptofax ?>
+	  <br>Fax: <?lsmb shiptofax ?>
+	  <?lsmb end shiptofax ?>
+	  <?lsmb if shiptoemail ?>
+	  <br><?lsmb shiptoemail ?>
+	  <?lsmb end shiptoemail ?>
 	  </td>
 	</tr>
       </table>
@@ -116,12 +116,12 @@
 	</tr>
 
 	<tr>
-	  <td><%ordnumber%></td>
-	  <td><%orddate%></td>
-	  <td><%reqdate%></td>
-	  <td><%employee%></td>
-	  <td><%shippingpoint%>&nbsp;</td>
-	  <td><%shipvia%>&nbsp;</td>
+	  <td><?lsmb ordnumber ?></td>
+	  <td><?lsmb orddate ?></td>
+	  <td><?lsmb reqdate ?></td>
+	  <td><?lsmb employee ?></td>
+	  <td><?lsmb shippingpoint ?>&nbsp;</td>
+	  <td><?lsmb shipvia ?>&nbsp;</td>
 	</tr>
       </table>
     </td>
@@ -131,7 +131,7 @@
     <td>&nbsp;</td>
  
     <td>
-      <table width=100%>
+      <table width=100 ?>
 	<tr bgcolor=000000>
 	  <th align=right><font color=ffffff>No.</th>
 	  <th align=left><font color=ffffff>N\xFAmero</th>
@@ -143,41 +143,41 @@
 	  <th><font color=ffffff>Valor</th>
 	</tr>
 
-	<%foreach number%>
+	<?lsmb foreach number ?>
 	<tr valign=top>
-          <td align=right><%runningnumber%>.</td>
-	  <td><%number%></td>
-	  <td><%description%></td>
-	  <td align=right><%qty%></td>

@@ Diff output truncated at 100000 characters. @@

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.