fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

10K
active users

#typst

3 posts3 participants1 post today

I recently developed a thing to turn a Conversations chat* into a PDF.

codeberg.org/moji/typst-conver

That story began with a friend of mine that had got a XMPP group chat where they shared updates and pictures of their latest travel adventure. Now chat is rather ephemeral and they wanted to preserve those memories in an easy accessible format that is PDF. And so I put something together.

* actually any chat as long as you can get the raw data in the expected format

Summary card of repository moji/typst-conversations
Codeberg.orgtypst-conversationsA parametrized Typst document to visualize a chat conversation with text and image messages — closely matching the design of Conversations.

I wanted to have a real time preview of my #typst document in #vim. I don't fancy to install a plugin for that. I had the feeling, that this should be easier. And I don't want to overwrite my original file, because I know me and I would mess up and loose stuff. So I came up with this:

autocmd TextChanged,TextChangedI *.typ silent! execute 'write! ' . expand('%:r') . '.watch.' . expand('%:e')

This is an automatic command, that triggers on changed text in normal mode (TextChanged) and insert mode (TextChangedI). It only applies to *.typ files and copies them from filename.typ to filename.watch.typ. The silent! makes sure that the status bar does not show the write every time you edit the buffer.

You can now typst watch filename.watch.typ and open filename.watch.pdf in your PDF viewer. The original filename.typ will not be modified until you save it manually.

Today's feeling? Pure joy! #SILE 0.15.10 is available, and it simply wouldn’t have happened without @alerque’s dedication—hats off! 🎩

I know #TeXLaTeX are time-tested champions, and #Typst is making waves. But have you given SILE a chance?
✨ Very decent TeX-like math support
🤖 One of the smartest automated italic correction heuristics
📚 Improved Bib(La)TeX + CSL citation support
🔍 A revamped indexer package

Now’s the perfect time to explore SILE!

In #typst , in math mode, parentheses seem to be used both to control logical grouping and, well, to display actual parentheses. It seems that the typst compiler will make a "smart" choice as to whether to show the parentheses you put in (as opposed to only using them to determine how your math content is grouped).

Now I have some content that needs grouping, so I use parentheses but I don't want them to show up. The compiler displays them. What can I do to tell it not to?

Replied in thread

@bobidle Also aktiv, meinst du, und nicht nur mit einem automatisiert verschickten Crashdump und einer Zeile Fehlerbeschreibung dazu?

Mmh, zuletzt wäre das dann vermutlich mein MR vor 8 Monaten für #KDE #Kate, um den #Typst #LSP hinzuzufügen. (Ist das echt schon so lange her? Uff, vielleicht sollte ich mal prüfen, ob der überhaupt noch funktioniert und sich nicht in der Zwischenzeit etwas grundlegendes geändert hat.)

For Follow Friday, here's a list of accounts related to in the fediverse:
@TeXUsersGroup –info about and the CTAN package registry
@context – news and updates from the group behind ConTeXt
@typst – the makers of
@libreoffice – the free and open office, which can also be used to create PDFs
@speedata – a PDF engine not yet supported by pandoc
@wtfpdf – “Celebrating the majesty, the mystery, the comedy and the catastrophe of PDFs....mostly the latter two.”

Replied to Jason J.G. White

@jason

I stored this content as file example.typ. Afterwards, I executed the command “typst compile example.typ”. An example.pdf file was generated.

Using a mechanism what #typst calls set and show rules, a designer can customize the design of your document.

This can be done using additional commands before your document content starts or with an #import command at the beginning of your document to include the styling defined in a template from the typst Universe:

typst.app/universe/search/?cat

TypstSearch — Typst: UniverseExplore packages and templates to take your documents to the next level.
I'm interested in experimenting with Typst. There's a sample document that I would like to convert to Typst: title, author's name, table of contents, numbered sections, paragraphs and lists are most of the elements.

Is there a template that I should use, similar to the LaTeX article class? I've reviewd Typst templates on GitHub, but I haven't found one suitable for such a basic document.

My plan is to use someone else's typographic design so that I can concentrate on the content, leaving formatting decisions to the designers. As an author who happens to be blind, I find it convenient when someone else takes care of presentational details.

Support for HTML output is available as a "preview" currently, but it is likely to improve in later releases. My intention is to produce both HTML and PDF from the same source. If Typst continues to mature rapidly, I'll probably write research papers in it also.
#Typst #MarkupLanguage

I wish that there was a #TeX successor with a similar markup to #LaTeX. Macros, the lack of standardization and all the mess drives me crazy. I know that #Typst exists, sure it's faster, but not as readable. Going with Markdown style is not the right way in my opinion. And you can integrate TeX in other programming languages. I use #Julia with it, which I don't think I can do with #Typst.

Bin gerade auf pdfpc gestoßen.
Das bringt endlich einen vernünftigen Präsentationsmodus für PDFs :blobcatlove:.
Timer, Notizen, Folienübersicht,... Alles dabei, gibts für alle Plattformen und ist vollständig konfigurierbar.

Notizen können bspw auch direkt in LaTeX/Beamer oder Typst erstellt werden.

Genau das hätte ich schon länger gebraucht. Großartig.

pdfpc.github.io/

pdfpcpdfpcA presenter console with multi-monitor support for PDF files