参考书目未引用词汇表

参考书目未引用词汇表

我的词汇表包含来自 WiKipedia 的定义,我想使用 /cite 命令将其作为引文引用到我的参考书目中。我的参考书目使用超链接链接到文档中的位置,当读者跳转到参考书目并需要返回阅读位置时,这非常有用。但参考书目中的超链接不包含词汇表!在预期的位置,它显示“(文档)”,链接到第一页,但不链接到词汇表。

我觉得书目是先建立的,但找不到词汇表页面?有没有人能帮忙解决这个问题?任何帮助我都会非常感激。:)

我将我的论文精简为一个小例子(miniexample.tex + References.bib),并附上从 TeXnicCenter 导出的输出配置文件。miniexample.tex:

\documentclass{scrbook}
\usepackage{glossaries} 
\usepackage{cite}
\usepackage[colorlinks, linkcolor=black, menucolor=black, urlcolor=black, plainpages=false, pdfpagelabels, pagebackref=false, backref=section, breaklinks={true}]{hyperref}
\pagenumbering{Alph}
\pagestyle{empty}
\newglossaryentry{SWOT}{%
type=\acronymtype,
name={SWOT},%
first={Strength, Weaknesses, Opportunities and Threads (SWOT)},
description={Strength, Weaknesses, Opportunities and Threats\\ SWOT is a structured     planning method used to evaluate the strengths, weaknesses, opportunities, and threats involved in a project or in a business venture~\cite{SWOTWiKiPedia}}%
}
\makeindex
\makeglossaries
\begin{document}
any title
\newpage
\clearpage
\pagenumbering{Roman}
\printglossaries
\tableofcontents
\normalsize
\pagenumbering{arabic}
Here i do some test with citation of SWOT~\cite{SWOTWiKiPedia}.

Here i do use gls of \gls{SWOT}. Now i use \gls{SWOT} a second time.
\newpage
Usage of SWOT~\cite{SWOTWiKiPedia} on the next page.
\bibliographystyle{alpha}
\bibliography{References}
\end{document}

参考文献.bib

