Perl6::Pod::Slide - make slides easy
Create Perl6 Pod file:
=for DESCRIPTION :title('Perl6 Pod:How it made') = :author('Aliaksandr Zahatski') :pubdate('2 jul 2010') =config Image :width('2in') =begin Slide Using B<:pause> attribute =for item :numbered Item1 =for item :numbered :pause Item2 =for item :numbered Item3 =end Slide
Convert pod file to tex:
pod6slide < tech_docs.pod > tech_docs.tex
To pdf:
pdflatex tech_docs.tex
Example for add image:
=begin Slide :title('Test code') Flexowriter =for Image :width('2.5in') img/pdp1_a.jpg =end Slide
Example for programm code listing:
=begin code :lang('Perl') sub print_export { my $self = shift; push @_, "\n"; return $self->SUPER::print_export(@_); } =end code
or some other languages : PHP,bash,HTML,Java,Python, SQL,XSLT,XML,Lisp,Ruby,erlang, TeX ...
PHP
bash
HTML
Java
Python
SQL
XSLT
XML
Lisp
Ruby
erlang
TeX
=begin Slide :title('Asd') = :backimage('img/297823712_f8e59447a5_z.jpg') = :valign(t) :valign(c) :valign(b)
\begin{figure}[h] \begin{center} \includegraphics[height=5cm,width=90mm]{leaves.jpg} \end{center} \caption{Caption of the image} \label{leave} \end{figure}
=for para :bg<white> :color<black>
For make puse after item add pause attribute =for item :numbered :pause One =for item :numbered :pause Two
Perl6::Pod, Perl6::Pod::Lib::Include, Perl6::Pod::Lib::Image
http://perlcabal.org/syn/S26.html
Zahatski Aliaksandr, <zag@cpan.org>
Copyright (C) 2010 by Zahatski Aliaksandr
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.
To install Perl6::Pod::Slide, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Perl6::Pod::Slide
CPAN shell
perl -MCPAN -e shell install Perl6::Pod::Slide
For more information on module installation, please visit the detailed CPAN module installation guide.