When I load the package lwarp with the command \usepackage{lwarp}
and I press F1 (or compile/build) I get the error with the file
/usr/share/texlive/texmf-dist/tex/latex/lwarp/lwarp.sty
at the line 33. Within that file, above line 33 is the command: \RequirePackage{ifptex}
So I thought the problem should be that missing package, and indeed the error message says:
! LaTeX Error: File `ifptex.sty' not found.Type X to quit or to proceed,or enter new name. (Default extension: sty)Enter file name:! Emergency stop. flag __ ^^M
So I searched for that package and found it here ifptex.sty. Now I created a directory for that package: /usr/share/texlive/texmf-dist/tex/latex/ifptex/ and put there the package, but that doesn't fix the problem (I get the same message). I tried to put the ifptex package near the location of the other required packages (iftex and ifpdf) i.e.
/usr/share/texlive/texmf-dist/tex/generic/iftex
I created a folder at generic/ifptex but didn't work, I put the ifptex.sty file in the folder iftex but also didn't work.
My question is, why is this not working? How can I install the package properly? The instruction in the readme file says for installation:
In a system compliant to TDS 1.1, move the files as follows: *.sty → $TEXMF/tex/generic/ifptex
Which I have done so far, but I get the same error message.
I'm using TeXMaker 5.0.3 (compiled with Qt 5.15.3) with TeXlive in Ubuntu 22.04.1 LTS.
mktexlsr
maybe?lwarp.sty
should be attexmf-dist/tex/latex/lwarp/lwarp.sty