[tex4ht] question on make4ht config.lua

Nasser M. Abbasi nma at 12000.org
Sat Apr 16 06:50:17 CEST 2022


Small question on make4ht config.lua

I have it in ~/.config/make4ht/config.lua  and I see an INFO saying
it found it. Then later on I see another INFO message saying cannot open
config file config.lua

Is the second message due to trying to open a diffeent config.lua? Why does it
say cannot open it otherwise?

----------------
make4ht --shell-escape -ulm default -a debug
         -c nma_mathjax.cfg -e config.lua index.tex
         'mathjax,htm,fn-in,4,notoc*,p-width,charset=utf-8'
         '-cunihtf -utf8' '' --interaction=batchmode

[INFO]    mkparams: Output dir:
[INFO]    mkparams: Compiler: dvilualatex
[INFO]    mkparams: Latex options: -jobname='index'  --interaction=batchmode -shell-escape
[INFO]    mkparams: tex4ht.sty: nma_mathjax.cfg,mathjax,htm,fn-in,4,notoc*,p-width,charset=utf-8,charset=utf-8
[INFO]    mkparams: tex4ht:  -cunihtf -utf8
[INFO]    mkparams: build_file: config.lua
[INFO]    mkparams: Output format: html5
[STATUS]  make4ht: Conversion started
[STATUS]  make4ht: Input file: index.tex
[INFO]    make4ht: Using configuration file: /home/me/.config/make4ht/config.lua
[INFO]    mkutils: Using build file     /home/me/.config/make4ht/config.lua
[INFO]    mkutils: Load extension       common_domfilters
[INFO]    mkutils: Cannot open config file      config.lua     <-----???
[INFO]    make4ht-lib: setting param correct_exit
[INFO]    make4ht-lib: setting param correct_exit
[INFO]    make4ht-lib: setting param correct_exit
[INFO]    make4ht-lib: setting param ext
[INFO]    make4ht-lib: Adding:  ext     dvi
-------------------------

Here is the location of my file

>pwd
/home/me/.config/make4ht
>ls -lr config.lua
-rwxr-xr-x 1 me me 2596 Apr  7 10:37 config.lua
>

This is on Ubuntu 20.04 under windows 10 WSL2 Linux subsystem.

Thank you
--Nasser


More information about the tex4ht mailing list.