Typst - Markup-based typesetting for sciences

astro_ray,
@astro_ray@misskey-square.net avatar

Is there any developer out there who is working on / GUI editor for typesetting documents in /. As much as I love them, modal editors like / are not for me.

nekohayo,
@nekohayo@mastodon.social avatar

@astro_ray It already exists? See the "Setzer" app

pandoc,

See https://pandoc.org/typst-property-output for more info about the new property support introduced in 3.2.

dginev,
@dginev@mathstodon.xyz avatar

@pandoc

Is this also available for CSS style properties in HTML input? They often have clear mappings into Typst markup.

pandoc,

@dginev Style conversions are out of scope for pandoc. But see the Lua filter example on how to map properties.

Pol,
@Pol@mathstodon.xyz avatar

You can now properly cite Typst in your research documents!

jarkko,
@jarkko@social.kernel.org avatar

After couple of hours poking around I now know how to embed markup from yaml to a typst document :-)

I’m working on resume made with typst (as I’m looking to find a new job by end of September), and in that I’m using file to separate presentation from the content. Job descriptions can involve links, and thus those entries need to be evaluated.

First observation was:

#eval(job.description, mode: "markup")

If mode-parameter is not defined, typst will try to parse the string as an expression (i.e. mode: "code" is the efault, which is feasible in this case.

Another problem was the use of the hash character for tags, which is used for comments in yaml.

I sorted that out by putting every description into double quotes after trying a few different approaches:

    description:
      "I first worked on Keystone Security Monitor for RISC-V by enabling it
      for CVA6 running on FPGA. This work was part of the EU funded
      <a class="hashtag" data-tag="link" href="https://social.kernel.org/tag/link" rel="tag ugc">#link</a>("https://www.spirs-project.eu/")[SPIRS project].
      It involved
      tuning the
      <a class="hashtag" data-tag="link" href="https://social.kernel.org/tag/link" rel="tag ugc">#link</a>("https://buildroot.org/")[BuildRoot]
      based embedded stack, and
      fixing various
      <a class="hashtag" data-tag="link" href="https://social.kernel.org/tag/link" rel="tag ugc">#link</a>("https://github.com/keystone-enclave/keystone/issues/378")[issues].
      in the OpenSBI firmware.
      For the second half of my contract I'm enabling Linux for the new SoC's
      developed by
      <a class="hashtag" data-tag="link" href="https://social.kernel.org/tag/link" rel="tag ugc">#link</a>("https://sochub.fi/")[SocHub project]."

The screenshot shows the end result.

Nothing too complicated but took some time to find working patterns so putting here as a for myself :-)

christianp,
@christianp@mathstodon.xyz avatar

