Re: pdfcomment.sty: tlmgr says it's installed, but latex document doesn't find it

2023-03-20 Thread John Coppens
On Fri, 24 Feb 2023 21:50:47 -0300
John Coppens  wrote:

> On Fri, 24 Feb 2023 08:14:21 +0100
> Herbert Voss  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  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


Re: pdfcomment.sty: tlmgr says it's installed, but latex document doesn't find it

2023-02-23 Thread Herbert Voss




Am 24.02.23 um 04:11 schrieb John Coppens:

On Wed, 22 Feb 2023 19:33:51 +0100
Herbert Voss  wrote:


which directories are updated by texhash?

$ texhash
texhash: Updating /usr/share/texmf-config/ls-R...
texhash: Updating /usr/share/texmf-dist/ls-R...
texhash: Updating /usr/share/texmf-local/ls-R...
texhash: Updating /usr/share/texmf-var/ls-R...
texhash: Done.



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.

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


Re: pdfcomment.sty: tlmgr says it's installed, but latex document doesn't find it

2023-02-23 Thread John Coppens
On Thu, 23 Feb 2023 11:40:03 +0200
Dr Eberhard Lisse  wrote:

> I would in the first instance just do a
> 
>tlmgr install --reinstall pdfcomment

Gives:

tlmgr install --reinstall pdfcomment
tlmgr: Cannot load TeX Live database from 
https://ctan.dcc.uchile.cl/systems/texlive/tlnet


I found a reference about adding LANG=C. Tried that too (in vain).

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


Re: pdfcomment.sty: tlmgr says it's installed, but latex document doesn't find it

2023-02-23 Thread John Coppens
On Wed, 22 Feb 2023 19:33:51 +0100
Herbert Voss  wrote:

> which directories are updated by texhash?

$ texhash
texhash: Updating /usr/share/texmf-config/ls-R... 
texhash: Updating /usr/share/texmf-dist/ls-R... 
texhash: Updating /usr/share/texmf-local/ls-R... 
texhash: Updating /usr/share/texmf-var/ls-R... 
texhash: Done.

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


Re: pdfcomment.sty: tlmgr says it's installed, but latex document doesn't find it

2023-02-23 Thread Dr Eberhard Lisse
I would in the first instance just do a

 tlmgr install --reinstall pdfcomment

and see what that does


greetings, el

On 22/02/2023 19:53, John Coppens wrote:
> On Wed, 22 Feb 2023 08:42:27 +0100
> Herbert Voss  wrote:
> 
>> texhash
>>
>> and then try again with
>>
>> kpsewhich pdfcomment.sty
> 
> No luck. texhash runs fine, kpsewich doesn't show anything.
> 
> John

-- 
To email me replace 'nospam' with 'el'

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


Re: pdfcomment.sty: tlmgr says it's installed, but latex document doesn't find it

2023-02-22 Thread Wolfgang Engelmann




Am 22.02.23 um 19:33 schrieb Herbert Voss:



Am 22.02.23 um 18:53 schrieb John Coppens:

On Wed, 22 Feb 2023 08:42:27 +0100
Herbert Voss  wrote:


texhash

and then try again with

kpsewhich pdfcomment.sty

No luck. texhash runs fine, kpsewich doesn't show anything.


typo: kpsewhich?


which directories are updated by texhash?

Herbert

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


Re: pdfcomment.sty: tlmgr says it's installed, but latex document doesn't find it

2023-02-22 Thread Herbert Voss




Am 22.02.23 um 18:53 schrieb John Coppens:

On Wed, 22 Feb 2023 08:42:27 +0100
Herbert Voss  wrote:


texhash

and then try again with

kpsewhich pdfcomment.sty

No luck. texhash runs fine, kpsewich doesn't show anything.


which directories are updated by texhash?

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


Re: pdfcomment.sty: tlmgr says it's installed, but latex document doesn't find it

2023-02-22 Thread John Coppens
On Wed, 22 Feb 2023 08:42:27 +0100
Herbert Voss  wrote:

> texhash
> 
> and then try again with
> 
> kpsewhich pdfcomment.sty

No luck. texhash runs fine, kpsewich doesn't show anything.

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


Re: pdfcomment.sty: tlmgr says it's installed, but latex document doesn't find it

2023-02-21 Thread Herbert Voss




Am 22.02.23 um 03:07 schrieb John Coppens:

Hi all.

I created a new LyX document and imported the 'orbd.tex' file from a package
I wanted to use 
(https://vtechworks.lib.vt.edu/bitstream/handle/10919/84164/LaTeX%20sourcefiles.zip?sequence=16=y)
 and modify some things.

tlmgr list --only-installed

lists the pdfcomment.sty file, but trying to render the document I get the
message:


tlmgr uses it's own list for the installed packages




LaTex error: file pdfcomment.sty not found.


It looks like a missing update of the TeX database. Run

texhash

and then try again with

kpsewhich pdfcomment.sty


Herbert





Do I have to define some path for LyX to find the document?

LyX 2.3.6.1 on Slackware64-current

John


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


Re: pdfcomment.sty: tlmgr says it's installed, but latex document doesn't find it

2023-02-21 Thread Jürgen Spitzmüller
Am Dienstag, dem 21.02.2023 um 23:07 -0300 schrieb John Coppens:
> I created a new LyX document and imported the 'orbd.tex' file from a
> package
> I wanted to use
> (https://vtechworks.lib.vt.edu/bitstream/handle/10919/84164/LaTeX%20s
> ourcefiles.zip?sequence=16=y) and modify some things.
> 
> tlmgr list --only-installed
> 
> lists the pdfcomment.sty file, but trying to render the document I
> get the 
> message:
> 
> LaTex error: file pdfcomment.sty not found.
> 
> Do I have to define some path for LyX to find the document?

LaTeX needs to find it, so it needs to be in a path known to LaTeX.
If "kpsewhich pdfcomment.sty" returns a path, then this is the case. If
not, then you need to set it up.

HTH,

> 
> LyX 2.3.6.1 on Slackware64-current

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


pdfcomment.sty: tlmgr says it's installed, but latex document doesn't find it

2023-02-21 Thread John Coppens
Hi all.

I created a new LyX document and imported the 'orbd.tex' file from a package
I wanted to use 
(https://vtechworks.lib.vt.edu/bitstream/handle/10919/84164/LaTeX%20sourcefiles.zip?sequence=16=y)
 and modify some things.

tlmgr list --only-installed

lists the pdfcomment.sty file, but trying to render the document I get the 
message:

LaTex error: file pdfcomment.sty not found.

Do I have to define some path for LyX to find the document?

LyX 2.3.6.1 on Slackware64-current

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