Re: 2.99.3 beta and texdoc on macosx

Sven de Vries <[email protected]> Sun, 28 Nov 2004 16:26:19 +0100 (MET)
Newsgroups gmane.comp.tex.tetex.beta
Message-ID <[email protected]>
Hi,

> > Something like this?
> >
> >         if test "x$DISPLAY" != x && type -p xdvi >/dev/null 2>&1; then
> >           : ${TEXDOCVIEW_dvi='xdvi %s &'}
> >         else
> >           : ${TEXDOCVIEW_dvi='open %s'}
> >         fi
>
> I'd rather not see this. Even when X11 is running I do not consider the
> tools running under it the default tools.

ok, precedence for dvi-files should be GUItoTeX (if one is installed) and
only then bare xdvi.

>The suggestion by Sven to do  something like (adapted)
>
> 	: ${TEXDOCVIEW_dvi='(open %s >/dev/console 2>&1 || xdvi %s) || echo
> "Method for opening %s did not work"'}
>
> seems better to me.

on the postcript issue I would like to add, that as osx has a default
method to open ps-files (ps->pdf and then a pdf-viewer) I consider my
preference of gv more a question of taste and as such  should adapt my
TEXDOCVIEW_ps.

sven