1
2
submitted 3 weeks ago* (last edited 3 weeks ago) by [email protected] to c/[email protected]

From the forum announcement:

Elembic is a framework for custom elements and types in Typst. It implements this long-awaited feature in pure Typst, so you can use it for your packages and templates right now!

It lets you create:

  • Custom elements: Reusable and customizable document components, with support for typechecked fields, show and set rules (without state by default, so it is reasonably performant!), reference and outline support, as well as features not yet in Typst such as revokable rules and child element selectors.

  • Custom types: Data structures with support for typechecked fields but also custom type casting. They can be used in element fields, but also for your own needs through e.types.cast(value, type).

See also:

elembic on Typst Universe

2
3
submitted 3 weeks ago* (last edited 3 weeks ago) by [email protected] to c/[email protected]
3
1
submitted 3 months ago by [email protected] to c/[email protected]
4
2
submitted 7 months ago* (last edited 7 months ago) by [email protected] to c/[email protected]

Can you help me with these steps?

I created Dockerfile & docker-compose.yaml to spin up a docker container with which I can just docker compose up -d --build.

Steps to recreate:

  1. Set up a docker ready machine
  2. create a folder e.g. typst-server
  3. Create and put Dockerfile & docker-compose.yaml inside of the folder
  4. docker compose up -d --build
  5. Go to http://your-ip:8443/
  6. Install Tinymist Extension for real time preview
  7. You can see that the preview shows nothing except gray background.

Dockerfile

FROM lscr.io/linuxserver/code-server:latest

RUN apt update && apt install -y \
	git \
	curl \
	wget \
	tar \
	xz-utils \
	python3\
	&& apt clean \
	&& rm -rf /var/lib/apt/lists/*

RUN wget -qO typst.tar.xz https://github.com/typst/typst/releases/latest/download/typst-x86_64-unknown-linux-musl.tar.xz
RUN tar xf typst.tar.xz --strip-components=1 -C /usr/local/bin typst-x86_64-unknown-linux-musl/typst

docker-compose.yaml

services:
  code-server:
    build:
      context: .
    ports:
      - "8443:8443"
    volumes:
      - "./data:/home/coder/project"
    environment:
      PASSWORD: "mypasswordhere"

    restart: unless-stopped
5
2
submitted 1 year ago by [email protected] to c/[email protected]
6
2
submitted 1 year ago by [email protected] to c/[email protected]

cross-posted from: https://lemmy.world/post/14433560

Hi open source community!

This is a follow up to a previous post where I got a lot of really good feedback on this resume template. I've made some changes to the template that takes much of the feedback into account and I also added some new features that should make the template more useable for a wide variety of people.

If you have any further feedback please feel free to share!

To use this template on the typst web app, see here: https://typst.app/universe/package/modern-cv

Some screenshots of what the template looks like/can produce.

7
1
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]

Hey all,

I made this package (now available on typst universe) as a port of a Latex CV template I used to use for my own personal resume.

https://github.com/DeveloperPaul123/modern-cv

8
1
submitted 2 years ago by [email protected] to c/[email protected]

typst

122 readers
1 users here now

A sleek, cli typography program.

founded 2 years ago
MODERATORS