[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Axiom-developer] hypertex and documentation search
From: |
Waldek Hebisch |
Subject: |
[Axiom-developer] hypertex and documentation search |
Date: |
Fri, 3 Nov 2006 01:09:31 +0100 (CET) |
On one machine documentation searching did not work. The problem
was that on that machine there was already intalled 'htsearch'
program (which is searching trough HTML pages) and hypertex
picked the instlled program (which was on the PATH) insted of
Axiom version. AFAICS the simplest solution for this problem
is to put Axiom directory first in the PATH.
I also noticed that summary of search results was incorrect.
The patch below fixes both problems:
diff -ru pp/build-improvements/src/etc/axiom build-improvements/src/etc/axiom
--- pp/build-improvements/src/etc/axiom Fri Sep 8 03:06:52 2006
+++ build-improvements/src/etc/axiom Tue Oct 31 15:32:57 2006
@@ -77,7 +77,7 @@
if [ "$AXIOM" = "" ] ; then
SPAD=$SPADDEFAULT
echo "AXIOM variable is not set"
- echo "assuming AXIOM = /axiom/mnt/linuxglibc"
+ echo "assuming AXIOM = $SPAD"
AXIOM=$SPAD
export AXIOM
else
@@ -103,7 +103,7 @@
AXIOMXLROOT=${AXIOM}/compiler
fi
export AXIOMXLROOT
-PATH=$AXIOMXLROOT/bin:${PATH}
+PATH=$AXIOM/bin:$AXIOMXLROOT/bin:${PATH}
export PATH
diff -ru pp/build-improvements/src/hyper/search.pamphlet
build-improvements/src/hyper/search.pamphlet
--- pp/build-improvements/src/hyper/search.pamphlet Fri Sep 29 21:09:42 2006
+++ build-improvements/src/hyper/search.pamphlet Sun Oct 29 22:00:34 2006
@@ -38,7 +38,8 @@
a[n] = $0;
n=n+1;
j=split($0,b,"{");
- m=m+substr(b[j],1,length(b[j])-1);
+ if (j >= 2)
+ m=m+substr(b[2],1,length(b[2])-1);
}
END {
--
Waldek Hebisch
address@hidden
- [Axiom-developer] hypertex and documentation search,
Waldek Hebisch <=