#71 openaxiom with wintexmacs portable (from usb stick)

1.3.0
closed-fixed
5
2009-09-26
2009-06-22
ivan
No

hi
sorry if my post is not for this place
since my problem is not exactly a bug

i want to use open axiom with wintexmacs interface as portable
application (from usb stick)
in version 1.0.1 it was easy : just write .bat file with
set AXIOM= ..\..\open-axiom
tmwin .exe
and it was working

but unfortunately after version 1.1.0 such .bat file doesn`t work.
what i can do to start openaxiom 1.2.1 from wintexmacs in portable way (from usb stick)
or can someone recommend me another interface
with such good features as wintexmacs that would allow portable use
of open axiom

thanks
best regards

Discussion

  • Gabriel Dos Reis

    Hi Ivan,

    In your batch file, try to invoke OpenAxiom as
    \path\to\open-axiom\executable --sysdir=..\..\open-axiom

    where \path\to\open-axiom\executable is the path to the OpenAxiom binary (e.g. .exe )

    -- Gaby

     
  • Gabriel Dos Reis

    Sorry, in my previous suggestion "--sysdir=..\..\open-axiom" should read "--system=..\..\open-axiom".

    -- Gaby

     
  • ivan

    ivan - 2009-06-22

    unfortunately axiomsys.exe is invoked by wintexmacs directly and i have no control over this invocation except setting set AXIOM= ..\..\open-axiom\<path to axiomsys.exe>

    i tried your suggestion and was able to start axiom portable
    but this is indirect start of axiomsys.exe - it does not help with wintexmacs
    (at least i don`t know how to make this)

    when i try to start axiomsys.exe directly it serches only "c:\program files\open axiom\.... "
    even i tried to set axiom= .... , system=.... it seems that axiomsys.exe does not read
    windows system variables or does not depend on them

    perhaps there could be way to collaborate with wintexmacs by tm_axiom.exe
    but i did not manage to do that

    thanks best regards

     
  • ivan

    ivan - 2009-07-01

    hi
    what happened ?
    is there solution ?
    or will be in the future versions ?
    or can someone recommend me graphical interface to openaxion
    to work portable?
    wintexmacs is good but perhaps there is better ?

    thanks
    best regards

     
  • Gabriel Dos Reis

    Hi Ivan,

    I did send a comment, but apparently it never made its way to the
    system. Yes, the change to not use AXIOM was deliberate as
    there are various flavour of AXIOM out there each competing
    with the environment variable AXIOM.

    The fundamental problem in this case is that wintexmacs is
    invoking OpenAxiom through axiomsys.exe as opposed
    to using open-axiom.exe. So, the first fix is to get
    wintexmacs invoke open-axiom.exe, not axiomsys.exe.
    If you start open-axiom.exe with the options as I previously
    indicated, it should work. Please could you try that and
    report back? Best,

    -- Gaby

     
  • ivan

    ivan - 2009-07-01

    unfortunately i don't know how to make wintexmacs to start open-axiom.exe
    wintexmacs needs to work with axiomsys.exe.
    i tried to rename open-axiom.exe to axiomsys.exe , but i still don`t know how to make wintexmacs to pass --system=\ ..... \ .... to renamed open-axiom.exe , and further there is some communication between wintexmacs and axiomsys.exe and starting open-axiom.exe seems that don`t do the job ...

    i noticed that if i could start axiomsys.exe and it works , then wintexmax will work .
    wintex needs to see in the path list file axiomsys.exe, and don`t need AXIOM variable.

    the main problem is that i can not tel axiomsys.exe where are the libraries
    and thats why axiomsys.exe could use another variable say OPENAXIOM instead AXIOM , or axiomsys.exe could read a configuration file to find needed libraries ,
    or axiomsys.exe could assume that libraries are not in c:\program files\....
    but in a relative path to current directory ...
    perhaps there other ways to tell axipmsys.exe where are the libraryes
    , not only by using launcher program open-axiom.exe ?

    further as far as i know for windows there 3 forks : open axiom , fricas and axiom(-developer)
    and currently only open-axiom has recent windows versions so
    you are the leaders for windows - why to make thinks difficult with such launchers

    let other forks to think how to overcome open-axiom :))

    thanks
    best regards

     
  • Gabriel Dos Reis

    Hi Ivan,

    Alfredo updated the wintexmacs driver for OpenAxiom so that
    the problem you reported should be fixed in OpenAxiom-1.3.0 and higher.
    If you get a chance, you may want to try it, to give feedback before
    the release. The updated code is in contrib/texmacs.

    -- Gaby

     
  • Gabriel Dos Reis

    This is now fixed for OpenAxiom-1.3.0 and higher.

     
  • Gabriel Dos Reis

    • milestone: 894593 --> 1.3.0
    • status: open --> closed-fixed
     

Log in to post a comment.