Skip to content

Commit 102025b

Browse files
committed
Updated code/wordcount.py to search for .tex files in content/exports instead of content/paper. Added new LaTeX and PDF exports for appendix and moderation letters, including source .tex, .bib, .sty, and image files. Updated related markdown files and myst.yml to reflect the new export structure.
1 parent b801c82 commit 102025b

31 files changed

+3142
-10
lines changed

code/wordcount.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@
2727

2828
# Project root and content directories
2929
PROJECT_ROOT = Path(__file__).parent.parent
30-
PAPER_DIR = PROJECT_ROOT / "content" / "paper"
30+
EXPORTS_DIR = PROJECT_ROOT / "content" / "exports"
3131

3232

3333
def find_tex_files() -> list[Path]:
34-
"""Find all .tex files in paper subdirectories."""
34+
"""Find all .tex files in exports subdirectories."""
3535
tex_files = []
36-
if PAPER_DIR.exists():
37-
for subdir in PAPER_DIR.iterdir():
36+
if EXPORTS_DIR.exists():
37+
for subdir in EXPORTS_DIR.iterdir():
3838
if subdir.is_dir() and subdir.name.endswith("_pdf_tex"):
3939
tex_files.extend(subdir.glob("*.tex"))
4040
return sorted(tex_files)
@@ -251,7 +251,7 @@ def main():
251251
if args.list:
252252
tex_files = find_tex_files()
253253
if not tex_files:
254-
print("No .tex files found in content/paper/")
254+
print("No .tex files found in content/exports/")
255255
return 1
256256
print("Available .tex files:")
257257
default = find_default_file()
62.6 KB
Binary file not shown.

content/exports/appendix_letters_pdf_tex/appendix_letters.tex

Lines changed: 338 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 147 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,147 @@
1+
@article{Carroll1997,
2+
author = {Carroll, Christopher D.},
3+
journal = {Quarterly Journal of Economics},
4+
doi = {10.1162/003355397555109},
5+
number = {1},
6+
year = {1997},
7+
pages = {1--55},
8+
title = {Buffer-{Stock} {Saving} and the {Life} {Cycle}/{Permanent} {Income} {Hypothesis}},
9+
volume = {112},
10+
}
11+
12+
13+
@techreport{SolvingMicroDSOPs,
14+
author = {Carroll, Christopher D},
15+
year = {2020},
16+
institution = {Johns Hopkins University},
17+
title = {Solving microeconomic dynamic stochastic optimization problems},
18+
type = {techreport},
19+
url = {https://www.econ2.jhu.edu/people/ccarroll/SolvingMicroDSOPs.pdf},
20+
}
21+
22+
23+
@unpublished{CarrollShanker2024,
24+
address = {Baltimore, MD},
25+
author = {Carroll, Christopher D. and Shanker, Akshay},
26+
year = {2024},
27+
month = {6},
28+
note = {Revise and Resubmit, Quantitative Economics},
29+
howpublished = {Johns Hopkins University},
30+
title = {Theoretical {Foundations} of {Buffer} {Stock} {Saving} ({Revise} and {Resubmit}, {Quantitative} {Economics})},
31+
url = {https://llorracc.github.io/BufferStockTheory/BufferStockTheory.pdf},
32+
}
33+
34+
35+
@techreport{Carroll2001MPCBound,
36+
author = {Carroll, Christopher D.},
37+
doi = {10.3386/w8233},
38+
year = {2001},
39+
number = {8233},
40+
institution = {NBER},
41+
title = {Precautionary {Saving} and the {Marginal} {Propensity} to {Consume}},
42+
type = {Working {Paper}},
43+
}
44+
45+
46+
@article{CarrollToche2009,
47+
author = {Carroll, Christopher D. and Toche, Patrick},
48+
journal = {Social Science Research Network},
49+
doi = {10.3386/w15265},
50+
year = {2009},
51+
title = {A {Tractable} {Model} of {Buffer} {Stock} {Saving}},
52+
}
53+
54+
55+
@article{Santos2000,
56+
author = {Santos, Manuel S.},
57+
journal = {Econometrica},
58+
doi = {10.1111/1468-0262.00165},
59+
number = {6},
60+
year = {2000},
61+
pages = {1377--1402},
62+
title = {Accuracy of {Numerical} {Solutions} {Using} the {Euler} {Equation} {Residuals}},
63+
volume = {68},
64+
}
65+
66+
67+
@article{JuddMaliarMaliar2017,
68+
author = {Judd, Kenneth L. and Maliar, Lilia and Maliar, Serguei},
69+
journal = {Econometrica},
70+
doi = {10.3982/ecta12791},
71+
number = {3},
72+
year = {2017},
73+
pages = {991--1020},
74+
title = {Lower {Bounds} on {Approximation} {Errors} to {Numerical} {Solutions} of {Dynamic} {Economic} {Models}},
75+
volume = {85},
76+
}
77+
78+
79+
@article{Fritsch1980,
80+
author = {Fritsch, F. N. and Carlson, R. E.},
81+
journal = {SIAM Journal on Numerical Analysis},
82+
doi = {10.1137/0717021},
83+
number = {2},
84+
year = {1980},
85+
pages = {238--246},
86+
publisher = {Society for Industrial},
87+
title = {Monotone {Piecewise} {Cubic} {Interpolation}},
88+
volume = {17},
89+
}
90+
91+
92+
@article{FritschButland1984,
93+
author = {Fritsch, Fred N. and Butland, J.},
94+
journal = {SIAM Journal on Scientific and Statistical Computing},
95+
doi = {10.1137/0905021},
96+
number = {2},
97+
year = {1984},
98+
pages = {300--304},
99+
title = {A {Method} for {Constructing} {Local} {Monotone} {Piecewise} {Cubic} {Interpolants}},
100+
volume = {5},
101+
}
102+
103+
104+
@book{deBoor2001,
105+
author = {de Boor, Carl},
106+
doi = {10.1007/978-1-4612-6333-3},
107+
edition = {Revised},
108+
year = {2001},
109+
publisher = {Springer},
110+
title = {A {Practical} {Guide} to {Splines}},
111+
}
112+
113+
114+
@article{Hyman1983,
115+
author = {Hyman, James M.},
116+
journal = {SIAM Journal on Scientific and Statistical Computing},
117+
doi = {10.1137/0904045},
118+
number = {4},
119+
year = {1983},
120+
pages = {645--654},
121+
title = {Accurate {Monotonicity}-{Preserving} {Cubic} {Interpolation}},
122+
volume = {4},
123+
}
124+
125+
126+
@article{tauchen1986,
127+
author = {Tauchen, George},
128+
journal = {Economics Letters},
129+
doi = {10.1016/0165-1765(86)90168-0},
130+
number = {2},
131+
year = {1986},
132+
pages = {177--181},
133+
title = {Finite {State} {Markov}-{Chain} {Approximations} to {Univariate} and {Vector} {Autoregressions}},
134+
volume = {20},
135+
}
136+
137+
138+
@article{TauchenHussey1991,
139+
author = {Tauchen, George and Hussey, Robert},
140+
journal = {Econometrica},
141+
doi = {10.2307/2938261},
142+
number = {2},
143+
year = {1991},
144+
pages = {371--396},
145+
title = {Quadrature-{Based} {Methods} for {Obtaining} {Approximate} {Solutions} to {Nonlinear} {Asset} {Pricing} {Models}},
146+
volume = {59},
147+
}

0 commit comments

Comments
 (0)