Ikumi Keita <ik...@ikumi.que.jp> writes: > Probably, yes. ELPA AUCTeX stores preview package under > ~/.emacs.d/elpa/auctex-x.y.z/latex and most users wouldn't add it to > kpathsea search path.
Maybe we should release AUCTeX 14.0.6 and push a corresponding preview.dtx to CTAN? For that, we need some additions to GNUmakefile on the main branch, I think. A starting point can look like this: --8<---------------cut here---------------start------------->8--- diff --git a/GNUmakefile b/GNUmakefile index 617daea1..a7bb0dc9 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -137,6 +137,18 @@ $(LATEX_FILES): latex/preview.dtx latex/bootstrap.ins cd latex; $(TEX) '\nonstopmode \input bootstrap.ins' cd latex; $(TEX) '\nonstopmode \input preview-mk.ins' +# Only for standalone preview.sty package: +preview.ins: latex/preview.dtx + cd latex; rm -f $@; \ + $(TEX) '\nonstopmode\def\jobname{.ins}\input docstrip ' \ + '\generate{\file{preview.ins}{\from{preview.dtx}{installer}}}' \ + '\endbatchfile' + +preview-ctan: preview.ins + cd latex; \ + tar -cz --owner=root --group=root \ + -f preview.tar.gz README preview.dtx preview.ins + DYNVARSFILES = *.dynvars style/*.dynvars auctex-dynvars dynvars-check: rm -f $(wildcard *.elc) $(wildcard style/*.elc) $(DYNVARSFILES) --8<---------------cut here---------------end--------------->8--- But we still need some rules in order to create the preview.pdf file which is required for a CTAN release, IIUC. I'll try to have a look, but wouldn't mind if someone more fluent in make could also check ;-) Best, Arash