This folder is a self-contained Streamlit app for converting a zipped LaTeX manuscript into a Word document using the bundled template.docx and the existing template-aware converter.
The app is also available online through Streamlit Community Cloud:
Anyone can use the hosted app to upload a zipped LaTeX archive and convert it into a Word document without running the project locally.
app.py: Streamlit UIlatex_to_word.py: shared converter logic used by both the Streamlit app and the offline batch toolsbatch_convert_archives.py: offline batch converter for folders of submission zip archivesconvert_submissions.ps1: Windows PowerShell wrapper for offline batch conversionconvert_submissions.sh: Linux bash wrapper for offline batch conversiontemplate.docx: Word template reused for styling and layoutrequirements.txt: Python dependencies for local runs or Streamlit Community Cloud
cd .\psepress
python -m pip install -r requirements.txt
streamlit run app.pyThis directory is self-contained for both hosted and offline use. The batch tools here use the same local latex_to_word.py and template.docx as the web app.
Python entry point:
cd .\psepress
python .\batch_convert_archives.py --input-dir .\submissions\input --output-dir .\submissions\outputWindows PowerShell wrapper:
cd .\psepress
powershell -ExecutionPolicy Bypass -File .\convert_submissions.ps1 -InputDir .\submissions\input -OutputDir .\submissions\outputLinux bash wrapper:
cd ./psepress
./convert_submissions.sh ./submissions/input ./submissions/outputThe batch run writes one .docx per input archive and a conversion-report.csv summary in the output folder.
- Put the contents of this folder into a GitHub repository, or make this folder the root of a new repo.
- In Streamlit Community Cloud, create a new app from that repo.
- Set the main file path to
app.py.
Upload a .zip archive that includes:
- your manuscript entry file, typically
main.tex refs.bibif the manuscript uses it- figures and any other referenced files
- any additional
.texfiles included with\input{...}
Keep the same relative paths your manuscript expects.
- The app does not compile LaTeX; it parses the manuscript source and rebuilds a
.docxusingtemplate.docx. - The converter is template-aware for this project rather than a general LaTeX-to-Word engine.
- For best results, upload the same project structure you use locally.