mystmd 1.1.33__tar.gz → 1.1.34__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mystmd
3
- Version: 1.1.33
3
+ Version: 1.1.34
4
4
  Summary: Command line tools for MyST Markdown
5
5
  Home-page: https://github.com/executablebooks/mystmd
6
6
  Author: Franklin Koch
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mystmd
3
- Version: 1.1.33
3
+ Version: 1.1.34
4
4
  Summary: Command line tools for MyST Markdown
5
5
  Home-page: https://github.com/executablebooks/mystmd
6
6
  Author: Franklin Koch
@@ -199098,7 +199098,7 @@ var {
199098
199098
  } = import_index.default;
199099
199099
 
199100
199100
  // src/version.ts
199101
- var version = "1.1.33";
199101
+ var version = "1.1.34";
199102
199102
  var version_default = version;
199103
199103
 
199104
199104
  // ../myst-cli/dist/build/build.js
@@ -203296,7 +203296,7 @@ function validateJupyterServerOptions(input3, opts) {
203296
203296
  }
203297
203297
 
203298
203298
  // ../myst-frontmatter/dist/settings/validatorsMystToTex.js
203299
- var MYST_TO_TEX_SETTINGS = ["codeStyle"];
203299
+ var MYST_TO_TEX_SETTINGS = ["codeStyle", "beamer"];
203300
203300
  var MYST_TO_TEX_SETTINGS_ALIAS = {
203301
203301
  code_style: "codeStyle"
203302
203302
  };
@@ -203313,6 +203313,11 @@ function validateMystToTexSettings(value, opts) {
203313
203313
  if (codeStyle)
203314
203314
  output2.codeStyle = codeStyle;
203315
203315
  }
203316
+ if (defined(settings.beamer)) {
203317
+ const beamer = validateBoolean(settings.beamer, incrementOptions("beamer", opts));
203318
+ if (beamer != null)
203319
+ output2.beamer = beamer;
203320
+ }
203316
203321
  if (Object.keys(output2).length === 0)
203317
203322
  return void 0;
203318
203323
  return output2;
@@ -285720,7 +285725,7 @@ var import_node_path15 = __toESM(require("path"), 1);
285720
285725
  var import_nbtx = __toESM(require_cjs2(), 1);
285721
285726
 
285722
285727
  // ../myst-cli/dist/version.js
285723
- var version2 = "1.1.33";
285728
+ var version2 = "1.1.34";
285724
285729
  var version_default2 = version2;
285725
285730
 
285726
285731
  // ../myst-cli/dist/utils/headers.js
@@ -286976,10 +286981,10 @@ function prepareToWrite(frontmatter) {
286976
286981
  return { ...frontmatter };
286977
286982
  return { ...frontmatter, license: licensesToString(frontmatter.license) };
286978
286983
  }
286979
- async function getRawFrontmatterFromFile(session, file) {
286984
+ async function getRawFrontmatterFromFile(session, file, projectPath) {
286980
286985
  const cache = castSession(session);
286981
286986
  if (!cache.$getMdast(file))
286982
- await loadFile(session, file);
286987
+ await loadFile(session, file, projectPath);
286983
286988
  const result = cache.$getMdast(file);
286984
286989
  if (!result || !result.pre)
286985
286990
  return void 0;
@@ -295079,7 +295084,7 @@ async function prepareExportOptions(session, sourceFile, formats, projectPath, o
295079
295084
  if (projectPath && sourceFile === selectors_exports.selectLocalConfigFile(state, projectPath)) {
295080
295085
  rawFrontmatter = selectors_exports.selectLocalProjectConfig(state, projectPath);
295081
295086
  } else {
295082
- rawFrontmatter = await getRawFrontmatterFromFile(session, sourceFile);
295087
+ rawFrontmatter = await getRawFrontmatterFromFile(session, sourceFile, projectPath);
295083
295088
  }
295084
295089
  let exportOptions = getExportListFromRawFrontmatter(session, formats, rawFrontmatter, sourceFile);
295085
295090
  if (exportOptions.length === 0 && formats.length && opts.force) {
@@ -302949,7 +302954,7 @@ async function copyDependentFiles(session, sourceFile, projectPath, mecaFolder,
302949
302954
  var _a6;
302950
302955
  const cache = castSession(session);
302951
302956
  if (!cache.$getMdast(sourceFile)) {
302952
- await loadFile(session, sourceFile);
302957
+ await loadFile(session, sourceFile, projectPath);
302953
302958
  }
302954
302959
  const pre2 = (_a6 = cache.$getMdast(sourceFile)) === null || _a6 === void 0 ? void 0 : _a6.pre;
302955
302960
  if (!pre2)
@@ -302974,7 +302979,7 @@ function writeMecaManifest(manifestItems, mecaFolder) {
302974
302979
  async function runMecaExport(session, exportOptions, projectPath, clean3, extraLinkTransformers) {
302975
302980
  const toc = tic();
302976
302981
  const { output: output2, articles } = exportOptions;
302977
- const article = articles[0];
302982
+ const article = articles === null || articles === void 0 ? void 0 : articles[0];
302978
302983
  const vfile2 = new VFile();
302979
302984
  vfile2.path = output2;
302980
302985
  const fileCopyErrorLogFn = (m2) => {
@@ -1,6 +1,6 @@
1
1
  [metadata]
2
2
  name = mystmd
3
- version = 1.1.33
3
+ version = 1.1.34
4
4
  description = Command line tools for MyST Markdown
5
5
  long_description = file: README.md
6
6
  long_description_content_type = text/markdown
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes