public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Igor Pechtchanski <pechtcha@cs.nyu.edu>
To: "Dr. Volker Zell" <Dr.Volker.Zell@oracle.com>
Cc: cygwin@cygwin.com
Subject: Re: Tetex-2.0.2-13: texdoc bug/suggestion
Date: Wed, 22 Dec 2004 20:36:00 -0000	[thread overview]
Message-ID: <Pine.GSO.4.61.0412221528140.7979@slinky.cs.nyu.edu> (raw)
In-Reply-To: <87mzw6r1xk.fsf@vzell-de.de.oracle.com>

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@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.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/

      reply	other threads:[~2004-12-22 20:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-20 17:48 Igor Pechtchanski
2004-12-20 18:07 ` Jan Nieuwenhuizen
2004-12-21 15:01   ` Igor Pechtchanski
2004-12-21 16:05     ` Jan Nieuwenhuizen
2004-12-21 17:47       ` Igor Pechtchanski
2004-12-22 12:08         ` Dr. Volker Zell
2004-12-22 20:36           ` Igor Pechtchanski [this message]

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=Pine.GSO.4.61.0412221528140.7979@slinky.cs.nyu.edu \
    --to=pechtcha@cs.nyu.edu \
    --cc=Dr.Volker.Zell@oracle.com \
    --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).