When i used the command texdoc pgfplots it gives me an error of

"Error (0): Call to Object where the object was type 13, not the expected type 7"

when i used texdoc tikz it gives the pdf manual

closed as unclear what you're asking by Keks Dose, egreg, Stefan Pinnow, Phelype Oleinik, user31729 Mar 25 '18 at 17:13

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • What version of texdoc do you have? (texdoc --version) I have version 2.017 on TeX Live 2017 and it works fine for me. – Nicola Talbot Jan 24 '18 at 14:03
  • I am using texdoc 2.0171 @NicolaTalbot – Biki Teron Jan 24 '18 at 15:28
  • Run texdoc --help which will list the environment variables, such as PDFVIEWER, used by texdoc. Check the value and try running that command directly on the path name returned with texdoc -l pgfplots. It may be that the error message is coming from the viewer application rather than texdoc. – Nicola Talbot Jan 24 '18 at 16:12
  • still not working giving same problem@NicolaTalbot – Biki Teron Jan 24 '18 at 16:18
  • What is PDFVIEWER set to? Is the problem just with pgfplots or does it happen with other packages as well? – Nicola Talbot Mar 25 '18 at 15:54

first check for the pgfplots.pdf file

texdoc -s pgfplots
 1 /usr/share/texlive/texmf-dist/doc/latex/pgfplots/pgfplots.pdf
   = Package manual

second try for a pdf viewer to open pgfplots.pdf

then check

  PDFVIEWER=<pdfreader> texdoc pgfplot

finally you report the pdf reader in your texdoc.cnf file.

texdoc -f will display the list of texdoc configuration files

  • Not working@gigiair – Biki Teron Jan 24 '18 at 15:30
  • does the pgfplots.pdf exists ? – gigiair Jan 24 '18 at 19:44
  • yes it is exist @gigiair – Biki Teron Jan 24 '18 at 20:02
  • texdoc 2.0171 on my Debian buster box works fine. There must be a local problem on your machine. – gigiair Jan 24 '18 at 22:28
  • may be, thanking you very much for your comments@gigiair – Biki Teron Jan 26 '18 at 6:08

Not the answer you're looking for? Browse other questions tagged or ask your own question.