mirror of
https://github.com/vale981/literate-programming-tutorials
synced 2025-03-04 17:31:39 -05:00
Moved epj-pacs-codes-latex under Template Utility Code
This commit is contained in:
parent
d67ea8022c
commit
91987cd75c
1 changed files with 13 additions and 13 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue