X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=lib%2FLaTeX%2FTikZ%2FInterface.pm;h=e92888e7e05d37e6c17ef84e96098a2cb7fa84a7;hb=f54cadb836315572aa2c4bcb16f221da1687df7a;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..e92888e 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,6 +57,12 @@ 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 @@ -77,6 +91,10 @@ sub load { require LaTeX::TikZ::Mod::Pattern; # pattern } +=head1 SEE ALSO + +L. + =head1 AUTHOR Vincent Pit, C<< >>, L.