Thank you. It seems that it was working previously by accident :)

Have a nice day.

Lumír

On 5/21/20 2:13 PM, Tom Callaway wrote:
If your package has a tex file that it uses to generate documentation, and that tex file says \usepackage{foo}, then your package needs to have:

BuildRequires: tex(foo.sty)

The only exception to that is for packages which include .sty files, obviously, if the \usepackage dependency is met within the package you don't need to specify a Requires.

hth,

Tom

On Thu, May 21, 2020 at 7:24 AM Lumir Balhar <lbal...@redhat.com <mailto:lbal...@redhat.com>> wrote:

    Hello.

    I am trying to investigate a new problem in ipython that is
    probably related to the update of texlive:
    https://bugzilla.redhat.com/show_bug.cgi?id=1838474

    ipython uses latex to generate png images of tex formulas.
    Internally it calls latex and dvipng commands.

    Right now, I have a tex file:

    # cat /tmp/tmp93xe5ss2/tmp.tex
    
\documentclass{article}\usepackage{amsmath}\usepackage{amsthm}\usepackage{amssymb}\usepackage{bm}\pagestyle{empty}\begin{document}$x^2$\end{document}

    and following command:

    # latex -halt-on-error -interaction batchmode /tmp/tmp93xe5ss2/tmp.tex

    which exits with exit code 1 and the following output:

    This is pdfTeX, Version 3.14159265-2.6-1.40.21 (TeX Live 2020)
    (preloaded format=latex)
     restricted \write18 enabled.
    entering extended mode

    The error seems to be caused by latex missing file
    /usr/share/texlive/texmf-dist/tex/latex/amscls/amsthm.sty. When I
    manually install texlive-amscls which provides this file,
    everything is fine and the command mentioned above works.

    The strange thing is that when I install python3-matplotlib from
    koji repo or from rawhide repo, both don't bring this package so
    it's probably a new dependency somewhere.

    Do you know what might cause this?

    Lumír

    On 5/14/20 11:55 PM, Tom Callaway wrote:
    I've just kicked off new builds for texlive and texlive-base for
    TeXLive 2020 in rawhide. Hopefully, everything that depends on
    them will continue to work, but if you notice any new issues
    generating docs (or any missing components or broken
    dependencies), feel free to email me or open Bugzilla tickets.

    Thanks,
    Tom

    P.S. I have no plans to push this update to any stable branches,
    but if you really want the TL2020 magic, I'm running the F33
    packages on my F32 system without issue.

    _______________________________________________
    devel mailing list --devel@lists.fedoraproject.org  
<mailto:devel@lists.fedoraproject.org>
    To unsubscribe send an email todevel-le...@lists.fedoraproject.org  
<mailto:devel-le...@lists.fedoraproject.org>
    Fedora Code of 
Conduct:https://docs.fedoraproject.org/en-US/project/code-of-conduct/
    List Guidelines:https://fedoraproject.org/wiki/Mailing_list_guidelines
    List 
Archives:https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to