From 997ddde9d00fa7747d655fe5ec7d1f1cdd6076af Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 9 Apr 2013 16:53:58 +0000 Subject: biblatex-caspervector (8apr13) git-svn-id: svn://tug.org/texlive/trunk@29794 c570f23f-e606-0410-a88d-b1316a301751 --- .../doc/latex/biblatex-caspervector/ChangeLog.txt | 10 ++++ .../doc/latex/biblatex-caspervector/readme.bib | 15 ++---- .../doc/latex/biblatex-caspervector/readme.pdf | Bin 259494 -> 261465 bytes .../doc/latex/biblatex-caspervector/readme.tex | 56 +++++++++++++++------ .../biblatex-caspervector-gbk.def | 4 +- .../biblatex-caspervector-utf8.def | 4 +- .../latex/biblatex-caspervector/caspervector.bbx | 6 +-- .../latex/biblatex-caspervector/caspervector.cbx | 4 +- 8 files changed, 63 insertions(+), 36 deletions(-) diff --git a/Master/texmf-dist/doc/latex/biblatex-caspervector/ChangeLog.txt b/Master/texmf-dist/doc/latex/biblatex-caspervector/ChangeLog.txt index 5efca9e7984..d60f9af30e9 100644 --- a/Master/texmf-dist/doc/latex/biblatex-caspervector/ChangeLog.txt +++ b/Master/texmf-dist/doc/latex/biblatex-caspervector/ChangeLog.txt @@ -1,4 +1,14 @@ +2013-04-07, v0.1.8 + + * Changes to package code: + - Fix previously ignored `setunit' issue. + + * Misc: + - Update copyright notices. + - Minor fixes and improvements. + 2013-03-30, v0.1.7 + * Changes to package code: - Default to `defernumbers = true' and `sorting = none'. diff --git a/Master/texmf-dist/doc/latex/biblatex-caspervector/readme.bib b/Master/texmf-dist/doc/latex/biblatex-caspervector/readme.bib index 73d19443353..85d29008453 100644 --- a/Master/texmf-dist/doc/latex/biblatex-caspervector/readme.bib +++ b/Master/texmf-dist/doc/latex/biblatex-caspervector/readme.bib @@ -24,15 +24,6 @@ vim:ts=4:sw=4 url = {http://sourceforge.net/projects/biblatex/}, } -@online{ctex-faq, - author = {吴凌云}, - title = {\CTeX{} FAQ(常见问题集),0.4 beta (89) 版}, - type = {M/OL}, - date = {2007-01-30}, - url = {http://www.ctex.org/CTeXFAQ/files.xml?action=download&file=ctex-faq.pdf}, - userf = {zh}, -} - @report{gbt7714-2005, author = {中华人民共和国国家质量监督检验检疫总局 and 中国标准化管理委员会}, title = {GB/T 7714--2005 文后参考文献著录规则}, @@ -245,14 +236,14 @@ vim:ts=4:sw=4 author = {中国图书馆学会}, title = {图书馆学通讯}, type = {J}, - year = {1957}, - number = {1}, + sortyear = {1957}, + year = {\textmd{\textbf{1957}(1) -- \textbf{1990}(4)}}, location = {北京}, publisher = {北京图书馆}, userf = {zh}, } -@periodical{3-4, +@periodical{3-3, author = {{American Association for the Advancement of Science}}, title = {Science}, type = {J}, diff --git a/Master/texmf-dist/doc/latex/biblatex-caspervector/readme.pdf b/Master/texmf-dist/doc/latex/biblatex-caspervector/readme.pdf index 41327417228..2c8adea0322 100644 Binary files a/Master/texmf-dist/doc/latex/biblatex-caspervector/readme.pdf and b/Master/texmf-dist/doc/latex/biblatex-caspervector/readme.pdf differ diff --git a/Master/texmf-dist/doc/latex/biblatex-caspervector/readme.tex b/Master/texmf-dist/doc/latex/biblatex-caspervector/readme.tex index 3a7aca1030b..2164c999fd5 100644 --- a/Master/texmf-dist/doc/latex/biblatex-caspervector/readme.tex +++ b/Master/texmf-dist/doc/latex/biblatex-caspervector/readme.tex @@ -15,13 +15,13 @@ \newcommand{\myemph}[1]{\emph{\textcolor{red}{#1}}} \begin{document} -\title{\textbf{biblatex 参考文献和引用样式:\texttt{caspervector} v0.1.7}} +\title{\textbf{biblatex 参考文献和引用样式:\texttt{caspervector} v0.1.8}} \author{% Casper Ti.\ Vector\thanks{\ % \href{mailto:CasperVector@gmail.com}{\texttt{CasperVector@gmail.com}}.% }% } -\date{2013/03/30} +\date{2013/04/07} \maketitle \section{引言} @@ -50,7 +50,7 @@ biblatex\supercite{biblatex}/biber\supercite{biber} \section{许可协议} -版权所有 \copyright\ 2012 Casper Ti.\ Vector。% +版权所有 \copyright\ 2012-2013 Casper Ti.\ Vector。% \verb|caspervector| 参考文献和引用样式以 \LaTeX{} Project Public License\footnote{\ % \url{http://www.latex-project.org/lppl/}.% @@ -61,9 +61,9 @@ biblatex\supercite{biblatex}/biber\supercite{biber} \subsection{系统要求} \begin{itemize} - \item biblatex 宏包(\myemph{必需}): + \item biblatex 宏包(\myemph{必需}):% \verb|caspervector| 样式基于 biblatex 宏包。 - \item 中文环境(\myemph{必需}): + \item 中文环境(\myemph{必需}):% \verb|caspervector| 样式虽支持中文,但其本身不提供中文环境。 用户仍然需要中文环境才能排版出文档。 \item biber 程序(\myemph{可选}): @@ -176,7 +176,7 @@ mpm --install=biblatex-caspervector \subsection{编译方法} -一般情况下, +一般情况下,依次执行 \begin{Verbatim}[frame = single] # “texfile”是被 TeX 编译的文件名中除去“.tex”的部分。 # “pdflatex”可改为其它 TeX 程序,使用纯 latex 编译时可能还需要运行 dvipdfmx。 @@ -189,12 +189,8 @@ pdflatex texfile pdflatex texfile \end{Verbatim} 即可实现正确的排版。 -某些情况下(详见 biblatex 手册\supercite{biblatex}), -用户可能需要在运行 \verb|biber|(或 \verb|bibtex|) -之后运行两次 \verb|pdflatex|(或 \verb|xelatex|、\verb|latex|) -才能获得正确的引用标记。 -另外,上述执行 \verb|biber| 的一行命令中,% +上述执行 \verb|biber| 的一行命令中,% \verb|-l| 的参数 \verb|zh__pinyin| 可改为其它 被 Perl 的 \verb|Unicode::Collate| 模块支持的 locale\footnote{\ % \url{http://search.cpan.org/~sadahiro/Unicode-Collate/Collate/Locale.pm}.% @@ -211,10 +207,10 @@ pdflatex texfile 作者、编者、译者。\\ \myemph{% 注: - 在析出文献条目中, + 在析出文献条目中,% \texttt{author}、\texttt{editor}、\texttt{translator} 专指析出文献的作者、编者、译者。 - 在 \texttt{@patent} 类条目中, + 在 \texttt{@patent} 类条目中,% \texttt{author} 也可指专利的持有者。% } \item \verb|bookauthor|、\verb|booktitle|:析出文献所出自文献的作者和题名。 @@ -237,7 +233,7 @@ pdflatex texfile \begin{itemize} \item \verb|userf|: 值为 \verb|zh| 或 \verb|cn| 时,相应条目在文献列表中用中文排版; - 否则(为其他值或未定义时)用中文排版。\\ + 否则(为其他值或未定义时)用英文排版。\\ \myemph{% 注: 不可用 \texttt{language} 字段区分中英文文献, @@ -251,7 +247,7 @@ pdflatex texfile \subsection{\texttt{@book} 类型} \verb|@book| 类型对应于 GB/T 7714--2005 中所指的“专著”和“电子文献”, -其支持的常见别名包括 \verb|@booklet|、\verb|@proceedings|、% +其支持的常见别名包括 \verb|@booklet|、\verb|@online|、\verb|@proceedings|、% \verb|@report|、\verb|@thesis|、\verb|@unpublished|。 \verb|@book| 类条目必需的基本字段为 \verb|title|。 @@ -393,6 +389,36 @@ biber 1.6 之前的版本存在一个 bug\footnote{\ % 故对中英文的分别处理只能通过比较麻烦的方式实现, 指定语言也只能通过一个自定义的字段(\verb|userf|)进行。 +因为 biblatex 现有功能的限制,一些需求无法直接实现。 +例如类似于文献 \parencite{3-2} 中同时有出版起止年和起止期号的情况就无法自动排版, +只能通过用户手动实现。下面两种方式均可实现上述需求: +(\verb|sortyear| 字段的用法请参考 biblatex 手册\supercite{biblatex}): +\begin{Verbatim}[frame = single] +@periodical{3-2, + author = {中国图书馆学会}, + title = {图书馆学通讯}, + type = {J}, + sortyear = {1957}, + year = {\textmd{\textbf{1957}(1) -- \textbf{1990}(4)}}, + location = {北京}, + publisher = {北京图书馆}, + userf = {zh}, +} +\end{Verbatim} +或 +\begin{Verbatim}[frame = single] +@customf{3-2, + author = {中国图书馆学会}, + title = {图书馆学通讯}, + sortyear = {1957}, + addendum = {中国图书馆学会。 + \textit{图书馆学通讯} [J]。 + \textbf{1957}(1) -- \textbf{1990}(4)。 + 北京:北京图书馆。} +} +\end{Verbatim} +这两种方法中更加推荐使用前者,因为前者只需手动实现出版年和期号的排版。 + \section{更新记录} \VerbatimInput[tabsize = 4, baselinestretch = 1]{ChangeLog.txt} diff --git a/Master/texmf-dist/tex/latex/biblatex-caspervector/biblatex-caspervector-gbk.def b/Master/texmf-dist/tex/latex/biblatex-caspervector/biblatex-caspervector-gbk.def index 1190ca54fce..2685f710250 100644 --- a/Master/texmf-dist/tex/latex/biblatex-caspervector/biblatex-caspervector-gbk.def +++ b/Master/texmf-dist/tex/latex/biblatex-caspervector/biblatex-caspervector-gbk.def @@ -2,7 +2,7 @@ % % Casper Ti. Vector's biblatex style % -% Copyright (c) 2012 Casper Ti. Vector +% Copyright (c) 2012-2013 Casper Ti. Vector % % This work may be distributed and/or modified under the conditions of the % LaTeX Project Public License, either version 1.3 of this license or (at @@ -22,7 +22,7 @@ % biblatex-caspervector-utf8.def \ProvidesFile{biblatex-caspervector-gbk.def}% - [2013/03/30 v0.1.7 Chinese punctuations and captions in GBK] + [2013/04/07 v0.1.8 Chinese punctuations and captions in GBK] \providecommand\cnldquot{} \providecommand\cnrdquot{} diff --git a/Master/texmf-dist/tex/latex/biblatex-caspervector/biblatex-caspervector-utf8.def b/Master/texmf-dist/tex/latex/biblatex-caspervector/biblatex-caspervector-utf8.def index f98755b58b1..a888c530960 100644 --- a/Master/texmf-dist/tex/latex/biblatex-caspervector/biblatex-caspervector-utf8.def +++ b/Master/texmf-dist/tex/latex/biblatex-caspervector/biblatex-caspervector-utf8.def @@ -2,7 +2,7 @@ % % Casper Ti. Vector's biblatex style % -% Copyright (c) 2012 Casper Ti. Vector +% Copyright (c) 2012-2013 Casper Ti. Vector % % This work may be distributed and/or modified under the conditions of the % LaTeX Project Public License, either version 1.3 of this license or (at @@ -22,7 +22,7 @@ % biblatex-caspervector-utf8.def \ProvidesFile{biblatex-caspervector-utf8.def}% - [2013/03/30 v0.1.7 Chinese punctuations and captions in UTF-8] + [2013/04/07 v0.1.8 Chinese punctuations and captions in UTF-8] \providecommand\cnldquot{“} \providecommand\cnrdquot{”} diff --git a/Master/texmf-dist/tex/latex/biblatex-caspervector/caspervector.bbx b/Master/texmf-dist/tex/latex/biblatex-caspervector/caspervector.bbx index 7780751e9c8..a443059d040 100644 --- a/Master/texmf-dist/tex/latex/biblatex-caspervector/caspervector.bbx +++ b/Master/texmf-dist/tex/latex/biblatex-caspervector/caspervector.bbx @@ -2,7 +2,7 @@ % % Casper Ti. Vector's biblatex style % -% Copyright (c) 2012 Casper Ti. Vector +% Copyright (c) 2012-2013 Casper Ti. Vector % % This work may be distributed and/or modified under the conditions of the % LaTeX Project Public License, either version 1.3 of this license or (at @@ -22,7 +22,7 @@ % biblatex-caspervector-utf8.def \ProvidesFile{caspervector.bbx}% - [2013/03/30 v0.1.7 Casper Ti. Vector's biblatex bibliography style] + [2013/04/07 v0.1.8 Casper Ti. Vector's biblatex bibliography style] \RequireBibliographyStyle{numeric} @@ -144,7 +144,7 @@ \newblock \usebibmacro{cein:}% \newblock - \printnames{bookauthor}setunit{\ceperiod}% + \printnames{bookauthor}\setunit{\ceperiod}% \newblock \printfield{booktitle}\setunit{\ceperiod}% \newblock diff --git a/Master/texmf-dist/tex/latex/biblatex-caspervector/caspervector.cbx b/Master/texmf-dist/tex/latex/biblatex-caspervector/caspervector.cbx index b20c4d9e3f7..fd5131b73f6 100644 --- a/Master/texmf-dist/tex/latex/biblatex-caspervector/caspervector.cbx +++ b/Master/texmf-dist/tex/latex/biblatex-caspervector/caspervector.cbx @@ -2,7 +2,7 @@ % % Casper Ti. Vector's biblatex style % -% Copyright (c) 2012 Casper Ti. Vector +% Copyright (c) 2012-2013 Casper Ti. Vector % % This work may be distributed and/or modified under the conditions of the % LaTeX Project Public License, either version 1.3 of this license or (at @@ -22,7 +22,7 @@ % biblatex-caspervector-utf8.def \ProvidesFile{caspervector.cbx}% - [2013/03/30 v0.1.7 Casper Ti. Vector's biblatex citation style] + [2013/04/07 v0.1.8 Casper Ti. Vector's biblatex citation style] \RequireCitationStyle{numeric-comp} \ExecuteBibliographyOptions{ -- cgit v1.2.3