Skip to content

pdg744/tex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

layout title
pubtex
PubTeX

PubTeX

This is a template for publicly hosting LaTeX files with GitHub actions.

It roughly works as follows:

  1. You write your latex files as you would normally
  2. Whenever you push your changes to main, your files are compiled and pushed to the gh-pages branch.
  3. You can now download them directly or publish the branch with GitHub Pages

You also get this nice front page for free :)

Some examples

Usage

  1. Use this template (you only need to include the main branch)
  2. List all .tex files you want to compile in .github/workflows/publish.yml under the files option
  3. If you want to generate handouts for some Beamer slides, list those files under the handouts option
  4. Create SSH deploy key
  5. (optional) Enable GitHub Pages for the gh-pages branch

Options

Name Description Default
deploy_key Deploy key used to deploy to GitHub Pages
files Space-separated list of files that should be compiled
handouts Space-separated list of Beamer files that handouts should be generated for
publish_dir The directory that should be published with GitHub Pages dist
index_page Path to the Markdown file that should be the main page README.md

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages