Skip to content

Installation outside FrontEnd fails , i.e.: line 55 of index.html  #4

@rolfmertig

Description

@rolfmertig

Using a terminal based interface naive installation fails due to shadowing issues:

line 55 of index.html :
<pre><small>Import["https://raw.githubusercontent.com/FeynCalc/feyncalc/master/install.m"]; InstallFeynCalc[]</small></pre>

should be changed to
<pre><small>Import["https://raw.githubusercontent.com/FeynCalc/feyncalc/master/install.m"]; FeynCalcInstaller`InstallFeynCalc[]</small></pre>

rolfm@Ubuntu-1904-disco-64-minimal:~$ math Mathematica 12.1.0 Kernel for Linux x86 (64-bit) Copyright 1988-2020 Wolfram Research, Inc.
In[1]:= Import["https://raw.githubusercontent.com/FeynCalc/feyncalc/master/install.m"]; InstallFeynCalc[]
InstallFeynCalc::shdw: Symbol InstallFeynCalc appears in multiple contexts {FeynCalcInstaller`, Global`}; definitions in context FeynCalcInstaller` may shadow or be shadowed by other definitions. Loading from Wolfram Research server ... Welcome to the automatic FeynCalc installer brought to you by the FeynCalc developer team! • To install the current stable version of FeynCalc (recommended for productive use), please evaluate InstallFeynCalc[] • To install the development version of FeynCalc (only for experts or beta testers), please evaluate InstallFeynCalc[InstallFeynCalcDevelopmentVersion->True]
Out[1]= GlobalInstallFeynCalc[]`

While:

rolfm@Ubuntu-1904-disco-64-minimal:~$ math Mathematica 12.1.0 Kernel for Linux x86 (64-bit) Copyright 1988-2020 Wolfram Research, Inc.
In[1]:= Import["https://raw.githubusercontent.com/FeynCalc/feyncalc/master/install.m"]; FeynCalcInstaller\`InstallFeynCalc[] Welcome to the automatic FeynCalc installer brought to you by the FeynCalc developer team! • To install the current stable version of FeynCalc (recommended for productive use), please evaluate InstallFeynCalc[] • To install the development version of FeynCalc (only for experts or beta testers), please evaluate InstallFeynCalc[InstallFeynCalcDevelopmentVersion->True] Downloading FeynCalc from https://github.com/FeynCalc/feyncalc/archive/hotfix-stable.zip ...done! FeynCalc zip file was saved to /tmp/m00000330871. Extracting FeynCalc zip file to /tmp/m00000330871.dir ...done! Checking the directory structure...done! Copying FeynCalc to /home/rolfm/.Mathematica/Applications/FeynCalc ...done! Setting up the help system ... Setting up the format type of new output cells ...
FeynCalc makes an extensive use of Mathematica's typesetting capabilities to format the output in a nice and easily readable manner.

However, the built-in typesetting is available only if the format type of new output cells is set to TraditionalForm. The default value is StandardForm.

Do you want to allow FeynCalc to change the default output format to TraditionalForm whenever it is loaded?

This will only affect the current FeynCalc front end session and will not modify the default behavior of Mathematica. (OK, Cancel) [OK]:

Probably the installer called in a terminal session (or Wolfram Engine) should not ask about front end session modification (of typesetting).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions