* [attn maintainer] latex dependencies
@ 2023-12-14 9:22 Marco Atzeri
2023-12-14 15:50 ` Ken Brown
0 siblings, 1 reply; 5+ messages in thread
From: Marco Atzeri @ 2023-12-14 9:22 UTC (permalink / raw)
To: cygwin-apps
Hi Ken,
it seems that both
texlive-collection-latex
texlive-collection-latexextra
depend on
texlive-collection-latexrecommended
that seems to me contra intuitive. can you please check ?
$ cd /usr/share/texmf-dist/tex
$ grep -rH pdftexcmds.sty .
./generic/catchfile/catchfile.sty: \input pdftexcmds.sty\relax
./generic/filemod/filemod-expmin.tex: \input pdftexcmds.sty
./generic/oberdiek/iflang.sty: \input pdftexcmds.sty\relax
...
./generic/stringenc/stringenc.sty: \input pdftexcmds.sty\relax
./latex/hardwrap/hardwrap.sty:\IfFileExists{pdftexcmds.sty}{%
./latex/nlctdoc/nlctuserguide.sty: % copied from pdftexcmds.sty
$ cygcheck -p pdftexcmds/pdftexcmds.sty
Found 3 matches for pdftexcmds/pdftexcmds.sty
...
texlive-collection-latexrecommended-20230313-1 -
texlive-collection-latexrecommended: TeX Live latexrecommended package
collection
$ cygcheck -p catchfile/catchfile.sty
Found 3 matches for catchfile/catchfile.sty
...
texlive-collection-latexextra-20230313-1 -
texlive-collection-latexextra: TeX Live latexextra package collection
$ cygcheck -p stringenc/stringenc.sty
Found 3 matches for stringenc/stringenc.sty
...
texlive-collection-latex-20230313-1 - texlive-collection-latex: TeX Live
latex package collection
$ cygcheck -p latex/hardwrap/hardwrap.sty
Found 3 matches for latex/hardwrap/hardwrap.sty
...
texlive-collection-latexextra-20230313-1 -
texlive-collection-latexextra: TeX Live latexextra package collection
$ cygcheck -p nlctdoc/nlctuserguide.sty
Found 1 matches for nlctdoc/nlctuserguide.sty
texlive-collection-latexextra-20230313-1 -
texlive-collection-latexextra: TeX Live latexextra package collection
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [attn maintainer] latex dependencies
2023-12-14 9:22 [attn maintainer] latex dependencies Marco Atzeri
@ 2023-12-14 15:50 ` Ken Brown
2023-12-14 19:46 ` Marco Atzeri
0 siblings, 1 reply; 5+ messages in thread
From: Ken Brown @ 2023-12-14 15:50 UTC (permalink / raw)
To: cygwin-apps
On 12/14/2023 4:22 AM, Marco Atzeri via Cygwin-apps wrote:
> Hi Ken,
>
> it seems that both
>
> texlive-collection-latex
> texlive-collection-latexextra
>
> depend on
>
> texlive-collection-latexrecommended
>
> that seems to me contra intuitive. can you please check ?
Hi Marco,
Do you have an example of a LaTeX file that uses packages only in
texlive-collection-latex but fails to compile if
texlive-collection-latexrecommended is not installed? Without this,
it's very hard for me to check if the occurrences of "pdftexcmds.sty"
that you found really indicate dependencies. My technical knowledge of
LaTeX is not good enough to determine this just from looking at the .sty
files. See below for further comments on a few of the occurrences.
> $ cd /usr/share/texmf-dist/tex
>
> $ grep -rH pdftexcmds.sty .
> ./generic/catchfile/catchfile.sty: \input pdftexcmds.sty\relax
The previous line contains "IfFileExists", but I can't parse that line
well enough to know if it prevents a problem.
> ./generic/filemod/filemod-expmin.tex: \input pdftexcmds.sty
> ./generic/oberdiek/iflang.sty: \input pdftexcmds.sty\relax
This is wrapped in an \if...\else that I can't parse.
> ./generic/stringenc/stringenc.sty: \input pdftexcmds.sty\relax
The previous line contains "IfFileExists".
> ./latex/hardwrap/hardwrap.sty:\IfFileExists{pdftexcmds.sty}{%
Doesn't "IfFileExists" prevent a problem in this case?
> ./latex/nlctdoc/nlctuserguide.sty: % copied from pdftexcmds.sty
"pdftexcmds.sty" occurs only in a comment.
Ken
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [attn maintainer] latex dependencies
2023-12-14 15:50 ` Ken Brown
@ 2023-12-14 19:46 ` Marco Atzeri
2023-12-14 22:21 ` Ken Brown
0 siblings, 1 reply; 5+ messages in thread
From: Marco Atzeri @ 2023-12-14 19:46 UTC (permalink / raw)
To: cygwin-apps
On 14/12/2023 16:50, Ken Brown via Cygwin-apps wrote:
> On 12/14/2023 4:22 AM, Marco Atzeri via Cygwin-apps wrote:
>> Hi Ken,
>>
>> it seems that both
>>
>> texlive-collection-latex
>> texlive-collection-latexextra
>>
>> depend on
>>
>> texlive-collection-latexrecommended
>>
>> that seems to me contra intuitive. can you please check ?
>
> Hi Marco,
>
> Do you have an example of a LaTeX file that uses packages only in
> texlive-collection-latex but fails to compile if
> texlive-collection-latexrecommended is not installed? Without this,
> it's very hard for me to check if the occurrences of "pdftexcmds.sty"
> that you found really indicate dependencies. My technical knowledge of
> LaTeX is not good enough to determine this just from looking at the .sty
> files. See below for further comments on a few of the occurrences.
>
the last gl2ps package had such issue
https://github.com/cygwin/scallywag/actions/runs/7204747329/job/19626758626
adding the texlive-collection-latexrecommended
as dependency, solved that issue
https://github.com/cygwin/scallywag/actions/runs/7206881393/job/19632744288
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [attn maintainer] latex dependencies
2023-12-14 19:46 ` Marco Atzeri
@ 2023-12-14 22:21 ` Ken Brown
2023-12-15 2:28 ` Marco Atzeri
0 siblings, 1 reply; 5+ messages in thread
From: Ken Brown @ 2023-12-14 22:21 UTC (permalink / raw)
To: cygwin-apps
On 12/14/2023 2:46 PM, Marco Atzeri via Cygwin-apps wrote:
> On 14/12/2023 16:50, Ken Brown via Cygwin-apps wrote:
>> On 12/14/2023 4:22 AM, Marco Atzeri via Cygwin-apps wrote:
>>> Hi Ken,
>>>
>>> it seems that both
>>>
>>> texlive-collection-latex
>>> texlive-collection-latexextra
>>>
>>> depend on
>>>
>>> texlive-collection-latexrecommended
>>>
>>> that seems to me contra intuitive. can you please check ?
>>
>> Hi Marco,
>>
>> Do you have an example of a LaTeX file that uses packages only in
>> texlive-collection-latex but fails to compile if
>> texlive-collection-latexrecommended is not installed? Without this,
>> it's very hard for me to check if the occurrences of "pdftexcmds.sty"
>> that you found really indicate dependencies. My technical knowledge
>> of LaTeX is not good enough to determine this just from looking at the
>> .sty files. See below for further comments on a few of the occurrences.
>>
>
> the last gl2ps package had such issue
>
> https://github.com/cygwin/scallywag/actions/runs/7204747329/job/19626758626
>
> adding the texlive-collection-latexrecommended
> as dependency, solved that issue
>
> https://github.com/cygwin/scallywag/actions/runs/7206881393/job/19632744288
Thanks. The problem is that line 111 of
/usr/share/texmf-dist/tex/latex/hyperref/hyperref.sty contains
\RequirePackage{pdftexcmds}. Since hyperref is in the latex collection,
pdftexcmds should also be in that collection. I'll report this upstream.
But there's no bug in the latexextra package. The upstream latexextra
collection does indeed depend on the latexrecommended collection, and
this is reflected in the Cygwin packaging. So this dependency is by
design (and it makes intuitive sense to me).
Thanks for the report.
Ken
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [attn maintainer] latex dependencies
2023-12-14 22:21 ` Ken Brown
@ 2023-12-15 2:28 ` Marco Atzeri
0 siblings, 0 replies; 5+ messages in thread
From: Marco Atzeri @ 2023-12-15 2:28 UTC (permalink / raw)
To: cygwin-apps
On 14/12/2023 23:21, Ken Brown via Cygwin-apps wrote:
> On 12/14/2023 2:46 PM, Marco Atzeri via Cygwin-apps wrote:
>> On 14/12/2023 16:50, Ken Brown via Cygwin-apps wrote:
>>> On 12/14/2023 4:22 AM, Marco Atzeri via Cygwin-apps wrote:
>>>> Hi Ken,
>>>>
>>>> it seems that both
>>>>
>>>> texlive-collection-latex
>>>> texlive-collection-latexextra
>>>>
>>>> depend on
>>>>
>>>> texlive-collection-latexrecommended
>>>>
>>>> that seems to me contra intuitive. can you please check ?
>>>
>
> Thanks. The problem is that line 111 of
> /usr/share/texmf-dist/tex/latex/hyperref/hyperref.sty contains
> \RequirePackage{pdftexcmds}. Since hyperref is in the latex collection,
> pdftexcmds should also be in that collection. I'll report this upstream.
>
> But there's no bug in the latexextra package. The upstream latexextra
> collection does indeed depend on the latexrecommended collection, and
> this is reflected in the Cygwin packaging. So this dependency is by
> design (and it makes intuitive sense to me).
>
> Thanks for the report.
>
> Ken
Thanks for taking care
Regards
Marco
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-12-15 2:28 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-14 9:22 [attn maintainer] latex dependencies Marco Atzeri
2023-12-14 15:50 ` Ken Brown
2023-12-14 19:46 ` Marco Atzeri
2023-12-14 22:21 ` Ken Brown
2023-12-15 2:28 ` Marco Atzeri
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).