Re: [tex4ht] Collision of /usr/bin/ht with HT Editor

2013-05-07 Thread William F Hammond
On Mon, May 6, 2013 at 3:12 PM, Alexey Torkhov atork...@gmail.com wrote:



Hi, Karl.

Thank you for answer. Will see what the other side is thinking...

Alexey

...


I agree with Karl that one and two, even three and maybe four or five,
character names should no longer be introduced if ever it was sensible to
do so.  I guess we're stuck with things like du, ed, ls, mv, rm,
..., but short names should be regarded as belonging to a user's private
name
space.

It seems that it would be a rather unpleasant exercise to figure out just
how tex4ht's ht is being used these days because the string ht is a
substring of many words occurring in tex4ht scripts.  Is it, in fact,
really in use?  I am not aware that it's something a user would call.  If
I'm right about that, but it is in use, then how difficult could it be to
phase it out?

Of course, I also would object to ht as the name of any program that is
not user-private. Something like hteditor would be much better.

  -- Bill

-- 
William F Hammond
http://www.albany.edu/~hammond/
Email: gel...@gmail.com


Re: [tex4ht] Collision of /usr/bin/ht with HT Editor

2013-05-07 Thread Reinhard Kotucha
On 2013-05-07 at 02:12:45 +0400, Alexey Torkhov wrote:

  Hi, Karl.
  
  Thank you for answer. Will see what the other side is thinking...

BTW, maybe you can convince the other side that users benefit from
more meaningful names.  I would suggest htedit or similar.

As far as tex4ht is concerned, I fully agree with Karl.  Not only
because two-letter names are deprecated but also because more
meaningful names are more user-friendly.  But changing it now would
break many workflows.

I suppose that a more meaningful name is a good argument in order to
convince them to change the name.  Most people use GUIs nowadays and
expect meaningful names.

Regards, and good luck,
  Reinhard

-- 

Reinhard Kotucha  Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover  mailto:reinhard.kotu...@web.de

Microsoft isn't the answer. Microsoft is the question, and the answer is NO.



Re: [tex4ht] Collision of /usr/bin/ht with HT Editor

2013-05-07 Thread William F Hammond
On Tue, May 7, 2013 at 3:33 PM, Reinhard Kotucha reinhard.kotu...@web.dewrote:

 On 2013-05-07 at 02:12:45 +0400, Alexey Torkhov wrote:



 ...  As far as tex4ht is concerned, I fully agree with Karl.  Not only

because two-letter names are deprecated but also because more
 meaningful names are more user-friendly.  But changing it now would
 break many workflows. ...


It's possible, but I fail to see how.  Even if I'm wrong, one could simply
place a copy of (the tiny script) ht in a private path component to keep
it going.

In searching comp.text.tex at google groups for ht latex and htlatex, I
get only 26 hits,
mostly rather old, for the former, while I get 478 for the latter. (It's
not clear that all 26 matches
actually represent calls to ht.)

While I find many references to htlatex in my log of this discussion, I
don't think I've found
any references to calling ht as a command [in reading about 100 lines of
output from
egrep '(\W|^)ht(\W|$)' on a mail folder ].

  -- Bill


[tex4ht] Collision of /usr/bin/ht with HT Editor

2013-05-06 Thread Alexey Torkhov
Hi.

Tex4HT provides 'ht' script that gets installed into /usr/bin/ht by most
linux distributions. But, there also exists so called HT Editor, which is
hexeditor with disassembler - http://hte.sourceforge.net (yes, they have
hte in hostname, but distribute themselves as 'ht' binary). So, here comes
the conflict :) This conflict happened in linux distributions before and
was resolved differently:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=128188 - in Debian, 'ht'
binary from ht package was renamed 'hte',
https://bugzilla.novell.com/show_bug.cgi?id=727939 - in OpenSuSE ht and
tex4ht packages made to conflict each other,
in Fedora before previous release 'ht' binary from tex4ht was renamed to
'tex4ht-ht', now packages are conflicting.
Probably, userbase of Tex4HT and HT Editor are not overlapping, so it
wasn't gotten any other attention.

So, in quest to make world more perfect :) there is the question: could
ht.sh/ht script be renamed in Tex4HT upstream, or maybe it wasn't supposed
to be exposed to enduser at all, etc? Or solution should be seeked
elsewhere? I've seen it get mentions in mk4ht script, some documentation
and Makefiles.

Alexey


Re: [tex4ht] Collision of /usr/bin/ht with HT Editor

2013-05-06 Thread Karl Berry
Hi Alexey - 

I'm sympathetic to the problem but don't see a good solution from this
side.  The ht executable has been since the beginning of tex4ht -- 15
years or so.  I don't want to remove it now at this late date.  If Eitan
had asked me in 1999 I would have told him no two-letter names, but he
didn't :).  (Ditto the HT Editor people -- any project thinking it can
use a two-letter command name at this point in Unix's history is, IMHO,
just plain wrong.)

What distros choose to do is not up to me, but I don't want to remove ht
from TeX Live.

(CVR, if you have any ideas on this, of course please let me know.)

Best,
karl