[tex4ht] tex4ht Digest, Vol 114, Issue 2

Alexandre Roberts alexandre.roberts at gmail.com
Sat Jul 6 13:23:26 CEST 2019


Dear all,

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:
https://tex.stackexchange.com/questions/495709/producing-odt-arabic-edition-with-apparatus-in-parnotes-via-tex4ht-customizing

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!

Best wishes,
Alex

On Sat, Jul 6, 2019 at 12:00 PM <tex4ht-request at tug.org> wrote:

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


More information about the tex4ht mailing list