[texdoc] texdoc machine readable output

Manuel Pégourié-Gonnard mpg at elzevir.fr
Fri Nov 13 11:54:29 CET 2009


Hi Adam,

Adam R. Maxwell a écrit :
> Thanks very much for letting me know; I finally got around to testing
> a git snapshot this evening, and this is great.  Not having to make
> assumptions about the output format always make me happier :).  Right
> now I only parse a line if it has a leading digit, and assume
> everything following is a path.
> 
I'm glad you like it.

> maybe more like tlmgr's machine-readable output
> 
> foo	/path/a
> foo	/path/b
> bar	/path/c
> bar	/path/d
> 
> Also, if the name were always inserted, the output parsing would the
> same regardless of how many args were passed.  Just an idea...as I
> said, I'm only passing a single argument.
> 
Why not. But what to do when there is no result for a particular
argument? Just omit it? Anyway, I like the idea of making the output
more homogeneous.

> I followed the instructions at http://tug.org/texdoc/dev/ for
> switching using the td-switch wrapper (nice).  The only hitch was
> that I needed to create TEXMFHOME/scripts and TEXMFHOME/texdoc
> manually.  Not hard, but maybe worth noting.
> 
I'll add a note, thanks.

Manuel.


More information about the texdoc mailing list