Skip to content

papyrxis/workspace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Papyrxis Workspace

A modular, extensible LaTeX workspace for technical books and academic papers. Not a framework. Not a package. Just well-organized components you can use.

License: MIT PRs Welcome

Philosophy

LaTeX is powerful but messy. Projects accumulate cruft. Templates multiply. Consistency suffers.

Papyrxis provides:

  • Modularity: Use what you need, ignore the rest
  • Flexibility: Override anything easily
  • Standards: IEEE, ACM, academic conventions built in
  • Simplicity: No magic, just organized TeX files

Quick Start

Installation

As a git submodule (recommended):

mkdir my-book
cd my-book
git init
git submodule add https://github.com/papyrxis/workspace.git
bash workspace/src/init.sh -t book --title "My Book"
make

Or direct clone:

git clone https://github.com/papyrxis/workspace.git my-book
cd my-book
bash src/init.sh -t book --title "My Book"
make

Create a Book

bash workspace/src/init.sh -t book --title "My Technical Book"
make

Create an Article

bash workspace/src/init.sh -t article --title "My Research Paper"
make

Features

For Books

  • Part/chapter structure
  • Front matter (title, preface, TOC)
  • Back matter (appendix, index, bibliography)
  • Custom page styles
  • Technical and academic presets
  • Version management
  • Watch mode for development

For Articles

  • Single and two-column layouts
  • IEEE/ACM formats
  • Technical and academic styles
  • Bibliography management
  • Theorem environments
  • Quick compilation

General

  • Modular colors: Define schemes, apply easily
  • Modular commands: Override or extend
  • Smart layouts: Responsive to content
  • Build automation: Make, watch, version
  • Git integration: Version from tags
  • Comprehensive documentation

Configuration

Everything is configured through workspace.yml:

project:
  type: book
  category: technical
  title: "My Book"
  author: "Your Name"

components:
  - fonts
  - math
  - graphics
  - colors
  - layout

colors:
  scheme: technical

overrides:
  allow:
    - colors.tex
    - commands/base.tex

Run make sync after editing to apply changes.

Building

make              # Build document
make watch        # Auto-rebuild on changes
make clean        # Clean build artifacts
make version      # Show version info

Customization

Override any component:

  1. Create configs/colors.tex with your custom colors
  2. Add to workspace.yml:
overrides:
  allow:
    - colors.tex
  1. Run make sync

Your custom colors are now used instead of defaults.

Generators

Generate structure:

# New part
bash workspace/src/generator/part.sh -n 2 -t "Advanced Topics"

# New chapter
bash workspace/src/generator/chapter.sh -p 1 -c 3 -t "Data Structures"

# Cover page
bash workspace/src/generator/cover.sh workspace.yml

Documentation

Requirements

Required:

  • TeX Live or MiKTeX (full installation)
  • Git
  • Bash 4.0+
  • Make
  • Python 3 with PyYAML
  • inotifywait or fswatch

System Installation

Install globally:

sudo make install

Then use anywhere:

papyrxis -t book --title "My Book"

Contributing

We welcome contributions!

  • Bug reports
  • Feature requests
  • Documentation improvements
  • New templates
  • Code contributions

See CONTRIBUTING.md for guidelines.

Support

License

MIT License - see LICENSE

Credits

Created and maintained by Mahdi (Genix).

Built with:

  • LaTeX
  • TeX Live
  • Git
  • Bash
  • Love for typography

Star History

If you find Papyrxis useful, please star the repository!

About

A comprehensive tool for managing LaTeX document projects with the Papyrxis workspace system.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks