I believe this patch is the correct way to fix this patch.
- Qian
diff --git a/src/doc/Makefile.in b/src/doc/Makefile.in
index e968affd..542f6cba 100644
--- a/src/doc/Makefile.in
+++ b/src/doc/Makefile.in
@@ -255,7 +255,7 @@ GEN_HTFILES = xmpexp coverex gloss
# The reason for this delayed execution is that generation of the .xpm
# files in *.VIEW/ without the xvfb-run program will pop up image
# windows in X and will make working during compilation impossible.
-# The intro.htex and util.ht files are not relevant for image generation.
+# The util.ht file is used during generation of interpsys.
VIEWPORTFILES = coverex \
$(shell grep -lRe 'graphpaste{\|spadgraph{' ${srcdir}/ht/*
${srcdir}/htex/* \
| sed 's,.*/,,;s,\..*,,' \
diff --git a/src/interp/Makefile.in b/src/interp/Makefile.in
index 0576330a..66e289a3 100644
--- a/src/interp/Makefile.in
+++ b/src/interp/Makefile.in
@@ -132,6 +132,7 @@ makeint.lisp: ../boot/lobj_lst
' (quote (' >> makeint.lisp
cat ../boot/lobj_lst >> makeint.lisp
echo '))))' >> makeint.lisp
+ echo '(initroot)' >> makeint.lisp
echo '(build-interpsys' \
'(quote ($(patsubst %, "%", ${ALL_OBJS}))))' >> makeint.lisp
@ echo '(in-package "BOOT")' >> makeint.lisp
On 12/27/23 08:56, Qian Yun wrote:
A quick and dirty fix is:
=====
diff --git a/src/doc/Makefile.in b/src/doc/Makefile.in
index e968affd..542f6cba 100644
--- a/src/doc/Makefile.in
+++ b/src/doc/Makefile.in
@@ -255,7 +255,7 @@ GEN_HTFILES = xmpexp coverex gloss
# The reason for this delayed execution is that generation of the .xpm
# files in *.VIEW/ without the xvfb-run program will pop up image
# windows in X and will make working during compilation impossible.
-# The intro.htex and util.ht files are not relevant for image generation.
+# The util.ht file is used during generation of interpsys.
VIEWPORTFILES = coverex \
$(shell grep -lRe 'graphpaste{\|spadgraph{' ${srcdir}/ht/*
${srcdir}/htex/* \
| sed 's,.*/,,;s,\..*,,' \
diff --git a/src/interp/htcheck.boot b/src/interp/htcheck.boot
index e3f78805..bc2d5596 100644
--- a/src/interp/htcheck.boot
+++ b/src/interp/htcheck.boot
@@ -80,7 +80,8 @@ $primitiveHtCommands := '(
buildHtMacroTable() ==
$htMacroTable := MAKE_HASHTABLE('EQUAL)
- fn := CONCAT($spadroot, '"/share/hypertex/pages/util.ht")
+ -- this is called once by bootsys to generate interpsys
+ fn := CONCAT(getEnv '"FRICAS", '"/share/hypertex/pages/util.ht")
if PROBE_-FILE(fn) then
instream := MAKE_INSTREAM(fn)
while not EOFP instream repeat
=====
The reason is that '|$spadroot|' is not correct when dumping
interpsys by bootsys.
Let's see if there's a better way.
- Qian
On 12/26/23 21:49, Waldek Hebisch wrote:
On Tue, Dec 26, 2023 at 08:14:28AM +0100, Grégory Vanuxem wrote:
Hello,
During FriCAS compilation of the Algebra in a terminal we can see
"Unexpected HT command: \spad" displayed numerous times. Any idea why
this command
seems no longer supported. Is this a bug or a step in the process of
removing it? I may be wrong but I would not be surprised if it was
used to display the brace enclosed content in italic. Example:
--->-->OpenMathPackage((OMsupportsSymbol? ((Boolean) (String)
(String)))): Unexpected HT command: \spad
--->-->OpenMathPackage((OMsupportsSymbol? ((Boolean) (String)
(String)))): Unexpected HT command: \spad
--->-->OpenMathPackage((OMsupportsSymbol? ((Boolean) (String)
(String)))): Unexpected HT command: \spad
This is recent regression caused by commit "Use '|$spadroot|' instead
of '(|getEnv| "FRICAS")'" (4d47c00545dc9aa82ae866adb46332a654348bc4).
We need to make sure that FriCAS can find 'util.ht' during build.
--
You received this message because you are subscribed to the Google Groups "FriCAS -
computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/fricas-devel/de425311-7075-48e2-b52f-38d310fbdc7a%40gmail.com.