[Templates-cvs] cvs commit: Template2/lib/Template Config.pm

cvs@template-toolkit.org cvs@template-toolkit.org


cvs         06/05/29 08:51:48

  Modified:    lib/Template Config.pm
  Log:
  * Removed the latex filter
  
  Revision  Changes    Path
  2.72      +2 -19     Template2/lib/Template/Config.pm
  
  Index: Config.pm
  ===================================================================
  RCS file: /template-toolkit/Template2/lib/Template/Config.pm,v
  retrieving revision 2.71
  retrieving revision 2.72
  diff -u -r2.71 -r2.72
  --- Config.pm	2006/05/26 13:45:34	2.71
  +++ Config.pm	2006/05/29 08:51:48	2.72
  @@ -15,7 +15,7 @@
   #   modify it under the same terms as Perl itself.
   #
   # REVISION
  -#   $Id: Config.pm,v 2.71 2006/05/26 13:45:34 abw Exp $
  +#   $Id: Config.pm,v 2.72 2006/05/29 08:51:48 abw Exp $
   #
   #========================================================================
    
  @@ -29,7 +29,7 @@
                $LATEX_PATH $PDFLATEX_PATH $DVIPS_PATH
                $STASH $SERVICE $CONTEXT $CONSTANTS @PRELOAD );
   
  -$VERSION   = sprintf("%d.%02d", q$Revision: 2.71 $ =~ /(\d+)\.(\d+)/);
  +$VERSION   = sprintf("%d.%02d", q$Revision: 2.72 $ =~ /(\d+)\.(\d+)/);
   $DEBUG     = 0 unless defined $DEBUG;
   $ERROR     = '';
   $CONTEXT   = 'Template::Context';
  @@ -48,11 +48,6 @@
   # the following is set at installation time by the Makefile.PL 
   $INSTDIR  = '';
   
  -# LaTeX executable paths set at installation time by the Makefile.PL
  -# Empty strings cause the latex(pdf|dvi|ps) filters to throw an error.
  -$LATEX_PATH    = '';
  -$PDFLATEX_PATH = '';
  -$DVIPS_PATH    = '';
   
   #========================================================================
   #                       --- CLASS METHODS ---
  @@ -281,18 +276,6 @@
       return $inst;
   }
   
  -#------------------------------------------------------------------------
  -# latexpaths()
  -#
  -# Returns a reference to a three element array:
  -#    [latex_path,  pdf2latex_path, dvips_path]
  -# These values are determined by Makefile.PL at installation time
  -# and are used by the latex(pdf|dvi|ps) filters.
  -#------------------------------------------------------------------------
  -
  -sub latexpaths {
  -    return [$LATEX_PATH, $PDFLATEX_PATH, $DVIPS_PATH];
  -}
   
   #========================================================================
   # This should probably be moved somewhere else in the long term, but for