Marketing mix 7P/4C expanded + MD→PDF pipeline
Date: 2026-09-01 Project: astro-starter-template (second-brain)
What happened
The professor’s question (“¿cuáles son las 7 P’s y las 4 C’s?”) became the excuse to expand the informe’s marketing section into the agent-commerce era.
Deliverables
study/informe-integral-ruta-estrategica.md— new §3.3 “Las 7 P y las 4 C en la era agéntica”: Booms & Bitner 7P, Lauterborn 4C vs Kotler Marketing 4.0 4C, per-P table (agent-era breakage), the fifth C (Comprensibilidad para máquinas) as the classroom contribution, and agent-readability as the most expensive service gap.study/informe-integral-ruta-estrategica.pdf(18 pages, A4) +.html— generated byscripts/docpdf.mjs(MD → styled HTML → Brave headless print).- Node
content/nodes/marketing-mix.md— connects agentic-commerce + geo-aeo, lands in the Strategy part of the book (211 nodes now).
Workflow for PDF/MD outputs
node scripts/docpdf.mjs study/<doc>.md — reuses the study folder as the
canonical source; the informe’s LaTeX frontmatter and \newpage markers are
handled (stripped / page-break). Requires a headless browser (Brave/Chrome/
Edge — Brave found on this machine). PDF is derived — never hand-edit; edit
the .md and regenerate.
Gotchas
- execFileSync lives in node:child_process (not node:fs) — first run failed on that.
- The compendium’s Appendix E links to the informe .md (source of truth), not the PDF.