pyeasyphd 0.3.13__py3-none-any.whl → 0.3.16__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/basic_input.py +12 -14
- {pyeasyphd-0.3.13.dist-info → pyeasyphd-0.3.16.dist-info}/METADATA +2 -2
- {pyeasyphd-0.3.13.dist-info → pyeasyphd-0.3.16.dist-info}/RECORD +20 -22
- pyeasyphd/data/Templates/TEX/eisvogel.beamer +0 -700
- pyeasyphd/data/Templates/TEX/eisvogel.latex +0 -1040
- /pyeasyphd/data/{Templates/CSL → templates/csl}/apa-no-ampersand.csl +0 -0
- /pyeasyphd/data/{Templates/CSL → templates/csl}/apa.csl +0 -0
- /pyeasyphd/data/{Templates/CSL → templates/csl}/ieee.csl +0 -0
- /pyeasyphd/data/{Templates/TEX → templates/tex}/Article.tex +0 -0
- /pyeasyphd/data/{Templates/TEX → templates/tex}/Article_Header.tex +0 -0
- /pyeasyphd/data/{Templates/TEX → templates/tex}/Article_Tail.tex +0 -0
- /pyeasyphd/data/{Templates/TEX → templates/tex}/Beamer_Header.tex +0 -0
- /pyeasyphd/data/{Templates/TEX → templates/tex}/Beamer_Tail.tex +0 -0
- /pyeasyphd/data/{Templates/TEX → templates/tex}/Style.tex +0 -0
- /pyeasyphd/data/{Templates/TEX → templates/tex}/TEVC_Header.tex +0 -0
- /pyeasyphd/data/{Templates/TEX → templates/tex}/TEVC_Tail.tex +0 -0
- /pyeasyphd/data/{Templates/TEX → templates/tex}/eisvogel.tex +0 -0
- /pyeasyphd/data/{Templates/TEX → templates/tex}/math.tex +0 -0
- /pyeasyphd/data/{Templates/TEX → templates/tex}/math_commands.tex +0 -0
- /pyeasyphd/data/{Templates/TEX → templates/tex}/nextaimathmacros.sty +0 -0
- {pyeasyphd-0.3.13.dist-info → pyeasyphd-0.3.16.dist-info}/WHEEL +0 -0
- {pyeasyphd-0.3.13.dist-info → pyeasyphd-0.3.16.dist-info}/licenses/LICENSE +0 -0
pyeasyphd/main/basic_input.py
CHANGED
|
@@ -12,8 +12,6 @@ class BasicInput(BasicInputInPyBibtexer):
|
|
|
12
12
|
options (Dict[str, Any]): Configuration options.
|
|
13
13
|
|
|
14
14
|
Attributes:
|
|
15
|
-
full_json_c (str): Full path to conferences JSON file.
|
|
16
|
-
full_json_j (str): Full path to journals JSON file.
|
|
17
15
|
full_csl_style_pandoc (str): Full path to CSL style for pandoc.
|
|
18
16
|
full_tex_article_template_pandoc (str): Full path to tex article template for pandoc.
|
|
19
17
|
full_tex_beamer_template_pandoc (str): Full path to tex beamer template for pandoc.
|
|
@@ -37,7 +35,7 @@ class BasicInput(BasicInputInPyBibtexer):
|
|
|
37
35
|
super().__init__(options)
|
|
38
36
|
|
|
39
37
|
current_dir = os.path.dirname(os.path.abspath(__file__))
|
|
40
|
-
self._path_templates = os.path.join(os.path.dirname(current_dir), "data", "
|
|
38
|
+
self._path_templates = os.path.join(os.path.dirname(current_dir), "data", "templates")
|
|
41
39
|
|
|
42
40
|
# main
|
|
43
41
|
self._initialize_pandoc_md_to(options)
|
|
@@ -54,14 +52,14 @@ class BasicInput(BasicInputInPyBibtexer):
|
|
|
54
52
|
csl_name = options.get("csl_name", "apa-no-ampersand")
|
|
55
53
|
if not isinstance(csl_name, str):
|
|
56
54
|
csl_name = "apa-no-ampersand"
|
|
57
|
-
self.full_csl_style_pandoc = os.path.join(self._path_templates, "
|
|
55
|
+
self.full_csl_style_pandoc = os.path.join(self._path_templates, "csl", f"{csl_name}.csl")
|
|
58
56
|
if not os.path.exists(self.full_csl_style_pandoc):
|
|
59
|
-
self.full_csl_style_pandoc = os.path.join(self._path_templates, "
|
|
57
|
+
self.full_csl_style_pandoc = os.path.join(self._path_templates, "csl", "apa-no-ampersand.csl")
|
|
60
58
|
|
|
61
|
-
self.full_tex_article_template_pandoc = os.path.join(self._path_templates, "
|
|
62
|
-
self.full_tex_beamer_template_pandoc = os.path.join(self._path_templates, "
|
|
59
|
+
self.full_tex_article_template_pandoc = os.path.join(self._path_templates, "tex", "eisvogel.latex")
|
|
60
|
+
self.full_tex_beamer_template_pandoc = os.path.join(self._path_templates, "tex", "eisvogel.beamer")
|
|
63
61
|
|
|
64
|
-
self.article_template_tex = self._try_read_list("
|
|
62
|
+
self.article_template_tex = self._try_read_list("tex", "Article.tex")
|
|
65
63
|
|
|
66
64
|
def _initialize_python_run_tex(self, options: Dict[str, Any]) -> None:
|
|
67
65
|
"""Initialize Python LaTeX processing configuration.
|
|
@@ -69,12 +67,12 @@ class BasicInput(BasicInputInPyBibtexer):
|
|
|
69
67
|
Args:
|
|
70
68
|
options (Dict[str, Any]): Configuration options.
|
|
71
69
|
"""
|
|
72
|
-
self.article_template_header_tex = self._try_read_list("
|
|
73
|
-
self.article_template_tail_tex = self._try_read_list("
|
|
74
|
-
self.beamer_template_header_tex = self._try_read_list("
|
|
75
|
-
self.beamer_template_tail_tex = self._try_read_list("
|
|
76
|
-
self.math_commands_tex = self._try_read_list("
|
|
77
|
-
self.usepackages_tex = self._try_read_list("
|
|
70
|
+
self.article_template_header_tex = self._try_read_list("tex", "Article_Header.tex")
|
|
71
|
+
self.article_template_tail_tex = self._try_read_list("tex", "Article_Tail.tex")
|
|
72
|
+
self.beamer_template_header_tex = self._try_read_list("tex", "Beamer_Header.tex")
|
|
73
|
+
self.beamer_template_tail_tex = self._try_read_list("tex", "Beamer_Tail.tex")
|
|
74
|
+
self.math_commands_tex = self._try_read_list("tex", "math_commands.tex")
|
|
75
|
+
self.usepackages_tex = self._try_read_list("tex", "Style.tex")
|
|
78
76
|
|
|
79
77
|
# handly preamble
|
|
80
78
|
self.handly_preamble = options.get("handly_preamble", False)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyeasyphd
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.16
|
|
4
4
|
Summary: pyeasyphd
|
|
5
5
|
License: GPL-3.0-or-later
|
|
6
6
|
License-File: LICENSE
|
|
@@ -17,7 +17,7 @@ Classifier: Programming Language :: Python :: 3.13
|
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.14
|
|
18
18
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
19
19
|
Requires-Dist: pyadvtools (>=0.2.4,<0.3.0)
|
|
20
|
-
Requires-Dist: pybibtexer (>=0.2.
|
|
20
|
+
Requires-Dist: pybibtexer (>=0.2.5,<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
|
|
@@ -1,25 +1,23 @@
|
|
|
1
1
|
pyeasyphd/.python-version,sha256=Auc1s9_hwygz61ULf_j_oX9fK8P6HnuuYaj1o4g845g,5
|
|
2
2
|
pyeasyphd/Main.sublime-menu,sha256=TTGNg9MzL5_uz4SXvs2pTdQQNxk9dSJmbUkPjujfQls,1554
|
|
3
3
|
pyeasyphd/__init__.py,sha256=tEypJy-Kmj6Oxpjh767NjkH5Ct0JF1Nhiw3D6-7I4E8,260
|
|
4
|
-
pyeasyphd/data/
|
|
5
|
-
pyeasyphd/data/
|
|
6
|
-
pyeasyphd/data/
|
|
7
|
-
pyeasyphd/data/
|
|
8
|
-
pyeasyphd/data/
|
|
9
|
-
pyeasyphd/data/
|
|
10
|
-
pyeasyphd/data/
|
|
11
|
-
pyeasyphd/data/
|
|
12
|
-
pyeasyphd/data/
|
|
13
|
-
pyeasyphd/data/
|
|
14
|
-
pyeasyphd/data/
|
|
15
|
-
pyeasyphd/data/
|
|
16
|
-
pyeasyphd/data/
|
|
17
|
-
pyeasyphd/data/
|
|
18
|
-
pyeasyphd/data/
|
|
19
|
-
pyeasyphd/data/Templates/TEX/math_commands.tex,sha256=6ZQOletBnFRA6q6fU8TDVN4c9hDEdbmZuKnJgkgzq48,41513
|
|
20
|
-
pyeasyphd/data/Templates/TEX/nextaimathmacros.sty,sha256=iF0jyABkoPUY_XA-lPkvZSlblFuWLX9ie82gRqY0Fks,41644
|
|
4
|
+
pyeasyphd/data/templates/csl/apa-no-ampersand.csl,sha256=ndFDG38PUNyGYpvfGqx_KzoSIs0DXA4w0GHG3MgFV7E,86859
|
|
5
|
+
pyeasyphd/data/templates/csl/apa.csl,sha256=S5OAu8zlZqzubySyR5c2FYDEzkTyuC9aRaJJlsygM8M,84591
|
|
6
|
+
pyeasyphd/data/templates/csl/ieee.csl,sha256=SzU0l89ymSCtmpugSoz2S6uM3_GHvibFZwZewn7WVEA,17413
|
|
7
|
+
pyeasyphd/data/templates/tex/Article.tex,sha256=M-vMXiHc2ncOTahtuY40s3flr2Ojo_-C8DDvLExMKbA,1264
|
|
8
|
+
pyeasyphd/data/templates/tex/Article_Header.tex,sha256=41Wv1BcQMmvh5peKTPh3uK_tm7mOSBnrFqkO0JzlXKU,949
|
|
9
|
+
pyeasyphd/data/templates/tex/Article_Tail.tex,sha256=1m7z4T6h8B8ylw3_4Q8_EOgzhyRRVSHgHrGZ6b5ut4k,35
|
|
10
|
+
pyeasyphd/data/templates/tex/Beamer_Header.tex,sha256=AWzgGmosZBX-YRynsbCChu6iF97FKDp3iU1OvBWeoC4,3692
|
|
11
|
+
pyeasyphd/data/templates/tex/Beamer_Tail.tex,sha256=88F75V0B8mP9naOEzM1S8PuEtYPdpZJAwxFQVVPP5K0,211
|
|
12
|
+
pyeasyphd/data/templates/tex/Style.tex,sha256=CK_Uxf3MEKRhxWC0OnipkHrgQIO_I5CHPBQ_T5wXvog,9726
|
|
13
|
+
pyeasyphd/data/templates/tex/TEVC_Header.tex,sha256=WPFIJLQNRsEcr5jxSw8rpc2gXJrMLie273yfwgEXAOU,1579
|
|
14
|
+
pyeasyphd/data/templates/tex/TEVC_Tail.tex,sha256=FBoefRJsnJrH1-eRZfF68qu_lHjwYZhj-iFWBWfV4tw,86
|
|
15
|
+
pyeasyphd/data/templates/tex/eisvogel.tex,sha256=9bDMPfUFjaHQZPCnYLwjsw5DfBtD04uzwfxvQa9nWuE,30748
|
|
16
|
+
pyeasyphd/data/templates/tex/math.tex,sha256=y_8AJzjmCCX6xmZQ_yCcABqMLqufOeh54pafTvNyUIM,11030
|
|
17
|
+
pyeasyphd/data/templates/tex/math_commands.tex,sha256=6ZQOletBnFRA6q6fU8TDVN4c9hDEdbmZuKnJgkgzq48,41513
|
|
18
|
+
pyeasyphd/data/templates/tex/nextaimathmacros.sty,sha256=iF0jyABkoPUY_XA-lPkvZSlblFuWLX9ie82gRqY0Fks,41644
|
|
21
19
|
pyeasyphd/main/__init__.py,sha256=Pv-7359vftMgw3Wi_GuDy99K0TcY6hVwLkFFip774x8,224
|
|
22
|
-
pyeasyphd/main/basic_input.py,sha256=
|
|
20
|
+
pyeasyphd/main/basic_input.py,sha256=roZSTc8hUavItv0jQsjkmRRf8FHR6FStMrvZcjaSLbk,4484
|
|
23
21
|
pyeasyphd/main/pandoc_md_to.py,sha256=5wRpuf4_ZR9XIRI4HkTcXPiXDwVpdKP3H1Eaf_D2yYQ,16974
|
|
24
22
|
pyeasyphd/main/python_run_md.py,sha256=cqleE-kBGyYdUZIdT3zU58gxDK6oHiRmfvtGEHLG4sA,13923
|
|
25
23
|
pyeasyphd/main/python_run_tex.py,sha256=9Syu8qRjPXN3gEabfRUWxwTFBm_izIcB4yFhsz3QNs0,7672
|
|
@@ -48,7 +46,7 @@ pyeasyphd/tools/search/search_keywords.py,sha256=YCurXuoYeU1ftve0cb8Hcn_g2FXCXf7
|
|
|
48
46
|
pyeasyphd/tools/search/search_writers.py,sha256=Dz6D8m17R7x8NT7_PCjwmzlq29AfUz-N6sjyCguDTo4,15702
|
|
49
47
|
pyeasyphd/tools/search/utils.py,sha256=bo7xtIZu31dQvjol1lwyWq1t6ldbw28oondwK8VbAqk,7562
|
|
50
48
|
pyeasyphd/utils/utils.py,sha256=kWxzzgNwz77K9Q7j-RKTaoPpxqiVLVtaBMMhLuEenwE,3128
|
|
51
|
-
pyeasyphd-0.3.
|
|
52
|
-
pyeasyphd-0.3.
|
|
53
|
-
pyeasyphd-0.3.
|
|
54
|
-
pyeasyphd-0.3.
|
|
49
|
+
pyeasyphd-0.3.16.dist-info/METADATA,sha256=lccWj7sEgdtr1TDT66n2l_d1F9_8gNKVazfta1TJX8I,986
|
|
50
|
+
pyeasyphd-0.3.16.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
|
|
51
|
+
pyeasyphd-0.3.16.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
52
|
+
pyeasyphd-0.3.16.dist-info/RECORD,,
|