public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Ryan Johnson <ryan.johnson@cs.utoronto.ca>
To: cygwin@cygwin.com
Subject: Re: How to keep a dependency from [continually] appearing in setup
Date: Thu, 02 Aug 2012 14:02:00 -0000	[thread overview]
Message-ID: <501A832E.3000703@cs.utoronto.ca> (raw)
In-Reply-To: <501A7E31.100@cornell.edu>

On 02/08/2012 9:18 AM, Ken Brown wrote:
> 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.
Fair enough. I was just throwing the idea out there in case it made 
sense to the people who know what's going on. Sound like it doesn't make 
sense to remove that dependency.

Ryan


--
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

  reply	other threads:[~2012-08-02 13:40 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-30  5:33 Wynfield Henman
2012-07-31 22:07 ` Ken Brown
2012-08-01 12:05   ` Ryan Johnson
2012-08-01 13:13     ` Ken Brown
2012-08-01 14:18       ` Ryan Johnson
2012-08-01 16:50         ` Achim Gratz
2012-08-01 18:58         ` Ken Brown
2012-08-02 11:28           ` Adam Dinwoodie
2012-08-02 12:14             ` Ryan Johnson
2012-08-02 13:19               ` Adam Dinwoodie
2012-08-02 13:40             ` Ken Brown
2012-08-02 14:02               ` Ryan Johnson [this message]
2012-08-02 14:53             ` Christopher Faylor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=501A832E.3000703@cs.utoronto.ca \
    --to=ryan.johnson@cs.utoronto.ca \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).