We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
翻訳原稿などで //footnote を用意したものの @<fn> を忘れて紙面から落ちている、ということがたまにあります。 手元ではreファイルをなめてチェックする内製ツールを使っているのですが、コンパイラ/IndexBuilder側でfootnoteの未参照を拾えそうならWARNを出したいです(image,list,tableは参照しないこともままあるので現状確認したいのはfootnoteのみ)。
//footnote
@<fn>
The text was updated successfully, but these errors were encountered:
これは普通に実現できそうな気もします
Sorry, something went wrong.
素朴にはハッシュ用意して#footnote, #endnoteでキー:ID、値0 として定義、#inline_fn, #inline_endnoteでキーIDに値+1、最後のresult前にハッシュで値0のものを一覧というのを考えたところで、ビルダであちこちメソッド上書きしているので大変…と詰まりました。 lndexBuilder内か、Indexクラスに何か持たせるかするといいんでしょうかね。
#footnote
#endnote
#inline_fn
#inline_endnote
b007cbe
No branches or pull requests
翻訳原稿などで
//footnote
を用意したものの@<fn>
を忘れて紙面から落ちている、ということがたまにあります。手元ではreファイルをなめてチェックする内製ツールを使っているのですが、コンパイラ/IndexBuilder側でfootnoteの未参照を拾えそうならWARNを出したいです(image,list,tableは参照しないこともままあるので現状確認したいのはfootnoteのみ)。
The text was updated successfully, but these errors were encountered: