-
-
Notifications
You must be signed in to change notification settings - Fork 199
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
Convert NARK to reStructuredText #1303
base: master
Are you sure you want to change the base?
Conversation
Thanks Chris--done! |
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## master #1303 +/- ##
=======================================
Coverage 72.55% 72.55%
=======================================
Files 78 78
Lines 13009 13009
=======================================
Hits 9439 9439
Misses 3570 3570 ☔ View full report in Codecov by Sentry. |
@AA-Turner will we still be able to reproduce the pdf file from the rst? |
rst2xetex NARK.rst NARK.tex --stylesheet="wasysym,psibycus,cancel,amssymb,amsfonts,latexsym" --latex-preamble="\setmainfont{DejaVu Serif}\setsansfont{DejaVu Sans}\setmon
ofont[HyphenChar=None,Scale=MatchLowercase]{DejaVu Sans Mono}"
xelatex NARK
xelatex NARK This exports NARK as a PDF, though as The additional problem specifically with NARK is the Appreciate this isn't great -- I'm not a TeX expert though, so if you've any advice I'd appreciate it. (I've just spent the last four hours struggling through myriad different TeX compilation failures // Docutils/Sphinx edge-cases with overriding LaTeX output!) A |
Long-term plan is that we need to develop our own files, at a minimum econark.sty My whole econtex apparatus is now posted in a private repo https://github.com/econ-ark/resources to which I can invite interested parties as collaborators. It is basically the cobbled-together accretion of all the packages and other things I have needed at any point in order to get something done (papers, lecture notes, presentations, etc). So it's a big sloppy mess. A radically slimmed-down version of it could constitute the econark.cls file. The existing econark.sty file might need to be trimmed and also augmented -- the goal is to have the same names in latex code as in python code for the same items. And we need a global bibliography file containing both our own materials and the materials cited in our own materials. This is a work in progress that @camriddell and @alanlujan91 among others are aware of. |
This PR converts the Suggested Variable Naming Conventions in the Econ-ARK Toolkit (NARK) to reStructuredText and removes the LaTeX sources. This makes NARK accessible on the website, whereas it was previously only readable as the pre-rendered PDF (or, by rendering the PDF yourself).
The only outstanding problem is the lack of the
\mathbbmss
macro in MathJax -- see e.g. mathjax/MathJax#792. Would changing it simply to\mathbb
be acceptable?A
cc: @MridulS
(note: this PR is based on top of #1302, only the final 2 commits are part of this PR)