Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

统一参考文献引用命令 #91

Open
sikouhjw opened this issue Apr 10, 2023 · 0 comments
Open

统一参考文献引用命令 #91

sikouhjw opened this issue Apr 10, 2023 · 0 comments

Comments

@sikouhjw
Copy link
Owner

还有gdutcite{}没有文献提示,这个用起来虽然比平常期刊论文费劲但是比word方便很多,我目前的方案是先用cite{}之后再关键词替换成gdutcite{}。看看前辈后续会不会能不能更新gdutcite{}文献提示吧。

\gdutcite 是为了统一两种不同 bib 处理方式下的引用命令

gdutthesis/gdutthesis.cls

Lines 1712 to 1741 in f7e5fd5

\ctex_at_end_preamble:n
{
\bool_if:NTF \l__gdut_bibtex_bool
{
\NewDocumentCommand {\gdutcite} { s O{} m }
{
\IfBooleanTF {#1}
{
\setcitestyle{numbers}
\cite[#2]{#3}
\setcitestyle{super}
}
{
\cite[#2]{#3}
}
}
}
{
\NewDocumentCommand {\gdutcite} { s O{} m }
{
\IfBooleanTF {#1}
{
\parencite[#2]{#3}
}
{
\cite[#2]{#3}
}
}
}
}

zepinglee/gbt7714-bibtex-style#95 (comment) 中,提供了一种解决方案,即使用 \cite\parencite 来引用:

  • 如果发行版是最新的,那可以直接使用 \cite\parencite 来引用
  • 如果发行版不是最新的,可以在导言区定义 bibtex 下的 \parencite

后续我再把 \gdutcite 删掉,换成 \cite\parencite

Originally posted by @sikouhjw in #89 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant