Bug#344049: tex4ht: Command fails: mk4ht xhlatex file.tex

2005-12-26 Thread Kapil Hari Paranjape
Dear Braun,

On Mon, 19 Dec 2005, Braun Gabor wrote:
> Package: tex4ht
> Version: 20051214-1
> Severity: normal
> Tags: patch

Thanks to Eitan's rapid fix of the problem a new version
(20051223) with the bug fix is now available at

http://www.imsc.res.in/~kapil/debian/tex4ht/

It should make it into the debian archives within a few days.

Thanks for your report.

With best regards,

Kapil.
--


signature.asc
Description: Digital signature


Bug#344049: tex4ht: Command fails: mk4ht xhlatex file.tex

2005-12-22 Thread Eitan Gurari



 > $ mk4ht xhlatex file.tex
 > mk4ht (2005-09-23-22:09)
 > improper command: xhlatex
 >  option1:  mk4ht #1 "#2" "#3" "#4" "#5"


 > + "xh", "xhlatex", "latex",  "xhtml", " -cunihtf", "-cvalidate",
 > + "xh", "xhtex",   "tex","xhtml", " -cunihtf", "-cvalidate",
 > + "xh", "xhtexi",  "texi",   "xhtml", " -cunihtf", "-cvalidate",
 > + "xh", "xhcontext","texexec", "xhtml", " -cunihtf", "-cvalidate",

Without `-cunihtf':

  "xh", "xhlatex", "latex",  "xhtml", "", "-cvalidate",
  "xh", "xhtex",   "tex","xhtml", "", "-cvalidate",
  "xh", "xhtexi",  "texi",   "xhtml", "", "-cvalidate",
  "xh", "xhcontext","texexec", "xhtml", "", "-cvalidate",

Fixed. -eitan





-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#344049: tex4ht: Command fails: mk4ht xhlatex file.tex

2005-12-19 Thread Braun Gabor
Package: tex4ht
Version: 20051214-1
Severity: normal
Tags: patch

*** Please type your report below this line ***

[EMAIL PROTECTED] /dev/shm$ mk4ht xhlatex file.tex
mk4ht (2005-09-23-22:09)
improper command: xhlatex
 option1:  mk4ht #1 "#2" "#3" "#4" "#5"

#1: htlatex, mzlatex, oolatex, dblatex, dbmlatex,
teilatex, teimlatex, uxhlatex, wlatex, xhlatex,
xhmlatex

also 'tex', 'texi', and 'context' instead of 'latex'

#2: file name
#3: optional arguments for latex/tex/texi/context
#4: optional arguments for tex4ht.c
#5: optional arguments for t4ht.c

 option2:  mk4ht ht #2 #3 "#4" "#5"

#1: ht
#2: latex, tex
#3: file name
#4: optional arguments for tex4ht.c
#5: optional arguments for t4ht.c

 Within the program, in column three of the options
 variable, the  requests for the commands "latex",
 "tex", etc. can be replaced with other equivalent
 commands (e.g., "tex -fmt=latex").

It does not matter whether file.tex exists or what it contains, the 
command always gives this output.  However, the command line 
satisfies option1.

I suggest the following patch to fix this (and add the missing 
alternative "jhlatex" for #1):

--- /usr/bin/mk4ht  2005-12-15 12:48:47.0 +0100
+++ /home/gabor/mk4ht   2005-12-19 10:38:54.0 +0100
@@ -41,6 +41,10 @@
  "xhm", "xhmtex",   "tex","xhtml,mathml", " -cunihtf", "-cvalidate",
  "xhm", "xhmtexi",  "texi",   "xhtml,mathml", " -cunihtf", "-cvalidate",
  "xhm", "xhmcontext","texexec", "xhtml,mathml", " -cunihtf", "-cvalidate",
+ "xh", "xhlatex", "latex",  "xhtml", " -cunihtf", "-cvalidate",
+ "xh", "xhtex",   "tex","xhtml", " -cunihtf", "-cvalidate",
+ "xh", "xhtexi",  "texi",   "xhtml", " -cunihtf", "-cvalidate",
+ "xh", "xhcontext","texexec", "xhtml", " -cunihtf", "-cvalidate",
  "mz", "mzlatex",   "latex",   "xhtml,mozilla", " -cmozhtf",  "-cvalidate",
  "mz", "mztex", "tex", "xhtml,mozilla", " -cmozhtf",  "-cvalidate",
  "mz", "mztexi","texi","xhtml,mozilla", " -cmozhtf",  "-cvalidate",
@@ -81,7 +85,7 @@
   print " \n";
   print "#1: htlatex, mzlatex, oolatex, dblatex, dbmlatex,\n";
   print "teilatex, teimlatex, uxhlatex, wlatex, xhlatex,\n";
-  print "xhmlatex\n";
+  print "xhmlatex, jhlatex\n";
   print " \n";
   print "also 'tex', 'texi', and 'context' instead of 'latex'\n";
   print " \n";

I am not sure whether the options passed to xhlatex etc are optimal.
I have just blindly copied the options for xhmlatex etc and removed 
mathml.

Gabor Braun

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (650, 'testing'), (600, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.14-2-686
Locale: LANG=hu_HU.iso88592, LC_CTYPE=hu_HU.iso88592 (charmap=ISO-8859-2) 
(ignored: LC_ALL set to hu_HU.iso88592)

Versions of packages tex4ht depends on:
ii  libc6 2.3.5-8GNU C Library: Shared libraries an
ii  libkpathsea3  2.0.2-30   path search library for teTeX (run
ii  tetex-bin 3.0-12 The teTeX binary files
ii  tex4ht-common 20051214-1 LaTeX and TeX for Hypertext (HTML)

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]