Seitenbastelei
This commit is contained in:
parent
7302d43ea4
commit
6ed40660e1
BIN
doc/DRCs.ods
BIN
doc/DRCs.ods
Binary file not shown.
40
makePages.sh
Executable file
40
makePages.sh
Executable file
@ -0,0 +1,40 @@
|
||||
#!/bin/bash
|
||||
# makePages.sh: part of RetroText by Anna Christina Naß
|
||||
# released under GPL
|
||||
#
|
||||
# erstellt für alle CEPT-Seiten (.cm) CEPT-Dateien (.cept) mit Hilfe von tools/makePage.py
|
||||
# Quelldateien: pages/src/*.cm
|
||||
# Zieldateien : pages/*.cept
|
||||
#
|
||||
# Dateien werden nur erstellt (und überschrieben), wenn die Zieldatei älter als die
|
||||
# Quelldatei ist (ähnlich wie bei "make")
|
||||
|
||||
for i in ./pages/src/*.cm; do
|
||||
src=${i}
|
||||
dst=./pages/$(basename ${i} .cm).cept
|
||||
doit=no
|
||||
if [[ $1 == "-f" ]]; then
|
||||
doit=yes
|
||||
fi
|
||||
|
||||
echo -n "${src} -> ${dst}: "
|
||||
|
||||
# Status sammeln und anzeigen
|
||||
if [[ ( ! -e ${dst} ) ]]; then
|
||||
echo -n "xx"
|
||||
doit=yes
|
||||
elif [[ ( ${src} -nt ${dst} ) ]]; then
|
||||
echo -n "++"
|
||||
doit=yes
|
||||
else
|
||||
echo -n "--"
|
||||
fi
|
||||
|
||||
# wenn Ziel nicht existiert oder älter ist, nun Datei neu erzeugen
|
||||
if [[ ${doit} == "yes" ]]; then
|
||||
./tools/makePage.py -i ${src} -o ${dst}
|
||||
echo " ."
|
||||
else
|
||||
echo ""
|
||||
fi
|
||||
done
|
@ -1 +1 @@
|
||||
/B=11 190a=12 1921a=13 200961a/AA›1@# T›0@RetroTextBA#!TCA#!T<>RetroText LeitseiteCf<43>*0#EARetroPulsiv ... 1FAStadtbibliothek Karlsruhe ... 2GAAmiga-Demoseiten ... 3WA#!T‡Xg0aXA
|
||||
/B=11 190a=22 1921a=33 200961a/AA›1@# T›0@RetroTextBA#!TCA#!T<>RetroText LeitseiteCf<43>*0#EARetroPulsiv ... 1FAStadtbibliothek Karlsruhe ... 2GAAmiga-Demoseiten ... 3WA#!T‡Xg0aXA
|
3
pages/19211a.cept
Normal file
3
pages/19211a.cept
Normal file
@ -0,0 +1,3 @@
|
||||
/B&!& &16@xxx@``# ( @GB& " 5@&0G&1I&2O&3C#00@@.1@A@C!@G!@O!@_!@0@@'B@G@1`@p@!x@!|@!x@!p@0@@(@A1@A!C!G~!O|O}_x0G@N@N`]p[pwpnHQ|o|~1p@`@``ApCpGpN@P@`@@@=11 192111a=22 192112a=33 192113a=44 192114a=50 1921a/AA›2@# Q›0@€Stadtbibliothek KarlsruheBA+ @€#!WŽ02Œ €Stadt KarlsruheCA#!W€Ž46Œ Stadtbibliothek K<>Aktuell EA„Termine und VeranstaltungenGAƒRegelmHaûig:
|
||||
€Wissen am Donnerstag N‡... ƒ1€E-Book-Reader Sprechstunde H‡... ƒ2KAƒTermine:
|
||||
€Blickkontakt Frau u. Beruf 16.6. B‡... ƒ3€Lesung Claus Koch 19.6. K‡... ƒ4WA#!W›1@ƒ0›0@€ ... ZurHuckXc‡19211a€XA
|
3
pages/1921a.cept
Normal file
3
pages/1921a.cept
Normal file
@ -0,0 +1,3 @@
|
||||
/B&!& &16@xxx@``# ( @GB& " 5@&0G&1I&2O&3C#00@@.1@A@C!@G!@O!@_!@0@@'B@G@1`@p@!x@!|@!x@!p@0@@(@A1@A!C!G~!O|O}_x0G@N@N`]p[pwpnHQ|o|~1p@`@``ApCpGpN@P@`@@@# GA#.0'Yf =11 19211a=22 19212a=33 19213a=44 19214a=50 0a/AA›2@# Q›0@€Stadtbibliothek KarlsruheBA+ @€#!WŽ02Œ €Stadt KarlsruheCA#!W€Ž46Œ Stadtbibliothek Cc<43>€*1921#EA I›2@ƒHerzlich Willkommen!›0@GA„Aktuell .]‡ ƒ1IA€Standorte und HOffnungszeiten ‡.H ƒ2€Bibliotheksausweis ‡.R ƒ3LAƒHUber uns:
|
||||
€Stadtbibliothek im Neuen StHandehaus ‡.. ƒ4€BibliothekspHadagogik ‡.P ƒ5PAƒUnsere Angebote:
|
||||
€Online-Medien ‡.W ƒ6€Zeitschriften ‡.W ƒ7€Vitrine ‡.] ƒ8WA#!W›1@ƒ0›0@€ . ZurHuckXd‡1921a€XA
|
@ -1,13 +0,0 @@
|
||||
Stadtbibliothek Karlsruhe
|
||||
|
||||
Aktuell
|
||||
|
||||
Regelmäßig:
|
||||
Wissen am Donnerstag ... 1
|
||||
E-Book-Reader Sprechstunde ... 2
|
||||
|
||||
Veranstaltungen:
|
||||
Blickkontakt Frau u. Beruf 16.6. ... 3
|
||||
Lesung Claus Koch 19.6. ... 4
|
||||
|
||||
0 ... Zurück 19211a
|
@ -1,14 +0,0 @@
|
||||
Stadtbibliothek Karlsruhe
|
||||
|
||||
Herzlich Willkommen!
|
||||
|
||||
Aktuell ... 1
|
||||
Standorte und Öffnungszeiten ... 2
|
||||
Bibliotheksausweis ... 3
|
||||
Stadtbibliothek im Neuen Ständehaus ... 4
|
||||
Bibliothekspädagogik ... 5
|
||||
Online-Medien ... 6
|
||||
Zeitschriften ... 7
|
||||
Vitrine ... 8
|
||||
|
||||
1921a
|
@ -1,11 +1,7 @@
|
||||
<ResetPar>
|
||||
<reset_12x10_4c><Dcolorstart><Dcolorpyramide><Dpyramide>
|
||||
<A>11 190a<A>12 1921a<A>13 200961a</A>
|
||||
<ResetPar><A>11 190a<A>22 1921a<A>33 200961a</A>
|
||||
<go><01><01><cls><ColTab1><Sblue><ColTab0>RetroText<go><02><01><Rblue><go><03><01><Rblue><2h>
|
||||
RetroText Leitseite<go><03><38><2h>*0#
|
||||
<go><05><01>RetroPulsiv ... 1
|
||||
<go><06><01>Stadtbibliothek Karlsruhe ... 2
|
||||
<go><07><01>Amiga-Demoseiten ... 3
|
||||
<go><10><01><DRCinG2><G2l><2w>02
|
||||
<go><11><01><2w>46<norm><G0l>
|
||||
<go><23><01><Rblue><white><go><24><39>0a</CEPT>
|
14
pages/src/19211a.cm
Normal file
14
pages/src/19211a.cm
Normal file
@ -0,0 +1,14 @@
|
||||
<ResetPar><Creset><Calt2><reset_12x10_4c><Dcolorstart><Dcolorpyramide><Dpyramide>
|
||||
<A>11 192111a<A>22 192112a<A>33 192113a<A>44 192114a<A>50 1921a</A>
|
||||
<go><01><01><cls><ColTab2><Sc1><ColTab0><black>Stadtbibliothek Karlsruhe
|
||||
<go><02><01><DRCinG3><black><Rwhite><2w><G3>0<G3>2<norm> <black>Stadt Karlsruhe
|
||||
<go><03><01><Rwhite><black><2w><G3>4<G3>6<norm> Stadtbibliothek <rep><11><2h>Aktuell
|
||||
<go><05><01><blue>Termine und Veranstaltungen
|
||||
<go><07><01><yellow>Regelm<uml>a<sz>ig:<br>
|
||||
<black>Wissen am Donnerstag <rep><14><white>... <yellow>1
|
||||
<black>E-Book-Reader Sprechstunde <rep><08><white>... <yellow>2
|
||||
<go><11><01><yellow>Termine:<br>
|
||||
<black>Blickkontakt Frau u. Beruf 16.6. <rep><02><white>... <yellow>3
|
||||
<black>Lesung Claus Koch 19.6. <rep><11><white>... <yellow>4
|
||||
<go><23><01><Rwhite><ColTab1><yellow>0<ColTab0><black> ... Zur<uml>uck
|
||||
<go><24><35><white>19211a<black></CEPT>
|
23
pages/src/1921a.cm
Normal file
23
pages/src/1921a.cm
Normal file
@ -0,0 +1,23 @@
|
||||
<ResetPar><Creset><Calt2><reset_12x10_4c><Dcolorstart><Dcolorpyramide><Dpyramide><Dstart_12x10_2c><Dellipse>
|
||||
<A>11 19211a<A>22 19212a<A>33 19213a<A>44 19214a<A>50 0a</A>
|
||||
<go><01><01><cls><ColTab2><Sc1><ColTab0><black>Stadtbibliothek Karlsruhe
|
||||
<go><02><01><DRCinG3><black><Rwhite><2w><G3>0<G3>2<norm> <black>Stadt Karlsruhe
|
||||
<go><03><01><Rwhite><black><2w><G3>4<G3>6<norm> Stadtbibliothek <go><03><35><2h><black>*1921#
|
||||
|
||||
<go><05><01> <rep><09><ColTab2><yellow>Herzlich Willkommen!<ColTab0>
|
||||
|
||||
<go><07><01><blue>Aktuell <G3>.<rep><29><white> <yellow>1
|
||||
<go><09><01><black>Standorte und <uml>Offnungszeiten <white><G3>.<rep><08> <yellow>2
|
||||
<black>Bibliotheksausweis <white><G3>.<rep><18> <yellow>3
|
||||
|
||||
<go><12><01><yellow><uml>Uber uns:<br>
|
||||
<black>Stadtbibliothek im Neuen St<uml>andehaus <white><G3>.<G3>. <yellow>4
|
||||
<black>Bibliotheksp<uml>adagogik <white><G3>.<rep><16> <yellow>5
|
||||
|
||||
<go><16><01><yellow>Unsere Angebote:<br>
|
||||
<black>Online-Medien <white><G3>.<rep><23> <yellow>6
|
||||
<black>Zeitschriften <white><G3>.<rep><23> <yellow>7
|
||||
<black>Vitrine <white><G3>.<rep><29> <yellow>8
|
||||
|
||||
<go><23><01><Rwhite><ColTab1><yellow>0<ColTab0><black> <G3>. Zur<uml>uck
|
||||
<go><24><36><white>1921a<black></CEPT>
|
9
pages/src/test1a.cm
Normal file
9
pages/src/test1a.cm
Normal file
@ -0,0 +1,9 @@
|
||||
<ResetPar><reset_12x10_2c><Dbtxlogo>
|
||||
<A>10 0a<A>11 1921a</A>
|
||||
<go><01><01><cls><ColTab1><Swhite><ColTab0>RetroText<go><02><01><Rblue><go><03><01><Rblue><2h>
|
||||
RetroText Testseite
|
||||
|
||||
<go><10><02><yellow>:<black><DRCinG0> !"#$%&'()*+,-./0123456789:;<G0inG0><yellow>:
|
||||
<go><09><02><yellow>:<black> !"#$%&'()*+,-./0123456789:;<yellow>:
|
||||
|
||||
<go><23><01><Rblue><white><go><24><35>test1a</CEPT>
|
9
pages/templates/stadtbibliothek.cm
Normal file
9
pages/templates/stadtbibliothek.cm
Normal file
@ -0,0 +1,9 @@
|
||||
<ResetPar><Creset><Calt2><reset_12x10_4c><Dcolorstart><Dcolorpyramide><Dpyramide><Dstart_12x10_2c><Dellipse>
|
||||
<A>11 19211a<A>22 19212a<A>33 19213a<A>44 19214a<A>50 0a</A>
|
||||
<go><01><01><cls><ColTab2><Sc1><ColTab0><black>Stadtbibliothek Karlsruhe
|
||||
<go><02><01><DRCinG3><black><Rwhite><2w><G3>0<G3>2<norm> <black>Stadt Karlsruhe
|
||||
<go><03><01><Rwhite><black><2w><G3>4<G3>6<norm> Stadtbibliothek <go><03><35><2h><black>*1921#
|
||||
<go><05><01> ...
|
||||
|
||||
<go><23><01><Rwhite><ColTab1><yellow>0<ColTab0><black> <G3>. Zur<uml>uck
|
||||
<go><24><36><white>1921a<black></CEPT>
|
@ -1 +1 @@
|
||||
/B# ( @GB& " 5@&0G&1I&2O&3C#00@@.1@A@C!@G!@O!@_!@0@@'B@G@1`@p@!x@!|@!x@!p@0@@&@A"1@A!C!G~!O|O}_x0G@N@N`]p{pgp^Hq|O|~1p@`@!ApCpGp^@p@@@!=11 190a=12 1921a=13 200961a/AA›1@# T›0@RetroTextBA#!TCA#!T<>RetroText LeitseiteCf<43>*0#EARetroPulsiv ... 1FAStadtbibliothek Karlsruhe ... 2GAAmiga-Demoseiten ... 3JA* @nŽ02KAŽ46ŒWA#!T‡Xg0aXA
|
||||
/B# ( @GA#!0@@@@CL@p@pOpqp|p@0@@@@@@@@@@CpO|0@@@@p@L@C|CCcOC@C0pOppppp@L@C@@@@0O|O|ss|O@@@@@@@@0|CCCCC@C@Lp@@@@=10 0a=11 1921a/AA›1@# W›0@RetroTextBA#!TCA#!T<>RetroText TestseiteJBƒ:€( @ !"#$%&'()*+,-./0123456789:;(@ƒ:IBƒ:€ !"#$%&'()*+,-./0123456789:;ƒ:WA#!T‡Xctest1aXA
|
@ -13,10 +13,10 @@ pyramide = ( # 4 Zeichen, 4farbig
|
||||
b"\x31" b"\x40\x41\x40\x43\x21\x40\x47\x21\x40\x4f\x21\x40\x5f\x21\x40\x7f"
|
||||
b"\x30" b"\x40\x40\x27\x42\x40\x47\x40"
|
||||
b"\x31" b"\x60\x40\x70\x40\x21\x78\x40\x21\x7c\x40\x21\x78\x40\x21\x70\x40"
|
||||
b"\x30" b"\x40\x40\x26\x40\x41\x22"
|
||||
b"\x30" b"\x40\x40\x28\x40\x41"
|
||||
b"\x31" b"\x40\x7f\x41\x7f\x21\x43\x7f\x21\x47\x7e\x21\x4f\x7c\x4f\x7d\x5f\x78"
|
||||
b"\x30" b"\x47\x40\x4e\x40\x4e\x60\x5d\x70\x7b\x70\x67\x70\x5e\x48\x71\x7c\x4f\x7c\x7f\x7e"
|
||||
b"\x31" b"\x70\x40\x60\x40\x21\x41\x70\x43\x70\x47\x70\x5e\x40\x70\x40\x40\x40\x21"
|
||||
b"\x30" b"\x47\x40\x4E\x40\x4E\x60\x5D\x70\x5B\x70\x77\x70\x6E\x48\x51\x7C\x6F\x7C\x7F\x7E"
|
||||
b"\x31" b"\x70\x40\x60\x40\x60\x60\x41\x70\x43\x70\x47\x70\x4E\x40\x50\x40\x60\x40\x40\x40"
|
||||
)
|
||||
|
||||
colorpyramide = (
|
||||
@ -25,12 +25,38 @@ colorpyramide = (
|
||||
b"\x1f\x26\x32\x4f"
|
||||
b"\x1f\x26\x33\x43"
|
||||
)
|
||||
|
||||
btxlogo = (
|
||||
b"\x1F\x23\x21"
|
||||
b"\x30\x40\x40\x40\x40\x43\x7F\x4C\x40\x70\x40\x70\x4F\x70\x7F\x71\x7F\x70\x7C\x70\x40"
|
||||
b"\x30\x40\x40\x40\x40\x7F\x7F\x40\x40\x40\x40\x7F\x7F\x7F\x7F\x40\x40\x43\x70\x4F\x7C"
|
||||
b"\x30\x40\x40\x40\x40\x7F\x70\x40\x4C\x40\x43\x7C\x43\x7F\x43\x7F\x63\x4F\x43\x40\x43"
|
||||
b"\x30\x70\x4F\x70\x7F\x70\x7F\x70\x7F\x70\x7F\x70\x40\x4C\x40\x43\x7F\x40\x40\x40\x40"
|
||||
b"\x30\x4F\x7C\x4F\x7C\x73\x73\x7C\x4F\x7F\x7F\x40\x40\x40\x40\x7F\x7F\x40\x40\x40\x40"
|
||||
b"\x30\x7C\x43\x7F\x43\x7F\x43\x7F\x43\x7F\x43\x40\x43\x40\x4C\x7F\x70\x40\x40\x40\x40"
|
||||
)
|
||||
|
||||
# "..." auf "." (2e)
|
||||
ellipse = ( b"\x1f\x23\x2e" b"\x30\x27\x59\x66\x20" )
|
||||
|
||||
# Farbtafel 2 (Farbe Nr. 16-19):
|
||||
alternativefarben = (
|
||||
b"\x1F\x26\x20\x1F\x26\x31\x36" # init + Start ab 16
|
||||
b"\x7F\x40\x78\x78\x78\x40\x60\x60" # Farben 0-3
|
||||
)
|
||||
|
||||
liste = [
|
||||
(b"reset_12x10_4c", b"\x1f\x23\x20\x28\x20\x40\x47\x42"),
|
||||
(b"reset_12x10_2c", b"\x1f\x23\x20\x28\x20\x40\x47\x41"),
|
||||
(b"Dcolorstart", b"\x1f\x26\x20\x22\x20\x35\x40"),
|
||||
(b"Dcolorpyramide", colorpyramide),
|
||||
(b"Dstart_12x10_4c", b"\x1f\x23\x20\x47\x42"),
|
||||
(b"Dstart_12x10_2c", b"\x1f\x23\x20\x47\x41"),
|
||||
(b"Dcolorstart", b"\x1f\x26\x20\x22\x20\x35\x40"), # Änderung der Farbtafel folgt
|
||||
(b"Dcolorpyramide", colorpyramide), # ...hiermit
|
||||
(b"Dpyramide", pyramide),
|
||||
(b"Dbtxlogo", btxlogo),
|
||||
(b"Dellipse", ellipse),
|
||||
|
||||
(b"Creset", b"\x1f\x26\x21"),
|
||||
(b"Calt2", alternativefarben),
|
||||
]
|
||||
|
||||
|
@ -52,14 +52,15 @@ liste = [
|
||||
## DRCs ablegen:
|
||||
(b"DRCinG0", b"\x1b\x28\x20\x40"), (b"DRCinG1", b"\x1b\x29\x20\x40"), (b"DRCinG2", b"\x1b\x2a\x20\x40"), (b"DRCinG3", b"\x1b\x2b\x20\x40"),
|
||||
|
||||
## Umlaute + Eszett:
|
||||
## Umlaute + Eszett: -- dafür muß G2 in G2 liegen!
|
||||
(b"uml", b"\x19\x48"), # folgendes Zeichen erhält Umlautpunkte <uml>a => ä
|
||||
(b"sz", b"\x19\xfb"), # ß
|
||||
|
||||
# Steuerzeichen:
|
||||
(b"CurL", b"\x08"), (b"CurR", b"\x09"), (b"CurU", b"\x0a"), (b"CurD", b"\x0b"), # Cursor bewegen (left/right/up/down)
|
||||
(b"CurL", b"\x08"), (b"CurR", b"\x09"), (b"CurU", b"\x0b"), (b"CurD", b"\x0a"), # Cursor bewegen (left/right/up/down)
|
||||
(b"cls", b"\x0c"), # Clear Screen
|
||||
(b"CR", b"\x0d"), # Cursor zum Zeilenanfang (CR)
|
||||
(b"br", b"\x0d\x0a"), # "CRLF"
|
||||
(b"Cursor", b"\x11"), # Cursor sichtbar
|
||||
(b"/Cursor", b"\x14"), # Cursor unsichtbar
|
||||
(b"blink", b"\x88"), # Blinken an
|
||||
@ -76,7 +77,7 @@ liste = [
|
||||
(b"/u", b"\x99"), # Unterstreichen aus
|
||||
# Zeichenwiederholung: x<Rep><03> => wiederholt x 3x => xxxx
|
||||
# TODO: evtl. noch mehr Zahlenwerte einfügen - aktuell nur bis 40 (s.o.)
|
||||
(b"Rep", b"\x12"),
|
||||
(b"rep", b"\x12"),
|
||||
|
||||
# für ganze Zeile gültige Attribute:
|
||||
(b"Lu", b"\x1b\x23\x21\x5a"), # unterstreichen
|
||||
@ -96,12 +97,21 @@ liste = [
|
||||
# Farben Vordergrund (par) / G1-Satz (ser)
|
||||
(b"black", b"\x80"), (b"red", b"\x81"), (b"green", b"\x82"), (b"yellow", b"\x83"),
|
||||
(b"blue", b"\x84"), (b"magenta", b"\x85"), (b"cyan", b"\x86"), (b"white", b"\x87"),
|
||||
# Alternativ: Referenz per Nummer:
|
||||
(b"c0", b"\x80"), (b"c1", b"\x81"), (b"c2", b"\x82"), (b"c3", b"\x83"),
|
||||
(b"c4", b"\x84"), (b"c5", b"\x85"), (b"c6", b"\x86"), (b"c7", b"\x87"),
|
||||
# Farben Hintergrund (background; par) / L-Satz (ser)
|
||||
(b"Bblack", b"\x90"), (b"Bred", b"\x91"), (b"Bgreen", b"\x92"), (b"Byellow", b"\x93"),
|
||||
(b"Bblue", b"\x94"), (b"Bmagenta", b"\x95"), (b"Bcyan", b"\x96"), (b"Bwhite", b"\x97"),
|
||||
# Alternativ: Referenz per Nummer:
|
||||
(b"Bc0", b"\x90"), (b"Bc1", b"\x91"), (b"Bc2", b"\x92"), (b"Bc3", b"\x93"),
|
||||
(b"Bc4", b"\x94"), (b"Bc5", b"\x95"), (b"Bc6", b"\x96"), (b"Bc7", b"\x97"),
|
||||
# Hintergrundfarbe für ganzen Bildschirm: (Screen)
|
||||
(b"Sblack", b"\x1b\x23\x20\x50"), (b"Sred", b"\x1b\x23\x20\x51"), (b"Sgreen", b"\x1b\x23\x20\x52"), (b"Syellow", b"\x1b\x23\x20\x53"),
|
||||
(b"Sblue", b"\x1b\x23\x20\x54"), (b"Smagenta", b"\x1b\x23\x20\x55"), (b"Scyan", b"\x1b\x23\x20\x56"), (b"Swhite", b"\x1b\x23\x20\x57"),
|
||||
# Alternativ: Referenz per Nummer:
|
||||
(b"Sc0", b"\x1b\x23\x20\x50"), (b"Sc1", b"\x1b\x23\x20\x51"), (b"Sc2", b"\x1b\x23\x20\x52"), (b"Sc3", b"\x1b\x23\x20\x53"),
|
||||
(b"Sc4", b"\x1b\x23\x20\x54"), (b"Sc5", b"\x1b\x23\x20\x55"), (b"Sc6", b"\x1b\x23\x20\x56"), (b"Sc7", b"\x1b\x23\x20\x57"),
|
||||
# Hintergrundfarbe für ganze Zeile (mit Rand):
|
||||
(b"Rblack", b"\x1b\x23\x21\x50"), (b"Rred", b"\x1b\x23\x21\x51"), (b"Rgreen", b"\x1b\x23\x21\x52"), (b"Ryellow", b"\x1b\x23\x21\x53"),
|
||||
(b"Rblue", b"\x1b\x23\x21\x54"), (b"Rmagenta", b"\x1b\x23\x21\x55"), (b"Rcyan", b"\x1b\x23\x21\x56"), (b"Rwhite", b"\x1b\x23\x21\x57"),
|
||||
|
Loading…
Reference in New Issue
Block a user