On 5/30/24 13:43, Qian Yun wrote:
> The "sman -paste" invocation of "hypertex" does not have this problem
> because it uses only socket IO to FRICASsys, it's purely sequential.
Hmm... cannot we also have something like this -paste option for the .ps
file generation?
We could also avoid the truncation problem in the following way.
- generate foo.input such that all the graphics commands will not be
executed by fricas. (That's just a little tweaking of a .awk script.)
- generate foo-graphics.input which it basically the same as with
the patch by Qian
- Send foo-graphics.input through fricas (as Qian's patch does, i.e.
with sman controlling everything). The (algebra) output is completely
ignored, but it will generate the .ps files.
- Send foo.input directly through FRICASsys (that is basically the same
as it is in current trunk).
That solves the problem at the cost of maybe running the non-graphics
commands twice. To avoid that "double" execution, we might introduce
a special xtc command that contains the preparation steps for graphics
commands that should appear in the .tex file together with output and
only execute those but ignore all the other xtc commands.
I have not actually checked whether there are such commands at all, but
maybe there are.)
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/b43f5650-d6a9-4062-8ddc-e1df6acf89ae%40hemmecke.org.