aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/out_latex.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2022-03-05 10:33:39 -0500
committerRalph Amissah <ralph.amissah@gmail.com>2022-03-05 10:33:39 -0500
commita1a07ffea7e9d27f7589217ed475854050aa21b3 (patch)
tree5f8c7f6c2c7396d847d34b5be2a272d517388929 /org/out_latex.org
parentexternal dependency update, housekeeping, routine (diff)
org-mode, latex file, cosmetic
Diffstat (limited to 'org/out_latex.org')
-rw-r--r--org/out_latex.org156
1 files changed, 78 insertions, 78 deletions
diff --git a/org/out_latex.org b/org/out_latex.org
index d24dc31..9bb604b 100644
--- a/org/out_latex.org
+++ b/org/out_latex.org
@@ -33,48 +33,48 @@ template outputLaTeX() {
static auto rgx = RgxO();
mixin spineLanguageCodes;
auto lang = Lang();
- <<output_latex_shared_a_paper_type>>
- <<output_latex_shared_a_special_characters_to_escape_object>>
- <<output_latex_shared_a_special_characters_to_escape_text>>
- <<output_latex_shared_a_fontface>>
- <<output_latex_shared_a_leading_hardspaces>>
- <<output_latex_shared_a_character_nbsp_to_hardspace>>
- <<output_latex_shared_a_character_nbsp_to_space>>
- <<output_latex_shared_a_links_and_images>>
- <<output_latex_shared_a_footnotes>>
- <<output_latex_shared_a_footnotes_remove>>
- <<output_latex_shared_a_para>>
- <<output_latex_shared_a_bookindex>>
-<<output_latex_shared_b_heading>>
-<<output_latex_shared_b_group>>
-<<output_latex_shared_b_block>>
-<<output_latex_shared_b_verse>>
-<<output_latex_shared_b_codeblock>>
-<<output_latex_shared_b_tablarize>>
-<<output_latex_shared_b_table>>
+ <<output_latex_shared_paper_type>>
+ <<output_latex_shared_special_characters_to_escape_object>>
+ <<output_latex_shared_special_characters_to_escape_text>>
+ <<output_latex_shared_fontface>>
+ <<output_latex_shared_leading_hardspaces>>
+ <<output_latex_shared_character_nbsp_to_hardspace>>
+ <<output_latex_shared_character_nbsp_to_space>>
+ <<output_latex_shared_links_and_images>>
+ <<output_latex_shared_footnotes>>
+ <<output_latex_shared_footnotes_remove>>
+ <<output_latex_shared_para>>
+ <<output_latex_shared_bookindex>>
+<<output_latex_shared_heading>>
+<<output_latex_shared_group>>
+<<output_latex_shared_block>>
+<<output_latex_shared_verse>>
+<<output_latex_shared_codeblock>>
+<<output_latex_shared_tablarize>>
+<<output_latex_shared_table>>
<<output_latex_head_bullets_and_indentation>>
- <<output_latex_head_0>>
+ <<output_latex_head>>
<<output_latex_head_papertype>>
<<output_latex_head_footer>>
- <<output_latex_head_b_tex_papermargins>>
- <<output_latex_head_b_tex_papermargins_portrait>>
-<<output_latex_head_b_tex_papermargins_portrait_set>>
-<<output_latex_head_b_tex_papermargins_portrait_close>>
- <<output_latex_head_b_tex_papermargins_landscape>>
-<<output_latex_head_b_tex_papermargins_landscape_set>>
-<<output_latex_head_b_tex_papermargins_landscape_close>>
- <<output_latex_head_b_tex_columns_multi>>
- <<output_latex_head_b_tex_columns_multi_portrait>>
-<<output_latex_head_b_tex_columns_multi_portrait_set>>
-<<output_latex_head_b_tex_columns_multi_portrait_close>>
- <<output_latex_head_b_tex_columns_multi_landscape>>
- <<output_latex_head_b_tex_colorlinks>>
- <<output_latex_head_b_tex_colorlinks_mono>>
-<<output_latex_head_b_tex_colorlinks_mono_set>>
-<<output_latex_head_b_tex_colorlinks_mono_close>>
- <<output_latex_head_b_tex_colorlinks_color>>
-<<output_latex_head_b_tex_colorlinks_color_set>>
-<<output_latex_head_b_tex_colorlinks_color_close>>
+ <<output_latex_head_tex_papermargins>>
+ <<output_latex_head_tex_papermargins_portrait>>
+<<output_latex_head_tex_papermargins_portrait_set>>
+<<output_latex_head_tex_papermargins_portrait_close>>
+ <<output_latex_head_tex_papermargins_landscape>>
+<<output_latex_head_tex_papermargins_landscape_set>>
+<<output_latex_head_tex_papermargins_landscape_close>>
+ <<output_latex_head_tex_columns_multi>>
+ <<output_latex_head_tex_columns_multi_portrait>>
+<<output_latex_head_tex_columns_multi_portrait_set>>
+<<output_latex_head_tex_columns_multi_portrait_close>>
+ <<output_latex_head_tex_columns_multi_landscape>>
+ <<output_latex_head_tex_colorlinks>>
+ <<output_latex_head_tex_colorlinks_mono>>
+<<output_latex_head_tex_colorlinks_mono_set>>
+<<output_latex_head_tex_colorlinks_mono_close>>
+ <<output_latex_head_tex_colorlinks_color>>
+<<output_latex_head_tex_colorlinks_color_set>>
+<<output_latex_head_tex_colorlinks_color_close>>
<<output_latex_head_format_string_paper_set>>
<<output_latex_head_format_string_paper_set_format_portrait>>
<<output_latex_head_format_string_paper_set_format_portrait_tex>>
@@ -202,7 +202,7 @@ import doc_reform.io_out;
** shared
*** paper dimensions (struct)
-#+NAME: output_latex_shared_a_paper_type
+#+NAME: output_latex_shared_paper_type
#+BEGIN_SRC d
auto paper() {
struct PaperType {
@@ -369,7 +369,7 @@ auto paper() {
*** latex \escape special characters
**** general
-#+NAME: output_latex_shared_a_special_characters_to_escape_object
+#+NAME: output_latex_shared_special_characters_to_escape_object
#+BEGIN_SRC d
@safe string sp_char_esc(O)(
string _txt,
@@ -398,7 +398,7 @@ auto paper() {
}
#+END_SRC
-#+NAME: output_latex_shared_a_special_characters_to_escape_text
+#+NAME: output_latex_shared_special_characters_to_escape_text
#+BEGIN_SRC d
@safe string sp_char_esc_txt()(
string _txt,
@@ -440,7 +440,7 @@ auto paper() {
- bold, italics, underscore, strikethrough
-#+NAME: output_latex_shared_a_fontface
+#+NAME: output_latex_shared_fontface
#+BEGIN_SRC d
@safe string fontface()(
string _txt,
@@ -463,7 +463,7 @@ _txt = _txt
**** spaces
***** leading hardspace
-#+NAME: output_latex_shared_a_leading_hardspaces
+#+NAME: output_latex_shared_leading_hardspaces
#+BEGIN_SRC d
@safe string leading_hardspaces()(
string _txt,
@@ -480,7 +480,7 @@ _txt = _txt
***** nbsp character
-#+NAME: output_latex_shared_a_character_nbsp_to_hardspace
+#+NAME: output_latex_shared_character_nbsp_to_hardspace
#+BEGIN_SRC d
@safe string nbsp_char()(string _txt) {
if (_txt.match(rgx.nbsp_char)) {
@@ -492,7 +492,7 @@ _txt = _txt
***** remove nbsp character
-#+NAME: output_latex_shared_a_character_nbsp_to_space
+#+NAME: output_latex_shared_character_nbsp_to_space
#+BEGIN_SRC d
@safe string nbsp_char_to_space()(string _txt) {
if (_txt.match(rgx.nbsp_char)) {
@@ -505,7 +505,7 @@ _txt = _txt
**** links and images
***** links / urls
-#+NAME: output_latex_shared_a_links_and_images
+#+NAME: output_latex_shared_links_and_images
#+BEGIN_SRC d
@safe string links_and_images(O,M)(
string _txt,
@@ -557,7 +557,7 @@ _txt = _txt
*** footnotes
**** footnotes
-#+NAME: output_latex_shared_a_footnotes
+#+NAME: output_latex_shared_footnotes
#+BEGIN_SRC d
@safe string footnotes()(
string _txt,
@@ -578,7 +578,7 @@ _txt = _txt
**** footnote remove
-#+NAME: output_latex_shared_a_footnotes_remove
+#+NAME: output_latex_shared_footnotes_remove
#+BEGIN_SRC d
@safe string remove_footnotes()(
string _txt,
@@ -593,7 +593,7 @@ _txt = _txt
*** para
**** para
-#+NAME: output_latex_shared_a_para
+#+NAME: output_latex_shared_para
#+BEGIN_SRC d
@safe string para(O)(
string _txt,
@@ -614,7 +614,7 @@ _txt = _txt
**** bookindex para
-#+NAME: output_latex_shared_a_bookindex
+#+NAME: output_latex_shared_bookindex
#+BEGIN_SRC d
@safe string bookindex(O)(
string _txt,
@@ -680,7 +680,7 @@ _txt = _txt
*** heading
-#+NAME: output_latex_shared_b_heading
+#+NAME: output_latex_shared_heading
#+BEGIN_SRC d
@safe string heading(O,M)(
string _txt,
@@ -854,7 +854,7 @@ _txt = _txt
- (hardspace not honored) clear hardspace marker
-#+NAME: output_latex_shared_b_group
+#+NAME: output_latex_shared_group
#+BEGIN_SRC d
string group(O,M)(
string _txt,
@@ -882,7 +882,7 @@ string group(O,M)(
- (hardspace honored) \hardspace
-#+NAME: output_latex_shared_b_block
+#+NAME: output_latex_shared_block
#+BEGIN_SRC d
string block(O,M)(
string _txt,
@@ -914,7 +914,7 @@ string block(O,M)(
- (hardspace honored) \hardspace
-#+NAME: output_latex_shared_b_verse
+#+NAME: output_latex_shared_verse
#+BEGIN_SRC d
string verse(O,M)(
string _txt,
@@ -946,7 +946,7 @@ string verse(O,M)(
- (hardspace honored) \begin{lstlisting} clear hardspace marker
-#+NAME: output_latex_shared_b_codeblock
+#+NAME: output_latex_shared_codeblock
#+BEGIN_SRC d
string codeblock(O,M)(
string _txt,
@@ -978,7 +978,7 @@ string codeblock(O,M)(
***** tablarize
-#+NAME: output_latex_shared_b_tablarize
+#+NAME: output_latex_shared_tablarize
#+BEGIN_SRC d
auto tablarize(O)(
string _txt,
@@ -1017,7 +1017,7 @@ auto tablarize(O)(
***** table
-#+NAME: output_latex_shared_b_table
+#+NAME: output_latex_shared_table
#+BEGIN_SRC d
string table(O,M)(
string _txt,
@@ -1077,7 +1077,7 @@ string table(O,M)(
*** latex head :head:
**** latex head function
-#+NAME: output_latex_head_0
+#+NAME: output_latex_head
#+BEGIN_SRC d
string latex_head(M)(
M doc_matters,
@@ -1143,7 +1143,7 @@ auto paper_type_latex = paperTypeLatex();
***** paper margins
****** struct
-#+NAME: output_latex_head_b_tex_papermargins
+#+NAME: output_latex_head_tex_papermargins
#+BEGIN_SRC d
struct paperMargins {
string portrait;
@@ -1154,19 +1154,19 @@ auto margins = paperMargins();
****** portrait
-#+NAME: output_latex_head_b_tex_papermargins_portrait
+#+NAME: output_latex_head_tex_papermargins_portrait
#+BEGIN_SRC d
margins.portrait = format(q"┃
#+END_SRC
-#+NAME: output_latex_head_b_tex_papermargins_portrait_set
+#+NAME: output_latex_head_tex_papermargins_portrait_set
#+BEGIN_SRC latex
\setlength{\oddsidemargin}{0mm} \setlength{\evensidemargin}{0mm}
\setlength{\topmargin}{-12pt} \setlength{\headheight}{12pt}
\setlength{\headsep}{35pt}
#+END_SRC
-#+NAME: output_latex_head_b_tex_papermargins_portrait_close
+#+NAME: output_latex_head_tex_papermargins_portrait_close
#+BEGIN_SRC d
┃",
);
@@ -1174,19 +1174,19 @@ margins.portrait = format(q"┃
****** landscape
-#+NAME: output_latex_head_b_tex_papermargins_landscape
+#+NAME: output_latex_head_tex_papermargins_landscape
#+BEGIN_SRC d
margins.landscape = format(q"┃
#+END_SRC
-#+NAME: output_latex_head_b_tex_papermargins_landscape_set
+#+NAME: output_latex_head_tex_papermargins_landscape_set
#+BEGIN_SRC latex
\setlength{\oddsidemargin}{6mm} \setlength{\evensidemargin}{6mm}
\setlength{\topmargin}{-12mm} \setlength{\headheight}{12pt}
\setlength{\headsep}{20pt}
#+END_SRC
-#+NAME: output_latex_head_b_tex_papermargins_landscape_close
+#+NAME: output_latex_head_tex_papermargins_landscape_close
#+BEGIN_SRC d
┃",
);
@@ -1195,7 +1195,7 @@ margins.landscape = format(q"┃
***** multicol
****** struct
-#+NAME: output_latex_head_b_tex_columns_multi
+#+NAME: output_latex_head_tex_columns_multi
#+BEGIN_SRC d
struct columnsMulti {
string portrait;
@@ -1206,17 +1206,17 @@ auto multicol = columnsMulti();
****** portrait
-#+NAME: output_latex_head_b_tex_columns_multi_portrait
+#+NAME: output_latex_head_tex_columns_multi_portrait
#+BEGIN_SRC d
multicol.portrait = format(q"┃
#+END_SRC
-#+NAME: output_latex_head_b_tex_columns_multi_portrait_set
+#+NAME: output_latex_head_tex_columns_multi_portrait_set
#+BEGIN_SRC latex
\usepackage{multicol}
#+END_SRC
-#+NAME: output_latex_head_b_tex_columns_multi_portrait_close
+#+NAME: output_latex_head_tex_columns_multi_portrait_close
#+BEGIN_SRC d
┃",
);
@@ -1224,7 +1224,7 @@ multicol.portrait = format(q"┃
****** landscape
-#+NAME: output_latex_head_b_tex_columns_multi_landscape
+#+NAME: output_latex_head_tex_columns_multi_landscape
#+BEGIN_SRC d
multicol.landscape = "";
#+END_SRC
@@ -1232,7 +1232,7 @@ multicol.landscape = "";
***** color links
****** struct
-#+NAME: output_latex_head_b_tex_colorlinks
+#+NAME: output_latex_head_tex_colorlinks
#+BEGIN_SRC d
struct colorLinks {
string mono;
@@ -1243,12 +1243,12 @@ auto links = colorLinks();
****** mono
-#+NAME: output_latex_head_b_tex_colorlinks_mono
+#+NAME: output_latex_head_tex_colorlinks_mono
#+BEGIN_SRC d
links.mono = format(q"┃
#+END_SRC
-#+NAME: output_latex_head_b_tex_colorlinks_mono_set
+#+NAME: output_latex_head_tex_colorlinks_mono_set
#+BEGIN_SRC latex
\usepackage[xetex,
colorlinks=true,
@@ -1257,7 +1257,7 @@ links.mono = format(q"┃
linkcolor=myblack,
#+END_SRC
-#+NAME: output_latex_head_b_tex_colorlinks_mono_close
+#+NAME: output_latex_head_tex_colorlinks_mono_close
#+BEGIN_SRC d
┃",
);
@@ -1265,12 +1265,12 @@ links.mono = format(q"┃
****** color
-#+NAME: output_latex_head_b_tex_colorlinks_color
+#+NAME: output_latex_head_tex_colorlinks_color
#+BEGIN_SRC d
links.color = format(q"┃
#+END_SRC
-#+NAME: output_latex_head_b_tex_colorlinks_color_set
+#+NAME: output_latex_head_tex_colorlinks_color_set
#+BEGIN_SRC latex
\usepackage[xetex,
colorlinks=true,
@@ -1279,7 +1279,7 @@ links.color = format(q"┃
linkcolor=myred, %% \href{...} and \pageref{...}
#+END_SRC
-#+NAME: output_latex_head_b_tex_colorlinks_color_close
+#+NAME: output_latex_head_tex_colorlinks_color_close
#+BEGIN_SRC d
┃",
);