Initial commit: Klammertext source distribution

Curated source subset assembled by klammertext-dev's doc/make_dist.sh: the Klammermachine (mac), the Standard Klammer Set (sks), the commands (com), editor plugins and install guides (doc), a test subset (tst), and lib/bin placeholders. Builds with 'make -C com'.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-07-18 18:48:23 +02:00
commit 2ba7ceee7a
272 changed files with 27634 additions and 0 deletions

52
sks/form/page.k Normal file
View File

@@ -0,0 +1,52 @@
@@page.html body :title :
<html>
<head>
<meta charset="utf-8">
<title>*title*</title>
<style>
body { font-family:Palatino,roman; margin:2em 5em; }
tt,pre { font-family:Courier,monospace; }
.big { font-size:125%; }
.wide { padding: 0 .25em 0 .25em; }
</style>
</head>
<body>
<center><b>*title*</b></center>
*body*
</body>
</html>
@@
@@page.tex body :title :
\documentclass[a4paper,10pt]{article}
\usepackage{fontspec}
% https://tex.stackexchange.com/questions/50586/how-to-use-palatino-like-math-fonts-in-xelatex
\usepackage{fontspec}
\usepackage{mathpazo}
\setmainfont
[ BoldFont = texgyrepagella-bold.otf ,
ItalicFont = texgyrepagella-italic.otf ,
BoldItalicFont = texgyrepagella-bolditalic.otf ]
{texgyrepagella-regular.otf}
\setsansfont[Scale=MatchLowercase]{Open Sans}
\setmonofont{Inconsolatazi4-Regular.otf}[Scale=MatchLowercase]
\usepackage{calc}
\usepackage{fancyvrb}
\usepackage[strings,nohyphen]{underscore}
\usepackage{titletoc}
\setlength{\marginparwidth}{1in}
\setlength{\textwidth}{210mm-2in}
\setlength{\textheight}{297mm-1.5in}
\setlength{\parskip}{6pt}
\setlength{\parindent}{0pt}
\setlength{\hoffset}{-1in}
\setlength{\voffset}{-1in}
\begin{document}
\begin{center}
\textsf{\large *title*}
\end{center}
*body*
\end{document}
@@