This repository demonstrates collaborative workflows for LaTeX projects using FlexiTeX, a command-line tool for restructuring large LaTeX documents. The example showcases how three collaborators can maintain personalized formatting styles in separate branches — collaborator-a, collaborator-b and collaborator-c — while keeping content synchronized through an intermediate representation.
The system is built on a two-step GitHub Actions workflow, powered by FlexiTeX:
- From Personal to Internal:
When a collaborator pushes to their personal branch, the workflow runs FlexiTeX with no configuration settings to convert the document into a standardized internal format. The output is committed to this branch. - From Internal to Collaborators:
A second workflow is triggered by changes to the internal branch. This workflow reprocesses the internal document using each collaborator’s custom configuration file and distributes the resulting formatted documents to their respective branches. Each personal branch includes its own.config.ymlconfiguration file defining the desired output style.
Personalized formatting for each collaborator Clean separation between authoring and formatting Automatic bidirectional sync via the internal format
MIT License. See LICENSE.