App-Checklist-Formatter
view release on metacpan or search on metacpan
bin/checklist-formatter view on Meta::CPAN
print $tmpl->{footer};
} # output()
sub output_list {
my ($list) = @_;
print $tmpl{listhd};
foreach my $item (@$list) {
print $tmpl{itemhd};
printf "%s\\\\\n", $item->{text};
if (@{$item->{comment}}) {
print '\framebox{\begin{minipage}[t]{1\columnwidth-';
print $indentlevel;
print "\\leftmargin}%\n";
foreach (@{$item->{comment}}) {
printf "%s\n", latexify($_);
}
print $tmpl{commft};
}
if ($item->{sublist}) {
$indentlevel++;
output_list($item->{sublist});
bin/checklist-formatter view on Meta::CPAN
header:}
header:\usepackage{babel}
header:\begin{document}
title:\title{You forgot the title in the .otl file}
title:\maketitle
footer:\end{document}
listhd:\begin{itemize}
listft:\end{itemize}
itemhd:\item %
commhd:\\
commhd:\framebox{\begin{minipage}[t]{1\columnwidth}%
commft:\end{minipage}}
Makefile:LISTNAME = %%FILENAME%%
Makefile:CLFORMAT = %%IMYSELF%%
Makefile:
Makefile:all:
Makefile:
Makefile:pdf: $(LISTNAME).pdf
Makefile:
Makefile:%.pdf: %.tex; pdflatex $<
Makefile:%.tex: %.otl; $(CLFORMAT) --filename=$< otl2latex > $@
( run in 1.352 second using v1.01-cache-2.11-cpan-e1769b4cff6 )