RE: [SMARTY] Latex and Smarty
| From: | Thomas Schulz | Date: | Sat, 01 Feb 2003 20:23:41 +0000 |
| Subject: | RE: [SMARTY] Latex and Smarty | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-7450@lists.php.net to get a copy of this message | ||
Nola Stowe schrieb in php.smarty.general:
>> some people were interested in an example for crating PDF-Files with
>> LaTex and Smarty.
> Thanks for posting this! I will take a closer look at this. Where is the
> template file??
The tex file is the template:
/* replace dynamic elements in the template */
ob_start();
$smarty->display("letter.tex");
ob_get_contents();
ob_end_clean();
BTW - fetch method works fine:
$content = $smarty->fetch("letter.tex");
;-)
--
http://4bconsult.de