{{ message }}

Instantly share code, notes, and snippets.

# Michal Hoftich michal-h21

Created Apr 2, 2022
Configuration for TeX4ht that uses <th> tags for table header
View config.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
 \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{}} {\HCode{
Created Dec 14, 2021
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
 #!/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 = {
Created Jun 24, 2021
View latex.4ht
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
 % 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
Created Apr 8, 2021
unicode-math support for TeX4ht
View unicode-math-hooks.4ht
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
 \:dontusepackage{unicode-math} \usepackage{fontspec} \NewDocumentCommand \setmathfont { O{} m O{} }{}
Created Mar 26, 2021
View ooffice.4ht
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
 % 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
Created Jan 19, 2021
biblatex.4ht
View biblatex.4ht
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
 % biblatex.4ht (2020-10-05-15:22), generated from tex4ht-4ht.tex % Copyright 2007-2009 Eitan M. Gurari % Copyright 2009-2020 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
Created Aug 28, 2020
Compile with etex fourier.tex to generate HTF files
View fourier.tex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
 % tex {nameofthefile.tex} % % Copyright (C) 2018 TeX Users Group \input tex4ht.sty \Preamble{xhtml,th4,sections+} \EndPreamble \input ProTex.sty %\AlProTex{c,<<<>>>,,title,list,ClearCode,_^} \AlProTex{c,<<<>>>,,title,list,,ClearCode,_^}
Created Aug 19, 2020
View mathml.4ht
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
 % mathml.4ht (2020-08-19-17:51), generated from tex4ht-mathml.tex % Copyright 2009-2020 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
Last active Oct 13, 2019
error with image inclusion
View graphics.4ht
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
 % graphics.4ht (2019-09-12-14:02), generated from tex4ht-4ht.tex % Copyright 1997-2009 Eitan M. Gurari % Copyright 2009-2019 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
Last active Oct 9, 2019
tex4ht configuraton file for xskak.sty. compile with make4ht sample.tex svg
View sample.tex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
 \documentclass[12pt]{article} \ifdefined\HCode \def\pgfsysdriver{pgfsys-dvisvgm4ht.def} \fi \usepackage{xskak} \begin{document} \newchessgame[id=main] \chessboard \end{document}