La recherche a retourné 147 résultats

par XcasEngGuy
lun. sept. 21, 2020 3:20 pm
Forum : Xcas - English
Sujet : Latex preview
Réponses : 14
Vues : 6402

Re: Latex preview

This is interesting. When I run from bash in cygwin and click File>LaTex>Latex preview, the commands /xcas64/latex.bat /cygdrive/c/Users/Matt/Desktop/test_intg /xcas64/xdvi.bat /cygdrive/c/Users/Matt/Desktop/test_intg & get sent to stderr which I could redirect to sh or bash. Were you able to get th...
par XcasEngGuy
dim. sept. 20, 2020 9:47 pm
Forum : Xcas - English
Sujet : Latex preview
Réponses : 14
Vues : 6402

Re: Latex preview

I modified: latex.bat to rem set PATH=%PATH%;c:\Program Files\TeXLive\bin\win32 rem set TEXMFCNF=c:\Program Files\TeXLive\texmf-var\web2c rem set TEXMFTEMP=c:\Program Files\TeXLive\temp echo %1 %2 %3 %4 %5 %6 %7 %8 %9 >%USERPROFILE%\desktop\xcas_latex_info.txt and xdvi.bat to rem set PATH=%PATH%;c:\...
par XcasEngGuy
ven. sept. 18, 2020 5:01 pm
Forum : Xcas - English
Sujet : Latex preview
Réponses : 14
Vues : 6402

Re: Latex preview

Perfect. Thanks
par XcasEngGuy
jeu. sept. 17, 2020 7:47 pm
Forum : Xcas - English
Sujet : Latex preview
Réponses : 14
Vues : 6402

Re: Latex preview

I will try those options. I think I can get it to work if I know how to use the "PS view" dialog box. I tried putting commands in the "PS view" dialog box and was not able to get any response when I click File>LaTex>latex preview.

Is the "PS view" script linked to some other menu command?

Matt
par XcasEngGuy
jeu. sept. 17, 2020 6:09 pm
Forum : Xcas - English
Sujet : PDF output
Réponses : 3
Vues : 28679

Re: PDF output

If you have Cygwin installed (Windows computer) the following script will produce a nice landscape PDF. Save tex file from File>LaTex>Latex preview in the Xcas menu. Then run the script. if [ $# -eq 0 ] then echo 'Convert tex file to PDF' echo 'Usage: latex_pdf <tex file> [<zoom option>]' echo 'opti...
par XcasEngGuy
jeu. sept. 17, 2020 6:01 pm
Forum : Xcas - English
Sujet : Latex preview
Réponses : 14
Vues : 6402

Latex preview

The file menu has a File>LaTex>latex preview command. In the Cfg>General configuration menu there is a "PS view" box in the dialog. It appears to be a place to put a command to create the preview. I can't figure out how to use it. I have a cygwin bash script that creates a PDF the way I like it ( I ...
par XcasEngGuy
ven. avr. 17, 2020 7:21 pm
Forum : Xcas - English
Sujet : Generate variable name dynamically
Réponses : 2
Vues : 2042

Re: Generate variable name dynamically

Perfect. Thanks
par XcasEngGuy
mer. avr. 15, 2020 8:02 pm
Forum : Xcas - English
Sujet : Generate variable name dynamically
Réponses : 2
Vues : 2042

Generate variable name dynamically

I'm sorry if I asked this before, but is it possible to generate variable names for use in a sheet with a program?

Like:

a0,a1,a2,a3,a4...

maybe a text to variable name thing?

Thanks Matt
par XcasEngGuy
ven. juin 14, 2019 11:53 pm
Forum : Xcas - English
Sujet : Automatically load my own functions on startup
Réponses : 6
Vues : 3560

Re: Automatically load my own functions on startup

add:

cd "$(dirname "$@")"
cp /cygdrive/C/Programs_OS/xcas/eq_funcs_template.xws eq_funcs.xws
$XCAS_ROOT/xcas.exe eq_funcs.xws "$@"

puts the template in the same directory as the file you open.
par XcasEngGuy
lun. juin 03, 2019 10:41 pm
Forum : Xcas - English
Sujet : Automatically load my own functions on startup
Réponses : 6
Vues : 3560

Re: Automatically load my own functions on startup

I did this by using the following: I modified runxcas.en to: #! /bin/bash export LANG=en export XCAS_ROOT='/cygdrive/C/Programs_OS/xcas' # export XCAS_HOME='/cygdrive/p' # export XCAS_AUTOSAVEFOLDER='/cygdrive/p' export XCAS_LOCALE="$XCAS_ROOT/locale/" export XCAS_HELP="$XCAS_ROOT/aide_cas" cp /cygd...
par XcasEngGuy
dim. déc. 02, 2018 9:25 pm
Forum : Xcas - English
Sujet : is_array? command
Réponses : 2
Vues : 1523

Re: is_array? command

Thank you very much.

Matt
par XcasEngGuy
jeu. nov. 29, 2018 7:09 pm
Forum : Xcas - English
Sujet : is_array? command
Réponses : 2
Vues : 1523

is_array? command

Is there a command in xcas programming to test if a variable contains an array or a single value? I would like to write functions that can operate on a single equation or multiple equations in an array. For example: function(z=x+y) or function([z=x+y,z=3*x+4*y]) I would like to be able to determine ...
par XcasEngGuy
mer. mai 09, 2018 5:00 pm
Forum : Xcas - English
Sujet : odesolve
Réponses : 2
Vues : 1544

Re:

I understand. Thank you.
par XcasEngGuy
mar. mai 08, 2018 3:08 pm
Forum : Xcas - English
Sujet : odesolve
Réponses : 2
Vues : 1544

odesolve

Can odesolve be used for systems of equations? Like:
y1''=-b1*y1'-k1*y1-k2*(y1-y2)=b2*y1'-y2')+1
y2''=-b2*(y2'-y1')-k2*y2-y1)
par XcasEngGuy
lun. oct. 16, 2017 2:26 pm
Forum : Xcas - English
Sujet : Canceling terms
Réponses : 5
Vues : 3744

Re: Canceling terms

By the way, is there any way to prevent denom() and numer() from simplifying?

Thank you
Matt