SPB Git forge

spb/wp13_uqo

Public
3commits 1branches 1releases
1.2 MBsize
maindefault branch
3 h agolast push
TeX 93.9% Python 6%
2.0 KB · 36 lines latex
Raw Blame History
1% --- Document-generation pipeline: single source, many formats ---2\begin{figure}[htbp]3\centering4\begin{tikzpicture}[vqfont]56\node[vqteal, text width=2.7cm, minimum height=1.7cm] (md) at (0,0)7  {\textbf{Markdown report}\\[1pt]\vqsmall streamed text\\$+$ figure refs};89\node[vqred,    text width=4.3cm] (pdf)   at (8.2, 3.0)10  {\textbf{PDF}\\\vqsmall protect--parse--restore math $\to$ headless browser $\to$ \textit{wait for render}};11\node[vqpurple, text width=4.3cm] (slides) at (8.2, 1.0)12  {\textbf{Beamer slides}\\\vqsmall 2nd model call restructures $\to$ branded preamble $\to$ two \LaTeX{} passes};13\node[vqblue,   text width=4.3cm] (docx)  at (8.2,-0.7)14  {\textbf{DOCX}\\\vqsmall document converter preserves tables / structure};15\node[vqgreen,  text width=4.3cm] (xlsx)  at (8.2,-2.3)16  {\textbf{XLSX}\\\vqsmall sandbox \texttt{save\_excel} $\to$ \textit{live} formulas, conditional formats};17\node[vqorange, text width=4.3cm] (share) at (8.2,-3.9)18  {\textbf{Share URL}\\\vqsmall store content $+$ figures $\to$ public viewer};1920\draw[vqflow] (md.east) to[out=35,in=180]  (pdf.west);21\draw[vqflow] (md.east) to[out=18,in=180]  (slides.west);22\draw[vqflow] (md.east) to[out=0,in=180]   (docx.west);23\draw[vqflow] (md.east) to[out=-18,in=180] (xlsx.west);24\draw[vqflow] (md.east) to[out=-32,in=180] (share.west);2526\end{tikzpicture}27\caption{\textbf{The unified document pipeline.} A single Markdown artifact is rendered into four28document formats and a shareable view, each by a distinct mechanism. The PDF path protects29mathematics from the Markdown parser with placeholder tokens, renders in a real browser engine,30and waits for the math to appear before capture. The slide path issues a \emph{second} model call31that restructures the report into slide bodies, then compiles a branded Beamer document in two32\LaTeX{} passes. Word uses a document converter; spreadsheets carry live formulas written from the33sandbox; and any report can be published to a stable URL. One source, many auditable deliverables.}34\label{fig:docpipeline}35\end{figure}36