Hi Qian,
why do you need to rewrite the -eval into a pipe?
@@ -502,6 +500,6 @@ ${GEN_VIEWPORTFILES_PHT}: %.pht: %.ht
${INPUT_EXTRA_INPUT} ${SMAN} \
mobius.VIEW: ${inputsrcdir}/mobius.input
(unset DAASE; FRICAS=${FRICAS}; export FRICAS; \
- FRICAS_INITFILE='' ${XVFB} \
- ${FRICAS}/bin/fricas -noht -noclef -eval ')read $<')
+ echo ')read $<' | FRICAS_INITFILE='' ${XVFB} \
+ ${FRICAS}/bin/fricas -noht -noclef)
On 6/12/24 07:22, Qian Yun wrote:
I've updated https://github.com/oldk1331/fricas/commits/new-ps-book/
Now I don't use "sman in pipe" to generate spool files from input files.
That at least compiles fine for me. I am looking at the details.
Now the spool files are generated via "fricas -nosman" just like before.
That seems to be good.
So to generate graphic files, I only run "SEGBIND ug00 ug01 ug07 ug08
ug10 ug11" again via sman (and XVFB) to generate those graphic files.
Yes, as I suggested recently. I am not yet completely done, but I have
the hope that most of the (non-graphic) commands need not be re-run.
For this workaround, I have to add a new environment "psxtcnooutput"
in htex2input.awk and discard it by "skip-graphics.awk" for normal
spool file generation.
My feeling is that this is not necessary. I even do not quite understand
what the meaning of psxtcnooutput is. If I am not completely wrong then
the commands inside \psXtc are anyway not run.
Maybe I go through all the graphics-related stuff and check with the
physical Jenks&Sutor book what should be turned from \xtc to \psXtc. For
example, ")read vectors" or ")read ribbons" or ")read bouquet" produce
no (text) output, only graphics, so they should not be run in
non-graphics pipe, but the commands should be written to the file
ug-pics.input (which you seem to have hand-crafted as far as I currently
understand).
Anyway, I think the idea is good to decouple the pipe that produces the
.tex files from the run that produces the graphics (i.e. the .ps files).
In fact, for HyperDoc, it is also done like this, see the run with
"-paste" in src/doc/Makefile.in.
Thank you for pushing this isssue. And sorry for me being too slow in
following you.
Anyway, eventually I also like to make the .input files go away that
correspond to source code appearing in the .htex files. Probably not
this realease.
Let us now concentrate on generating .ps files and using pdflatex.
Qian, I think your Chapter 14 doc-only changes could go in now. I also
have a few docfixes waiting in my stack. I would like to pile some more
while I go through the docs now and then commit in one patch.
Ralf
--
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/79577a83-8dc0-41a0-8b4c-f7e2bdc5b508%40hemmecke.org.