Last active
July 23, 2019 05:27
-
-
Save jasonblewis/4027daf0f6bc71419bd17f60c94876a4 to your computer and use it in GitHub Desktop.
include image
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
use Template; | |
my $DEBUG = 9; | |
my $tt = Template->new({ | |
INCLUDE_PATH => './', | |
OUTPUT_PATH => './', | |
}); | |
my $vars = { | |
title => 'Hello World', | |
}; | |
#$tt->process('casual-contract.tt2', $vars, 'casual-contract.pdf', binmode => 1) || die $tt->error(); | |
$tt->process('tttest.tt2', $vars, 'tttest.pdf', binmode => 1) || die $tt->error(); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[%- USE Latex; | |
FILTER latex("pdf"); -%] | |
\documentclass{article} | |
\usepackage{wallpaper} | |
\begin{document} | |
\ThisCenterWallPaper{0.25}{test.png} | |
This is a PDF document generated by | |
LaTeX and the Template Toolkit, with some | |
\end{document} | |
[% END; -%] |
Author
jasonblewis
commented
Jul 23, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment