3.24 Concrete Roman for text with Concrete Math, forcing all to be non-italic

3.24.1 font setting

font_setting.tex

\usepackage{amsmath} 
\usepackage[math-style=upright]{unicode-math} 
 
 
% Set the main text font using TeX Live's actual Concrete filenames 
\setmainfont{cmunorm.otf}[ 
    Extension = .otf, 
    UprightFont = cmunorm, 
    ItalicFont = cmunorm,      % Map italics to the upright file to eliminate it 
    BoldFont = cmunobx,        % TeX Live's Concrete Bold file 
    BoldItalicFont = cmunobx   % Map bold-italics to regular bold 
] 
 
% Use the correct TeX Live filename for Concrete Math 
\setmathfont{Concrete-Math.otf} 
 
%make integral sign upright 
\setmathfont{NewCMMath-Regular.otf}[ 
  range={"222B-"2233, "2A0C-"2A1C}, 
  StylisticSet=2 
]

3.24.2 full latex file

index.tex

3.24.3 commands to compile

 lualatex index.tex

 make4ht  -ulm default -a debug    index.tex "mathjax,htm"

3.24.4 PDF Output

PDF

3.24.5 HTML Output

HTML