Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
papertools
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hanhusheng
papertools
Commits
f5127432
Commit
f5127432
authored
May 08, 2025
by
jiangdongchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bibtex README
parent
ea9e27cc
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
1 deletions
+3
-1
README.md
+2
-0
others/bibtex.png
+0
-0
psrc/stage1/citationProcess.py
+1
-1
No files found.
README.md
View file @
f5127432
...
...
@@ -31,6 +31,8 @@
-
`python-Levenshtein`
# 使用方法
-
将excel表的第三行改为如下图所示包含被引用文章标题的bibtex格式
-
!
[
](./others/bibtex.png)
-
查看config.json正确配置参数,让程序能够找到需要的文件位置和参数
-
默认配置
-
文章的pdf分sheet放置在Papers/sheetname文件夹下
...
...
others/bibtex.png
0 → 100644
View file @
f5127432
20.3 KB
psrc/stage1/citationProcess.py
View file @
f5127432
...
...
@@ -372,7 +372,7 @@ def citationProcess(config: dict):
sheet
.
cell
(
row
=
idx
+
config
[
"content_start"
],
column
=
11
,
value
=
translated_countrys
)
# 第11列是中文国家名称
logging
.
debug
(
f
"Translated countrys info: {translated_countrys}"
)
else
:
logging
.
warning
(
f
"
No countrys info to translate.
"
)
logging
.
warning
(
f
"
{RED}No countrys info to translate.{RESET}
"
)
countrys
=
c2i
.
country_to_idx
(
translated_countrys
)
sheet
.
cell
(
row
=
idx
+
config
[
"content_start"
],
column
=
10
,
value
=
countrys
)
# 第10列是国家索引
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment