API
MS Word (DOCX) import/export utilities for SciTeX.
This module provides high-level functions to convert between MS Word .docx files and SciTeX’s internal writer document model.
Strategy:
Word users write text only (paragraphs, minimal formatting)
SciTeX handles: figures, tables, references, LaTeX generation
SciTeX JSON is the “source of truth”, Word is just a view/edit layer
Typical usage:
from scitex_msword import load_docx, save_docx, list_profiles
# Import from Word doc = load_docx(“input.docx”, profile=”generic”)
# Manipulate via scitex.writer… # doc.normalize()
# Export to Word (different journal template) save_docx(doc, “output.docx”, profile=”mdpi-ijerph”)
Available profiles:
generic: Standard Word with Heading 1/2/3
mdpi-ijerph: MDPI IJERPH journal template
resna-2025: RESNA 2025 scientific paper template
iop-double-anonymous: IOP double-anonymous template