X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=lib%2FLaTeX%2FTikZ%2FInterface.pm;h=b735828d4d648d8f92651c5f1f613eb6cabccc8f;hb=95aada0ec5b3c5a0d78ed0ad53436b0e70860bc7;hp=adf63f90802f2a2d5ee44fbe5d1779ed4cf0b207;hpb=af7d6a5aef3bf5fec0c187b3a13a14adc88251fd;p=perl%2Fmodules%2FLaTeX-TikZ.git diff --git a/lib/LaTeX/TikZ/Interface.pm b/lib/LaTeX/TikZ/Interface.pm index adf63f9..b735828 100644 --- a/lib/LaTeX/TikZ/Interface.pm +++ b/lib/LaTeX/TikZ/Interface.pm @@ -9,14 +9,22 @@ LaTeX::TikZ::Interface - LaTeX::TikZ public interface register and loader. =head1 VERSION -Version 0.01 +Version 0.02 =cut -our $VERSION = '0.01'; +our $VERSION = '0.02'; use Sub::Name (); +=head1 METHODS + +=head2 C<< register $keyword => $code >> + +Registers C<$code> to be available with C<< Tikz->$keyword >>. + +=cut + sub register { shift; @@ -49,14 +57,21 @@ sub register { return; } +=head2 C + +Load all the modules of the L official suite that register a keyword in the interface. + +=cut + sub load { require LaTeX::TikZ::Formatter; # formatter require LaTeX::TikZ::Functor; # functor require LaTeX::TikZ::Set::Raw; # raw - require LaTeX::TikZ::Set::Path; # path + require LaTeX::TikZ::Set::Union; # union require LaTeX::TikZ::Set::Sequence; # seq + require LaTeX::TikZ::Set::Chain; # chain, join require LaTeX::TikZ::Set::Point; # point require LaTeX::TikZ::Set::Line; # line @@ -77,6 +92,10 @@ sub load { require LaTeX::TikZ::Mod::Pattern; # pattern } +=head1 SEE ALSO + +L. + =head1 AUTHOR Vincent Pit, C<< >>, L.