delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/12/22/15:37:01

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Wed, 22 Dec 2004 15:36:42 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: "Dr. Volker Zell" <Dr DOT Volker DOT Zell AT oracle DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: Tetex-2.0.2-13: texdoc bug/suggestion
In-Reply-To: <87mzw6r1xk.fsf@vzell-de.de.oracle.com>
Message-ID: <Pine.GSO.4.61.0412221528140.7979@slinky.cs.nyu.edu>
References: <Pine DOT GSO DOT 4 DOT 61 DOT 0412201243520 DOT 28221 AT slinky DOT cs DOT nyu DOT edu> <873by0alo5 DOT fsf AT peder DOT flower> <Pine DOT GSO DOT 4 DOT 61 DOT 0412210951480 DOT 28221 AT slinky DOT cs DOT nyu DOT edu> <87ekhjiqmw DOT fsf AT peder DOT flower> <Pine DOT GSO DOT 4 DOT 61 DOT 0412211106340 DOT 28221 AT slinky DOT cs DOT nyu DOT edu> <87mzw6r1xk DOT fsf AT vzell-de DOT de DOT oracle DOT com>
MIME-Version: 1.0

On Wed, 22 Dec 2004, Dr. Volker Zell wrote:

> >>>>> Igor Pechtchanski writes:
>
> > This won't fix the _ps and _pdf cases.  I still think that fixing
> > texdoc itself is the right way (as the user's environment sometimes
> > gets truncated), however, you're the maintainer.  If you decide to set
> > them in /etc/profile.d/tetex.sh, please also set TEXDOCVIEW_ps and
> > TEXDOCVIEW_pdf to the same value.
>
> The current version seems to have the following entries:
>
> : ${TEXDOCVIEW_dvi='xdvi %s &'}
> : ${TEXDOCVIEW_pdf='acroread %s &'}
> : ${TEXDOCVIEW_ps='ghostview %s &'}
> : ${TEXDOCVIEW_html='netscape -remote openURL'"'(%s)'"' 2>/dev/null || netscape %s &'}
> : ${TEXDOCVIEW_txt="${PAGER-more} %s"}
> : ${TEXDOCVIEW_="${PAGER-more} %s"} # no extension, default to pager
>
> I would at least patch it for cygwin to read:
>
> : ${TEXDOCVIEW_dvi='xdvi %s &'}
> : ${TEXDOCVIEW_pdf='xpdf %s &'}
> : ${TEXDOCVIEW_ps='gv %s &'}
> : ${TEXDOCVIEW_html='netscape -remote openURL'"'(%s)'"' 2>/dev/null || netscape %s &'}
> : ${TEXDOCVIEW_txt="${PAGER-more} %s"}
> : ${TEXDOCVIEW_="${PAGER-more} %s"} # no extension, default to pager
>
> We already have xpdf and gv in the distro. Maybe netscape/mozilla gets
> ported one day.

I think this would introduce unnecessary dependencies for the tetex
package.  For a variety of reasons, I, personally, use the Windows
utilities (gsview32 and acroread) instead of their X counterparts (and I
use FireFox instead of Netscape)...  I think that for Cygwin, the
"cygstart" solution is best (especially since one can easily associate
.pdf files with 'xpdf' and .ps files with 'gv' at the Windows level).
Having a README that mentions these variables and their possible values
would also help (all the READMEs in the tetex-* packages currently contain
one line: "teTeX texmf tree for Cygwin -- nothing to be seen here, move
along.").  I'd suggest making "cygstart %s" the default for .dvi, .ps,
.pdf, and .html, and use your lines above as suggestions, either commented
out in the /etc/profile.d script, or in the README.
	Igor
P.S. The official tetex-bin-2.0.2-15 sources also contain the 'netscape'
line above.  I don't know where the 'x-terminal-emulator' line came from.
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

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

- Raw text -


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