Random paper
let pages = dv.pages().where(p => p.status == "Inbox");
if (pages.length > 0) {
let rand = new Date().getSeconds() % pages.length;
let p = pages[rand];
let journalMap = {
"The Astrophysical Journal Letters": "ApJL",
"The Astrophysical Journal Supplement Series": "ApJS",
"The Astrophysical Journal": "ApJ",
"The Astronomical Journal": "AJ",
"Monthly Notices of the Royal Astronomical Society: Letters": "MNRAS:L",
"Monthly Notices of the Royal Astronomical Society": "MNRAS",
"Publications of the Astronomical Society of Japan": "PASJ",
"Astronomy & Astrophysics": "A&A"
};
let jAbbr = journalMap[p.journal] || p.journal;
let meta = p.year + ", " + jAbbr;
// 本文を1行にまとめ、区切りは <br> のみ
let body = "**" + p.paper_title + "**";
body += "<br><small>" + meta + "</small>";
if (p.file.tags && p.file.tags.length > 0) {
body += "<br><small>" + p.file.tags.join(" ") + "</small>";
}
let text = "> [!quote] " + p.file.link + "\n";
text += "> " + body + "\n";
dv.paragraph(text);
} else {
dv.paragraph("> [!success] 素晴らしい!Inboxの未読はゼロです。");
}Incomplete references
Transclude of references.base#未完了
Contents
:LiCode2: Cheat Sheet
:LiNotebookPen: Note
:LiTelescope: Project
:LiBook: Reference
Links
Quartz
GitHub
Googleドライブ
天文データ解析入門
Nobeyama FITS Data Archive
IRSA Viewer
astrodendro document