Ticket #14344 (closed enhancement: fixed)
auctex enhancement for texlive and Emacs.app
| Reported by: | jrh@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.6.0 |
| Keywords: | emacs-app texlive | Cc: | reilles@…, css@…, jmr@… |
| Port: | auctex |
Description
The current Portfile for auctex depends on emacs and the obsolete teTeX. The attached diff provides variants to support Emacs.app (the emacs-app port) and texlive.
Attachments
Change History
Changed 5 years ago by jrh@…
- Attachment auctex-portfile.diff added
comment:1 follow-up: ↓ 2 Changed 5 years ago by css@…
- Cc css@… added
If I figure out a clean way to resolve #12115, that might simplify this process by allowing auctex to remain in ${prefix}/share/emacs/site-lisp. The teTeX dependency should be removed in favor of texlive by default, since teTeX is now EOL.
comment:2 in reply to: ↑ 1 Changed 5 years ago by jrh@…
Replying to css@macports.org:
If I figure out a clean way to resolve #12115, that might simplify this process by allowing auctex to remain in ${prefix}/share/emacs/site-lisp. The teTeX dependency should be removed in favor of texlive by default, since teTeX is now EOL.
You're right, now that #12115 is closed, the --with-lisp-dir and --with-auto-dir configure args do not need to be customized in the emacs_app variant anymore; Emacs.app will find auctex in ${prefix}/share/emacs/site-lisp. The variant itself is still needed, however, to satisfy the depends_lib dependency.
comment:4 in reply to: ↑ 3 Changed 5 years ago by jrh@…
Replying to jmr@…:
The dependency was changed to texlive in r37204. How much of this now overlaps with or is superseded by #14446?
Looks to me like like everything here is also there (that one additionally updates auctex to 11.85 and has a comment about preview-latex). As noted in comments in both places, their proposed Portfile shouldn't need to customize --with-lisp-dir or --with-auto-dir for emacs_app anymore. I'll submit a new diff which I *think* covers everything remaining here and also updates to 11.85. I'll let someone else figure out a solution to the conflicting preview-latex files from auctex and texlive.
Changed 5 years ago by jrh@…
- Attachment Portfile-auctex.diff added
Removes emacs_devel variant, adds emacs_app and mactex variants, and updates to auctex 11.85.


auctex Portfile enhancement to support Emacs.app and texlive