<div dir="ltr"><div>Dear all,</div><div><br></div><div>A few weeks ago I posted a query about using parnotes whose footnote anchors/hooks use Arabic-style numerals in right-to-left Arabic script:</div><div><a href="https://tex.stackexchange.com/questions/495709/producing-odt-arabic-edition-with-apparatus-in-parnotes-via-tex4ht-customizing">https://tex.stackexchange.com/questions/495709/producing-odt-arabic-edition-with-apparatus-in-parnotes-via-tex4ht-customizing</a></div><div><br></div><div>I am hoping to convert a large document into ODT/Word format in the next couple weeks that uses such parnotes extensively, so if anyone has a solution, I would be grateful not to have to type in all those numbers by hand!</div><div><br></div><div>Best wishes,</div><div>Alex<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jul 6, 2019 at 12:00 PM <<a href="mailto:tex4ht-request@tug.org">tex4ht-request@tug.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Send tex4ht mailing list submissions to<br>
        <a href="mailto:tex4ht@tug.org" target="_blank">tex4ht@tug.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="https://tug.org/mailman/listinfo/tex4ht" rel="noreferrer" target="_blank">https://tug.org/mailman/listinfo/tex4ht</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:tex4ht-request@tug.org" target="_blank">tex4ht-request@tug.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:tex4ht-owner@tug.org" target="_blank">tex4ht-owner@tug.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of tex4ht digest..."<br>
