Skip to content

up-csi/rfc-modules

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

UP CSI RFC Modules

The document template and repository for the UP CSI Engineering Committee Requests for Comments.

Getting Started

  1. Install Typst.
    • Windows: winget install -e Typst.Typst
    • macOS/Linux: brew install typst
    • Arch Linux: pacman -S typst
    • Void Linux: xbps-install typst
  2. Install the following fonts:
  3. Clone the repository.
  4. Create the .typ file inside the src folder (where the modules will be written).
  5. Use the template below to bootstrap the code.
// Note that the import path is relative!
// Traverse parent directories when necessary.
#import "template.typ": *

// Change parameters depending on the module metadata.
// Note that all arguments are required!
#show: project.with(
    // The main content of the title section.
    title: "RFC-XX: Title",
    // List of authors who contributed to this RFC.
    authors: ("UP CSI",),
    // The status of the RFC
    status: #draft-status
    // A short summary of the RFC
    abstract: "This document standardizes ..."
)

// TODO: Your Content

#bibliography("rfc-xx.bib")

Compilation

The typst watch <file>.typ command is recommended to enable "watch mode", which recompiles the file on save. Typst uses incremental compilation to achieve fast compilation speeds. Otherwise, one may also invoke the typst compile <file>.typ command for one-shot compilations.

See the usage guide for more information.

Working in Visual Studio Code

For those working in Visual Studio Code, you may install the Typst LSP extension for syntax highlighting, diagnostics, PDF preview support, and other features. Live previews of the document are supported via the vscode-pdf extension. Once installed, open the Command Palette (Ctrl+Shift+P) and search for the command Typst: Show the compiled PDF... (full name shortened for brevity).

Fonts

Typst automatically recognizes system fonts. As a sanity check, run typst fonts to see if Typst recognizes newly installed fonts.

Important

When adding custom fonts, the typst watch command must be rerun for the new fonts to be detected.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •