-
-
Notifications
You must be signed in to change notification settings - Fork 199
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into plumbing/more_param_types
- Loading branch information
Showing
266 changed files
with
79,775 additions
and
7,058 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# -*- mode: shell-script; coding: utf-8 -*- | ||
# Google 'latexmk' for explanation of this config file | ||
# latexmk at unix command line will compile the paper | ||
$do_cd = 1; | ||
#$clean_ext = "nav out snm dvi idv tmp xref 4tc out aux log fls fdb_latexmk synctex.gz toc svg png 4ct ps out.ps mk4 lg cfg css html yml upa upb"; | ||
@generated_exts = (@generated_exts, 'blg','fdb_latexmk','fls', 'idv','md.tmp','mk4','lg','snm','synctex.gz', 'tex.cfg','nav','out','ps','ps_out','tex.mk4', 'tmp', 'upa','upb','toc','4ct'); | ||
$bibtex_use=2; | ||
$pdf_mode = 1; | ||
$rc_report = 1; | ||
$pdflatex="pdflatex -interaction=nonstopmode %O %S"; | ||
@default_files = ('*.tex'); | ||
$aux_out_dir_report = 0; | ||
$silent = 1; | ||
#warn "PATH = '$ENV{PATH}'\n"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/Volumes/Sync/GitHub/econ-ark/econ-ark-tools/@resources/bash/@resources-update-from-remote_private.sh |
43 changes: 43 additions & 0 deletions
43
Documentation/NARK/@resources/bash/@resources-update-from-remote_private.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
#!/bin/bash | ||
# Pull down the latest @resources and replace local files | ||
# with the same names. Leave alone any existing files | ||
# that do not have a counterpart in in the upstream | ||
# written by Claude, edited by CDC | ||
|
||
# script should live in directory of the @resources file to be updated | ||
|
||
# path to the directory the script lives in | ||
|
||
# Set the GitHub repository URL and the desired subdirectory | ||
repo_url="https://github.com/econ-ark/econ-ark-tools.git" | ||
|
||
# directory of this script | ||
here="$(realpath $(dirname $0))" # here=/Volumes/Data/Papers/BufferStockTheory/BufferStockTheory-Latest/ | ||
|
||
# subdirectory path | ||
repo_subdir="@resources" | ||
|
||
repo_url_root="https://github.com/econ-ark/econ-ark-tools" | ||
resources="@resources" | ||
repo_dirpath="$repo_url_root/$resources" | ||
|
||
# Set the destination directory on your macOS computer | ||
dest_dir="$here/@resources" | ||
|
||
# Create a temporary directory for cloning the repository | ||
temp_dir=$(mktemp -d) | ||
|
||
# Clone the GitHub repository into the temporary directory | ||
git clone --depth 1 "$repo_url" "$temp_dir" | ||
|
||
# Navigate to the desired subdirectory within the cloned repository | ||
pushd . ; cd "$temp_dir/$repo_subdir" | ||
|
||
# Copy the contents of the subdirectory to the destination directory | ||
rsync -avh --delete --checksum --itemize-changes --out-format="%i %n%L" . "$dest_dir" | grep '^>f.*c' | tee >(awk 'END { if (NR == 0) print "\nno files were changed\n"; else print NR, "files were changed\n" }') | ||
|
||
# Remove the temporary directory | ||
#rm -rf "$temp_dir" | ||
|
||
# Return to the source directory | ||
popd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
\newcommand{\aNrm}{a} | ||
\newcommand{\bNrm}{b} | ||
\newcommand{\cNrm}{c} | ||
\newcommand{\dNrm}{d} | ||
\newcommand{\eNrm}{e} | ||
\newcommand{\hNrm}{h} | ||
\newcommand{\wNrm}{w} | ||
\newcommand{\pNrm}{p} | ||
\newcommand{\kNrm}{k} | ||
\newcommand{\mNrm}{m} | ||
\newcommand{\vNrm}{v} | ||
\newcommand{\xNrm}{x} | ||
\newcommand{\yNrm}{y} | ||
\newcommand{\yNrm}{y} | ||
\newcommand{\zNrm}{z} | ||
\newcommand{\prd}{t} | ||
\newcommand{\prdt}{t} | ||
\newcommand{\prdT}{t} | ||
\newcommand{\trmT}{T} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
("\aNrm" . ?a) | ||
("\bNrm" . ?b) | ||
("\cNrm" . ?c) | ||
("\dNrm" . ?d) | ||
("\eNrm" . ?e) | ||
("\hNrm" . ?h) | ||
("\wNrm" . ?w) | ||
("\pNrm" . ?p) | ||
("\kNrm" . ?k) | ||
("\mNrm" . ?m) | ||
("\vNrm" . ?v) | ||
("\xNrm" . ?x) | ||
("\yNrm" . ?y) | ||
("\yNrm" . ?y) | ||
("\zNrm" . ?z) | ||
("\prd" . ?t) | ||
("\prdt" . ?t) | ||
("\prdT" . ?t) | ||
("\trmT" . ?T) | ||
("\aLvl" . ?𝐚) | ||
("\bLvl" . ?𝐛) | ||
("\cLvl" . ?𝐜) | ||
("\hLvl" . ?𝐡) | ||
("\pLvl" . ?𝐩) | ||
("\kLvl" . ?𝐤) | ||
("\mLvl" . ?𝐦) | ||
("\vLvl" . ?𝐯) | ||
("\yLvl" . ?𝐲) | ||
("\Ex" . ?𝔼) | ||
("\PermGroFac" . ?𝒢) | ||
("\PermGroFacAdj" . ? ) | ||
("\PermGroFacAdj" . ? ) | ||
("\RNrm" . ?ℛ) | ||
("\vFunc" . ?𝚟) | ||
("\uFunc" . ?𝚞) | ||
("\cFunc" . ?𝚌) | ||
("\DiscFac" . ?β) | ||
("\std" . ?σ) | ||
("\CRRA" . ?ρ) | ||
("\Rfree" . ?R) | ||
("\Risky" . ?𝐑) | ||
("\Rport" . ?ℜ) | ||
("\Shr" . ?Ϛ) | ||
("\TranShkEmp" . ?θ) | ||
("\TranShkEmpDum" . ?ϑ) | ||
("\tranShkEmp" . ?θ) | ||
("\tranShkEmpDum" . ?ϑ) | ||
("\Nrml" . ?𝒩) | ||
("\arvl" . ?←) | ||
("\cntn" . ?→) | ||
("\BegMark" . ?←) | ||
("\EndMark" . ?→) | ||
("\wlthAftr" . ?ẃ) | ||
("\wlthBefr" . ?w) | ||
("\labor" . ?ℓ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
#!/bin/bash | ||
|
||
letter_rules=( | ||
"\\aNrm:a" | ||
"\\bNrm:b" | ||
"\\cNrm:c" | ||
"\\dNrm:d" | ||
"\\eNrm:e" | ||
"\\hNrm:h" | ||
"\\wNrm:w" | ||
"\\pNrm:p" | ||
"\\kNrm:k" | ||
"\\mNrm:m" | ||
"\\vNrm:v" | ||
"\\xNrm:x" | ||
"\\yNrm:y" | ||
"\\yNrm:y" | ||
"\\zNrm:z" | ||
"\\prd:t" | ||
"\\prdt:t" | ||
"\\prdT:t" | ||
"\\trmT:T" | ||
) | ||
unicode_rules=( | ||
"\\aLvl:𝐚" | ||
"\\bLvl:𝐛" | ||
"\\cLvl:𝐜" | ||
"\\hLvl:𝐡" | ||
"\\pLvl:𝐩" | ||
"\\kLvl:𝐤" | ||
"\\mLvl:𝐦" | ||
"\\vLvl:𝐯" | ||
"\\yLvl:𝐲" | ||
"\\Ex:𝔼" | ||
"\\PermGroFac:𝒢" | ||
"\\PermGroFacAdj: " | ||
"\\PermGroFacAdj: " | ||
"\\RNrm:ℛ" | ||
"\\vFunc:𝚟" | ||
"\\uFunc:𝚞" | ||
"\\cFunc:𝚌" | ||
"\\DiscFac:β" | ||
"\\std:σ" | ||
"\\CRRA:ρ" | ||
"\\Rfree:R" | ||
"\\Risky:𝐑" | ||
"\\Rport:ℜ" | ||
"\\Shr:Ϛ" | ||
"\\TranShkEmp:θ" | ||
"\\TranShkEmpDum:ϑ" | ||
"\\tranShkEmp:θ" | ||
"\\tranShkEmpDum:ϑ" | ||
"\\Nrml:𝒩" | ||
"\\arvl:←" | ||
"\\cntn:→" | ||
"\\BegMark:←" | ||
"\\EndMark:→" | ||
"\\wlthAftr:ẃ" | ||
"\\wlthBefr:w" | ||
"\\labor:ℓ" | ||
) | ||
|
||
generate_prettify_rules() { | ||
output_file="symbols-mapping-prettify" | ||
> "$output_file" | ||
|
||
for rule in "${letter_rules[@]}"; do | ||
IFS=':' read -r command symbol <<< "$rule" | ||
echo "(\"$command\" . ?$symbol)" >> "$output_file" | ||
done | ||
|
||
for rule in "${unicode_rules[@]}"; do | ||
IFS=':' read -r command symbol <<< "$rule" | ||
echo "(\"$command\" . ?$symbol)" >> "$output_file" | ||
done | ||
|
||
echo "Prettify rules generated in $output_file" | ||
} | ||
|
||
generate_prettify_rules | ||
|
||
generate_latex_commands() { | ||
output_file="symbols-mapping-latex.tex" | ||
> "$output_file" | ||
|
||
for rule in "${letter_rules[@]}"; do | ||
IFS=':' read -r command symbol <<< "$rule" | ||
echo "\\newcommand{$command}{$symbol}" >> "$output_file" | ||
done | ||
|
||
echo "LaTeX commands generated in $output_file" | ||
} | ||
|
||
generate_latex_commands |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
% Add the listed directories to the search path | ||
% (allows easy moving of files around later) | ||
% these paths are searched AFTER local config kpsewhich | ||
|
||
% *.sty, *.cls | ||
\makeatletter | ||
\def\input@path{{@resources/texlive/texmf-local/tex/latex//} | ||
,{@resources/texlive/latex//} | ||
,{@local//} | ||
} | ||
\makeatother | ||
\makeatletter | ||
\def\bibinput@path{{@resources/texlive/texmf-local/tex/latex//} | ||
,{@resources/texlive/latex//}, | ||
,{@local//} | ||
} | ||
\makeatother |
Oops, something went wrong.