@misc{SWOTWiKiPedia,
    key     = {SWOTWiKiPedia},
    title = {Strengths, Weaknesses, Opportunities, and Threats},
    howpublished    = {Wikipedia, The Free Encyclopedia \newline \url{http://en.wikipedia.org/wiki/SWOT_analysis}},
    note    = {\\Accessed: 2014-04-25}
}

使用 TeXnicCenter 并导入 latex-pdf-glossary+acronym_win7.tco 作为输出配置文件:

<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<txcop:outputProfiles version="2" xmlns:txcop="http://schemas.ToolsCenter.org/TeXnicCenter/OutputProfiles.xsd">
    <outputProfileList>
        <outputProfile name="LaTeX &#8680; PS" stopOnLatexError="false">
            <texCommand execute="true" path="latex.exe" arguments="-src -max-print-line=120 -interaction=nonstopmode &quot;%wm&quot;"/>
            <bibTexCommand execute="true" path="bibtex.exe" arguments="&quot;%tm&quot;"/>
            <makeIndexCommand execute="true" path="makeindex.exe" arguments="&quot;%tm.idx&quot; -t &quot;%tm.ilg&quot; -o &quot;%tm.ind&quot;"/>
            <preProcessors/>
            <postProcessors>
                <processor name="DviPs" path="dvips.exe" arguments="&quot;%Bm.dvi&quot;" inputFile="" outputFile=""/>
            </postProcessors>
            <viewer path="" closeBeforeCompilation="false">
                <viewProjectCommand type="commandLine">
                    <commandLineCommand path="" arguments=""/>
                    <ddeCommand path="" server="" topic="System" command=""/>
                </viewProjectCommand>
                <viewCurrentFileCommand type="commandLine">
                    <commandLineCommand path="" arguments=""/>
                    <ddeCommand path="" server="" topic="System" command=""/>
                </viewCurrentFileCommand>
                <viewCloseCommand type="commandLine">
                    <commandLineCommand path="" arguments=""/>
                    <ddeCommand path="" server="" topic="System" command=""/>
                </viewCloseCommand>
            </viewer>
        </outputProfile>
        <outputProfile name="LaTeX &#8680; DVI" stopOnLatexError="false">
            <texCommand execute="true" path="latex.exe" arguments="-src -max-print-line=120 -interaction=nonstopmode &quot;%wm&quot;"/>
            <bibTexCommand execute="true" path="bibtex.exe" arguments="&quot;%tm&quot;"/>
            <makeIndexCommand execute="true" path="makeindex.exe" arguments="&quot;%tm.idx&quot; -t &quot;%tm.ilg&quot; -o &quot;%tm.ind&quot;"/>
            <preProcessors/>
            <postProcessors/>
            <viewer path="yap.exe" closeBeforeCompilation="false">
                <viewProjectCommand type="commandLine">
                    <commandLineCommand path="yap.exe" arguments="-1 &quot;%bm.dvi&quot;"/>
                    <ddeCommand path="" server="" topic="System" command=""/>
                </viewProjectCommand>
                <viewCurrentFileCommand type="commandLine">
                    <commandLineCommand path="yap.exe" arguments="-1 -s %l&quot;%Wc&quot; &quot;%bm.dvi&quot;"/>
                    <ddeCommand path="" server="" topic="System" command=""/>
                </viewCurrentFileCommand>
                <viewCloseCommand type="commandLine">
                    <commandLineCommand path="" arguments=""/>
                    <ddeCommand path="" server="" topic="System" command=""/>
                </viewCloseCommand>
            </viewer>
        </outputProfile>
        <outputProfile name="LuaLaTeX &#8680; PDF" stopOnLatexError="false">
            <texCommand execute="true" path="lualatex.exe" arguments="-max-print-line=120 -interaction=nonstopmode &quot;%wm&quot;"/>
            <bibTexCommand execute="true" path="bibtex.exe" arguments="&quot;%tm&quot;"/>
            <makeIndexCommand execute="true" path="makeindex.exe" arguments="&quot;%tm.idx&quot; -t &quot;%tm.ilg&quot; -o &quot;%tm.ind&quot;"/>
            <preProcessors/>
            <postProcessors/>
            <viewer path="miktex-texworks.exe" closeBeforeCompilation="false">
                <viewProjectCommand type="commandLine">
                    <commandLineCommand path="miktex-texworks.exe" arguments=" &quot;%bm.pdf&quot;"/>
                    <ddeCommand path="" server="" topic="System" command=""/>
                </viewProjectCommand>
                <viewCurrentFileCommand type="commandLine">
                    <commandLineCommand path="miktex-texworks.exe" arguments="  &quot;%bm.pdf&quot;"/>
                    <ddeCommand path="" server="" topic="System" command=""/>
                </viewCurrentFileCommand>
                <viewCloseCommand type="commandLine">
                    <commandLineCommand path="" arguments=""/>
                    <ddeCommand path="" server="" topic="System" command=""/>
                </viewCloseCommand>
            </viewer>
        </outputProfile>
        <outputProfile name="LaTeX &#8680; PS &#8680; PDF" stopOnLatexError="false">
            <texCommand execute="true" path="latex.exe" arguments="-max-print-line=120 -interaction=nonstopmode &quot;%wm&quot;"/>
            <bibTexCommand execute="true" path="bibtex.exe" arguments="&quot;%tm&quot;"/>
            <makeIndexCommand execute="true" path="makeindex.exe" arguments="&quot;%tm.idx&quot; -t &quot;%tm.ilg&quot; -o &quot;%tm.ind&quot;"/>
            <preProcessors/>
            <postProcessors>
                <processor name="DviPs (PDF)" path="dvips.exe" arguments="-P pdf &quot;%Bm.dvi&quot;" inputFile="" outputFile=""/>
                <processor name="ps2pdf" path="ps2pdf.exe" arguments="&quot;%bm.ps&quot;" inputFile="" outputFile=""/>
            </postProcessors>
            <viewer path="miktex-texworks.exe" closeBeforeCompilation="false">
                <viewProjectCommand type="commandLine">
                    <commandLineCommand path="miktex-texworks.exe" arguments=" &quot;%bm.pdf&quot;"/>
                    <ddeCommand path="" server="" topic="System" command=""/>
                </viewProjectCommand>
                <viewCurrentFileCommand type="commandLine">
                    <commandLineCommand path="miktex-texworks.exe" arguments="  &quot;%bm.pdf&quot;"/>
                    <ddeCommand path="" server="" topic="System" command=""/>
                </viewCurrentFileCommand>
                <viewCloseCommand type="commandLine">
                    <commandLineCommand path="" arguments=""/>
                    <ddeCommand path="" server="" topic="System" command=""/>
                </viewCloseCommand>
            </viewer>
        </outputProfile>
        <outputProfile name="XeLaTeX &#8680; PDF" stopOnLatexError="false">
            <texCommand execute="true" path="xelatex.exe" arguments="-max-print-line=120 -interaction=nonstopmode &quot;%wm&quot;"/>
            <bibTexCommand execute="true" path="bibtex.exe" arguments="&quot;%tm&quot;"/>
            <makeIndexCommand execute="true" path="makeindex.exe" arguments="&quot;%tm.idx&quot; -t &quot;%tm.ilg&quot; -o &quot;%tm.ind&quot;"/>
            <preProcessors/>
            <postProcessors/>
            <viewer path="miktex-texworks.exe" closeBeforeCompilation="false">
                <viewProjectCommand type="commandLine">
                    <commandLineCommand path="miktex-texworks.exe" arguments=" &quot;%bm.pdf&quot;"/>
                    <ddeCommand path="" server="" topic="System" command=""/>
                </viewProjectCommand>
                <viewCurrentFileCommand type="commandLine">
                    <commandLineCommand path="miktex-texworks.exe" arguments="  &quot;%bm.pdf&quot;"/>
                    <ddeCommand path="" server="" topic="System" command=""/>
                </viewCurrentFileCommand>
                <viewCloseCommand type="commandLine">
                    <commandLineCommand path="" arguments=""/>
                    <ddeCommand path="" server="" topic="System" command=""/>
                </viewCloseCommand>
            </viewer>
        </outputProfile>
        <outputProfile name="LaTeX &#8680; PDF" stopOnLatexError="false">
            <texCommand execute="true" path="pdflatex.exe" arguments="-max-print-line=120 -interaction=nonstopmode &quot;%wm&quot;"/>
            <bibTexCommand execute="true" path="bibtex.exe" arguments="&quot;%tm&quot;"/>
            <makeIndexCommand execute="true" path="makeindex.exe" arguments="&quot;%tm.idx&quot; -t &quot;%tm.ilg&quot; -o &quot;%tm.ind&quot;"/>
            <preProcessors/>
            <postProcessors/>
            <viewer path="AcroRd32.exe" closeBeforeCompilation="true">
                <viewProjectCommand type="dde">
                    <commandLineCommand path="AcroRd32.exe" arguments=" &quot;%bm.pdf&quot;"/>
                    <ddeCommand path="AcroRd32.exe" server="acroviewR11" topic="control" command="[DocOpen(&quot;%bm.pdf&quot;)][FileOpen(&quot;%bm.pdf&quot;)]"/>
                </viewProjectCommand>
                <viewCurrentFileCommand type="dde">
                    <commandLineCommand path="AcroRd32.exe" arguments="  &quot;%bm.pdf&quot;"/>
                    <ddeCommand path="AcroRd32.exe" server="acroviewR11" topic="control" command="[DocOpen(&quot;%bm.pdf&quot;)][FileOpen(&quot;%bm.pdf&quot;)]"/>
                </viewCurrentFileCommand>
                <viewCloseCommand type="dde">
                    <commandLineCommand path="" arguments=""/>
                    <ddeCommand path="" server="acroviewR11" topic="control" command="[DocClose(&quot;%bm.pdf&quot;)]"/>
                </viewCloseCommand>
            </viewer>
        </outputProfile>
        <outputProfile name="LaTeX &#8680; PDF (Glossary+Acronym)" stopOnLatexError="false">
            <texCommand execute="true" path="pdflatex.exe" arguments="-interaction=nonstopmode -max-print-line=120 &quot;%pm&quot;"/>
            <bibTexCommand execute="true" path="bibtex.exe" arguments="&quot;%tm&quot;"/>
            <makeIndexCommand execute="true" path="makeindex.exe" arguments="&quot;%tm&quot;"/>
            <preProcessors/>
            <postProcessors>
                <processor name="makeglossaries #1" path="makeindex.exe" arguments="-s &quot;%tm&quot;.ist -t &quot;%tm&quot;.glg -o &quot;%tm&quot;.gls &quot;%tm&quot;.glo" inputFile="" outputFile=""/>
                <processor name="makeacronyms #1" path="makeindex.exe" arguments="-s &quot;%tm&quot;.ist -t &quot;%tm&quot;.alg -o &quot;%tm&quot;.acr &quot;%tm&quot;.acn" inputFile="" outputFile=""/>
                <processor name="pdflatex #2" path="pdflatex.exe" arguments="-interaction=nonstopmode -max-print-line=120 &quot;%pm&quot;" inputFile="" outputFile=""/>
                <processor name="makeglossaries #2" path="makeindex.exe" arguments="-s &quot;%tm&quot;.ist -t &quot;%tm&quot;.glg -o &quot;%tm&quot;.gls &quot;%tm&quot;.glo" inputFile="" outputFile=""/>
                <processor name="makeacronyms #2" path="makeindex.exe" arguments="-s &quot;%tm&quot;.ist -t &quot;%tm&quot;.alg -o &quot;%tm&quot;.acr &quot;%tm&quot;.acn" inputFile="" outputFile=""/>
                <processor name="pdflatex #3" path="pdflatex.exe" arguments="-interaction=nonstopmode -max-print-line=120 &quot;%pm&quot;" inputFile="" outputFile=""/>
            </postProcessors>
            <viewer path="AcroRd32.exe" closeBeforeCompilation="true">
                <viewProjectCommand type="dde">
                    <commandLineCommand path="" arguments=""/>
                    <ddeCommand path="AcroRd32.exe" server="acroviewR11" topic="control" command="[DocOpen(&quot;%bm.pdf&quot;)][FileOpen(&quot;%bm.pdf&quot;)]"/>
                </viewProjectCommand>
                <viewCurrentFileCommand type="dde">
                    <commandLineCommand path="" arguments=""/>
                    <ddeCommand path="AcroRd32.exe" server="acroviewR11" topic="control" command="[DocOpen(&quot;%bm.pdf&quot;)][FileOpen(&quot;%bm.pdf&quot;)]"/>
                </viewCurrentFileCommand>
                <viewCloseCommand type="dde">
                    <commandLineCommand path="" arguments=""/>
                    <ddeCommand path="" server="acroview" topic="control" command="[DocClose(&quot;%bm.pdf&quot;)]"/>
                </viewCloseCommand>
            </viewer>
        </outputProfile>
        <outputProfile name="LaTeX &#8680; DVI &#8680; PDF" stopOnLatexError="false">
            <texCommand execute="true" path="latex.exe" arguments="-max-print-line=120 -interaction=nonstopmode &quot;%wm&quot;"/>
            <bibTexCommand execute="true" path="bibtex.exe" arguments="&quot;%tm&quot;"/>
            <makeIndexCommand execute="true" path="makeindex.exe" arguments="&quot;%tm.idx&quot; -t &quot;%tm.ilg&quot; -o &quot;%tm.ind&quot;"/>
            <preProcessors/>
            <postProcessors>
                <processor name="dvipdfm" path="dvipdfm.exe" arguments="&quot;%bm.dvi&quot;" inputFile="" outputFile=""/>
            </postProcessors>
            <viewer path="miktex-texworks.exe" closeBeforeCompilation="false">
                <viewProjectCommand type="commandLine">
                    <commandLineCommand path="miktex-texworks.exe" arguments=" &quot;%bm.pdf&quot;"/>
                    <ddeCommand path="" server="" topic="System" command=""/>
                </viewProjectCommand>
                <viewCurrentFileCommand type="commandLine">
                    <commandLineCommand path="miktex-texworks.exe" arguments="  &quot;%bm.pdf&quot;"/>
                    <ddeCommand path="" server="" topic="System" command=""/>
                </viewCurrentFileCommand>
                <viewCloseCommand type="commandLine">
                    <commandLineCommand path="" arguments=""/>
                    <ddeCommand path="" server="" topic="System" command=""/>
                </viewCloseCommand>
            </viewer>
        </outputProfile>
        <outputProfile name="LaTeX &#8680; PDF (with glossaries)" stopOnLatexError="false">
            <texCommand execute="true" path="pdflatex.exe" arguments="-max-print-line=120 -interaction=nonstopmode &quot;%wm&quot;"/>
            <bibTexCommand execute="true" path="bibtex.exe" arguments="&quot;%tm&quot;"/>
            <makeIndexCommand execute="true" path="makeindex.exe" arguments="&quot;%tm&quot;.glo -t &quot;%tm&quot;.glg -s &quot;%tm&quot;.ist -o &quot;%tm&quot;.gls"/>
            <preProcessors/>
            <postProcessors/>
            <viewer path="AcroRd32.exe" closeBeforeCompilation="true">
                <viewProjectCommand type="dde">
                    <commandLineCommand path="AcroRd32.exe" arguments=" &quot;%bm.pdf&quot;"/>
                    <ddeCommand path="AcroRd32.exe" server="acroviewR11" topic="control" command="[DocOpen(&quot;%bm.pdf&quot;)][FileOpen(&quot;%bm.pdf&quot;)]"/>
                </viewProjectCommand>
                <viewCurrentFileCommand type="dde">
                    <commandLineCommand path="AcroRd32.exe" arguments="  &quot;%bm.pdf&quot;"/>
                    <ddeCommand path="AcroRd32.exe" server="acroviewR11" topic="control" command="[DocOpen(&quot;%bm.pdf&quot;)][FileOpen(&quot;%bm.pdf&quot;)]"/>
                </viewCurrentFileCommand>
                <viewCloseCommand type="dde">
                    <commandLineCommand path="" arguments=""/>
                    <ddeCommand path="" server="acroviewR11" topic="control" command="[DocClose(&quot;%bm.pdf&quot;)]"/>
                </viewCloseCommand>
            </viewer>
        </outputProfile>
    </outputProfileList>
</txcop:outputProfiles>

答案1

亲爱的女士们,先生们,

它似乎位于

\usepackage[colorlinks, linkcolor=black, menucolor=black, urlcolor=black, plainpages=false, pdfpagelabels, pagebackref=false, breaklinks={true}, backref=section]{hyperref}

正是 backref=section。词汇表似乎不算作部分,然后创建指向文档第一页的 (document)。

我选择 backref=page 来解决我的论文中的问题。backref 的选项包括:

backref=page,   % activate back references inside bibliography (section, slide, page, none)

现在将罗马页码添加到参考书目中作为反向引用。

祝您使用 TeX 愉快!

相关内容