Moved epj-pacs-codes-latex under Template Utility Code

This commit is contained in:
melioratus 2018-11-22 13:56:01 -07:00
parent d67ea8022c
commit 91987cd75c

View file

@ -13,19 +13,6 @@
| PACS-key01 | text discribing PACS-key01 |
| PACS-key02 | text discribing PACS-key02 |
** Generate PACS Latex Code
#+NAME: epj-pacs-codes-latex
#+BEGIN_SRC elisp :var pacs_codes=pacs-codes-table :results latex replace :var join_delim=" \\and\n"
(string-join (mapcar (lambda (x) (format " {%s}{%s}" (car x) (nth 1 x))) pacs_codes) join_delim)
#+END_SRC
#+RESULTS: epj-pacs-codes-latex
#+BEGIN_EXPORT latex
{PACS-key01}{text discribing PACS-key01} \and
{PACS-key02}{text discribing PACS-key02}
#+END_EXPORT
* Introduction
* Latex Template :noexport:
@ -180,6 +167,19 @@
** Template Utility Code
*** epj-pacs-codes-latex
#+NAME: epj-pacs-codes-latex
#+BEGIN_SRC elisp :var pacs_codes=pacs-codes-table :results latex replace :var join_delim=" \\and\n"
(string-join (mapcar (lambda (x) (format " {%s}{%s}" (car x) (nth 1 x))) pacs_codes) join_delim)
#+END_SRC
#+RESULTS: epj-pacs-codes-latex
#+BEGIN_EXPORT latex
{PACS-key01}{text discribing PACS-key01} \and
{PACS-key02}{text discribing PACS-key02}
#+END_EXPORT
* Common Export Settings :noexport:
#+OPTIONS: ':nil *:t -:t ::t <:t H:7 \n:nil ^:{} arch:headline