A modular, extensible LaTeX workspace for technical books and academic papers. Not a framework. Not a package. Just well-organized components you can use.
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
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"
makeOr direct clone:
git clone https://github.com/papyrxis/workspace.git my-book
cd my-book
bash src/init.sh -t book --title "My Book"
makebash workspace/src/init.sh -t book --title "My Technical Book"
makebash workspace/src/init.sh -t article --title "My Research Paper"
make- 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
- Single and two-column layouts
- IEEE/ACM formats
- Technical and academic styles
- Bibliography management
- Theorem environments
- Quick compilation
- 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
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.texRun make sync after editing to apply changes.
make # Build document
make watch # Auto-rebuild on changes
make clean # Clean build artifacts
make version # Show version infoOverride any component:
- Create
configs/colors.texwith your custom colors - Add to workspace.yml:
overrides:
allow:
- colors.tex- Run
make sync
Your custom colors are now used instead of defaults.
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- Getting Started - Complete setup guide
- Configuration - All configuration options
- Customization - How to customize everything
- Templates - Template documentation
- Scripts - Script reference
Required:
- TeX Live or MiKTeX (full installation)
- Git
- Bash 4.0+
- Make
- Python 3 with PyYAML
- inotifywait or fswatch
Install globally:
sudo make installThen use anywhere:
papyrxis -t book --title "My Book"We welcome contributions!
- Bug reports
- Feature requests
- Documentation improvements
- New templates
- Code contributions
See CONTRIBUTING.md for guidelines.
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Email: bitsgenix@gmail.com
MIT License - see LICENSE
Created and maintained by Mahdi (Genix).
Built with:
- LaTeX
- TeX Live
- Git
- Bash
- Love for typography
If you find Papyrxis useful, please star the repository!