academia-mcp 1.7.1__tar.gz → 1.7.3__tar.gz
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.
- {academia_mcp-1.7.1 → academia_mcp-1.7.3}/PKG-INFO +1 -1
- academia_mcp-1.7.3/academia_mcp/latex_templates/agents4science_2025/agents4science_2025.tex +459 -0
- {academia_mcp-1.7.1 → academia_mcp-1.7.3}/academia_mcp/tools/s2_citations.py +9 -7
- {academia_mcp-1.7.1 → academia_mcp-1.7.3}/academia_mcp.egg-info/PKG-INFO +1 -1
- {academia_mcp-1.7.1 → academia_mcp-1.7.3}/pyproject.toml +1 -1
- {academia_mcp-1.7.1 → academia_mcp-1.7.3}/tests/test_s2_citations.py +4 -10
- academia_mcp-1.7.1/academia_mcp/latex_templates/agents4science_2025/agents4science_2025.tex +0 -690
- {academia_mcp-1.7.1 → academia_mcp-1.7.3}/LICENSE +0 -0
- {academia_mcp-1.7.1 → academia_mcp-1.7.3}/README.md +0 -0
- {academia_mcp-1.7.1 → academia_mcp-1.7.3}/academia_mcp/__init__.py +0 -0
- {academia_mcp-1.7.1 → academia_mcp-1.7.3}/academia_mcp/__main__.py +0 -0
- {academia_mcp-1.7.1 → academia_mcp-1.7.3}/academia_mcp/files.py +0 -0
- {academia_mcp-1.7.1 → academia_mcp-1.7.3}/academia_mcp/latex_templates/agents4science_2025/agents4science_2025.sty +0 -0
- {academia_mcp-1.7.1 → academia_mcp-1.7.3}/academia_mcp/llm.py +0 -0
- {academia_mcp-1.7.1 → academia_mcp-1.7.3}/academia_mcp/pdf.py +0 -0
- {academia_mcp-1.7.1 → academia_mcp-1.7.3}/academia_mcp/py.typed +0 -0
- {academia_mcp-1.7.1 → academia_mcp-1.7.3}/academia_mcp/server.py +0 -0
- {academia_mcp-1.7.1 → academia_mcp-1.7.3}/academia_mcp/tools/__init__.py +0 -0
- {academia_mcp-1.7.1 → academia_mcp-1.7.3}/academia_mcp/tools/anthology_search.py +0 -0
- {academia_mcp-1.7.1 → academia_mcp-1.7.3}/academia_mcp/tools/arxiv_download.py +0 -0
- {academia_mcp-1.7.1 → academia_mcp-1.7.3}/academia_mcp/tools/arxiv_search.py +0 -0
- {academia_mcp-1.7.1 → academia_mcp-1.7.3}/academia_mcp/tools/bitflip.py +0 -0
- {academia_mcp-1.7.1 → academia_mcp-1.7.3}/academia_mcp/tools/document_qa.py +0 -0
- {academia_mcp-1.7.1 → academia_mcp-1.7.3}/academia_mcp/tools/hf_datasets_search.py +0 -0
- {academia_mcp-1.7.1 → academia_mcp-1.7.3}/academia_mcp/tools/latex.py +0 -0
- {academia_mcp-1.7.1 → academia_mcp-1.7.3}/academia_mcp/tools/py.typed +0 -0
- {academia_mcp-1.7.1 → academia_mcp-1.7.3}/academia_mcp/tools/review.py +0 -0
- {academia_mcp-1.7.1 → academia_mcp-1.7.3}/academia_mcp/tools/visit_webpage.py +0 -0
- {academia_mcp-1.7.1 → academia_mcp-1.7.3}/academia_mcp/tools/web_search.py +0 -0
- {academia_mcp-1.7.1 → academia_mcp-1.7.3}/academia_mcp/utils.py +0 -0
- {academia_mcp-1.7.1 → academia_mcp-1.7.3}/academia_mcp.egg-info/SOURCES.txt +0 -0
- {academia_mcp-1.7.1 → academia_mcp-1.7.3}/academia_mcp.egg-info/dependency_links.txt +0 -0
- {academia_mcp-1.7.1 → academia_mcp-1.7.3}/academia_mcp.egg-info/entry_points.txt +0 -0
- {academia_mcp-1.7.1 → academia_mcp-1.7.3}/academia_mcp.egg-info/requires.txt +0 -0
- {academia_mcp-1.7.1 → academia_mcp-1.7.3}/academia_mcp.egg-info/top_level.txt +0 -0
- {academia_mcp-1.7.1 → academia_mcp-1.7.3}/setup.cfg +0 -0
- {academia_mcp-1.7.1 → academia_mcp-1.7.3}/tests/test_anthology_search.py +0 -0
- {academia_mcp-1.7.1 → academia_mcp-1.7.3}/tests/test_arxiv_download.py +0 -0
- {academia_mcp-1.7.1 → academia_mcp-1.7.3}/tests/test_arxiv_search.py +0 -0
- {academia_mcp-1.7.1 → academia_mcp-1.7.3}/tests/test_bitflip.py +0 -0
- {academia_mcp-1.7.1 → academia_mcp-1.7.3}/tests/test_document_qa.py +0 -0
- {academia_mcp-1.7.1 → academia_mcp-1.7.3}/tests/test_extract_json.py +0 -0
- {academia_mcp-1.7.1 → academia_mcp-1.7.3}/tests/test_hf_dataset_search.py +0 -0
- {academia_mcp-1.7.1 → academia_mcp-1.7.3}/tests/test_latex.py +0 -0
- {academia_mcp-1.7.1 → academia_mcp-1.7.3}/tests/test_review.py +0 -0
- {academia_mcp-1.7.1 → academia_mcp-1.7.3}/tests/test_visit_webpage.py +0 -0
- {academia_mcp-1.7.1 → academia_mcp-1.7.3}/tests/test_web_search.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: academia-mcp
|
3
|
-
Version: 1.7.
|
3
|
+
Version: 1.7.3
|
4
4
|
Summary: MCP server that provides different tools to search for scientific publications
|
5
5
|
Author-email: Ilya Gusev <phoenixilya@gmail.com>
|
6
6
|
Project-URL: Homepage, https://github.com/IlyaGusev/academia_mcp
|
@@ -0,0 +1,459 @@
|
|
1
|
+
\documentclass{article}
|
2
|
+
|
3
|
+
% if you need to pass options to natbib, use, e.g.:
|
4
|
+
% \PassOptionsToPackage{numbers, compress}{natbib}
|
5
|
+
% before loading agents4science_2025
|
6
|
+
|
7
|
+
% ready for submission
|
8
|
+
% \usepackage{agents4science_2025}
|
9
|
+
|
10
|
+
% to compile a preprint version, e.g., for submission to arXiv, add the
|
11
|
+
% [preprint] option:
|
12
|
+
\usepackage[preprint]{agents4science_2025}
|
13
|
+
|
14
|
+
% to compile a camera-ready version, add the [final] option, e.g.:
|
15
|
+
% \usepackage[final]{agents4science_2025}
|
16
|
+
|
17
|
+
% to avoid loading the natbib package, add option nonatbib:
|
18
|
+
% \usepackage[nonatbib]{agents4science_2025}
|
19
|
+
|
20
|
+
% For workshops, the authors should use the workshop options and add the name of the workshop.
|
21
|
+
% The "\workshoptitle" command is used to set the workshop title.
|
22
|
+
%
|
23
|
+
% \usepackage[sglblindworkshop]{agents4science_2025}
|
24
|
+
% \workshoptitle{WORKSHOP TITLE}
|
25
|
+
|
26
|
+
|
27
|
+
\usepackage[utf8]{inputenc} % allow utf-8 input
|
28
|
+
\usepackage[T1]{fontenc} % use 8-bit T1 fonts
|
29
|
+
\usepackage{hyperref} % hyperlinks
|
30
|
+
\usepackage{url} % simple URL typesetting
|
31
|
+
\usepackage{booktabs} % professional-quality tables
|
32
|
+
\usepackage{amsfonts} % blackboard math symbols
|
33
|
+
\usepackage{nicefrac} % compact symbols for 1/2, etc.
|
34
|
+
\usepackage{microtype} % microtypography
|
35
|
+
\usepackage{xcolor} % colors
|
36
|
+
|
37
|
+
% Note: For the workshop paper template, both \title{} and \workshoptitle{} are required.
|
38
|
+
% \title{} is the paper title and \workshoptitle{} is the workshop title for the footnote.
|
39
|
+
\title{Formatting Instructions For Agents4Science 2025}
|
40
|
+
|
41
|
+
|
42
|
+
% The \author macro works with any number of authors. There are two commands
|
43
|
+
% used to separate the names and addresses of multiple authors: \And and \AND.
|
44
|
+
%
|
45
|
+
% Using \And between authors leaves it to LaTeX to determine where to break the
|
46
|
+
% lines. Using \AND forces a line break at that point. So, if LaTeX puts 3 of 4
|
47
|
+
% authors names on the first line, and the last on the second line, try using
|
48
|
+
% \AND instead of \And before the third author name.
|
49
|
+
|
50
|
+
|
51
|
+
\author{%
|
52
|
+
David S.~Hippocampus\thanks{Use footnote for providing further information
|
53
|
+
about author (webpage, alternative address)---\emph{not} for acknowledging
|
54
|
+
funding agencies.} \\
|
55
|
+
Department of Computer Science\\
|
56
|
+
Cranberry-Lemon University\\
|
57
|
+
Pittsburgh, PA 15213 \\
|
58
|
+
\texttt{hippo@cs.cranberry-lemon.edu} \\
|
59
|
+
% examples of more authors
|
60
|
+
% \And
|
61
|
+
% Coauthor \\
|
62
|
+
% Affiliation \\
|
63
|
+
% Address \\
|
64
|
+
% \texttt{email} \\
|
65
|
+
% \AND
|
66
|
+
% Coauthor \\
|
67
|
+
% Affiliation \\
|
68
|
+
% Address \\
|
69
|
+
% \texttt{email} \\
|
70
|
+
% \And
|
71
|
+
% Coauthor \\
|
72
|
+
% Affiliation \\
|
73
|
+
% Address \\
|
74
|
+
% \texttt{email} \\
|
75
|
+
% \And
|
76
|
+
% Coauthor \\
|
77
|
+
% Affiliation \\
|
78
|
+
% Address \\
|
79
|
+
% \texttt{email} \\
|
80
|
+
}
|
81
|
+
|
82
|
+
|
83
|
+
\begin{document}
|
84
|
+
|
85
|
+
|
86
|
+
\maketitle
|
87
|
+
|
88
|
+
|
89
|
+
\begin{abstract}
|
90
|
+
The abstract paragraph should be indented \nicefrac{1}{2}~inch (3~picas) on
|
91
|
+
both the left- and right-hand margins. Use 10~point type, with a vertical
|
92
|
+
spacing (leading) of 11~points. The word \textbf{Abstract} must be centered,
|
93
|
+
bold, and in point size 12. Two line spaces precede the abstract. The abstract
|
94
|
+
must be limited to one paragraph.
|
95
|
+
\end{abstract}
|
96
|
+
|
97
|
+
|
98
|
+
\section{Submission of papers to Agents4Science 2025}
|
99
|
+
|
100
|
+
|
101
|
+
Please read the instructions below carefully and follow them faithfully.
|
102
|
+
|
103
|
+
|
104
|
+
\subsection{Style}
|
105
|
+
|
106
|
+
|
107
|
+
Papers to be submitted to Agents4Science 2025 must be prepared according to the
|
108
|
+
instructions presented here. Papers may only be up to {\bf eight} pages long,
|
109
|
+
including figures.
|
110
|
+
Additional pages \emph{containing references, checklist, and the optional technical appendices} do not count as content pages.
|
111
|
+
Papers that exceed the page limit will not be
|
112
|
+
reviewed, or in any other way considered for presentation at the conference.
|
113
|
+
|
114
|
+
|
115
|
+
Authors are required to use the Agents4Science \LaTeX{} style files obtainable at the
|
116
|
+
conference website as indicated below. Please make sure you use the current files
|
117
|
+
and not previous versions. Tweaking the style files may be grounds for
|
118
|
+
rejection.
|
119
|
+
|
120
|
+
|
121
|
+
\subsection{Retrieval of style files}
|
122
|
+
|
123
|
+
|
124
|
+
The style files for Agents4Science and other conference information are available on
|
125
|
+
the website at
|
126
|
+
\begin{center}
|
127
|
+
\url{https://agents4science.stanford.edu}
|
128
|
+
\end{center}
|
129
|
+
The file \verb+agents4science_2025.pdf+ contains these instructions and illustrates the
|
130
|
+
various formatting requirements your paper must satisfy.
|
131
|
+
|
132
|
+
|
133
|
+
The only supported style file for Agents4Science 2025 is \verb+agents4science_2025.sty+,
|
134
|
+
rewritten for \LaTeXe{}.
|
135
|
+
|
136
|
+
|
137
|
+
The \LaTeX{} style file contains three optional arguments: \verb+final+, which
|
138
|
+
creates a camera-ready copy, \verb+preprint+, which creates a preprint for
|
139
|
+
submission to, e.g., arXiv, and \verb+nonatbib+, which will not load the
|
140
|
+
\verb+natbib+ package for you in case of package clash.
|
141
|
+
|
142
|
+
|
143
|
+
\paragraph{Preprint option}
|
144
|
+
If you wish to post a preprint of your work online, e.g., on arXiv, using the
|
145
|
+
Agents4Science style, please use the \verb+preprint+ option. This will create a
|
146
|
+
nonanonymized version of your work with the text ``Preprint.''
|
147
|
+
in the footer. This version may be distributed as you see fit, as long as you do not say which conference it was submitted to. Please \textbf{do
|
148
|
+
not} use the \verb+final+ option, which should \textbf{only} be used for
|
149
|
+
papers accepted to Agents4Science.
|
150
|
+
|
151
|
+
|
152
|
+
At submission time, please omit the \verb+final+ and \verb+preprint+
|
153
|
+
options. This will anonymize your submission and add line numbers to aid
|
154
|
+
review. Please do \emph{not} refer to these line numbers in your paper as they
|
155
|
+
will be removed during generation of camera-ready copies.
|
156
|
+
|
157
|
+
|
158
|
+
The file \verb+agents4science_2025.tex+ may be used as a ``shell'' for writing your
|
159
|
+
paper. All you have to do is replace the author, title, abstract, and text of
|
160
|
+
the paper with your own.
|
161
|
+
|
162
|
+
|
163
|
+
The formatting instructions contained in these style files are summarized in
|
164
|
+
Sections \ref{gen_inst}, \ref{headings}, and \ref{others} below.
|
165
|
+
|
166
|
+
|
167
|
+
\section{General formatting instructions}
|
168
|
+
\label{gen_inst}
|
169
|
+
|
170
|
+
|
171
|
+
The text must be confined within a rectangle 5.5~inches (33~picas) wide and
|
172
|
+
9~inches (54~picas) long. The left margin is 1.5~inch (9~picas). Use 10~point
|
173
|
+
type with a vertical spacing (leading) of 11~points. Times New Roman is the
|
174
|
+
preferred typeface throughout, and will be selected for you by default.
|
175
|
+
Paragraphs are separated by \nicefrac{1}{2}~line space (5.5 points), with no
|
176
|
+
indentation.
|
177
|
+
|
178
|
+
|
179
|
+
The paper title should be 17~point, initial caps/lower case, bold, centered
|
180
|
+
between two horizontal rules. The top and bottom rules should be 2~points thick.
|
181
|
+
Allow \nicefrac{1}{4}~inch space above and below the title to rules. All pages
|
182
|
+
should start at 1~inch (6~picas) from the top of the page.
|
183
|
+
|
184
|
+
|
185
|
+
For the final version, authors' names are set in boldface, and each name is
|
186
|
+
centered above the corresponding address. The lead author's name is to be listed
|
187
|
+
first (left-most), and the co-authors' names (if different address) are set to
|
188
|
+
follow. If there is only one co-author, list both author and co-author side by
|
189
|
+
side.
|
190
|
+
|
191
|
+
|
192
|
+
Please pay special attention to the instructions in Section \ref{others}
|
193
|
+
regarding figures, tables, acknowledgments, and references.
|
194
|
+
|
195
|
+
\section{Headings: first level}
|
196
|
+
\label{headings}
|
197
|
+
|
198
|
+
|
199
|
+
All headings should be lower case (except for first word and proper nouns),
|
200
|
+
flush left, and bold.
|
201
|
+
|
202
|
+
|
203
|
+
First-level headings should be in 12-point type.
|
204
|
+
|
205
|
+
|
206
|
+
\subsection{Headings: second level}
|
207
|
+
|
208
|
+
|
209
|
+
Second-level headings should be in 10-point type.
|
210
|
+
|
211
|
+
|
212
|
+
\subsubsection{Headings: third level}
|
213
|
+
|
214
|
+
|
215
|
+
Third-level headings should be in 10-point type.
|
216
|
+
|
217
|
+
|
218
|
+
\paragraph{Paragraphs}
|
219
|
+
|
220
|
+
|
221
|
+
There is also a \verb+\paragraph+ command available, which sets the heading in
|
222
|
+
bold, flush left, and inline with the text, with the heading followed by 1\,em
|
223
|
+
of space.
|
224
|
+
|
225
|
+
|
226
|
+
\section{Citations, figures, tables, references}
|
227
|
+
\label{others}
|
228
|
+
|
229
|
+
|
230
|
+
These instructions apply to everyone.
|
231
|
+
|
232
|
+
|
233
|
+
\subsection{Citations within the text}
|
234
|
+
|
235
|
+
|
236
|
+
The \verb+natbib+ package will be loaded for you by default. Citations may be
|
237
|
+
author/year or numeric, as long as you maintain internal consistency. As to the
|
238
|
+
format of the references themselves, any style is acceptable as long as it is
|
239
|
+
used consistently.
|
240
|
+
|
241
|
+
|
242
|
+
The documentation for \verb+natbib+ may be found at
|
243
|
+
\begin{center}
|
244
|
+
\url{http://mirrors.ctan.org/macros/latex/contrib/natbib/natnotes.pdf}
|
245
|
+
\end{center}
|
246
|
+
Of note is the command \verb+\citet+, which produces citations appropriate for
|
247
|
+
use in inline text. For example,
|
248
|
+
\begin{verbatim}
|
249
|
+
\citet{hasselmo} investigated\dots
|
250
|
+
\end{verbatim}
|
251
|
+
produces
|
252
|
+
\begin{quote}
|
253
|
+
Hasselmo, et al.\ (1995) investigated\dots
|
254
|
+
\end{quote}
|
255
|
+
|
256
|
+
|
257
|
+
If you wish to load the \verb+natbib+ package with options, you may add the
|
258
|
+
following before loading the \verb+agents4science_2025+ package:
|
259
|
+
\begin{verbatim}
|
260
|
+
\PassOptionsToPackage{options}{natbib}
|
261
|
+
\end{verbatim}
|
262
|
+
|
263
|
+
|
264
|
+
If \verb+natbib+ clashes with another package you load, you can add the optional
|
265
|
+
argument \verb+nonatbib+ when loading the style file:
|
266
|
+
\begin{verbatim}
|
267
|
+
\usepackage[nonatbib]{agents4science_2025}
|
268
|
+
\end{verbatim}
|
269
|
+
|
270
|
+
|
271
|
+
As submission is double blind, refer to your own published work in the third
|
272
|
+
person. That is, use ``In the previous work of Jones et al.\ [4],'' not ``In our
|
273
|
+
previous work [4].'' If you cite your other papers that are not widely available
|
274
|
+
(e.g., a journal paper under review), use anonymous author names in the
|
275
|
+
citation, e.g., an author of the form ``A.\ Anonymous'' and include a copy of the anonymized paper in the supplementary material.
|
276
|
+
|
277
|
+
|
278
|
+
\subsection{Footnotes}
|
279
|
+
|
280
|
+
|
281
|
+
Footnotes should be used sparingly. If you do require a footnote, indicate
|
282
|
+
footnotes with a number\footnote{Sample of the first footnote.} in the
|
283
|
+
text. Place the footnotes at the bottom of the page on which they appear.
|
284
|
+
Precede the footnote with a horizontal rule of 2~inches (12~picas).
|
285
|
+
|
286
|
+
|
287
|
+
Note that footnotes are properly typeset \emph{after} punctuation
|
288
|
+
marks.\footnote{As in this example.}
|
289
|
+
|
290
|
+
|
291
|
+
\subsection{Figures}
|
292
|
+
|
293
|
+
|
294
|
+
\begin{figure}
|
295
|
+
\centering
|
296
|
+
\fbox{\rule[-.5cm]{0cm}{4cm} \rule[-.5cm]{4cm}{0cm}}
|
297
|
+
\caption{Sample figure caption.}
|
298
|
+
\end{figure}
|
299
|
+
|
300
|
+
|
301
|
+
All artwork must be neat, clean, and legible. Lines should be dark enough for
|
302
|
+
purposes of reproduction. The figure number and caption always appear after the
|
303
|
+
figure. Place one line space before the figure caption and one line space after
|
304
|
+
the figure. The figure caption should be lower case (except for first word and
|
305
|
+
proper nouns); figures are numbered consecutively.
|
306
|
+
|
307
|
+
|
308
|
+
You may use color figures. However, it is best for the figure captions and the
|
309
|
+
paper body to be legible if the paper is printed in either black/white or in
|
310
|
+
color.
|
311
|
+
|
312
|
+
|
313
|
+
\subsection{Tables}
|
314
|
+
|
315
|
+
|
316
|
+
All tables must be centered, neat, clean and legible. The table number and
|
317
|
+
title always appear before the table. See Table~\ref{sample-table}.
|
318
|
+
|
319
|
+
|
320
|
+
Place one line space before the table title, one line space after the
|
321
|
+
table title, and one line space after the table. The table title must
|
322
|
+
be lower case (except for first word and proper nouns); tables are
|
323
|
+
numbered consecutively.
|
324
|
+
|
325
|
+
|
326
|
+
Note that publication-quality tables \emph{do not contain vertical rules.} We
|
327
|
+
strongly suggest the use of the \verb+booktabs+ package, which allows for
|
328
|
+
typesetting high-quality, professional tables:
|
329
|
+
\begin{center}
|
330
|
+
\url{https://www.ctan.org/pkg/booktabs}
|
331
|
+
\end{center}
|
332
|
+
This package was used to typeset Table~\ref{sample-table}.
|
333
|
+
|
334
|
+
|
335
|
+
\begin{table}
|
336
|
+
\caption{Sample table title}
|
337
|
+
\label{sample-table}
|
338
|
+
\centering
|
339
|
+
\begin{tabular}{lll}
|
340
|
+
\toprule
|
341
|
+
\multicolumn{2}{c}{Part} \\
|
342
|
+
\cmidrule(r){1-2}
|
343
|
+
Name & Description & Size ($\mu$m) \\
|
344
|
+
\midrule
|
345
|
+
Dendrite & Input terminal & $\sim$100 \\
|
346
|
+
Axon & Output terminal & $\sim$10 \\
|
347
|
+
Soma & Cell body & up to $10^6$ \\
|
348
|
+
\bottomrule
|
349
|
+
\end{tabular}
|
350
|
+
\end{table}
|
351
|
+
|
352
|
+
\subsection{Math}
|
353
|
+
Note that display math in bare TeX commands will not create correct line numbers for submission. Please use LaTeX (or AMSTeX) commands for unnumbered display math. (You really shouldn't be using \$\$ anyway; see \url{https://tex.stackexchange.com/questions/503/why-is-preferable-to} and \url{https://tex.stackexchange.com/questions/40492/what-are-the-differences-between-align-equation-and-displaymath} for more information.)
|
354
|
+
|
355
|
+
\subsection{Final instructions}
|
356
|
+
|
357
|
+
Do not change any aspects of the formatting parameters in the style files. In
|
358
|
+
particular, do not modify the width or length of the rectangle the text should
|
359
|
+
fit into, and do not change font sizes (except perhaps in the
|
360
|
+
\textbf{References} section; see below). Please note that pages should be
|
361
|
+
numbered.
|
362
|
+
|
363
|
+
|
364
|
+
\section{Preparing PDF files}
|
365
|
+
|
366
|
+
|
367
|
+
Please prepare submission files with paper size ``US Letter,'' and not, for
|
368
|
+
example, ``A4.''
|
369
|
+
|
370
|
+
|
371
|
+
Fonts were the main cause of problems in the past years. Your PDF file must only
|
372
|
+
contain Type 1 or Embedded TrueType fonts. Here are a few instructions to
|
373
|
+
achieve this.
|
374
|
+
|
375
|
+
|
376
|
+
\begin{itemize}
|
377
|
+
|
378
|
+
|
379
|
+
\item You should directly generate PDF files using \verb+pdflatex+.
|
380
|
+
|
381
|
+
|
382
|
+
\item You can check which fonts a PDF files uses. In Acrobat Reader, select the
|
383
|
+
menu Files$>$Document Properties$>$Fonts and select Show All Fonts. You can
|
384
|
+
also use the program \verb+pdffonts+ which comes with \verb+xpdf+ and is
|
385
|
+
available out-of-the-box on most Linux machines.
|
386
|
+
|
387
|
+
|
388
|
+
\item \verb+xfig+ "patterned" shapes are implemented with bitmap fonts. Use
|
389
|
+
"solid" shapes instead.
|
390
|
+
|
391
|
+
|
392
|
+
\item The \verb+\bbold+ package almost always uses bitmap fonts. You should use
|
393
|
+
the equivalent AMS Fonts:
|
394
|
+
\begin{verbatim}
|
395
|
+
\usepackage{amsfonts}
|
396
|
+
\end{verbatim}
|
397
|
+
followed by, e.g., \verb+\mathbb{R}+, \verb+\mathbb{N}+, or \verb+\mathbb{C}+
|
398
|
+
for $\mathbb{R}$, $\mathbb{N}$ or $\mathbb{C}$. You can also use the following
|
399
|
+
workaround for reals, natural and complex:
|
400
|
+
\begin{verbatim}
|
401
|
+
\newcommand{\RR}{I\!\!R} %real numbers
|
402
|
+
\newcommand{\Nat}{I\!\!N} %natural numbers
|
403
|
+
\newcommand{\CC}{I\!\!\!\!C} %complex numbers
|
404
|
+
\end{verbatim}
|
405
|
+
Note that \verb+amsfonts+ is automatically loaded by the \verb+amssymb+ package.
|
406
|
+
|
407
|
+
|
408
|
+
\end{itemize}
|
409
|
+
|
410
|
+
|
411
|
+
If your file contains type 3 fonts or non embedded TrueType fonts, we will ask
|
412
|
+
you to fix it.
|
413
|
+
|
414
|
+
|
415
|
+
\subsection{Margins in \LaTeX{}}
|
416
|
+
|
417
|
+
|
418
|
+
Most of the margin problems come from figures positioned by hand using
|
419
|
+
\verb+\special+ or other commands. We suggest using the command
|
420
|
+
\verb+\includegraphics+ from the \verb+graphicx+ package. Always specify the
|
421
|
+
figure width as a multiple of the line width as in the example below:
|
422
|
+
\begin{verbatim}
|
423
|
+
\usepackage[pdftex]{graphicx} ...
|
424
|
+
\includegraphics[width=0.8\linewidth]{myfile.pdf}
|
425
|
+
\end{verbatim}
|
426
|
+
See Section 4.4 in the graphics bundle documentation
|
427
|
+
(\url{http://mirrors.ctan.org/macros/latex/required/graphics/grfguide.pdf})
|
428
|
+
|
429
|
+
|
430
|
+
A number of width problems arise when \LaTeX{} cannot properly hyphenate a
|
431
|
+
line. Please give LaTeX hyphenation hints using the \verb+\-+ command when
|
432
|
+
necessary.
|
433
|
+
|
434
|
+
\begin{ack}
|
435
|
+
Use unnumbered first level headings for the acknowledgments. All acknowledgments
|
436
|
+
go at the end of the paper before the list of references. Moreover, you are required to declare
|
437
|
+
funding (financial activities supporting the submitted work) and competing interests (related financial activities outside the submitted work).
|
438
|
+
More information about this disclosure can be found at the conference website: \url{https://agents4science.org}.
|
439
|
+
|
440
|
+
|
441
|
+
Do {\bf not} include this section in the anonymized submission, only in the final paper. You can use the \texttt{ack} environment provided in the style file to automatically hide this section in the anonymized submission.
|
442
|
+
\end{ack}
|
443
|
+
|
444
|
+
\section*{References}
|
445
|
+
|
446
|
+
|
447
|
+
References follow the acknowledgments in the camera-ready paper. Use unnumbered first-level heading for
|
448
|
+
the references. Any choice of citation style is acceptable as long as you are
|
449
|
+
consistent. It is permissible to reduce the font size to \verb+small+ (9 point)
|
450
|
+
when listing the references.
|
451
|
+
Note that the Reference section does not count towards the page limit.
|
452
|
+
|
453
|
+
\newpage
|
454
|
+
|
455
|
+
\bibliographystyle{plainnat}
|
456
|
+
\bibliography{references}
|
457
|
+
% Store references.bib in the same directory as the main tex file.
|
458
|
+
|
459
|
+
\end{document}
|
@@ -7,9 +7,9 @@ from typing import Optional, List, Dict, Any
|
|
7
7
|
from academia_mcp.utils import get_with_retries
|
8
8
|
|
9
9
|
|
10
|
-
|
11
|
-
|
12
|
-
|
10
|
+
PAPER_URL_TEMPLATE = "https://api.semanticscholar.org/graph/v1/paper/{paper_id}?fields={fields}"
|
11
|
+
CITATIONS_URL_TEMPLATE = "https://api.semanticscholar.org/graph/v1/paper/{paper_id}/citations?fields={fields}&offset={offset}&limit={limit}"
|
12
|
+
REFERENCES_URL_TEMPLATE = "https://api.semanticscholar.org/graph/v1/paper/{paper_id}/references?fields={fields}&offset={offset}&limit={limit}"
|
13
13
|
FIELDS = "title,authors,externalIds,venue,citationCount,publicationDate"
|
14
14
|
|
15
15
|
|
@@ -77,17 +77,19 @@ def s2_get_citations(
|
|
77
77
|
arxiv_id = arxiv_id.split("v")[0]
|
78
78
|
paper_id = f"arxiv:{arxiv_id}"
|
79
79
|
|
80
|
-
url =
|
80
|
+
url = CITATIONS_URL_TEMPLATE.format(
|
81
|
+
paper_id=paper_id, fields=FIELDS, offset=offset, limit=limit
|
82
|
+
)
|
81
83
|
response = get_with_retries(url)
|
82
84
|
result = response.json()
|
83
85
|
entries = result["data"]
|
84
86
|
total_count = len(result["data"]) + result["offset"]
|
85
87
|
|
86
88
|
if "next" in result:
|
87
|
-
paper_url =
|
89
|
+
paper_url = PAPER_URL_TEMPLATE.format(paper_id=paper_id, fields=FIELDS)
|
88
90
|
paper_response = get_with_retries(paper_url)
|
89
91
|
paper_result = paper_response.json()
|
90
|
-
total_count = paper_result["
|
92
|
+
total_count = paper_result["citationCount"]
|
91
93
|
|
92
94
|
return _format_entries(entries, offset if offset else 0, total_count)
|
93
95
|
|
@@ -116,7 +118,7 @@ def s2_get_references(
|
|
116
118
|
arxiv_id = arxiv_id.split("v")[0]
|
117
119
|
paper_id = f"arxiv:{arxiv_id}"
|
118
120
|
|
119
|
-
url =
|
121
|
+
url = REFERENCES_URL_TEMPLATE.format(
|
120
122
|
paper_id=paper_id, fields=FIELDS, offset=offset, limit=limit
|
121
123
|
)
|
122
124
|
response = get_with_retries(url)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: academia-mcp
|
3
|
-
Version: 1.7.
|
3
|
+
Version: 1.7.3
|
4
4
|
Summary: MCP server that provides different tools to search for scientific publications
|
5
5
|
Author-email: Ilya Gusev <phoenixilya@gmail.com>
|
6
6
|
Project-URL: Homepage, https://github.com/IlyaGusev/academia_mcp
|
@@ -10,19 +10,13 @@ def test_s2_citations_pingpong() -> None:
|
|
10
10
|
|
11
11
|
|
12
12
|
def test_s2_citations_transformers() -> None:
|
13
|
-
|
14
|
-
|
15
|
-
assert citations["total_count"] >= 100000
|
16
|
-
except Exception:
|
17
|
-
pass
|
13
|
+
citations = json.loads(s2_get_citations("1706.03762"))
|
14
|
+
assert citations["total_count"] >= 100000
|
18
15
|
|
19
16
|
|
20
17
|
def test_s2_citations_reversed() -> None:
|
21
|
-
|
22
|
-
|
23
|
-
assert citations["total_count"] <= 100
|
24
|
-
except Exception:
|
25
|
-
pass
|
18
|
+
citations = json.loads(s2_get_references("1706.03762"))
|
19
|
+
assert citations["total_count"] <= 100
|
26
20
|
|
27
21
|
|
28
22
|
def test_s2_citations_versions() -> None:
|