Salta al contenuto principale




DIN-5008-Briefvorlage mit HTML/CSS (Pandoc, WeasyPrint) ist am Entstehen.

e_es reshared this.

in reply to scy

Könntest du dein CSS & HTML wenn du fertig bist vielleicht öffentlich machen?

Ich habe mir vor kurzem einen abgebrochen, so ein Template basierend auf ein paar frei verfügbaren Vorlagen zu basteln, und musste eklige CSS-Dinge tun - da wäre ein Vergleichsobjekt klasse 😅

in reply to mindsolve

@mindsolve Ja, sowieso. Das meiste, das ich mache, wird irgendwann open source. Werd's wahrscheinlich hier im Thread verlinken.
in reply to scy

Okay, das ist jetzt gut genug, um's mal zu releasen.

Pan5008 ist eine HTML- und CSS-Vorlage, um mit Pandoc halbwegs mit DIN 5008 konforme Briefe aufzusetzen. Es kommt ganz ohne LaTeX aus und ist deshalb angenehmer anzupassen für Leute, die in Webtechnologien zu Hause sind.

Eingabedokumente können Markdown sein, oder prinzipiell beliebige andere von Pandoc unterstützte Formate.

Es gibt "Profile", um z.B. bequem unterschiedliche Designs zu definieren.

codeberg.org/scy/pan5008

#Pandoc #DIN5008

in reply to scy

Gibt's schon was, das #XRechnung in ein HTML-Fragment konvertiert? Dann könnte ich jetzt mit Pan5008 vielleicht in absehbarer Zeit mal die hässlichen Rechnungen loswerden, die meine Buchhaltungssoftware so rauslässt.

#eRechnung

e_es reshared this.

in reply to scy

Sowas in der Art? typst.app/universe/package/inv…

Wobei ich mich ja Frage ob da nicht eher bald dieses XML Format für die E-Rechnung wichtiger wird als Output

in reply to scy

Heute den Großteil des Tages damit verbracht, ne E-Rechnung einzulesen, dann per Jinja in HTML und YAML zu gießen und schließlich mit Pandoc zu rendern.

Es ist noch nicht fertig, und ich fürchte, ich muss mir ne andere Library für's Einlesen suchen. github.com/pretix/python-draft… von @pretix bzw. @rami scheint sehr aufs Generieren ausgerichtet zu sein, Einlesen ist eher quirky.

Experimentellen, unfertigen Code gibt's hier, aber ohne Support und alles.

codeberg.org/scy/pan5008/src/b…

#Pan5008 #eRechnung

Questa voce è stata modificata (2 mesi fa)
in reply to scy

Also, stimmt schon, dass die Library fürs generieren gebaut wurde und wir sie nur dafür nutzen bisher, aber in der Theorie™️ ist sie ja schon beides, ich wäre neugierig: Was macht das Einlesen quirky?
in reply to Raphael

@rami Problem Nr. 1: Bei manchen Attributen hab ich keinen Weg gefunden, auf ihre einzelnen Bestandteile zuzugreifen, außer über private Attribute oder .to_etree():

codeberg.org/scy/pan5008/src/c…

codeberg.org/scy/pan5008/src/c…

Problem 2 ist mehr so kosmetisch: Ein paar der Klassen könnten direkte Iterierbarkeit vertragen, damit ich nicht über .children gehen muss:

codeberg.org/scy/pan5008/src/c…

codeberg.org/scy/pan5008/src/c…

in reply to scy

huh, also problem 1 ist auf jeden fall nicht so gedacht, spannend
in reply to Raphael

@rami Also, vielleicht hab ich auch irgendne Magie übersehen, bin da definitiv offen für ein "you're holding it wrong".
in reply to scy

also ich finde das ist richtig geil 🤩. Muss ich kommende Woche unbedingt mal ausprobieren.
in reply to scy

Sehr geil! Was sind die funktionellen Vorteile deiner Lösung gegenüber den existierenden DIN5008 Vorlagen die auf LaTeX basieren?
in reply to josch

@josch

• Du brauchst keine LaTeX-Installation.
• Du musst kein TeX können, um Dokumente zu schreiben.
• Du musst kein TeX können, um irgendwas an der Vorlage anzupassen.

