Changes

Jump to navigation Jump to search
2,688 bytes added ,  10:02, 12 May 2019
m
no edit summary
<pre>
The result is here: [[File:wiki-yfrak.pdf]]
See also [5], the 6th verse.
</pre>
----
<pre>
\starttext
\ufa \glqq Ein Hundert Ba\tz en mein Gebot,\\ \q Falls du die Kun\st\ be\s i\tz e\st;\\ Do\ch, merk' es dir, di\ch\ \st e\ch' i\ch\ todt,\\ \q So du die Haut mir ri\tz e\st.\grqq\\ Und der Ge\s ell: \glqq Den Teufel auch!\\ Das i\s t des Landes ni\ch t der Brau\ch.\grqq\\ \q Er läu\ft\ und \s\ch i\ck t den Jungen.
\stoptext
</pre>
<pre>
After having done so, the same text will be "tweaked" by "\ufb". Compare the two prints. The result is here: [[File:wiki-yfrak.pdf]] See also [5], the 6th verse.
</pre>
<pre>
1. If we really succeeded in downloading "Leipzigfraktur_font.zip" in the advertising jungle from [3a],
we can unzip it and get:
</pre>
<pre>
We'll take "Leipzig Fraktur Normal.otf", but as brave linuxers we don't like MS-gaps in file names
and alter this one into "Leipzig_Fraktur_Normal.otf", before we store the file into the ConTeXt tree
".../tex/texmf-local/".
</pre>
 
<pre>
2. We run following programs:
 
mtxrun --generate
mtxrun --script fonts --reload
mtxrun --script fonts --list --all --pattern=leipzig*
 
With the last command we should get following output:
 
identifier familyname fontname filename subfont instances
 
leipzigfraktur leipzigfraktur leipzigfrakturnormal Leipzig_Fraktur_Normal.otf
leipzigfrakturnormal leipzigfraktur leipzigfrakturnormal Leipzig_Fraktur_Normal.otf
</pre>
 
<pre>
3. We can see the provided ligatures of the font by the following commands,
but pay attention, their index numbers are hexadecimal:
 
starttext
\usemodule [fnt-10]
\ShowCompleteFont{name:leipzigfrakturnormal}{14pt}{1}
\stoptext
</pre>
 
<pre>
4. Providing an example of ConTeXt commands for leipzigfrakturnormal:
More extensive examples of font defining you can see in [4] (Willi Egger)
</pre>
 
<pre>
\definefont [XIVleip] [leipzigfrakturnormal at 14pt] [.75]
 
\def\q{\hbox{}\hskip12pt } % indentation 12pt in some verses text lines
\def\glqq {\char 8222 } % ,, (German left-quotation)
\def\grqq {\char 8220 } % " (German right-quotation)
\def\s {\$ } % round s
\def\ae {\char 228 } % German umlaut ä
\def\ch {\char 224 } % Ligature ch
\def\ck {\char 225 } % " ck
\def\tz {\char 250 } % " tz
\def\st {\char 249 } % " st
\def\ft {\char 237 } % " ft
\def\ll {l\hskip-.5pt l} % " ll
\def\sch {s\hskip-1pt\ch } % " sch (tweaked)
 
% No ordinary exclamation mark "!" available, but a spanish upside down one: "\char 161".
% So we have to rotate it by 180° and push it 6pt higher:
\setbox0=\hbox{\lower-6pt\hbox{\rotate[rotation=180]{\char 161 }}}
</pre>
 
<pre>
\starttext
 
\XIVleip
\glqq Ein Hundert Ba\tz en mein Gebot,\\
\q Fa\ll\s\ Du die Kun\st\ besi\tz e\st;\\
Do\ch, merk' e\s\ dir, di\ch\ \st e\ch' i\ch\ todt,\\
\q So du die Haut mir ri\tz e\st.\grqq\\
Und der Gese\ll: \glqq Den Teufel auch\copy0\\
Da\s\ i\st\ de\s\ Lande\s\ nicht der Brau\ch.\grqq\\
\q Er l\ae u\ft\ und \sch i\ck t den Jungen.
 
\stoptext
</pre>
 
<pre>
The result is here: [[File:wiki-leipzigfrakturnormal.pdf]]
See also [5], the 6th verse.
</pre>
----
57

edits

Navigation menu