You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 16, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Jul 16, 2026. It is now read-only.
[cake_eating_problem] duplicate labels and citation issue #71
lecture-python-intro/source/rst/cake_eating_problem.rst:190: WARNING: duplicate label of equation bellman, other instance in cake_eating_numerical
lecture-python-intro/source/rst/cake_eating_problem.rst:353: WARNING: duplicate label of equation euler, other instance in cake_eating_numerical
lecture-python-intro/source/rst/cake_eating_problem.rst:393: WARNING: citation not found: ma2020income
I can't find ma2020income in the previous version of the qe bib file.
Also, is it possible to display an equation through referencing? I can't seem to find it in the documentation.
@jstac do you know what paper citation label ma2020income refers to?
@najuzilu there is no simple way other than to include in a separate file in source/_static but that isn't advised for equations. The labels should be made unique by adding:
bellman-cep for cake_eating_problem and bellman-cen for cake_eating_numerical
along with updated references to the label in the text respectively.
@article{ma2020income,
title={The income fluctuation problem and the evolution of wealth},
author={Ma, Qingyin and Stachurski, John and Toda, Alexis Akira},
journal={Journal of Economic Theory},
volume={187},
pages={105003},
year={2020},
publisher={Elsevier}
}
Activity
najuzilu commentedon Mar 28, 2020
I can't find
ma2020incomein the previous version of the qe bib file.Also, is it possible to display an equation through referencing? I can't seem to find it in the documentation.
mmcky commentedon Mar 29, 2020
hey @najuzilu hmm -- do you know which paper that tag might be referring to?
Also not sure what you mean by "possible to display an equation through referencing"?
najuzilu commentedon Mar 29, 2020
Hm no idea. I tried to do a simple search but got nowhere.
The bellman equation is labeled in two different files; in
cake_eating_problem.rst:Also in
cake_eating_numerical.rst:What's the optimal way to do show this eq without copy-pasting it in the second file?
mmcky commentedon Mar 29, 2020
@jstac do you know what paper citation label
ma2020incomerefers to?@najuzilu there is no simple way other than to include in a separate file in
source/_staticbut that isn't advised for equations. The labels should be made unique by adding:bellman-cepforcake_eating_problemandbellman-cenforcake_eating_numericalalong with updated references to the
labelin the text respectively.jstac commentedon Mar 29, 2020
Thanks guys. The ref is
mmcky commentedon Mar 30, 2020
@najuzilu I will setup a PR to add this to the bib file. I need it merged to see if
pdfbuild is fixed.