Opened 5 years ago

Last modified 3 years ago

#22499 closed enhancement

Move SageTeX to Sage repo — at Version 13

Reported by: kcrisman Owned by:
Priority: major Milestone: sage-duplicate/invalid/wontfix
Component: packages: standard Keywords:
Cc: ddrake, paulmasson, vbraun, dimpase Merged in:
Authors: Reviewers:
Report Upstream: Reported upstream. Developers acknowledge bug. Work issues:
Branch: Commit:
Dependencies: #24307, #21450 Stopgaps:

Status badges

Description (last modified by kcrisman)

While SageTeX is an awesome and useful thing, the author as of late hasn't had a lot of time for development. SageTeX development is currently at Github, which is not being actively managed. Probably it would be easier to just move SageTeX to the Sage repo, which the maintainer in personal correspondence agrees with:

Anyway, I do think integrating SageTeX into the main Sage repo is a good idea. I know there are some pull requests there that I haven't done anything about, and if it was part of the main Sage repo, it would be easier to get those in.

So let's make this happen - or, alternately, make a fork that lives in the Sagemath organization on Github, though that probably still has an extra step to development.

Related tickets that might get fixed more quickly if this happens:

Change History (13)

comment:1 Changed 5 years ago by kcrisman

  • Description modified (diff)

comment:2 Changed 5 years ago by paulmasson

Karl-Dieter, what did you have in mind with moving SageTex into Sage? The files on GitHub aren't Python except for Where would the .dtx files go in the Sage tree? Could the existing makefile be run during setup and the output copied directly to SAGE_SHARE/texmf without creating a tarball?

comment:3 Changed 5 years ago by kcrisman

I didn't necessarily have a full idea - just putting it out there. If it makes more sense for these reasons to just move SageTeX to the Sage org on GH, that is okay too - that would still necessitate at least some doc changes. I don't really know the answers to these questions, I'm sorry. That said, putting this whole thing in the same place as the Mac app seems reasonable - e.g. here make a directory src/sagetex instead of src/mac-app.

comment:4 Changed 4 years ago by aapitzsch

  • Description modified (diff)
  • Status changed from new to needs_review

comment:5 Changed 4 years ago by kcrisman

  • Status changed from needs_review to needs_work

Apparently Sage still at least in some places refers to SageTeX being on bitbucket, so that should be fixed too. Any file of the form src/doc/**/tutorial/sagetex.rst needs to be changed.

comment:6 Changed 4 years ago by kcrisman

And needs a new package due to #21450.

comment:7 Changed 4 years ago by kcrisman

In addition, one needs to change things so that

There is also an example file in the same directory – see example.tex and example.pdf, the pre-built result of typesetting that file with LaTeX and Sage. You can also get those files from the SageTeX bitbucket page.

is now correct. On github those pdf files will definitely not be available. Any ideas?

comment:8 Changed 4 years ago by kcrisman

  • Cc vbraun added

AND indeed the very serious issue that one cannot (or at least should not) rename/move Sage installations will come into play! Not sure if this is recommended anywhere in the documentation but certainly currently TeXShop recommends it.

comment:9 Changed 4 years ago by jdemeyer

What's the idea here? Do we still want to move SageTeX to the Sage repo or not? It shouldn't be hard to do that.

comment:11 Changed 4 years ago by kcrisman

What needs to be done now is updating documentation, see comment:5, comment:6, comment:7. Basically, updating documentation so that it is correct (and people know where to find examples etc.).

Naturally, we could move it to the Sage repo proper as well, but that is not necessary for this ticket.

comment:12 Changed 4 years ago by kcrisman

  • Dependencies set to #24307, #21450

So comment:5 is dealt with in #24307. It would be good to have (in a separate ticket) all such files at least have a fleeting reference to this location.

And comment:6 is #21450 which should be fairly easy for someone.

So all that would remain is getting a pdf version available outside of a Sage installation, e.g. on the github page.

comment:13 Changed 4 years ago by kcrisman

  • Description modified (diff)
Note: See TracTickets for help on using tickets.