[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb:[3893] branches/1.3/LedgerSMB/Sysconfig.pm
- Subject: SF.net SVN: ledger-smb:[3893] branches/1.3/LedgerSMB/Sysconfig.pm
- From: ..hidden..
- Date: Wed, 19 Oct 2011 22:00:51 +0000
Revision: 3893
http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=3893&view=rev
Author: einhverfr
Date: 2011-10-19 22:00:51 +0000 (Wed, 19 Oct 2011)
Log Message:
-----------
Reversing patch to include support for specifying LaTeX paths here for two reasons:
1) This is causing issues even when paths are unconfigured for one tester and
2) When paths are configured, runs up against a bug in LaTeX::Driver
Instead documenting workaround for use of XeLaTeX with instead of pdflatex.
Modified Paths:
--------------
branches/1.3/LedgerSMB/Sysconfig.pm
Modified: branches/1.3/LedgerSMB/Sysconfig.pm
===================================================================
--- branches/1.3/LedgerSMB/Sysconfig.pm 2011-10-19 11:23:44 UTC (rev 3892)
+++ branches/1.3/LedgerSMB/Sysconfig.pm 2011-10-19 22:00:51 UTC (rev 3893)
@@ -115,16 +115,6 @@
}
-if ($latex){
- eval { require Template::Latex }; # Trap errors loading this optional module
- if ($!) { # Couldn't load Template::Latex
- print STDERR "WARNING: LedgerSMB configured to use LaTeX but module ";
- print STDERR "Template::Latex did not load: ..hidden..";
- print STDERR "Disabling LaTeX support\n";
- $latex = 0;
- };
-}
-
%printer = %{ $config{printers} } if $config{printers};
# ENV Paths
@@ -146,15 +136,6 @@
${$var} = $config{programs}{$var} if $config{programs}{$var};
}
-# LaTeX and friends
-#
-for my $var (qw(pdflatex latex dvips)){
- if ($latex and $config{programs}{$var}){
- my $funcname = "${var}_path";
- Template::Latex->$funcname( { $var => $config{programs}{$var} });
- }
-}
-
# mail configuration
for my $var (qw(sendmail smtphost smtptimeout smtpuser
smtppass smtpauthmethod))
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.