[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb:[3861] branches/1.3
- Subject: SF.net SVN: ledger-smb:[3861] branches/1.3
- From: ..hidden..
- Date: Fri, 14 Oct 2011 07:25:03 +0000
Revision: 3861
http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=3861&view=rev
Author: einhverfr
Date: 2011-10-14 07:25:03 +0000 (Fri, 14 Oct 2011)
Log Message:
-----------
Disabling configuration options for pdflatex etc. paths due to Louis Moore's bug report. Will re-enable after 1.3.1 is released
Modified Paths:
--------------
branches/1.3/LedgerSMB/Sysconfig.pm
branches/1.3/doc/manual/LedgerSMB-manual.tex
branches/1.3/ledgersmb.conf.default
Modified: branches/1.3/LedgerSMB/Sysconfig.pm
===================================================================
--- branches/1.3/LedgerSMB/Sysconfig.pm 2011-10-14 06:54:51 UTC (rev 3860)
+++ branches/1.3/LedgerSMB/Sysconfig.pm 2011-10-14 07:25:03 UTC (rev 3861)
@@ -114,16 +114,21 @@
${$var} = $config{''}{$var} if $config{''}{$var};
}
-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: $!\n";
- print STDERR "Disabling LaTeX support\n";
- $latex = 0;
- };
-}
+# Commenting out the block below due to Louis Moore's bug report on the email
+# lists. It isn't clear what's causing this, and I'd rather not push out
+# something that cuases issues for others without getting to the bottom of the
+# issue. Will re-activate these lines after 1.3.1 is released.
+#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: $!\n";
+# print STDERR "Disabling LaTeX support\n";
+# $latex = 0;
+# };
+#}
+
%printer = %{ $config{printers} } if $config{printers};
# ENV Paths
@@ -146,12 +151,16 @@
}
# 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} });
- }
-}
+#
+# Disabling these lines due to Louis Moore's bug report. Will re-enable after
+# 1.3.1 is released so we have more time to check these out. --CT
+#
+#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
Modified: branches/1.3/doc/manual/LedgerSMB-manual.tex
===================================================================
--- branches/1.3/doc/manual/LedgerSMB-manual.tex 2011-10-14 06:54:51 UTC (rev 3860)
+++ branches/1.3/doc/manual/LedgerSMB-manual.tex 2011-10-14 07:25:03 UTC (rev 3861)
@@ -2957,7 +2957,7 @@
requires an embedded postscript graphic, while PDF requires any type
of graphic other than embedded postscript. Usually one uses a PNG's
for PDF's, though GIF's could be used as well. The logo for a \LaTeX{}\ document
-resides in the users directory.
+must be fully qualified as to its path.
HTML documents can have logos in many different formats. PNG's are
generally preferred for printing reasons. The image can be stored
Modified: branches/1.3/ledgersmb.conf.default
===================================================================
--- branches/1.3/ledgersmb.conf.default 2011-10-14 06:54:51 UTC (rev 3860)
+++ branches/1.3/ledgersmb.conf.default 2011-10-14 07:25:03 UTC (rev 3861)
@@ -58,18 +58,6 @@
# program to use for file compression
gzip = gzip -S .gz
-# For latex and pdflatex, specify full path. These will be used to configure
-# Template::Latex so it can find them. This can be used to specify programs
-# other than vanilla latex and pdflatex, such as the xe varieties of either one,
-# if unicode is required.
-#
-# If these are not set, the package defaults (set when you installed
-# Template::Latex) will be used
-#
-# pdflatex = /usr/bin/pdflatex
-# latex = /usr/bin/latex
-# dvips = /usr/bin/dvips
-#
[mail]
### How to send mail. The sendmail command is used unless smtphost is set.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.