Skip to content

Instantly share code, notes, and snippets.

% html4-math.4ht (2022-10-05-23:03), generated from tex4ht-html4.tex
% Copyright 2009-2022 TeX Users Group
% Copyright 1999-2009 Eitan M. Gurari
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either
% version 1.3c of this license or (at your option) any
% later version. The latest version of this license is in
% http://www.latex-project.org/lppl.txt
% and version 1.3c or later is part of all distributions
%% mhchem.4ht
%% 2021-12-31
%% Copyright 2015-2021 Martin Hensel
%
%% This file is part of the mhchem bundle for LaTeX
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License version 1.3c
% which is included as lppl-1-3c.txt.
%
% latex.4ht (2022-06-22-11:28), generated from tex4ht-4ht.tex
% Copyright 1997-2009 Eitan M. Gurari
% Copyright 2009-2022 TeX Users Group
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either
% version 1.3c of this license or (at your option) any
% later version. The latest version of this license is in
% http://www.latex-project.org/lppl.txt
% and version 1.3c or later is part of all distributions
<!DOCTYPE html>
<html lang='bn' xmlns:epub='http://www.idpf.org/2007/ops' xmlns='http://www.w3.org/1999/xhtml'>
<head><title>1 First Chapter</title>
<meta charset='UTF-8' />
<meta content='TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)' name='generator' />
<link href='sample.css' rel='stylesheet' type='text/css' />
</head><body>
<!-- l. 25 --><div class='crosslinks'><p class='noindent'></p></div>
<h2 class='chapterHead' id='first-chapter'><span class='titlemark'>অধ্যায় ১</span><br /><a id='x3-20001'></a>First Chapter</h2>
<h3 class='likesectionHead' id='first-section'><a id='x3-3000'></a>First Section</h3>
% jats.4ht (2022-06-16-15:53), generated from tex4ht-jats.tex
% Copyright 2022 TeX Users Group
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either
% version 1.3c of this license or (at your option) any
% later version. The latest version of this license is in
% http://www.latex-project.org/lppl.txt
% and version 1.3c or later is part of all distributions
% of LaTeX version 2005/12/01 or later.
@michal-h21
michal-h21 / config.cfg
Created April 2, 2022 18:08
Configuration for TeX4ht that uses <th> tags for table header
\Preamble{xhtml}
\catcode`\:=11
% configuration for tabular with support of change of table cell tag
% this code comes from TeX4ht sources
% default table cell tag:
\def\tablecelltype{td}
\Configure{tabular}
{\ifvmode \IgnorePar\fi \EndP \halignTB{tabular}\putVBorder }
{\HCode{</table>}}
{\HCode{<tr \Hnewline}\halignTR
#!/usr/bin/env texlua
-- get feed from gemini or https, and replace links to gemini with links to HTML proxy
-- it is meant for use with Newsboat.
-- to use it, add a similar line to your "urls" file:
-- "exec: gemrss gemini://marginalia.nu/log/feed.xml"
local socket = require("socket")
local ports = {gemini = 1965, https = 443, http = 80}
local commands = {
% latex.4ht (2021-06-24-21:37), generated from tex4ht-4ht.tex
% Copyright 1997-2009 Eitan M. Gurari
% Copyright 2009-2021 TeX Users Group
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either
% version 1.3c of this license or (at your option) any
% later version. The latest version of this license is in
% http://www.latex-project.org/lppl.txt
% and version 1.3c or later is part of all distributions
@michal-h21
michal-h21 / unicode-math-hooks.4ht
Created April 8, 2021 20:33
unicode-math support for TeX4ht
\:dontusepackage{unicode-math}
\usepackage{fontspec}
\NewDocumentCommand \setmathfont { O{} m O{} }{}
% ooffice.4ht (2021-01-07-14:02), generated from tex4ht-ooffice.tex
% Copyright 2009-2019 TeX Users Group
% Copyright 2001-2009 Maarten Wisse, James Naughton, Eitan M. Gurari
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either
% version 1.3c of this license or (at your option) any
% later version. The latest version of this license is in
% http://www.latex-project.org/lppl.txt
% and version 1.3c or later is part of all distributions