On Fri, 24 Feb 2023 21:50:47 -0300
John Coppens <j...@jcoppens.com> wrote:

> On Fri, 24 Feb 2023 08:14:21 +0100
> Herbert Voss <herbert.v...@fu-berlin.de> wrote:
> 
> > that looks like a TeXLive installation with your system package
> > manager and not with the TeXLive manager which itself uses
> > directories like /user/local/texlive/2022/...
> > 
> > I suppose you installed TeXLive twice but only the old from the
> > system is used. But tlmgr puts files into another directors.
> > Copy the directory pdfcomment from
> > 
> > /user/local/texlive/2022/texmf-dist/tex/latex/pdfcomment/
> > 
> > into /user/share/texmf-local/tex/latex/
> > 
> > and run texhash again. THen it should work. However, it is not a
> > good idea to have both instances of TeX installed.
> 
> That looks like a good explanation for the problems. I'll have a
> careful check for the duplication... and report back.
> 
> Apologies for the long delays in replying. Things have been hectic
> lately.
> 
> John

I haven't been able to dedicate time to documentation... an all too
common occurence lately.

The actual copy action I did, after analyzing the files to copy, was:

Copy pdfcomment directory from 

/usr/local/opt/texlive/2015/texmf-dist/tex/latex

to /usr/share/texmf-local

then I ran texhash, which ran error-less. Still, after restarting LyX
loading the document and ^R, I received this error:

! LaTeX Error: File `pdfcomment.sty' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)

Enter file name: 
! Emergency stop.


Considering the date (2015) this version was probably a left-over from when
I didn't use Slackware's slackbuild scripts. I suspect the best thing to do:

- Remove the 2015 textlive completely
- Re-install the 2022 version... 

John

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users

Reply via email to