Proposal for texsrc command
norbert at preining.info
Sun Aug 16 14:47:01 CEST 2020
On Sun, 16 Aug 2020, निरंजन wrote:
> requirements, but is it possible to build such a command?
Not really. You are assuming that
package name == style file name for LaTeX
Unfortunately this breaks for a large set of packages.
Example where it works:
example where it does not work:
(because it ships a class file and not a style file)
(style file is named different from package name)
And there are many many more differences. So there is no easy way to
find **THE** source file.
You can use
tlmgr info --list <PACKAGENAME>
to get the list of files included, and check which are in "run files".
I guess this is the best one can do?
PREINING Norbert https://www.preining.info
Accelia Inc. + IFMGA ProGuide + TU Wien + JAIST + TeX Live + Debian Dev
GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
More information about the tex-live