Skip to content

nomenclature 包不生成符号表 #642

Answered by skyzh
skyzh asked this question in 提问
Discussion options

You must be logged in to vote

nomenclature 需要生成一个索引文件。可以参考 https://tex.stackexchange.com/questions/310635/nomenclatures-not-working-when-using-package-nomencl 修改 latexmkrc 文件。

add_cus_dep('nlo', 'nls', 0, 'run_makenomencl');
push @generated_exts, 'nlo', 'nls';

sub run_makenomencl {
    if ( $silent ) {
        system "makeindex -q '$_[0].nlo' -s nomencl.ist -o '$_[0].nls'";
    }
    else {
        system "makeindex '$_[0].nlo' -s nomencl.ist -o '$_[0].nls'";
    };
}

Replies: 1 comment 1 reply

Comment options

skyzh
May 24, 2021
Maintainer Author

You must be logged in to vote
1 reply
@AlexaraWu
Comment options

Answer selected by skyzh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
提问
Labels
None yet
2 participants