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

[Feature Request] Rerun BibTeX if bbl file has been outdated #3

Open
tsuu32 opened this issue Feb 7, 2020 · 0 comments
Open

[Feature Request] Rerun BibTeX if bbl file has been outdated #3

tsuu32 opened this issue Feb 7, 2020 · 0 comments
Assignees

Comments

@tsuu32
Copy link

tsuu32 commented Feb 7, 2020

現在のClutTeXの--bibtexオプションでは、BibTeXが再実行されるかはauxファイルが更新されたかどうか(?)で決まっているようです。
そのため、bibファイルのエントリの中身を変えるだけではBibTeXは再実行されず、古いbblが使われてしまいます。
なのでbibファイルのエントリを更新したときもBibTeXを再実行する機能が欲しいです。

BibTeXが再実行されるべきなのは、「LaTeXソースで使われているBibTeXエントリ」の中身が「書き変わった場合」ですが、これは大変なので、使われているbibファイルたちの更新日時とbblファイルの更新日時を比べてbblファイルが古ければBibTeXを再実行する、のが現実的な気がします。
ClutTeXの実装を見てみましたが、extract_bibtex_from_aux_fileでbibdataの中をパースしてbibファイル名を取り出してごにょごにょするのかなと思います。が、BIBINPUTSやbiberのことも考えると難しそうです...

@minoki minoki self-assigned this Feb 7, 2020
atticus-sullivan added a commit to atticus-sullivan/cluttex that referenced this issue Nov 25, 2022
Supposed to fix minoki#3 if biber is used. Not quite sure about the
absolute/relative way of handling paths.
@atticus-sullivan atticus-sullivan mentioned this issue Nov 25, 2022
2 tasks
atticus-sullivan added a commit to atticus-sullivan/cluttex that referenced this issue Nov 26, 2022
Supposed to fix minoki#3 if biber is used. Not quite sure about the
absolute/relative way of handling paths.
@minoki minoki closed this as completed in ce0866a Oct 29, 2023
@minoki minoki reopened this Oct 29, 2023
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

Successfully merging a pull request may close this issue.

2 participants