summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-10-01Open generated PDF using org-open-file.Arun Isaac
Printing from Emacs doesn't work well in Windows. So, we use org-open-file, which hopefully opens in the default PDF reader. * ksh-forms.el (forms-print): Use org-open-file instead of find-file.
2022-10-01Delete init file.Arun Isaac
ksh-report is now a proper emacs package to be required, not merely a bunch of elisp files to be loaded. * ksh-emacs-init.el: Delete file.
2022-10-01Define interactive commands.Arun Isaac
* ksh-report.el (ksh-discharge, ksh-scan1, ksh-scan2, ksh-scan3): New interactive commands. (ksh-path): New variable.
2022-10-01Change quote to quasiquote.Arun Isaac
* ksh-scan2.el, ksh-scan3.el (form-to-org): Change quote to quasiquote.
2022-10-01Use tikz to draw biometry.Arun Isaac
* ksh-report.el (draw-biometry, make-temp-script, combine-pdfs, crop-pdf): Delete functions. (biometry-subfloat, latex-macro): New functions. (insert-biometry): Use tikz to draw biometry. (make-report-header): Use subfig and tikz packages. Use calc tikz library. Define tickheight, parameterheight and parameterageheight macros. * biometry.asy: Delete file.
2020-12-31Improve code formatting.Arun Isaac
* ksh-report.el (insert-biometry): Improve code formatting.
2020-12-31Add ksh-path to load-path.Arun Isaac
* ksh-emacs-init.el (load-path): Add ksh-path.
2020-12-31Remove unquote.Arun Isaac
* ksh-report.el (make-report-header): Remove unquote.
2020-12-31Deprecate ksh-data-path.Arun Isaac
* ksh-discharge.el, ksh-scan2.el, ksh-scan3.el (forms-file): Use ksh-path instead of ksh-data-path. * ksh-emacs-init.el (ksh-data-path): Delete variable.
2020-12-31Combine biometry and report into single file.Arun Isaac
* ksh-report-header.el, ksh-biometry.el: Combine into ksh-report.el. * ksh-scan2.el, ksh-scan3.el: Require ksh-report instead of loading ksh-report-header.el and ksh-biometry.el.
2020-12-31Provide ksh-forms feature.Arun Isaac
* ksh-forms.el: Provide ksh-forms. * ksh-discharge.el, ksh-scan2.el, ksh-scan3.el: Require ksh-forms.
2020-12-31Prefer pcase to car, cdr.Arun Isaac
* ksh-forms-improved.el (set-values, form-entry, ksh-forms-org-keyword): Rewrite using pcase instead of car, cdr.
2020-12-31Deprecate setfun.Arun Isaac
* ksh-forms-improved.el (setfun): Delete function. (single-line-org-entry, multi-line-org-entry): Rewrite without setfun. (make-org-entry-function): Rename to ksh-forms-org-entry-function. Do not return a lambda function. Actually, do the work of that function.
2020-12-31Deprecate mapped.Arun Isaac
* ksh-forms-improved.el (mapped): Delete function.
2020-12-31Deprecate plural functions.Arun Isaac
* ksh-report-header.el (make-report-header): Use ksh-forms-org-keyword, ksh-forms-org-latex-header. * ksh-forms-improved.el (org-keywords, org-latex-headers): Delete functions.
2020-12-31Abstract out latex usepackage statement.Arun Isaac
* ksh-report-header.el (latex-use-package): New function. (make-report-header): Use latex-use-package.
2020-12-31Prefix ksh-forms namespace.Arun Isaac
* ksh-forms-improved.el (org-keyword): Rename to ksh-forms-org-keyword. (org-latex-header): Rename to ksh-forms-org-latex-header. (org-keywords): Use ksh-forms-org-keyword. (org-latex-headers): Use ksh-forms-org-latex-header. (ksh-forms-org-latex-header): Use ksh-forms-org-keyword.
2020-12-31Deprecate plural functions.Arun Isaac
* ksh-discharge.el (forms-format-list, form-to-org): Deprecate form-entries, single-line-org-entries, multi-line-org-entries. * ksh-scan2.el (forms-format-list): Deprecate form-entries. (form-to-org): Deprecate single-line-org-entries, multi-line-org-entries. * ksh-scan3.el (forms-format-list, form-to-org): Deprecate form-entries, single-line-org-entries, multi-line-org-entries. * ksh-forms-improved.el (single-line-org-entries, multi-line-org-entries, form-entries): Delete functions. squash! Deprecate plural functions.
2016-12-21Switch to the xelatex compilerArun Isaac
* ksh-forms-improved.el (org-latex-compiler): Set `org-latex-compiler' to "xelatex".
2016-12-21Initial commitArun Isaac