rxiv-maker 1.15.8__py3-none-any.whl → 1.15.9__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 +1 -1
- rxiv_maker/engines/operations/track_changes.py +24 -0
- {rxiv_maker-1.15.8.dist-info → rxiv_maker-1.15.9.dist-info}/METADATA +1 -1
- {rxiv_maker-1.15.8.dist-info → rxiv_maker-1.15.9.dist-info}/RECORD +7 -7
- {rxiv_maker-1.15.8.dist-info → rxiv_maker-1.15.9.dist-info}/WHEEL +0 -0
- {rxiv_maker-1.15.8.dist-info → rxiv_maker-1.15.9.dist-info}/entry_points.txt +0 -0
- {rxiv_maker-1.15.8.dist-info → rxiv_maker-1.15.9.dist-info}/licenses/LICENSE +0 -0
rxiv_maker/__version__.py
CHANGED
|
@@ -214,6 +214,18 @@ class TrackChangesManager:
|
|
|
214
214
|
if self.verbose:
|
|
215
215
|
self.log(f"LaTeX generation output: {result.stdout}")
|
|
216
216
|
|
|
217
|
+
# Post-process tag LaTeX to use distinct figure path
|
|
218
|
+
if output_subdir == "tag":
|
|
219
|
+
tex_file = latex_output_dir / f"{manuscript_dir.name}.tex"
|
|
220
|
+
if tex_file.exists():
|
|
221
|
+
content = tex_file.read_text(encoding="utf-8")
|
|
222
|
+
# Replace standard Figure path with tag specific path
|
|
223
|
+
# Handle both Figures/ (standard) and FIGURES/ (source) just in case
|
|
224
|
+
content = content.replace("{Figures/", "{Figures_tag/")
|
|
225
|
+
content = content.replace("{FIGURES/", "{Figures_tag/")
|
|
226
|
+
tex_file.write_text(content, encoding="utf-8")
|
|
227
|
+
self.log(f"Updated figure paths in {tex_file.name} to use Figures_tag/")
|
|
228
|
+
|
|
217
229
|
return True
|
|
218
230
|
|
|
219
231
|
except subprocess.CalledProcessError as e:
|
|
@@ -484,6 +496,18 @@ class TrackChangesManager:
|
|
|
484
496
|
if not self.generate_latex_files(target_manuscript_dir, "tag"):
|
|
485
497
|
return False
|
|
486
498
|
|
|
499
|
+
# Copy tag figures to output/Figures_tag
|
|
500
|
+
tag_figures_src = target_manuscript_dir / "FIGURES"
|
|
501
|
+
tag_figures_dst = self.output_dir / "Figures_tag"
|
|
502
|
+
|
|
503
|
+
if tag_figures_src.exists():
|
|
504
|
+
if tag_figures_dst.exists():
|
|
505
|
+
shutil.rmtree(tag_figures_dst)
|
|
506
|
+
shutil.copytree(tag_figures_src, tag_figures_dst)
|
|
507
|
+
self.log("Copied tag figures to Figures_tag directory")
|
|
508
|
+
else:
|
|
509
|
+
self.log("Warning: No FIGURES directory found in tag extraction", force=True)
|
|
510
|
+
|
|
487
511
|
# Find the main LaTeX files
|
|
488
512
|
current_tex = self.output_dir / "current" / f"{self.manuscript_path.name}.tex"
|
|
489
513
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: rxiv-maker
|
|
3
|
-
Version: 1.15.
|
|
3
|
+
Version: 1.15.9
|
|
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=
|
|
2
|
+
rxiv_maker/__version__.py,sha256=Jie3UBhYYz9xfwQlIZS6rCw1H9FHwp9v16l4VwSxKVc,51
|
|
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=
|
|
103
|
+
rxiv_maker/engines/operations/track_changes.py,sha256=XMU1x31nwLIwbi1lwYJn333O7Tx9llQfBv8yY9O_Dww,24734
|
|
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.
|
|
189
|
-
rxiv_maker-1.15.
|
|
190
|
-
rxiv_maker-1.15.
|
|
191
|
-
rxiv_maker-1.15.
|
|
192
|
-
rxiv_maker-1.15.
|
|
188
|
+
rxiv_maker-1.15.9.dist-info/METADATA,sha256=pRVBi_qnjSNaLZl3Lz7D0RsNJ4gaMp3SnFxp-4e-TA8,19656
|
|
189
|
+
rxiv_maker-1.15.9.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
190
|
+
rxiv_maker-1.15.9.dist-info/entry_points.txt,sha256=ghCN0hI9A1GlG7QY5F6E-xYPflA8CyS4B6bTQ1YLop0,97
|
|
191
|
+
rxiv_maker-1.15.9.dist-info/licenses/LICENSE,sha256=GSZFoPIhWDNJEtSHTQ5dnELN38zFwRiQO2antBezGQk,1093
|
|
192
|
+
rxiv_maker-1.15.9.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|