This morning I'm looking at .
The first thing in the tutorial (https://typst.app/docs/tutorial/writing-in-typst/) is how to write a header, and it annoys me that it makes the same mistake HTML, and everything following HTML, made: you specify the level of the heading absolutely, and it's not scoped to a section of the document.

So when you want to have a heading one level lower, you have to know what level the previous heading was. And you can't tell how much of the document the heading applies to, only inferring it as going until the next header of the same or higher level.

I've always wondered why has
\section{name}
instead of
\begin{section}{name} ... \end{section}

Am I alone in wanting this?

SvenGeier,
@SvenGeier@mathstodon.xyz avatar

@christianp at first I was wondering why you would want an error message. Then I realized that this was generated by my reader in response to something you had entered that was invalid latex.
This is an interesting conundrum in how to present code in an environment that respond to that code:

aadi,
@aadi@mathstodon.xyz avatar

@christianp The command line tool is literally a single binary that recompiles within milliseconds after you press save in your editor. That said, the web interface is faster since it recompiles on keypress, so I don't see a problem with sticking to it

hrbrmstr,
@hrbrmstr@mastodon.social avatar

I've been fortunate enough, today, to use:

#RStats
#Quarto
#Typst
#D2
— Observable Framework

all to get super real stuff done.

Today is a good day.

henrikbengtsson,
@henrikbengtsson@mastodon.social avatar

@hrbrmstr I had a weeks long sprint with

recently and it was a joy. It reminded me what a pleasure and gem LaTeX is

hrbrmstr,
@hrbrmstr@mastodon.social avatar

Cannot wait to be able to show off what we just managed to do with and (super fancy report generation) at work.

dpom,
@dpom@fosstodon.org avatar

I haven't tried yet, but if it has good error messages, native SVG support, and plugins, is there any chance it's not amazing? I'm so stoked to check it out now.

dpom,
@dpom@fosstodon.org avatar
tomayac,
@tomayac@toot.cafe avatar

@dpom Oooh. Very interesting. Thanks for the pointer, I didn't see this. Even more intrigued now.

schrottkatze,

playing around with recently - very amazing and powerful!

after writing some simpler things, i'm working on creating a cv/cover letter for myself that i am totally overengineering (for fun)

schrottkatze,

lmfao (how did this happen even)

schrottkatze,

i am having way too much fun writing a cv with this

idiran, Italian
@idiran@livellosegreto.it avatar

Dovete scrivere dei paper? O, più frivolmente, volete scrivere giochi di ruolo con un discreto layout? Odiate Word, non siete mai riusciti a venire a patti con LaTeX e volete qualcosa tipo il markdown come difficoltà? Date una possibilità a ( https://typst.app ). C'è sia l'IDE online che l'interprete, è molto promettente e con pochi sbattimenti sono riuscito a creare il layout 2colonne + sfondo di D&D3 :-)

ambihelical,
@ambihelical@qoto.org avatar

Playing around with #typst it’s like a dream come true so far. I edit in #emacs, changes show up in the generated pdf very quickly with the command line tool in watch mode. No fussing around with ponderous toolchains. Next up converting a medium size doc with a lot of equations from #asciidoc.

propagandalf,

@ambihelical
Hey I'm new to and I'd love to integrate into it. I saw that there is a treesitter module but I'm not knowledgeable enough to set it up properly. Maybe you know a bit more on how to accomplish this?

dekkzz76,
@dekkzz76@emacs.ch avatar
hrbrmstr,
@hrbrmstr@mastodon.social avatar

Thanks to some incredible toil+creativity by one of our equally incredible designers at work, I should have a decent example of using + + Plot + (ofc) to generate data-driven PDF reports with a fairly complex multi-page layout ready to blog and git sometime next week.

danwwilson,
@danwwilson@rstats.me avatar

@hrbrmstr Bookmarked for when you reply to this thread with your amazing demo. No pressure of course 🙂

hrbrmstr,
@hrbrmstr@mastodon.social avatar

@danwwilson gosh, you have more faith in my ability how to find and reply to an old post than I ever will 🙃

mo8it, (edited )
@mo8it@fosstodon.org avatar

is too fast! ⚡️

I use the CLI in watch mode and have the PDF open on the side. It compiles in about 10ms 🤯

RIP ⚰️

Rewrite more in Rust 🚀
(But don't ask maintainers to do so)

beowulf,
@beowulf@procial.tchncs.de avatar

0.9.0 was released a few hours ago
Typst is a new markup-based typesetting written in

  • New bibliography engine based on CLT -> new styles and languages other than English are now supported
  • Gradients on shapes and text are now supported
  • PDF creation date is now customizable
  • and a lot more: https://github.com/typst/typst/releases/tag/v0.9.0

Thanks to the @typst creators and all contributors!

typst,
@typst@mastodon.social avatar

New in 0.9: Almost 100 citation styles and gradients! will never have looked so good. 💄

Read about all the new features in the changelog at https://typst.app/docs/changelog/

A stack of colorful gradients in wide boxes

  • All
  • Subscribed
  • Moderated
  • Favorites
  • typst
  • ngwrru68w68
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • anitta
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • provamag3
  • tester
  • Leos
  • megavids
  • JUstTest
  • All magazines