Today's Topics:<br>
<br>
   1. [bug #429] htlatex: Does not delete intermediate files<br>
      (Hilmar Preusse)<br>
   2. [bug #429] htlatex: Does not delete intermediate files<br>
      (Michal Hoftich)<br>
   3. Problem with tex4ht after latest update, adjustbox problem<br>
      (Nasser M. Abbasi)<br>
   4. Re: Problem with tex4ht after latest update,      adjustbox<br>
      problem (Michal Hoftich)<br>
   5. [bug #430] Please support document class scrreprt with<br>
      dblatex (Hilmar Preusse)<br>
   6. [bug #430] Please support document class scrreprt with<br>
      dblatex (Michal Hoftich)<br>
   7. Re: Problem with tex4ht after latest update, adjustbox<br>
      problem (Nasser M. Abbasi)<br>
<br><br><br>---------- Forwarded message ----------<br>From: Hilmar Preusse <<a href="mailto:hille42@web.de" target="_blank">hille42@web.de</a>><br>To: Karl Berry <<a href="mailto:karl@freefriends.org" target="_blank">karl@freefriends.org</a>>, Hilmar Preusse <<a href="mailto:hille42@web.de" target="_blank">hille42@web.de</a>>, Michal Hoftich <<a href="mailto:michal.h21@gmail.com" target="_blank">michal.h21@gmail.com</a>>, <a href="mailto:tex4ht@tug.org" target="_blank">tex4ht@tug.org</a><br>Cc: <br>Bcc: <br>Date: Fri, 5 Jul 2019 14:40:01 +0300<br>Subject: [tex4ht] [bug #429] htlatex: Does not delete intermediate files<br>Follow-up Comment #3, bug #429 (project tex4ht):<br>
<br>
I'm aware that TeX related programs are not very good in deleting intermediate<br>
files. However in this case we speak about htlatex, some kind of wrapper<br>
script. I would expect that this script cares about intermediate files, which<br>
are not needed any more.<br>
Note that we speak about the files, which were created by tex4ht & t4ht i.e.<br>
the files generated by the post-processor.<br>
<br>
Feel free to lower that bug to wish list and introduce a clear switch if you<br>
think it is not a good idea to delete all intermediate files by default.<br>
<br>
Many thanks,<br>
  Hilmar<br>
<br>
    _______________________________________________________<br>
<br>
Reply to this item at:<br>
<br>
  <<a href="http://puszcza.gnu.org.ua/bugs/?429" rel="noreferrer" target="_blank">http://puszcza.gnu.org.ua/bugs/?429</a>><br>
<br>
_______________________________________________<br>
  Message sent via/by Puszcza<br>
  <a href="http://puszcza.gnu.org.ua/" rel="noreferrer" target="_blank">http://puszcza.gnu.org.ua/</a><br>
<br>
<br><br><br>---------- Forwarded message ----------<br>From: Michal Hoftich <<a href="mailto:michal.h21@gmail.com" target="_blank">michal.h21@gmail.com</a>><br>To: Karl Berry <<a href="mailto:karl@freefriends.org" target="_blank">karl@freefriends.org</a>>, Hilmar Preusse <<a href="mailto:hille42@web.de" target="_blank">hille42@web.de</a>>, Michal Hoftich <<a href="mailto:michal.h21@gmail.com" target="_blank">michal.h21@gmail.com</a>>, <a href="mailto:tex4ht@tug.org" target="_blank">tex4ht@tug.org</a><br>Cc: <br>Bcc: <br>Date: Fri, 5 Jul 2019 15:13:13 +0200<br>Subject: [tex4ht] [bug #429] htlatex: Does not delete intermediate files<br>Follow-up Comment #4, bug #429 (project tex4ht):<br>
<br>
You can use a simple wrapper around htlatex if you don't mind the issues I<br>
described in my previous post. This version is for Unix based OSes:<br>
<br>
#!/bin/bash<br>
htlatex "$@"<br>
base=${1%.tex}<br>
rm $base.dvi<br>
rm $base.idv<br>
rm $base.lg<br>
rm $base.tmp<br>
# following files should be kept IMHO<br>
# the log file can be usefull for error investigation<br>
rm $base.log<br>
# these files are reused between TeX runs, it is not a good idea to delete<br>
them<br>
rm $base.4tc<br>
rm $base.4ct<br>
rm $base.aux<br>
rm $base.xref<br>
<br>
<br>
I would say that deleting the dvi, idv, lg and tmp files should be quite safe,<br>
as they are generated every time from the scratch and the subsequent<br>
compilations don't depend on them. <br>
<br>
    _______________________________________________________<br>
<br>
Reply to this item at:<br>
<br>
  <<a href="http://puszcza.gnu.org.ua/bugs/?429" rel="noreferrer" target="_blank">http://puszcza.gnu.org.ua/bugs/?429</a>><br>
<br>
_______________________________________________<br>
  Message sent via/by Puszcza<br>
  <a href="http://puszcza.gnu.org.ua/" rel="noreferrer" target="_blank">http://puszcza.gnu.org.ua/</a><br>
<br>
<br>
<br><br><br>---------- Forwarded message ----------<br>From: "Nasser M. Abbasi" <<a href="mailto:nma@12000.org" target="_blank">nma@12000.org</a>><br>To: "<a href="mailto:tex4ht@tug.org" target="_blank">tex4ht@tug.org</a>" <<a href="mailto:tex4ht@tug.org" target="_blank">tex4ht@tug.org</a>><br>Cc: <br>Bcc: <br>Date: Fri, 5 Jul 2019 09:47:38 -0500<br>Subject: [tex4ht] Problem with tex4ht after latest update, adjustbox problem<br><br>
After update TL 2019 just now, I started getting  errors<br>
compiling some files. Here is MWE<br>
<br>
======================<br>
make4ht -ulm default foo.tex 'htm,mathjax'<br>
========================<br>
......<br>
(/mnt/g/public_html/styles/adjustbox.4ht<br>
(/usr/local/texlive/2019/texmf-dist/tex/generic/tex4ht/html4.4ht<br>
l.28997 --- TeX4ht warning --- \Configure{Adjustbox}? ---<br>
<br>
! LaTeX Error: Missing \begin{document} in `'.<br>
<br>
See the LaTeX manual or LaTeX Companion for explanation.<br>
Type  H <return>  for immediate help.<br>
  ...<br>
<br>
l.28998 ...div class="adjustbox" id="\AdjustboxId">}                                                  }<br>
=======================<br>
<br>
Here is foo.tex<br>
<br>
=========================<br>
\documentclass[12pt]{article}<br>
\usepackage[export]{adjustbox}  %adding this causes the problem<br>
\begin{document}<br>
test<br>
\end{document}<br>
================<br>
<br>
TL 2019 on linux. I did a diff and I see some new additions in<br>
html4.4ht related to adjustbox which looks like the cause of this<br>
problem.<br>
<br>
Any thoughts?<br>
<br>
thanks<br>
--Nasser<br>
<br>
<br>
<br>
<br>
<br><br><br>---------- Forwarded message ----------<br>From: Michal Hoftich <<a href="mailto:michal.h21@gmail.com" target="_blank">michal.h21@gmail.com</a>><br>To: "Nasser M. Abbasi" <<a href="mailto:nma@12000.org" target="_blank">nma@12000.org</a>><br>Cc: "<a href="mailto:tex4ht@tug.org" target="_blank">tex4ht@tug.org</a>" <<a href="mailto:tex4ht@tug.org" target="_blank">tex4ht@tug.org</a>><br>Bcc: <br>Date: Fri, 5 Jul 2019 17:18:40 +0200<br>Subject: Re: [tex4ht] Problem with tex4ht after latest update, adjustbox problem<br>Hi Nasser,<br>
<br>
> TL 2019 on linux. I did a diff and I see some new additions in<br>
> html4.4ht related to adjustbox which looks like the cause of this<br>
> problem.<br>
<br>
I don't get any error with your test file. Maybe you have a older<br>
version of adjustbox.4ht somewhere? From your log I can see that there<br>
is no `\Configure{Adjsutbox}`, which is introduced in the current<br>
adjustbox.4ht distributed in TL.<br>
<br>
Best regards,<br>
Michal<br>
<br>
<br><br><br>---------- Forwarded message ----------<br>From: Hilmar Preusse <<a href="mailto:hille42@web.de" target="_blank">hille42@web.de</a>><br>To: Hilmar Preusse <<a href="mailto:hille42@web.de" target="_blank">hille42@web.de</a>>, <a href="mailto:tex4ht@tug.org" target="_blank">tex4ht@tug.org</a><br>Cc: <br>Bcc: <br>Date: Fri, 5 Jul 2019 19:00:02 +0300<br>Subject: [tex4ht] [bug #430] Please support document class scrreprt with dblatex<br>URL:<br>
  <<a href="http://puszcza.gnu.org.ua/bugs/?430" rel="noreferrer" target="_blank">http://puszcza.gnu.org.ua/bugs/?430</a>><br>
<br>
                 Summary: Please support document class scrreprt with dblatex<br>
                 Project: tex4ht<br>
            Submitted by: hpreusse<br>
            Submitted on: Fri 05 Jul 2019 06:57:21 PM EEST<br>
                Category: None<br>
                Priority: 5 - Normal<br>
                Severity: 1 - Wish<br>
                  Status: None<br>
                 Privacy: Public<br>
             Assigned to: None<br>
        Originator Email: <br>
             Open/Closed: Open<br>
         Discussion Lock: Any<br>
<br>
    _______________________________________________________<br>
<br>
Details:<br>
<br>
See <a href="http://bugs.debian.org/615596" rel="noreferrer" target="_blank">http://bugs.debian.org/615596</a><br>
<br>
Calling mk4ht dblatex some_file.tex results in this error:<br>
<br>
System call: java -classpath /usr/share/tex4ht/tex4ht.jar xtpipes -i<br>
/usr/share/texmf/tex4ht/xtpipes/ -o some_file.xml some_file.tmp<br>
--- xtpipes error 32 --- Missing 4xt script file name<br>
--- Warning --- System return: 256<br>
<br>
This makes it impossible to create docbook files from a LaTeX<br>
source.<br>
Minimal example is below: it turns out that the documenclass are not supported<br>
for dblatex output, i.e. there is no entry in docbook.4ht. Please consider to<br>
add it.<br>
<br>
\documentclass{scrreprt}<br>
\begin{document}<br>
test<br>
\end{document}<br>
<br>
<br>
<br>
<br>
    _______________________________________________________<br>
<br>
Reply to this item at:<br>
<br>
  <<a href="http://puszcza.gnu.org.ua/bugs/?430" rel="noreferrer" target="_blank">http://puszcza.gnu.org.ua/bugs/?430</a>><br>
<br>
_______________________________________________<br>
  Message sent via/by Puszcza<br>
  <a href="http://puszcza.gnu.org.ua/" rel="noreferrer" target="_blank">http://puszcza.gnu.org.ua/</a><br>
<br>
<br><br><br>---------- Forwarded message ----------<br>From: Michal Hoftich <<a href="mailto:michal.h21@gmail.com" target="_blank">michal.h21@gmail.com</a>><br>To: Hilmar Preusse <<a href="mailto:hille42@web.de" target="_blank">hille42@web.de</a>>, Michal Hoftich <<a href="mailto:michal.h21@gmail.com" target="_blank">michal.h21@gmail.com</a>>, <a href="mailto:tex4ht@tug.org" target="_blank">tex4ht@tug.org</a><br>Cc: <br>Bcc: <br>Date: Fri, 5 Jul 2019 19:54:41 +0200<br>Subject: [tex4ht] [bug #430] Please support document class scrreprt with dblatex<br>Follow-up Comment #1, bug #430 (project tex4ht):<br>
<br>
Thanks for the report. I've added the support for Koma classes as well as<br>
Memoir to the tex4ht sources. You can try to place the updated docbook.4ht to<br>
the directory with your document to test it.<br>
<br>
(file #318)<br>
    _______________________________________________________<br>
<br>
Additional Item Attachment:<br>
<br>
File name: docbook.4ht                    Size:165 KB<br>
<br>
<br>
    _______________________________________________________<br>
<br>
Reply to this item at:<br>
<br>
  <<a href="http://puszcza.gnu.org.ua/bugs/?430" rel="noreferrer" target="_blank">http://puszcza.gnu.org.ua/bugs/?430</a>><br>
<br>
_______________________________________________<br>
  Message sent via/by Puszcza<br>
  <a href="http://puszcza.gnu.org.ua/" rel="noreferrer" target="_blank">http://puszcza.gnu.org.ua/</a><br>
<br>
<br>
<br><br><br>---------- Forwarded message ----------<br>From: "Nasser M. Abbasi" <<a href="mailto:nma@12000.org" target="_blank">nma@12000.org</a>><br>To: "<a href="mailto:tex4ht@tug.org" target="_blank">tex4ht@tug.org</a>" <<a href="mailto:tex4ht@tug.org" target="_blank">tex4ht@tug.org</a>><br>Cc: <br>Bcc: <br>Date: Fri, 5 Jul 2019 13:57:44 -0500<br>Subject: Re: [tex4ht] Problem with tex4ht after latest update, adjustbox problem<br>On 7/5/2019 10:18 AM, Michal Hoftich wrote:<br>
> Hi Nasser,<br>
> <br>
>> TL 2019 on linux. I did a diff and I see some new additions in<br>
>> html4.4ht related to adjustbox which looks like the cause of this<br>
>> problem.<br>
> <br>
> I don't get any error with your test file. Maybe you have a older<br>
> version of adjustbox.4ht somewhere? From your log I can see that there<br>
> is no `\Configure{Adjsutbox}`, which is introduced in the current<br>
> adjustbox.4ht distributed in TL.<br>
> <br>
> Best regards,<br>
> Michal<br>
> <br>
<br>
Thanks Michal;<br>
<br>
Yes, I had your adjustbox.4ht sitting in my $HOME folder<br>
which I got from one of your answers here:<br>
<br>
<a href="https://tex.stackexchange.com/questions/490873/problem-with-vertical-alignment-of-text-and-images-in-long-table-when-using-tex4" rel="noreferrer" target="_blank">https://tex.stackexchange.com/questions/490873/problem-with-vertical-alignment-of-text-and-images-in-long-table-when-using-tex4</a><br>
<br>
Once I deleted it, now the errors went away, so things back to normal :)<br>
<br>
Best<br>
--Nasser<br>
<br>
_______________________________________________<br>
tex4ht mailing list<br>
<a href="mailto:tex4ht@tug.org" target="_blank">tex4ht@tug.org</a><br>
<a href="https://tug.org/mailman/listinfo/tex4ht" rel="noreferrer" target="_blank">https://tug.org/mailman/listinfo/tex4ht</a><br>
</blockquote></div>