rxiv-maker 1.15.6__py3-none-any.whl → 1.15.7__py3-none-any.whl

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.
rxiv_maker/__version__.py CHANGED
@@ -1,7 +1,7 @@
1
1
  """Version information for rxiv-maker."""
2
2
 
3
- __version__ = "1.15.6"
4
- __version_tuple__ = (1, 15, 6)
3
+ __version__ = "1.15.7"
4
+ __version_tuple__ = (1, 15, 7)
5
5
 
6
6
  # Note: Docker images v1.8+ use mermaid.ink API for diagram processing
7
7
  # This improves cross-platform compatibility and performance
@@ -460,12 +460,28 @@ class TrackChangesManager:
460
460
  return False
461
461
 
462
462
  self.log("Generating LaTeX files for tag version...")
463
- if not self.generate_latex_files(tag_manuscript_dir, "tag"):
463
+
464
+ # Locate the manuscript directory within the extracted tag
465
+ # Try the same directory name as the current manuscript
466
+ target_manuscript_dir = tag_manuscript_dir / self.manuscript_path.name
467
+
468
+ # If not found there, check the root (in case the repo IS the manuscript dir)
469
+ if not (target_manuscript_dir / "01_MAIN.md").exists():
470
+ if (tag_manuscript_dir / "01_MAIN.md").exists():
471
+ target_manuscript_dir = tag_manuscript_dir
472
+ else:
473
+ self.log(f"Warning: Could not create locate 01_MAIN.md in extracted tag files at {target_manuscript_dir} or root", force=True)
474
+ # We continue with the guess, though it will likely fail in generation
475
+
476
+ if not self.generate_latex_files(target_manuscript_dir, "tag"):
464
477
  return False
465
478
 
466
479
  # Find the main LaTeX files
467
480
  current_tex = self.output_dir / "current" / f"{self.manuscript_path.name}.tex"
468
- tag_tex = self.output_dir / "tag" / f"{tag_manuscript_dir.name}.tex"
481
+
482
+ # The generated tex file will be named after the manuscript directory name (MANUSCRIPT -> MANUSCRIPT.tex)
483
+ # regardless of whether it's in the tag extraction or current
484
+ tag_tex = self.output_dir / "tag" / f"{self.manuscript_path.name}.tex"
469
485
 
470
486
  # Generate custom filename using the same convention as regular PDF
471
487
  # generation
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rxiv-maker
3
- Version: 1.15.6
3
+ Version: 1.15.7
4
4
  Summary: Write scientific preprints in Markdown. Generate publication-ready PDFs efficiently.
5
5
  Project-URL: Homepage, https://github.com/HenriquesLab/rxiv-maker
6
6
  Project-URL: Documentation, https://github.com/HenriquesLab/rxiv-maker#readme
@@ -1,5 +1,5 @@
1
1
  rxiv_maker/__init__.py,sha256=p04JYC5ZhP6dLXkoWVlKNyiRvsDE1a4C88f9q4xO3tA,3268
2
- rxiv_maker/__version__.py,sha256=f3wW7WJ38bUOcJjWYxqka-8bc5BMKfNUQCBZDaNE0TY,230
2
+ rxiv_maker/__version__.py,sha256=SMokkfMA9YCiVIlBz4aeYm6SkxgNSAj_Hdbl5TCMz1E,230
3
3
  rxiv_maker/rxiv_maker_cli.py,sha256=9Lu_mhFPXwx5jzAR6StCNxwCm_fkmP5qiOYdNuh_AwI,120
4
4
  rxiv_maker/validate.py,sha256=AIzgP59KbCQJqC9WIGfUdVv0xI6ud9g1fFznQkaGz5Q,9373
5
5
  rxiv_maker/cli/__init__.py,sha256=Jw0DTFUSofN-02xpVrt1UUzRcgH5NNd-GPNidhmNwpU,77
@@ -100,7 +100,7 @@ rxiv_maker/engines/operations/generate_figures.py,sha256=3oIuS0wryO9WpPZ3UD2qm0Y
100
100
  rxiv_maker/engines/operations/generate_preprint.py,sha256=EtWSL1-LGm8N61_CLABSswgvVw61haEx8m4727pdzgM,2650
101
101
  rxiv_maker/engines/operations/prepare_arxiv.py,sha256=cd0JN5IO-Wy9T8ab75eibyaA8_K8Gpwrz2F-95OMnx4,21551
102
102
  rxiv_maker/engines/operations/setup_environment.py,sha256=gERuThHTldH0YqgXn85995deHBP6csY1ZhCNgU6-vFg,12691
103
- rxiv_maker/engines/operations/track_changes.py,sha256=MBCe_2juNtP-9-E0t6zKDDbNyP5BZJrZl07BqIyzNQg,22179
103
+ rxiv_maker/engines/operations/track_changes.py,sha256=q0WTV2PNwF3f8UWFAVBvCt_uGlc6b8j4Y5RMLLuZTz4,23196
104
104
  rxiv_maker/engines/operations/validate.py,sha256=OVmtRVtG-r1hoA8IqYaNC-ijN1a5ixM3X5Z8Gda-O2M,17142
105
105
  rxiv_maker/engines/operations/validate_pdf.py,sha256=qyrtL752Uap3i6ntQheY570soVjFZRJe8ANrw5AvHFs,5899
106
106
  rxiv_maker/exporters/__init__.py,sha256=NcTD1SDb8tTgsHhCS1A7TVEZncyWbDRTa6sJIdLqcsE,350
@@ -185,8 +185,8 @@ rxiv_maker/validators/doi/metadata_comparator.py,sha256=euqHhKP5sHQAdZbdoAahUn6Y
185
185
  rxiv_maker/tex/template.tex,sha256=zrJ3aFfu8j9zkg1l375eE9w-j42P3rz16wMD3dSgi1I,1354
186
186
  rxiv_maker/tex/style/rxiv_maker_style.bst,sha256=jbVqrJgAm6F88cow5vtZuPBwwmlcYykclTm8RvZIo6Y,24281
187
187
  rxiv_maker/tex/style/rxiv_maker_style.cls,sha256=F2qtnS9mI6SwOIaVH76egXZkB2_GzbH4gCTG_ZcfCDQ,24253
188
- rxiv_maker-1.15.6.dist-info/METADATA,sha256=drJzLkjdQNLW5mynn6L35z9Wi-MEw3GuV57SNwOonU4,19656
189
- rxiv_maker-1.15.6.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
190
- rxiv_maker-1.15.6.dist-info/entry_points.txt,sha256=ghCN0hI9A1GlG7QY5F6E-xYPflA8CyS4B6bTQ1YLop0,97
191
- rxiv_maker-1.15.6.dist-info/licenses/LICENSE,sha256=GSZFoPIhWDNJEtSHTQ5dnELN38zFwRiQO2antBezGQk,1093
192
- rxiv_maker-1.15.6.dist-info/RECORD,,
188
+ rxiv_maker-1.15.7.dist-info/METADATA,sha256=sqbLf9V-WQv79DaWv1DQqhiAj0Rqx_OOIVqEWxfT5k8,19656
189
+ rxiv_maker-1.15.7.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
190
+ rxiv_maker-1.15.7.dist-info/entry_points.txt,sha256=ghCN0hI9A1GlG7QY5F6E-xYPflA8CyS4B6bTQ1YLop0,97
191
+ rxiv_maker-1.15.7.dist-info/licenses/LICENSE,sha256=GSZFoPIhWDNJEtSHTQ5dnELN38zFwRiQO2antBezGQk,1093
192
+ rxiv_maker-1.15.7.dist-info/RECORD,,