Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#22560 - [sage-mathematics] SageTex installed by default
Attached to Project:
Community Packages
Opened by Fabio Zanini (iosonofabio) - Sunday, 23 January 2011, 02:09 GMT
Last edited by Thomas Dziedzic (tomd123) - Thursday, 03 February 2011, 00:18 GMT
Opened by Fabio Zanini (iosonofabio) - Sunday, 23 January 2011, 02:09 GMT
Last edited by Thomas Dziedzic (tomd123) - Thursday, 03 February 2011, 00:18 GMT
|
DetailsDescription:
Sage-mathematics offers the useful latex package Sage-TeX, which can be used to combine LaTeX (in various flavours) with Sage. The files are saved in the /opt/sage folder, but this is not parsed by Texlive, which makes the call \usepackage{sagetex} fail. It would be useful to copy them into the /use/share/texmf folder, so that the SageTeX package works out of the box. Additional info: * package: sage-mathematics Steps to implement the new feature: In the .install file of sage-mathematics, add the following: * check whether the system includes Texlive (a pacman -Qs texlive sould suffice) * copy /opt/sage/local/share/texmf/tex/* into /usr/share/texmf/tex/ * run texhash on the folder /usr/share/texmf/tex/ See the wiki entry for sage for a detailed explanation. |
This task depends upon
Closed by Thomas Dziedzic (tomd123)
Thursday, 03 February 2011, 00:18 GMT
Reason for closing: Fixed
Additional comments about closing: pkgrel 3
Thursday, 03 February 2011, 00:18 GMT
Reason for closing: Fixed
Additional comments about closing: pkgrel 3
In fact, Sage tends to ship as a self-consistent blob, rather than to require its sub-packages as deps (matplotlib, ipython, sagetex, etc.). This strategy goes against our habit to split subpackages cleanly. However, since that's the way it is constructed, I would stick with it now (i.e. no AUR package).
TEXMFDBS='/usr/share/texmf/tex/:/opt/sage/local/share/texmf/tex/'
in the sage-mathematics package, then run texhash without args. When the sage-mathematics package is uninstalled, we could just strip the last part of $TEXMFDBS, and run texhash again.
I would just like to ask, is there a reason why you told me to copy them rather then move? if none I will keep it the way it is.
Also, I didn't think this change was worth a rebuild, so you will have to wait until the next release, or until I decide to rebuild it.
Thanks!
Also, after removing the package, those files should be removed again, and texhash should be run as well.
edit: I thank YOU!
Can you test out one of the sage 4.6.1-3 packages in http://pkgbuild.com/~td123/
one is for i686 and one is for x86_64, and tell me if they work for you?
Thanks for help, I guess you can close the feature request now.