Proposal for texsrc command

Norbert Preining norbert at
Sun Aug 16 14:47:01 CEST 2020

Hi Niranjan,

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:

package 12many
	file .../texmf-dist/tex/latex/12many/12many.sty

example where it does not work:
package IEEEconf
	file .../texmf-dist/tex/latex/IEEEconf/IEEEconf.cls
(because it ships a class file and not a style file)

another example
package adfsymbols
	file .../texmf-dist/tex/latex/adfsymbols/adfarrows.sty
(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                    
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 mailing list.