[Item] PaperNote 适配Zotero 6 7 中英文文献 自用SCI笔记模版 简约清晰风格 Zotero 6 and 7 paper note template. Simple and clear style. #771
Replies: 71 comments 168 replies
-
Zotero7 PaperNote Template (Chinese)因为上面模版内文字默认为英文, 这里发个中文的,和上面的一模一样,仅仅文字替换成了中文 更多插件进阶配置,欢迎start仓库zotero-better-plugin # Zotero7 PaperNote Template (Chinese)
# @author [jackhanyuan](https://github.com/jackhanyuan)
# @source [zotero-better-plugin](https://github.com/jackhanyuan/zotero-better-plugin)
# This template is specifically for importing/sharing, using better
# notes 'import from clipboard': copy the content and
# goto Zotero menu bar, click Edit->New Template from Clipboard.
# Do not copy-paste this to better notes template editor directly.
name: "[Item]论文笔记"
content: |-
<!-- 标题 -->
<h1 style="color:#193c47; background-color:#eef9fd; padding:8px;">
${(() => {
const date = topItem.getField("date").split('T')[0];
const title = topItem.getField("title");
const titleTranslation = topItem.getField("titleTranslation");
if (date && titleTranslation) {
return `(${date}) ${title} (${titleTranslation})`;
} else if (date) {
return `(${date}) ${title}`;
} else {
return `${title}`;
}
})()}
</h1>
<!-- Meta Data -->
<table>
<!-- 作者 -->
<tr>
<td style="color:#193c47; background-color:#dbeedd; padding:8px;">
<b>作者:</b> ${topItem.getCreators().slice(0, 10).map((v) => v.firstName + " " + v.lastName).join("; ") + (topItem.getCreators().length > 10 ? "; et al." : ";")}
</td>
</tr>
<!-- 期刊 -->
<tr>
<td style="color:#193c47; background-color:#f3faf4; padding:8px;">
<b style="color:#193c47;">期刊:
<b style="color:#FF0000">
${topItem.getField('publicationTitle')},
</b>
${(()=>{
const volume = topItem.getField('volume');
const issue = topItem.getField('issue');
const pages = topItem.getField('pages');
const year = topItem.getField('date').split('-')[0];
let line = "";
if (volume) {
line += volume;
if (issue) {
line += '(' + issue + ')';
line += pages ? ": " + pages + "," : ","
} else {
line += pages ? ": " + pages + "," : ","
}
} else if (issue) {
line += '(' + issue + ')';
line += pages ? ": " + pages : ","
} else {
line += pages ? pages + "," : ""
}
line += year ? " " + year + "." : "";
return line;
})()}
</b>
</td>
</tr>
<!-- 期刊分区 -->
<tr>
<td style="color:#193c47; background-color:#dbeedd; padding:8px;">
<b>期刊分区: </b>
<!-- Zotero7中,引用了Ethereal Style插件的标签,请提前安装Ethereal Style-->
${{
let space = " ㅤㅤ ㅤㅤ"
return Array.prototype.map.call(
Zotero.ZoteroStyle.api.renderCell(topItem, "publicationTags").childNodes,
e => {
e.innerText = space + e.innerText + space;
return e.outerHTML
}
).join(space)
}}$
</td>
</tr>
<!-- 本地链接 -->
<tr>
<td style="color:#193c47; background-color:#f3faf4; padding:8px;">
${(() => {
const attachments = Zotero.Items.get(topItem.getAttachments());
const pdf = attachments.filter((i) => i.isPDFAttachment());
if (pdf && pdf.length > 0) {
return `<b>本地链接: </b><a href="zotero://open-pdf/0_${pdf[0].key}">${pdf[0].getFilename()}</a>`;
} else if (attachments && attachments.length > 0) {
return `<b>本地链接: </b><a href="zotero://open-pdf/0_${attachments[0].key}">${attachments[0].getFilename()}</a>`;
} else {
return `<b>本地链接: </b>`;
}
})()}
</td>
</tr>
<!-- DOI or URL -->
<tr>
<td style="color:#193c47; background-color:#dbeedd; padding:8px;">
${(() => {
const doi = topItem.getField("DOI");
if (doi) {
return `<b>DOI: </b><a href="https://doi.org/${topItem.getField('DOI')}">${topItem.getField('DOI')}</a>`;
} else {
return `<b>URL: </b><a href="${topItem.getField('url')}">${topItem.getField('url')}</a>`;
}
})()}
</td>
</tr>
<!-- 摘要 -->
<tr>
<td style="color:#193c47; background-color:#f3faf4; padding:8px;">
${(() => {
const abstractTranslation = topItem.getField('abstractTranslation');
if (abstractTranslation) {
return `<b>摘要翻译: </b><i>${abstractTranslation}</i>`;
} else {
return `<b>摘要: </b><i>${topItem.getField('abstractNote')}</i>`;
}
})()}
</td>
</tr>
<!-- 标签 -->
<tr>
<td style="color:#193c47; background-color:#dbeedd; padding:8px;">
<!-- 仅过滤并显示#开头的标签 -->
<b>标签:</b> ${topItem.getTags().map(tagObj => tagObj.tag.startsWith('#') ? tagObj.tag + ' ,':'').join(' ') || ''}
</td>
</tr>
<!-- 笔记日期 -->
<tr>
<td style="color:#193c47; background-color:#f3faf4; padding:8px;">
<b>笔记日期: </b>${new Date().toLocaleString()}
</td>
</tr>
</table>
<!-- 正文 -->
<span>
<h2 style="color:#e0ffff; background-color:#66cdaa;">📜 研究核心</h2>
<hr />
</span>
<blockquote>Tips: 做了什么,解决了什么问题,创新点与不足?</blockquote>
<p></p>
<h3>⚙️ 内容</h3>
<p></p>
<h3>💡 创新点</h3>
<p></p>
<h3>🧩 不足</h3>
<p></p>
<span>
<h2 style="color:#20b2aa; background-color:#afeeee;">🔁 研究内容</h2>
<hr />
</span>
<p></p>
<h3>💧 数据</h3>
<p></p>
<h3>👩🏻💻 方法</h3>
<p></p>
<h3>🔬 实验</h3>
<p></p>
<h3>📜 结论</h3>
<p></p>
<span>
<h2 style="color:#004d99; background-color:#87cefa;">🤔 个人总结</h2>
<hr />
</span>
<blockquote>Tips: 你对哪些内容产生了疑问,你认为可以如何改进?</blockquote>
<p></p>
<h3>🙋♀️ 重点记录</h3>
<p></p>
<h3>📌 待解决</h3>
<p></p>
<h3>💭 思考启发</h3>
<p></p> |
Beta Was this translation helpful? Give feedback.
-
有没有zotero6的 |
Beta Was this translation helpful? Give feedback.
This comment was marked as disruptive content.
This comment was marked as disruptive content.
-
可以使用了,感谢大佬 |
Beta Was this translation helpful? Give feedback.
-
![]() |
Beta Was this translation helpful? Give feedback.
-
十分感谢,我一会儿尝试一下!
发自我的iPhone
…------------------ 原始邮件 ------------------
发件人: 三水 ***@***.***>
发送时间: 2023年11月3日 10:37
收件人: windingwind/zotero-better-notes ***@***.***>
抄送: Lonsenger ***@***.***>, Comment ***@***.***>
主题: Re: [windingwind/zotero-better-notes] [Item] PaperNote 适配Zotero 6 7 中英文文献 自用SCI笔记模版 简约清晰风格 Zotero 6 and 7 paper note template. Simple and clear style. (Discussion #771)
你也可以尝试更新zotero-night插件,或者使用zotero-style插件的深色功能(只深色pdf区域,不更改其它颜色)。
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
![]() |
Beta Was this translation helpful? Give feedback.
-
应用模板时候遇到这个问题,请问大家有遇到过吗 |
Beta Was this translation helpful? Give feedback.
-
@Lonsenger 配色已经调整,深色下应该能正常显示了 |
Beta Was this translation helpful? Give feedback.
-
你好,为什么我安装了translate,生成笔记的时候没有摘要的翻译 |
Beta Was this translation helpful? Give feedback.
-
Template [item]论文笔记 Error: Error: getAttachments() cannot be called on attachment items |
Beta Was this translation helpful? Give feedback.
-
报错:Template [item] sci Error: TypeError: Zotero.ZoteroStyle is undefined |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
非常感谢答复。我尝试了一下,解决预览和期刊分区问题了,不过中文版的模板中期刊分区影响因子还是不显示,英文版的倒是可以,应该是代码的问题,我试试调整一下。
| |
骆梦华
|
|
***@***.***
|
---- 回复的原邮件 ----
| 发件人 | ***@***.***> |
| 发送日期 | 2023年11月24日 14:40 |
| 收件人 | ***@***.***> |
| 抄送人 | ***@***.***> ,
***@***.***> |
| 主题 | Re: [windingwind/zotero-better-notes] [Item] PaperNote 适配Zotero 6 7 中英文文献 自用SCI笔记模版 简约清晰风格 Zotero 6 and 7 paper note template. Simple and clear style. (Discussion #771) |
这里预览没有,是因为没有选定item,选中有附件的item后,预览就有了。期刊分区没有相关期刊标签显示,可能是你没有配置Style插件Publication Tags功能,该功能依赖于Easyscholar的api,需要注册账号并配置。
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
请问 Error: ReferenceError: topItem is not defined 报错是什么原因呢 之前的时候还可以用 现在导入就会报错 用的是zotero6 |
Beta Was this translation helpful? Give feedback.
-
您好!请问是否可以增加自动提取 卷(期),页 的代码?十分感谢!! |
Beta Was this translation helpful? Give feedback.
-
您好,我產生筆記時是一片空白,但下載其他的模板是沒問題的,可能是哪邊設置有問題呢? |
Beta Was this translation helpful? Give feedback.
-
Hey! 您的邮件已被收到 !————————————这是来自QQ邮箱的自动回复邮件。
|
Beta Was this translation helpful? Give feedback.
-
我发现也可以通过BetterNote导入Obsidian的Markdown文件来实现Zotero和Obsidian之间的双向同步,这样就可以使用Obsidian的template来作为文献模板,导入到Zotero后做笔记和编辑。 |
Beta Was this translation helpful? Give feedback.
-
老师,请问模版中的标签和摘要翻译是不是没有办法自动更新,比如在使用了模版创建笔记后再创建新的标签或修改了摘要翻译是否可以将新的标签和摘要也自动同步到笔记中呢? |
Beta Was this translation helpful? Give feedback.
-
您好,您的邮件我已收到,我会尽快给您回复,谢谢!
|
Beta Was this translation helpful? Give feedback.
-
Hey! 您的邮件已被收到 !————————————这是来自QQ邮箱的自动回复邮件。
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
这里利用ai修改了下标签的代码,可以直接显示利用zotero官方插件导入文献时自动获取的不带“#”标签同时除去阅读状态标签。
另外关于获取作者信息时最后一位会带分号的情况可以直接删除 ; 来解决
|
Beta Was this translation helpful? Give feedback.
-
劳斯您好 |
Beta Was this translation helpful? Give feedback.
-
请问要怎么设置不再收到其他人的邮件啊?在这个帖子问过一次问题之后,之后一旦有人留言,就给我发邮件。我只需收到关于我自己问题的回复啊。
…---- 回复的原邮件 ----
| 发件人 | ***@***.***> |
| 发送日期 | 2025年03月08日 22:21 |
| 收件人 | windingwind/zotero-better-notes ***@***.***> |
| 抄送人 | iampearl918 ***@***.***>,
Mention ***@***.***> |
| 主题 | Re: [windingwind/zotero-better-notes] [Item] PaperNote 适配Zotero 6 7 中英文文献 自用SCI笔记模版 简约清晰风格 Zotero 6 and 7 paper note template. Simple and clear style. (Discussion #771) |
不是,导入后就生成了笔记模板,下次直接使用即可。
使用模板:双击任意条目即可打开对应PDF文件,在右侧侧边栏选择笔记,条目笔记-添加-从模板新建条目子笔记-选择对应模板(PaperNote或者论文笔记)-OK,即可生成对应笔记。
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
我的Zotero版本是7.0.15,我在gitHub复制模板代码后直接从剪切板的模板分享代码导入模板后,为什么模板全是报错 |
Beta Was this translation helpful? Give feedback.
-
谢谢你的回复,我有选定条目的,但总是没有预览。那我试试更新趴
…---原始邮件---
发件人: ***@***.***>
发送时间: 2025年4月7日(周一) 中午12:54
收件人: ***@***.***>;
抄送: ***@***.******@***.***>;
主题: Re: [windingwind/zotero-better-notes] [Item] PaperNote 适配Zotero 6 7 中英文文献 自用SCI笔记模版 简约清晰风格 Zotero 6 and 7 paper note template. Simple and clear style. (Discussion #771)
这个应该是没有问题的,这里预览没有是因为没有选定条目,选中条目后,预览就有了。但是这都不影响生成笔记,生成笔记:打开pdf-侧边栏选择笔记-从模版新建条目子笔记即可,如果还存在问题,请把better notes和style插件更新到最新。
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Hey! 您的邮件已被收到 !————————————这是来自QQ邮箱的自动回复邮件。
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
MetaData
: Auto extractTitle
,Author
,Journal
,Journal Tags
,Local Link
,DOI
,Abstract
,Note Date
, etc.DOI
: Showurl
if the DOI does not exist.Abstract
: ShowabstractTranslation
if the it exists. Otherwise, showabstractNote
.这个模版可以自动适配中英文文献,自动提取标题或标题翻译、作者、期刊、期刊分区、本地链接、DOI或者URL、中文摘要或英文摘要或英文摘要的翻译、笔记日期等原数据,模版样式简约清新。
期刊分区需要安装zotero-style插件,并配置
期刊标签
功能。标题和英文摘要的翻译需要安装zotero-pdf-translate插件。另外,我还制作了主模版和通用模版,在这里➡️ #772
更多插件进阶配置,欢迎start仓库zotero-better-plugin
Screenshots
Test version
Item
Zotero7 PaperNote Template
Zotero7 PaperNote Template中文版本在下面,仅仅把文字替换成了中文
#771 (comment)
Zotero6 PaperNote Template
Beta Was this translation helpful? Give feedback.
All reactions