pyeasyphd 0.2.6__py3-none-any.whl → 0.2.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.
Potentially problematic release.
This version of pyeasyphd might be problematic. Click here for more details.
- pyeasyphd/main/pandoc_md_to.py +6 -1
- pyeasyphd/pyeasyphd.sublime-settings +2 -0
- pyeasyphd/scripts/run_article_md.py +2 -1
- {pyeasyphd-0.2.6.dist-info → pyeasyphd-0.2.9.dist-info}/METADATA +3 -3
- {pyeasyphd-0.2.6.dist-info → pyeasyphd-0.2.9.dist-info}/RECORD +7 -7
- {pyeasyphd-0.2.6.dist-info → pyeasyphd-0.2.9.dist-info}/WHEEL +0 -0
- {pyeasyphd-0.2.6.dist-info → pyeasyphd-0.2.9.dist-info}/licenses/LICENSE +0 -0
pyeasyphd/main/pandoc_md_to.py
CHANGED
|
@@ -31,6 +31,7 @@ class PandocMdTo(BasicInput):
|
|
|
31
31
|
google_connected_paper_scite (bool): Whether to use Google connected paper scite. Defaults to True.
|
|
32
32
|
display_one_line_reference_note (bool): Whether to display one line reference note. Defaults to False.
|
|
33
33
|
cite_flag_in_tex (str): Citation flag in LaTeX. Defaults to "cite".
|
|
34
|
+
add_url_for_basic_dict (bool): Whether to add url for items in basic dict. Defualts to True.
|
|
34
35
|
"""
|
|
35
36
|
|
|
36
37
|
def __init__(self, options: dict) -> None:
|
|
@@ -52,6 +53,8 @@ class PandocMdTo(BasicInput):
|
|
|
52
53
|
# tex
|
|
53
54
|
self.cite_flag_in_tex: str = options.get("cite_flag_in_tex", "cite")
|
|
54
55
|
|
|
56
|
+
self.add_url_for_basic_dict: bool = options.get("add_url_for_basic_dict", True)
|
|
57
|
+
|
|
55
58
|
def pandoc_md_to_md(
|
|
56
59
|
self, path_bib: str, path_md_one: str, path_md_two: str, name_md_one: Optional[str], name_md_two: Optional[str]
|
|
57
60
|
) -> List[str]:
|
|
@@ -311,7 +314,9 @@ class PandocMdTo(BasicInput):
|
|
|
311
314
|
if (not self.google_connected_paper_scite) and aa:
|
|
312
315
|
bb = [f"([www]({aa[0].strip()}))\n"]
|
|
313
316
|
|
|
314
|
-
|
|
317
|
+
if self.add_url_for_basic_dict:
|
|
318
|
+
a.extend(aa)
|
|
319
|
+
|
|
315
320
|
b.extend(bb)
|
|
316
321
|
|
|
317
322
|
if self.display_one_line_reference_note:
|
|
@@ -36,7 +36,7 @@ def run_article_md_daily_notes(
|
|
|
36
36
|
# bib options
|
|
37
37
|
"abbr_index_article_for_abbr": 1, # 0, 1, 2
|
|
38
38
|
"abbr_index_inproceedings_for_abbr": 2, # 0, 1, 2
|
|
39
|
-
"add_link_to_fields_for_abbr":
|
|
39
|
+
"add_link_to_fields_for_abbr": ["title"], # None, or ["title", "journal", "booktitle"]
|
|
40
40
|
"maximum_authors_for_abbr": 0, # 0, 1, 2, ...
|
|
41
41
|
"add_index_to_entries": False,
|
|
42
42
|
"bib_for_abbr_name": "abbr.bib",
|
|
@@ -62,6 +62,7 @@ def run_article_md_daily_notes(
|
|
|
62
62
|
"generate_tex": False,
|
|
63
63
|
|
|
64
64
|
# md options
|
|
65
|
+
"add_url_for_basic_dict": False, # True
|
|
65
66
|
"final_output_main_md_name": "main.md",
|
|
66
67
|
"delete_temp_generate_md": True,
|
|
67
68
|
"add_reference_in_md": True,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyeasyphd
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.9
|
|
4
4
|
Summary: pyeasyphd
|
|
5
5
|
License: GPL-3.0-or-later
|
|
6
6
|
License-File: LICENSE
|
|
@@ -16,8 +16,8 @@ Classifier: Programming Language :: Python :: 3.12
|
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.13
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.14
|
|
18
18
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
19
|
-
Requires-Dist: pyadvtools (>=0.2.
|
|
20
|
-
Requires-Dist: pybibtexer (>=0.2.
|
|
19
|
+
Requires-Dist: pyadvtools (>=0.2.4,<0.3.0)
|
|
20
|
+
Requires-Dist: pybibtexer (>=0.2.1,<0.3.0)
|
|
21
21
|
Project-URL: Documentation, https://github.com/Easy-PhD/pyeasyphd
|
|
22
22
|
Project-URL: Homepage, https://github.com/Easy-PhD/pyeasyphd
|
|
23
23
|
Project-URL: Repository, https://github.com/Easy-PhD/pyeasyphd
|
|
@@ -19,13 +19,13 @@ pyeasyphd/data/Templates/TEX/math.tex,sha256=eDpuVcjIv-iugZXQRxKFTAyXujMZflTjKlD
|
|
|
19
19
|
pyeasyphd/data/Templates/TEX/math_commands.tex,sha256=4bHrv5hFsvXRtOLdVqhPuHJFT9eKKje_My3YTnknJvQ,41391
|
|
20
20
|
pyeasyphd/main/__init__.py,sha256=Y7K7DO_MZZlbtxt5oAnyYuCggN2f9tu4cRfpA3lPaiI,416
|
|
21
21
|
pyeasyphd/main/basic_input.py,sha256=w_4sHS-gOmk7j5dDKQjU0fxXLO2eM3UkvR7o1urgeAg,4607
|
|
22
|
-
pyeasyphd/main/pandoc_md_to.py,sha256=
|
|
22
|
+
pyeasyphd/main/pandoc_md_to.py,sha256=P3IDMfy43dV-8OJXJIHhzyWHGBQKDPSEoAFcGe76tA4,16387
|
|
23
23
|
pyeasyphd/main/python_run_md.py,sha256=76wuw9tK0D9_hRpt42-GUAjanGSKHdNWw5QrBmiEwjQ,12636
|
|
24
24
|
pyeasyphd/main/python_run_tex.py,sha256=9Syu8qRjPXN3gEabfRUWxwTFBm_izIcB4yFhsz3QNs0,7672
|
|
25
25
|
pyeasyphd/pyeasyphd.py,sha256=OAwbwq2rSXLSk2AoTAF8hmlOMRSRfvDn1Uqk-zkuqH8,3470
|
|
26
|
-
pyeasyphd/pyeasyphd.sublime-settings,sha256=
|
|
26
|
+
pyeasyphd/pyeasyphd.sublime-settings,sha256=2-lm1UtKDiFCEZ_eUsnf3AEVNoP529v_TJ-TRoUGhSo,2905
|
|
27
27
|
pyeasyphd/pyeasyphd.sublime-syntax,sha256=pXylbA-tye-K5dCTjEJLFVRqtY1T7AgWZ4laxo-dnaE,73
|
|
28
|
-
pyeasyphd/scripts/run_article_md.py,sha256=
|
|
28
|
+
pyeasyphd/scripts/run_article_md.py,sha256=6lOdDfvq10Bks19b_5hE3vuJwssgUIjhzzI-pWXHXeE,3656
|
|
29
29
|
pyeasyphd/tools/__init__.py,sha256=u1MZu_JjVac3HhEmcSTwroS83UVu0W5Vspy3Wu_-GH8,496
|
|
30
30
|
pyeasyphd/tools/generate/generate_from_bibs.py,sha256=Dp1MyADwIRb9qFTFOkMPJLaeeh7NBjuiSLBN7smP2eo,7640
|
|
31
31
|
pyeasyphd/tools/generate/generate_html.py,sha256=JzUEqgTVCaFzd4hXTYUEf0cVSO1QRe0nVUS72W6oyyU,5349
|
|
@@ -39,7 +39,7 @@ pyeasyphd/tools/search/search_keywords.py,sha256=YCurXuoYeU1ftve0cb8Hcn_g2FXCXf7
|
|
|
39
39
|
pyeasyphd/tools/search/search_writers.py,sha256=Dz6D8m17R7x8NT7_PCjwmzlq29AfUz-N6sjyCguDTo4,15702
|
|
40
40
|
pyeasyphd/tools/search/utils.py,sha256=bo7xtIZu31dQvjol1lwyWq1t6ldbw28oondwK8VbAqk,7562
|
|
41
41
|
pyeasyphd/utils/utils.py,sha256=kWxzzgNwz77K9Q7j-RKTaoPpxqiVLVtaBMMhLuEenwE,3128
|
|
42
|
-
pyeasyphd-0.2.
|
|
43
|
-
pyeasyphd-0.2.
|
|
44
|
-
pyeasyphd-0.2.
|
|
45
|
-
pyeasyphd-0.2.
|
|
42
|
+
pyeasyphd-0.2.9.dist-info/METADATA,sha256=fSyP1_aQSE5_dm600mr-OEkVfpto4nm0LZCGlBmG8UE,985
|
|
43
|
+
pyeasyphd-0.2.9.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
|
|
44
|
+
pyeasyphd-0.2.9.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
45
|
+
pyeasyphd-0.2.9.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|