[texdoc] [tex-live] texdoc feature idea: LaTeX package macros

Manuel Pégourié-Gonnard mpg at elzevir.fr
Thu May 20 12:00:02 CEST 2010


Le 20/05/2010 11:10, Zdenek Wagner a écrit :
> 2010/5/20 Manuel Pégourié-Gonnard <mpg at elzevir.fr>:
>> I didn't think a lot, but it seems to me that it's better to have it integrated
>> in texdoc, since essentially there would be a mapping macro -> package name,
>> then the existing part of texdoc would do the mapping package name -> actual
>> files. But I'm also afraid of collisions, so I was thinking of an option like
>> texdoc --macro '\foobar' (with a better option name).
>>
> Yes, there will be collisions, e.g. \scalebox exists in two different
> packages with slightly different syntax, \path exists in \url.sty and
> \path.sty and is redefined in hyperref etc. It will have to be solved
> somehow.
> 
I was rather thinking about collisions with package names (as was Karl, I guess).

The kind of collision you mention could be handled simply be presenting the list
of matching packages to the user (just as texdoc -l does for packages with many
documentation files), I think.

Manuel.

PS: I think that the idea of moving the discussion to the texdoc list was to
avoid another long thread on texlive@, so it may be a good idea to reply only to
texdoc@ (with people cc'ed).



More information about the texdoc mailing list