rxiv-maker 1.16.2__py3-none-any.whl → 1.16.3__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,3 +1,3 @@
1
1
  """Version information."""
2
2
 
3
- __version__ = "1.16.2"
3
+ __version__ = "1.16.3"
@@ -50,12 +50,29 @@ def generate_bst_file(format_type: str, output_dir: Path) -> Path:
50
50
  format_string = BST_FORMAT_MAP[format_type]
51
51
 
52
52
  # Find the template .bst file in the package
53
- # The template is located at src/tex/style/rxiv_maker_style.bst
54
- package_root = Path(__file__).parent.parent.parent
55
- template_path = package_root / "tex" / "style" / "rxiv_maker_style.bst"
56
-
57
- if not template_path.exists():
58
- raise FileNotFoundError(f"Template .bst file not found at: {template_path}")
53
+ # Try multiple locations for development and installed configurations
54
+ possible_template_paths = [
55
+ # Installed package location (site-packages/rxiv_maker/tex/style/)
56
+ Path(__file__).parent.parent / "tex" / "style" / "rxiv_maker_style.bst",
57
+ # Development location (src/tex/style/)
58
+ Path(__file__).parent.parent.parent / "tex" / "style" / "rxiv_maker_style.bst",
59
+ # Alternative development location
60
+ Path(__file__).parent.parent.parent.parent / "src" / "tex" / "style" / "rxiv_maker_style.bst",
61
+ ]
62
+
63
+ template_path = None
64
+ for path in possible_template_paths:
65
+ if path.exists():
66
+ template_path = path
67
+ break
68
+
69
+ if template_path is None:
70
+ searched_paths = "\n".join(f" - {p}" for p in possible_template_paths)
71
+ raise FileNotFoundError(
72
+ f"Template .bst file not found.\n"
73
+ f"Searched locations:\n{searched_paths}\n"
74
+ f"This may indicate a corrupted installation."
75
+ )
59
76
 
60
77
  # Read the template file
61
78
  try:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rxiv-maker
3
- Version: 1.16.2
3
+ Version: 1.16.3
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=h4vGk0FuyrlvBrEgVAsEBcpJH8-ziWXS5OvVb5x9ykI,51
2
+ rxiv_maker/__version__.py,sha256=Ee6U6W-eWQHTVnWV61WELv3p6G3PUDkO5Vt_RwLkSb0,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
@@ -147,7 +147,7 @@ rxiv_maker/utils/__init__.py,sha256=4ya5VR8jqRqUChlnUeMeeetOuWV-gIvjPwcE1u_1OnI,
147
147
  rxiv_maker/utils/author_name_formatter.py,sha256=UjvarbyQm89EUIYqckygx3g37o-EcNyvipBtY8GJDxs,10222
148
148
  rxiv_maker/utils/bibliography_checksum.py,sha256=Jh4VILSpGQ5KJ9UBCUb7oFy6lZ9_ncXD87vEXxw5jbY,10270
149
149
  rxiv_maker/utils/bibliography_parser.py,sha256=WZIQoEpVwdbLmbkw9FdkVgoLE5GX7itqnzPnEEb_fFU,6846
150
- rxiv_maker/utils/bst_generator.py,sha256=EHNhMT0Tq6YXUh2TfpGwOzYaarAyjEsAeeJ4H4np7Og,4313
150
+ rxiv_maker/utils/bst_generator.py,sha256=kS4k_cc2GNm3l-bwaVU7uffWbH3VDzHwgCXHn7Ro9xI,5002
151
151
  rxiv_maker/utils/changelog_parser.py,sha256=WCDp9Iy6H6_3nC6FB7RLt6i00zuCyvU17sCU4e3pqCY,11954
152
152
  rxiv_maker/utils/citation_utils.py,sha256=spIgVxPAN6jPvoG-eOE00rVX_buUGKnUjP1Fhz31sl4,5134
153
153
  rxiv_maker/utils/dependency_checker.py,sha256=EdyIvk-W_bhC1DJCpFw5ePhjEU74C9j7RYMm06unBMA,14366
@@ -187,8 +187,8 @@ rxiv_maker/validators/doi/metadata_comparator.py,sha256=euqHhKP5sHQAdZbdoAahUn6Y
187
187
  rxiv_maker/tex/template.tex,sha256=zrJ3aFfu8j9zkg1l375eE9w-j42P3rz16wMD3dSgi1I,1354
188
188
  rxiv_maker/tex/style/rxiv_maker_style.bst,sha256=jbVqrJgAm6F88cow5vtZuPBwwmlcYykclTm8RvZIo6Y,24281
189
189
  rxiv_maker/tex/style/rxiv_maker_style.cls,sha256=F2qtnS9mI6SwOIaVH76egXZkB2_GzbH4gCTG_ZcfCDQ,24253
190
- rxiv_maker-1.16.2.dist-info/METADATA,sha256=V3WoTrIExIZesjZ8DAfQeZFUxr9-Pma4tmSGH13iiuw,19818
191
- rxiv_maker-1.16.2.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
192
- rxiv_maker-1.16.2.dist-info/entry_points.txt,sha256=ghCN0hI9A1GlG7QY5F6E-xYPflA8CyS4B6bTQ1YLop0,97
193
- rxiv_maker-1.16.2.dist-info/licenses/LICENSE,sha256=GSZFoPIhWDNJEtSHTQ5dnELN38zFwRiQO2antBezGQk,1093
194
- rxiv_maker-1.16.2.dist-info/RECORD,,
190
+ rxiv_maker-1.16.3.dist-info/METADATA,sha256=oM615ZOWCjw_f6jWA7K0rnaI9S19-C9mks2Afm9JLZ0,19818
191
+ rxiv_maker-1.16.3.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
192
+ rxiv_maker-1.16.3.dist-info/entry_points.txt,sha256=ghCN0hI9A1GlG7QY5F6E-xYPflA8CyS4B6bTQ1YLop0,97
193
+ rxiv_maker-1.16.3.dist-info/licenses/LICENSE,sha256=GSZFoPIhWDNJEtSHTQ5dnELN38zFwRiQO2antBezGQk,1093
194
+ rxiv_maker-1.16.3.dist-info/RECORD,,