delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/08/02/09:19:16

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,SPF_NEUTRAL,TW_XM,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <501A7E31.100@cornell.edu>
Date: Thu, 02 Aug 2012 09:18:41 -0400
From: Ken Brown <kbrown AT cornell DOT edu>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: How to keep a dependency from [continually] appearing in setup
References: <CAM-A7MA-VX7yD=iEW5o3c+d+WCLybYkJMhcrSX_nZ_EPDy_R4g AT mail DOT gmail DOT com> <50185716 DOT 8050504 AT cornell DOT edu> <50191B67 DOT 5010106 AT cs DOT utoronto DOT ca> <50192B7B DOT 5060501 AT cornell DOT edu> <50193AA8 DOT 8050307 AT cs DOT utoronto DOT ca> <50197B86 DOT 9060308 AT cornell DOT edu> <CE9C056E12502146A72FD81290379E9A43654F23 AT ENFIRHMBX1 DOT datcon DOT co DOT uk>
In-Reply-To: <CE9C056E12502146A72FD81290379E9A43654F23@ENFIRHMBX1.datcon.co.uk>
X-PMX-CORNELL-SPAM-CHECKED: Pawpaw
X-Original-Sender: kbrown AT cornell DOT edu - Thu Aug 2 09:18:48 2012
X-PMX-CORNELL-REASON: CU_White_List_Override
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 8/2/2012 5:14 AM, Adam Dinwoodie wrote:
> Ken Brown wrote:
>> On 8/1/2012 10:18 AM, Ryan Johnson wrote:
>>> It can be argued that emacs-auctex should not pull in texlive. Most
>>> users installing emacs-auctex will already have some flavor of tex in
>>> place, and not necessarily the cygwin one (like the OP, or perhaps a
>>> MikTex user). Plus, the error message is pretty intuitive and the
>>> solution very simple, if latex is not there: "latex: no such command"
>>> ==> "maybe I should install latex." Therefore, the expected aggregate
>>
>> There's more to it than that.  emacs-auctex installs stuff needed for
>> its preview feature in /usr/share/texmf/tex/latex/preview/.  This won't
>> be found by native texlive or by MikTeX.
>>
>>> frustration of users who installed auctex without latex available would
>>> likely be far lower than the aggregate frustration of users wanting to
>>> install auctex and getting saddled with an unwanted redundant texlive
>>> distribution (for which there is no easy solution).
>>
>> Why is this so frustrating?  It doesn't do any harm (except waste a
>> small amount of disk space) to install Cygwin's texlive in parallel with
>> native texlive.  Just make sure the bin directory of the latter precedes
>> /usr/bin in PATH.  I myself have both installed, since I sometimes find
>> it useful for testing purposes to be able to switch from one to the
>> other (by temporarily changing PATH).
>
> I'd draw a parallel between the emacs-auctex's dependency on latex and libX11's
> dependency on xorg-server: while xorg-server is certainly the preferred X
> server for Cygwin, it's not the only option[0].
>
> [0]: http://cygwin.com/ml/cygwin/2012-02/msg00602.html

The situations aren't parallel.  Cygwin's libX11 will work with X 
servers other than xorg-server.  But Cygwin's emacs-auctex, as I 
explained above, will not work OOTB with tex installations other than 
Cygwin's texlive.  The preview feature will be broken.

Users who prefer a different tex installation and want to use auctex 
should build and install auctex themselves.  During installation, auctex 
will find the appropriate texmf tree and put its preview files there.

Ken


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019