Und keine Ahnung inwiefern bestehende Lösungen das auch können, aber

• Du kannst im YAML-Font-Matter bestimmen, welches Profil (quasi welche "Vorlage") verwendet wird.
• Das Quell-Markdown kann auf Wunsch im PDF eingebettet werden.

in reply to scy

Okay, Leute mögen das anscheinend 💚

Ich hab die Doku mal um ein paar Warnungen ergänzt. 🫠 Insbesondere kann es halt sein, dass sich das Default-Design noch ändert und/oder zukünftige Versionen eure bestehenden Dokumente anders rendern als zuvor. (Aber es gibt ein Changelog.)

codeberg.org/scy/pan5008#break…

Es gibt jetzt auch ne FAQ, bislang mit Fokus auf die WeasyPrint-Installation:

codeberg.org/scy/pan5008#faq

Und ne Empfehlung bezüglich Überschriften:

codeberg.org/scy/pan5008#headi…

#Pan5008

in reply to scy

So etwas für eine Doktorarbeit ...
Meine Freundin muss demnächst eine verfassen, kommt mit LaTeX nicht klar und hat Angst, das Word ihre Arbeit frisst.

(Ich versuche gerade ihr LibreOffice näher zu bringen)

in reply to bodsch

@bodsch Sollte mit Pandoc eigentlich auch kein Problem sein. Es hat sogar irgendwelche Features für Quellenangaben und so (pandoc.org/MANUAL.html#citatio…). Ob's da schon nette Design-Templates gibt, kann ich dir nicht sagen, und da ich nie ne Diss geschrieben habe, weiß ich auch nicht, was die Requirements sind.

Ob Markdown flexibel genug für ne Doktorarbeit ist, kommt wahrscheinlich auch sehr auf das Themengebiet an, vielleicht sind djot oder AsciiDoc besser. Pandoc unterstützt beides.

in reply to scy

Gretchenfrage: DIN 5008 Form A oder Form B?^^
in reply to scy

have you seen Deinis Defreyne's (author of Nanonc static site generator) manuscript compiler? Similar use of Markdown to generate properly-formatted literary works github.com/denisdefreyne/manus…



Young people will never know how much less complicated things were back then.

#technology #humour



Chinatown, Manhattan, New York, USA, 2012.
I cannot resist adding the following quote: "I’m astounded by people who want to ‘know’ the universe when it’s hard enough to find your way around Chinatown." Woody Allen.
#photography #streetphotography #Chinatown #Manhattan #NewYork #USA


Israeli Commandos Attacked Iranian Air Defenses With Drones From Inside The Country


Source: twz.com/air/israel-hid-drones-…

While details understandably remain thin, the implication is that #Mossad meticulously prepared for the attack over many months, including placing agents in Iran. From there, they would operate one-way #attack drones and loitering anti-armor missiles, as well as establish a covert drone base “in the heart of Iran,” to neutralize Iranian air defenses and create other critical effects to kick off the long-awaited campaign.


#war #conflict #warfare #military #Iran #Israel #airstrike #defense #news



Hi Friends!
This is the scene at a store where propane tanks are refilled near my home in Huntington Station, #LongIsland. A man, with cash in hand, waits for his tank under the shade of the pop-up canopy. This was photographed on July 5th.

#NewYork
#photography



AfD probiert es mit Kreide – „Remigration“ fehlt in Grundsatzpapier tichyseinblick.de/daili-es-sen… Linke mögen ihre Gegner gerne platt. Das ist die Ebene, auf der sie sich wohl fühlen. Die AfD-Fraktion im Bundestag hat sich an diesem Wochenende zu einer Klausur zurückgezogen, um ein politisches Grundsatzpapier zu erarbeiten. In der Berichterstattung linker Medien spielte vor allem das Vorhaben der Abgeordneten eine Rolle,


Credo che possa essere utile per chi abita in Lombardia. Direttamente da Arpa

play.google.com/store/apps/det…

in reply to Lucky_Luke

Senza installare nulla: Centro Meteo Lombardo. Sul sito anche una mappa della Lombardia che col Radar Precipitazioni fornisce indicazioni sul meteo in tempo reale.

centrometeolombardo.com/radar/

in reply to 𐌐𐌀Ꝋ𐌋Ꝋ

@steek_hutzee opsss. E pensare che ho anche un un link diretto alla pagina della stazione meteo della mia cittadina su centro meteo lombardo .......



Putin dimissiona il suo ministro dei Trasporti che ritrovano morto poco dopo, quando si dice la sfiga….

Dal Cremlino nessun commento [.....]

veneto.gaiaitalia.com/ultime-n…



Gaia Pardini da Pescia è Miss Capezzano Pianore: una serata all’insegna della bellezza
La 23enne è stata incoronata dal sindaco di Camaiore Marcello Pierucci e dalle rappresentanti del locale Ccn

luccaindiretta.it/cultura-e-sp…






in reply to Anders von Hadern 🐦‍🔥

Das Bild zeigt eine atemberaubende Landschaft bei Sonnenuntergang. Im Vordergrund ist ein steinerner Mauerabschnitt zu sehen, der einen Blick auf das Tal und die umliegenden Hügel ermöglicht. Die Sonne steht am Horizont und taucht den Himmel in warme Orange- und Gelbtöne, während die Umgebung in ein sanftes Licht getaucht wird. Im Tal sind mehrere Gebäude mit roten Dächern zu erkennen, die von Bäumen und Grünflächen umgeben sind. Die Landschaft erstreckt sich weit in die Ferne, wobei die Hügel sanft in die Ferne verschwinden. Die Szene vermittelt eine ruhige und idyllische Atmosphäre, die die Schönheit der Natur und die Architektur in harmonischem Zusammenhang zeigt.

Bereitgestellt von @altbot, privat und lokal generiert mit Ovis2-8B

🌱 Energieverbrauch: 0.199 Wh





Award-Winning Artist Javaka Steptoe Centers Community on Visit to Minneapolis anarchistfederation.net/award-…


#sommerloch
Ich wollte es Euch nur aus erster Hand wissen lassen.
In unserer Straße treibt sich ein exotisches Tier herum.
Nein, es ist kein #Wels

#photo #photography



Bluesky can really keep up with the news now that it has activity notifications thever.ge/YWDE #SocialMedia #Apps #News #Tech



Hexaware Expands to Chicago: New Office Opens
Read: gadgetsgadder.com/news/hexawar…

#Technology #News



Bravissimo Stefano Rizzo.

Il cane pazzo (come ottenere il Nobel per la pace)
ytali.com/2025/07/07/il-cane-p…


in reply to Ada 🏳️‍⚧️

The image shows an indoor scene of a fast-food restaurant. In the foreground, a hand is holding a partially empty Coca-Cola bottle with a red cap, positioned in front of a camera on a table. The text overlay reads, "I could probably walk over and refill this without anyone noticing lol." The background features a Panda Express restaurant with a visible counter and seating area. Several people are seated at tables, and the restaurant has a modern design with tiled flooring and a white ceiling. The atmosphere appears casual and relaxed.

Provided by @altbot, generated privately and locally using Ovis2-8B

🌱 Energy used: 0.143 Wh



Baby flower

blipfoto.com/entry/33889826568…

#blip #blipfoto #Photography #gimp #rawtherapee #hydrangea #flower #france #brittany



Un passo alla volta, si procede 😎

Bluesky users can customize their notifications, including activity alerts from their favorite accounts techcrunch.com/2025/07/07/blue…




#Anthrocon photos all cropped and uploaded to #Furtrack. I took something on the order of 200 pictures of the #fursuit parade on Saturday. #ac2025

🐕 @arrowt.bsky.social



Today, a RICO trial begins for Ayla King, the first of many who will be tried in waves for Stop Cop City activism.

“in accusing Ayla and 60 people Ayla had never met of beginning a criminal conspiracy together on the day that police murdered George Floyd, Carr and his cronies show that the premise for this trial is chiefly constructed from their paranoid fantasies.”

crimethinc.com/2025/07/06/the-…

#RICO #Trial #AylaKing #Atlanta #StopCopCity

Unknown parent



Ich habe gerade geerntet. 1/3 schätze ich. Ein weiteres Drittel hängt noch an Strauch, das letzte Drittel liegt bereits als Fallobst im Beet #Aussengehege
in reply to Fuchsmädchen

Das Bild zeigt eine blaue Spülkelle, die mit frischen, grünen und braunen Gänseblümchen gefüllt ist. Die Gänseblümchen sind in verschiedenen Reifegraden zu sehen, einige sind noch grün, während andere eine braune Färbung aufweisen. Einige der Früchte haben noch ihre grünen Stiele und Blätter beibehalten. Die Kelle ist mit Wasserflecken bedeckt, was darauf hindeutet, dass die Früchte frisch gewaschen wurden. Ein Teil einer Hand mit langen, weißen Nagellacken ist sichtbar, die die Kelle hält. Der Hintergrund ist unscharf und zeigt einen hellen Holzboden.

Bereitgestellt von @altbot, privat und lokal generiert mit Ovis2-8B

🌱 Energieverbrauch: 0.197 Wh



Now might be the perfect opportunity for American companies to reshore the critical industry of “Waifu body pillows”. Just sayin’ mastodon.social/@verge/1148136…


Au cœur de la machine suprémaciste hindoue
monde-diplomatique.fr/2025/07/…

"L'extrême droite gagne du terrain un peu partout sur la planète. Dans certains cas, elle semble surgir de façon inattendue à l'issue d'un scrutin. Il arrive aussi qu'elle récolte les fruits d'un long travail de labour. C'est par exemple le cas en Inde où l'organisation phare du suprémacisme hindou, (...)
/ Hindouisme, Inde - 2025/07"



Revolut°Permanente🚩 Répression massive : vingt-neuf manifestants arrêtés à Londres pour leur soutien à Palestine Action 🚩RP #Palestine #SoutienPalestinien #ActionPalestine #Londres #Répression

Répression massive : vingt-neu...




Ja els tenim aquí, finalment, els camps de concentració i extermini.

vilaweb.cat/noticies/israel-pl…


in reply to Gentleman Explorer

The image features an abstract painting with a striking contrast between a dark background and a vibrant golden-yellow central form. The background is a deep black, providing a stark canvas that enhances the luminosity of the golden-yellow area. This central form is textured and appears to be thickly applied, creating a sense of depth and dimension. It resembles a flowing river or a path, with irregular edges and splatters that suggest movement and spontaneity. The golden-yellow color is rich and varied, with some areas appearing more fluid and others more solid, adding to the dynamic quality of the piece. Thin, delicate lines of the same golden-yellow color are scattered across the black background, creating a network of fine, organic shapes that complement the central form. The overall composition is balanced, with the golden-yellow form drawing the eye along its winding path, while the splatters and lines add complexity and interest to the surrounding space.

Provided by @altbot, generated privately and locally using Ovis2-8B

🌱 Energy used: 0.212 Wh



Explore The Art of Storytelling with Clover Press' Humble Bundle. Help support The Hero Initiative! #comics #comicbooks

graphicpolicy.com/2025/07/07/e…





Revolut°Permanente🚩 Répression massive : vingt-neuf manifestants arrêtés à Londres pour leur soutien à Palestine Action: Vingt-neuf manifestants ont été arrêtés à Londres après avoir affiché leur soutien à « Palestine Action », désormais classée organisation terroriste au Royaume-Uni. Un durcissement inédit de la criminalisation des soutiens du peuple palestinien.Politique / Répression / Palestine /… revolutionpermanente.fr/Repres… 🚩RP #Palestine #SoutienPalestinien #ActionPalestine #Londres #Répression



I think we all know why they are saying there’s no list now. Guess who’s all over it and in lots of pictures and videos?
in reply to George Takei 🏳️‍🌈🖖🏽

See, the list was on Pam’s desk, then a wind draft pushed it over the edge into the shredder that happened to be right there. Who could have predicted that huh.


🌞 Mainiu's automatic car awnings are becoming popular in China to avoid cars becoming boiling hot when parked outside during the summer.



"Bajo la bandera de la lucha contra el tráfico ilícito de personas, la agencia europea de vigilancia de fronteras, Frontex, recopiló durante años datos personales mediante interrogatorios encubiertos a migrantes tras su llegada a Europa que carecieron de garantías jurídicas básicas. Entre 2016 y 2023, esta agencia cedió ilegalmente los datos de más de 13.000 personas a Europol, la agencia policial de la UE. Allí fueron almacenados en archivos de inteligencia criminal para ser utilizados en investigaciones policiales de los Estados miembros. Una investigación de Le Monde, Solomon y EL PAÍS —basada en cientos de páginas de documentos internos y entrevistas con expertos en protección de datos y abogados— revela la implicación de Frontex y Europol en prácticas opacas y legalmente cuestionables que conducen a la criminalización de migrantes y activistas de la UE que los ayudan o han estado en contacto con ellos. La agencia de fronteras se vio obligada a cambiar sus protocolos de transferencia de datos tras el informe de un organismo independiente de la Unión que considero esta práctica ilegal.

“Toda mi vida estaba en ese archivo policial: mis familiares, las llamadas a mi madre, incluso detalles falsos sobre mi vida sexual. Querían presentarme como promiscua, lesbiana, usando la moralidad para hacerme parecer sospechosa”, afirma Helena Maleno (54 años), defensora de derechos humanos española que estuvo en el punto de mira de las fuerzas del orden por su labor de informar a las autoridades sobre personas en peligro al intentar llegar por mar a Europa."

elpais.com/internacional/2025-…

#UE #Europol #Frontex



RT’s Rick Sanchez interviews Russia’s top peace negotiator Medinsky | RT Documentary odysee.com/Sanchez_Effect:dc6d…


Schweizer Politikerin soll Teil eines Drogenrings sein exxpress.at/news/schweizer-pol… DNA-Spuren auf Kokain-Tütchen belasten grüne Gemeinderätin aus Genf – auch ihr Sohn und Ehemann verhaftet. Polizei spricht von organisiertem System mit Millionenumsatz. #news #press




Wir wollen alle ganz lieb sein hier im Fediverse und konstruktiv miteinander im Dialog sein und ja.
Dann kommt unsere @Bundesregierung und schreibt sowas ins Netz:
social.bund.de/@Bundesregierun…

FressenKönnen < KotzenWollen



in reply to Ariadne Conill 🐰

the other ones? fine. they were the only vendor for basically ever with a serious EV game. i get it, i own a pre-bromance tesla for that reason (though i would not ever get another one as long as elon remains CEO).

the cybertruck though? you pretty much have to be an elon sycophant to want to buy that thing. other, more reasonable options exist for EV trucks. and some equally unreasonable like the new hummer…




This could pose a problem! Be vigilant guys and gals.

Free certificates for IP addresses: security problem or solution? malwarebytes.com/blog/news/202…

#cybersecurity #infosec

in reply to CybersecKyle

So “people would notice a link to mybank.com going to hahapwned.com but not to 89.72.4.2?”

People are more likely, not less, to smell something fishy if they see a random string of digits when they expect the name of a site they trust.

If this is the only argument against certificates for IP addresses, I think we’re good.

reshared this

in reply to Aral Balkan

Great point — and I agree that most users would be suspicious if they saw an IP address like 89.72.4.2 instead of a familiar domain like mybank.com. The concern raised in the article, though, was more about scenarios where users don’t see the link clearly — such as in emails, PDFs, or messaging apps where URLs may be masked behind anchor text or shortened links. For example, a phishing email might show a link that says “View Invoice” but actually points to https: //203.0.113.10/login.

Experienced users like you and I know to hover over links, check certificate info, or inspect the address bar. But many users don’t do that — or worse, they click links without verifying anything. According to the Verizon DBIR and other phishing studies, this is still one of the top attack vectors today.

Also, I don’t think the article was arguing against IP certs outright — just highlighting that, like with any new capability, there's potential for abuse that the broader public (and infosec community) should be aware of.

#CyberSecurity #Phishing #DigitalTrust #TLS

Questa voce è stata modificata (2 mesi fa)
in reply to Aral Balkan

@aral
also it's not like this is something new. I am pretty sure Cloudflare has a certificate for 1.1.1.1 even if it redirects to a domain.
And even without LE there are other CAs offering certificates for IP addresses.


lucinda apples, painted by william henry prestele, 1895