[texdoc] TeXdoc bug/feature request
Marcin Borkowski
mbork at mbork.pl
Fri Apr 27 09:49:59 CEST 2018
On 2018-04-23, at 23:42, Karl Berry <karl at freefriends.org> wrote:
> Hi Marcin,
>
> if the system as xdg-open
>
> I'm not sure what you mean.
I meant "has xdg-open", sorry for the typo.
> to make TeXdoc use any given pdf viewer without changing system-wide
> settings?
>
> Yes. You can create a config file $TLTREE/texdoc/texdoc.cnf for any
> $TLTREE included in $TEXMF. For example, I created
> /usr/local/texlive/texmf-local/texdoc/texdoc.cnf
>
> as the one line:
> viewer_pdf = xpf
>
> where "xpf" is my personal PDF viewer (a little script frontend to xpdf;
> of course I can never use anything as distributed :) .
>
> If you run texdoc -f, it will show you a list of active configuration
> files (and recommend the $TEXMFHOME path for personal settings).
>
> Alternative, you can forget config files and just set the envvar
> PDFVIEWER_texdoc to whatever you want. I think that should suffice.
> (Or PDFVIEWER, if you possibly want to affect other programs, though I
> have no knowledge of what else specifically pays attention to PDFVIEWER.)
>
> texdoc --help and texdoc texdoc discuss (much) further, FWIW.
>
> Let us know if no joy ... happy viewing, karl.
It works as it should, all of it was my mistake. I had set up the env
variable PDFVIEWER and forgot about it...
Best,
--
Marcin Borkowski
http://mbork.pl
More information about the texdoc
mailing list