- 注册时间
- 2021-11-19
- 最后登录
- 1970-1-1
- 威望
- 星
- 金币
- 枚
- 贡献
- 分
- 经验
- 点
- 鲜花
- 朵
- 魅力
- 点
- 上传
- 次
- 下载
- 次
- 积分
- 9194
- 在线时间
- 小时
|
发表于 2024-1-8 16:14:56
|
显示全部楼层
本帖最后由 nyy 于 2024-1-8 16:16 编辑
log
This can be either 0 (off) or 1, 2, 3 (on, see below for the various modes). When logging mode is turned on, gp opens a log file, whose exact name is determined by the logfile default. Subsequently, all the commands and results will be written to that file (see \l). In case a file with this precise name already existed, it will not be erased: your data will be appended at the end.
The specific positive values of log have the following meaning
1: plain logfile
2: emit color codes to the logfile (if colors is set).
3: write LaTeX output to the logfile (can be further customized using TeXstyle).
The default value is 0.
Note. Logging starts as soon as log is set to a nonzero value. In particular, when log is set in gprc, warnings and errors triggered from the rest of the file will be written in the logfile. For instance, on clean startup, the logfile will start by Done. (from the Reading GPRC:...Done. diagnostic printed when starting gp), then the gp header and prompt.
居然能把结果输出成\(\rm\LaTeX\),这软件有牛逼的地方!
http://pari.math.u-bordeaux.fr/dochtml/html/GP_defaults.html |
|