Frank Küster <[EMAIL PROTECTED]> writes: > "Davide G. M. Salvetti" <[EMAIL PROTECTED]> wrote: > >> Considering AUCTeX upstream wishes, I'm for the second: I don't think >> there's much to gain by splitting the packages[*], so I think we should >> just promote the Recommends to Depends. > > I agree. > >> Wheter we should add versioned Depends on preview-latex-style, I need to >> ponder the question. Frank, if you already pondered it (as it looks >> like to me), please add some more rationale to your points. > > Well, actually I assume that we do not really need > "=$SourceVersion", but just some (>= $version). But this means that > we have to closely follow upstream's changelog: Is there any change > to preview.sty that requires the versioned dependency to be bumped? > On the other hand, if we use $SourceVersion, we're on the safe side > - and preview-latex-style is a tiny package, so I don't really see a > downside of forcing its upgrade.
Changes to preview.sty should be upwards-compatible. In order to facilitate updating preview-latex-style without requiring an update of AUCTeX, I think ">=$SourceVersion" would be quite safe. ">=$someversion" would require manual maintenance, of course. preview-latex contains the variable preview-default-preamble is a variable defined in `/usr/share/emacs-snapshot/site-lisp/auctex/preview.elc'. Its value is ("\\RequirePackage[" ("," . preview-default-option-list) "]{preview}[2004/11/05]") Documentation: *Specifies default preamble code to add to a LaTeX document. If the document does not itself load the preview package, that is, when you use preview on a document not configured for preview, this list of LaTeX commands is inserted just before \begin{document}. You can customize this variable. [back] This is supposed to specify the required >= version information. However, I think it is not a sensible idea to let preview-latex-style fall back behind the version of auctex by default: people updating auctex will expect to get the whole bundle (and all fixes) with a current version. So ">= $SourceVersion" seems like a better idea than ">= $bareminimum". An alternative is to compile the auctex package with a "--without-texmf-dir" configure setting in which case the preview-latex-style package would be independent of auctex, since auctex would then use its own private version. -- David Kastrup