This commit is contained in:
Adam Skotarczak 2025-09-10 14:00:00 +02:00
parent 51ee34bff3
commit afec1c22b9
13 changed files with 240 additions and 6 deletions

3
.gitignore vendored
View File

@ -66,7 +66,7 @@ Thumbs.db # Windows Explorer
*.zip
# IDEs
.vscode
# .vscode
# LibreOffice
.~lock.*
@ -88,7 +88,6 @@ Thumbs.db
# Custom
Dokumentation/Work/**
#.vscode
*Kopie.qet
*.log
desktop.ini

80
.vscode/cspell.json vendored Normal file
View File

@ -0,0 +1,80 @@
{
"version": "0.2",
"language": "en,de",
"languageSettings": [
{
"languageId": "*",
"enabled": false
},
{
"languageId": "plaintext",
"enabled": true
},
{
"languageId": "markdown",
"enabled": true
},
{
"languageId": "asciidoc",
"enabled": true
}
],
"ignorePaths": [
"node_modules",
"dist",
"build",
"output",
".git"
],
"words": [
"abschranken",
"adoc",
"allpolig",
"arraybackslash",
"AsciiDoc",
"autochapter",
"Autorenrechtlich",
"Buildchain",
"Buildversion",
"clonen",
"Codesys",
"Codesysprogramm",
"DGUV",
"Effizienzkritischen",
"Ethercat",
"Funkengefahr",
"gitcopy",
"kapitel",
"Licence",
"localfonts",
"Logfile",
"makefile",
"Neutralleiter",
"newpage",
"okular",
"Ölflex",
"pandoc",
"Pandoc",
"PDFTheme",
"Pneumatikventile",
"PNOZ",
"Pressenstempel",
"Printversion",
"Projektinterne",
"Propotionalventile",
"raggedright",
"realAscot",
"Schottky",
"Skotarczak",
"tabularx",
"texlive",
"textbf",
"textwidth",
"tocgen",
"versionierten",
"winget",
"Leckagen",
"Mitarbeiter",
"Zustimmtaster",
]
}

9
.vscode/extensions.json vendored Normal file
View File

@ -0,0 +1,9 @@
{
"recommendations": [
"yzane.markdown-pdf",
"yzhang.markdown-all-in-one",
"ms-ceintl.vscode-language-pack-de",
"tomoki1207.pdf"
],
"unwantedRecommendations": []
}

50
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,50 @@
{
// --- Ausgabe ---
"markdown-pdf.type": ["pdf"], // Exportformat(e)
"markdown-pdf.outputDirectory": "./build/", // Zielordner relativ zum Projekt
"markdown-pdf.outputDirectoryRelativePathFile": true,
"markdown-pdf.convertOnSave": true,
// --- Styles ---
"markdown-pdf.styles": [
"docs/markdown-pdf.css" // dein projektspezifisches CSS
],
"markdown-pdf.stylesRelativePathFile": false, // relativer Bezug zum Workspace
"markdown-pdf.includeDefaultStyles": true, // VSCode/Ext.-Default-Styles beibehalten
// --- Syntax-Highlighting ---
"markdown-pdf.highlight": true,
"markdown-pdf.highlightStyle": "github.css", // Alternativen: monokai.css, atom-one-dark.css, ...
// --- PDF-Optionen (Puppeteer) ---
"markdown-pdf.format": "A4", // oder: A3/A5/Letter
"markdown-pdf.printBackground": true,
"markdown-pdf.margin.top": "2.5cm",
"markdown-pdf.margin.bottom": "2.5cm",
"markdown-pdf.margin.left": "2.5cm",
"markdown-pdf.margin.right": "2.5cm",
"markdown-pdf.displayHeaderFooter": true,
//"markdown-pdf.headerTemplate": "<div style='font-size:9px;margin-left:1cm;'><span class='title'></span></div><div style='font-size:9px;margin-left:auto;margin-right:1cm;'>%%ISO-DATE%%</div>",
//"markdown-pdf.footerTemplate": "<div style='font-size:9px;margin:0 auto;'><span class='pageNumber'></span> / <span class='totalPages'></span></div>",
//Platzhalter:
//<span class="date"></span> aktuelles Datum
//<span class="title"></span> Dokumenttitel (Dateiname)
//<span class="url"></span> Dokumentpfad
//<span class="pageNumber"></span> aktuelle Seite
//<span class="totalPages"></span> Gesamtseiten
// Kopfzeile anpassen:
"markdown-pdf.headerTemplate": "<div style='font-size:8px; width:100%; display:flex; justify-content:space-between; margin:0 1cm; color:rgba(0,0,0,0.5);'><span class='title'><span>Seite <span class='pageNumber'></span> / <span class='totalPages'></span></span></div>",
// Fußzeile (Beispiel):
"markdown-pdf.footerTemplate": "<div style='font-size:8px; margin:0 auto; color:rgba(0,0,0,0.5);'>© 2025 - A. Skotarczak - ionivation.com</div>",
// --- Optional: Auto-Konvertierung beim Speichern (mit Neustart von VS Code) ---
// "markdown-pdf.convertOnSave": true,
// "markdown-pdf.convertOnSaveExclude": ["README.md"]
// --- Optional: eigenes Chrome/Chromium statt gebündeltem Chromium ---
// "markdown-pdf.executablePath": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe"
}

View File

@ -1 +1 @@
0.6.0
0.7.0

View File

@ -1,7 +1,15 @@
# Interne Dokumentation
- [**Betriebsmittelkennzeichnung**](./abkuerzungen_international.mdbetriebsmittelkennzeichnung.md)
Die Dokumentation gehört aktuell nicht zuz KiCAD Lib aber diente mir bei der Entwicklung teilweise als Hilfe.
Ich lasse sie vorläufig noch drin bevor diese in eine einheitliche Dokumentation übernommen wird.
- [**Betriebsmittelkennzeichnung**](./abkuerzungen_international.md)
- [PDF](./build/Betriebsmittelkennzeichnung.pdf)
- [**Abkürzungen** (deutsch/ International)](./abkuerzungen_international.md)
- [PDF](./build/abkuerzungen_international.pdf)
- [**Ortskennzeichen**](./ortkennzeichen.md)
- [Listen](./ortskennzeichen_liste.md)
- [PDF](./build/ortkennzeichen.pdf)
- [**Listen**](./ortskennzeichen_liste.md)
- [PDF](./build/ortskennzeichen_liste.pdf)
- [**Farben und Querschnitte**](./farben_querschnitt.md)
- [PDF](./build/farben_querschnitt.pdf)

Binary file not shown.

Binary file not shown.

BIN
docs/build/farben_querschnitt.pdf vendored Normal file

Binary file not shown.

BIN
docs/build/ortkennzeichen.pdf vendored Normal file

Binary file not shown.

BIN
docs/build/ortskennzeichen_liste.pdf vendored Normal file

Binary file not shown.

View File

@ -1,4 +1,4 @@
# 📑 Typische Abkürzungen in Schaltplänen
# 📑 Abkürzungen in Schaltplänen
> (basierend auf DIN 47100 / VDE / IEC)

88
docs/markdown-pdf.css Normal file
View File

@ -0,0 +1,88 @@
/* -------- Grundschrift & Layout -------- */
@page {
size: A4;
margin: 1.5cm;
}
:root {
--text: #222;
--muted: #666;
--accent: #0d6efd; /* Bootstrap-typischer Blauton */
--code-bg: #f6f8fa;
--border: #e5e7eb;
}
html, body {
font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Noto Sans", "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
color: var(--text);
line-height: 1.5;
font-size: 12pt;
}
/* -------- Überschriften-Hierarchie -------- */
h1, h2, h3, h4, h5, h6 { page-break-after: avoid; font-weight: 700; }
h1 { font-size: 22pt; margin: 0 0 0.4cm; border-bottom: 2px solid var(--border); padding-bottom: 0.2cm; }
h2 { font-size: 18pt; margin: 0.6cm 0 0.3cm; }
h3 { font-size: 14pt; margin: 0.5cm 0 0.25cm; }
/* -------- Absatz & Listen -------- */
p { margin: 0 0 0.35cm; }
ul, ol { margin: 0 0 0.35cm 0.6cm; }
li { margin: 0.1cm 0; }
/* -------- Tabellen -------- */
table {
width: 100%;
border-collapse: collapse;
margin: 0.35cm 0;
font-size: 10pt;
}
th, td {
border: 1px solid var(--border);
padding: 6px 8px;
vertical-align: top;
}
th {
background: #fafafa;
text-align: left;
}
/* -------- Code-Blöcke & Inline-Code -------- */
code, pre code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, "Liberation Mono", Consolas, "Courier New", monospace; }
pre {
background: var(--code-bg);
border: 1px solid var(--border);
padding: 10px 12px;
border-radius: 6px;
overflow: auto;
font-size: 10pt;
margin: 0.35cm 0;
}
code {
background: var(--code-bg);
padding: 0 4px;
border-radius: 4px;
}
/* -------- Bilder, Zitate, Links -------- */
img { max-width: 100%; page-break-inside: avoid; }
blockquote {
margin: 0.35cm 0;
padding: 0.01cm 0 0.01cm 0.5cm;
border-left: 3px solid var(--accent);
color: var(--muted);
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
/* -------- Seitenumbruch steuern -------- */
hr, .page { page-break-after: always; border: 0; height: 0; }
/* -------- ToC (optional, falls generiert) -------- */
.toc ul { list-style: none; margin-left: 0; padding-left: 0; }
.toc li { margin: 0.15cm 0; }
/* -------- Mermaid/PlantUML (falls genutzt) -------- */
.mermaid, .plantuml { page-break-inside: avoid; }
/* -------- Emoji Größe anpassbar -------- */
.emoji { height: 1.25em; }