Skip to content

Commit

Permalink
🐛 Turn off glossaries for rawTex output
Browse files Browse the repository at this point in the history
  • Loading branch information
rowanc1 committed Nov 9, 2023
1 parent f15ec37 commit 3b6c571
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/silly-parents-listen.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'myst-cli': patch
---

Turn off glossaries for raw tex output
2 changes: 1 addition & 1 deletion packages/myst-cli/src/build/tex/single.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export async function localArticleToTexRaw(
simplifyFigures: true,
});
const toc = tic();
const result = mdastToTex(session, mdast, references, frontmatter, null, true);
const result = mdastToTex(session, mdast, references, frontmatter, null, false);
session.log.info(toc(`📑 Exported TeX in %s, copying to ${output}`));
// TODO: add imports and macros?
writeFileToFolder(output, result.value);
Expand Down

0 comments on commit 3b6c571

Please sign in to comment.