mastodon.xyz is one of the many independent Mastodon servers you can use to participate in the fediverse.
A Mastodon instance, open to everyone, but mainly English and French speaking.

Administered by:

Server stats:

815
active users

#pandoc

1 post1 participant0 posts today

Okay, so here comes a hole in my "#markdown as #WordProcessor" strategy: sharing #documents.

I got .md files that I need to convert into #PDF, and it needs to be done on #Android.

Sure, the markdown editor supports printing to PDF, but it doesn't allow templating, so there is little to no margins, no font size control, or anything that's necessary to make a document readable through formatting.

Has anyone solved this problem, beyond using #pandoc with #termux?

As a book translator I spend my days working with texts. Also it means I have to deal with user-hostile file formats like docx. Because editors, designers...
My long-time friend was LibreOffice. I used it since version 5.something. It's a great alternative to Microsoft Office. But in other respects you have to put up with this huge bulky piece of legacy code that probably still has Sun engineers' souls trapped inside.
And I want to boast with my little personal victory. I have finally finished a book fully typed in #vim and #emacs (for the glory of both editors) in Markdown format and later processed via #pandoc to docx (with all required styles and formatting). I used LibreOffice only on the last stage to iron out some quirks and typos. It seems this workflow works.
Which means I don't have to use this huge and unhandy LibreOffice suite every day.
Now I want to figure out if I can use org format for my translations or should I stay with Markdown. Because it seems I like it here with Emacs.

Turning 80-ish (usa letter-sized) pages of reading into Google Slides so students can read more comfortably on their Chromebooks.

I really wish I could just use an HTML page, but last I looked Google Drive won't display HTML files as web pages.

I suppose I could make it 8.5x5.5 landscape PDF, but not sure how well that would work on their screens.

Any thoughts?

(Reading started in #TexLatex, so I can #pandoc it into just about anything.)

Bonjour !

J'ai un petit truc à partager avec vous.

Il s'agit d'un modèle #LaTeX à utiliser avec #Pandoc pour simplifier la préparation de vos factures d'auto-entrepreneur·euse

Je suis prof de langue, donc cette facture ne convient pas à toutes et a tous, mais c'est facile à modifier !

codeberg.org/bbbhltz/Facture-A

Summary card of repository bbbhltz/Facture-Auto-Entrepreneur
Codeberg.orgFacture-Auto-EntrepreneurUn modèle LaTeX pour Pandoc qui produit des factures auto-entrepreneur·euse·s

TeXLive 2024 was frozen a few days ago, and this always leads to issues with the pandoc/latex Docker images. We have pushed new images for the currently supported pandoc versions 3.5 and 3.6.3, and are in the process of updating 3.2.1, too.
#pandoc #docker

I think any large interesting program you might write could well have an embedded language within it, in which the user can write stuff that is just as good, and just as deep as built-in functionality. You want this. It’s a thing that makes programs compelling.

In #Vim, that embedded language is #VimScript. In #emacs, that’s #elisp (which in fact, I think the whole thing is written in). In a #smalltalk environment, you control the entire environment with Smalltalk, just as elisp applies to Emacs. For many, many things, that language is #lua ( #NeoVim, many games, #pandoc, #redis, this list goes on).

I used to think there were really two reasonable mainstream languages you could use here: #Python or #javascript. Between those two, for a long time I felt that JavaScript was the winner. I think that has changed as Python has gotten faster, more powerful, and better known. But also, I think the answer might actually not be either of these two. It might be Lua. Lua is simpler and faster than either JavaScript or Python. It’s more embeddable. It’s designed specifically for this purpose. It’s in much wider use as an embedded scripting language. I don’t want Lua to be the answer. I like Python better. But I think Lua actually is the right answer.

Continued thread

Also my first time using #pandoc as well. Took me a hot minute to wrap my head around how to work with it (namely adapting a #typst template that has the formatting I want) and now I have a nice markdown to pdf pipeline which lets me drop in and wrangle typst directly when I need and keep it simple otherwise