aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/utils.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2022-03-09 21:05:51 -0500
committerRalph Amissah <ralph.amissah@gmail.com>2022-03-11 12:29:57 -0500
commit0a87b8fbd5b013b8da07f6bc30360ff735217367 (patch)
tree16cd52e499f0cc9a919c8d0d32a3932573ebbfcd /org/utils.org
parentorg-mode, track bin files (diff)
org-mode and ruby file headers modified
- org-mode file headers modified to preserve org-mode ruby syntax highlighting
Diffstat (limited to 'org/utils.org')
-rw-r--r--org/utils.org29
1 files changed, 16 insertions, 13 deletions
diff --git a/org/utils.org b/org/utils.org
index 7f7d531a..ffbdfeeb 100644
--- a/org/utils.org
+++ b/org/utils.org
@@ -19,8 +19,9 @@
* utils
** utils.rb
-#+BEGIN_SRC ruby :tangle "../lib/sisu/utils.rb"
-<<sisu_document_header>>
+#+HEADER: :tangle "../lib/sisu/utils.rb"
+#+BEGIN_SRC ruby
+#<<sisu_document_header>>
module SiSU_Utils
class CodeMarker
def initialize(line,file,color=:red)
@@ -201,8 +202,9 @@ puts ANSI_C[:red] + __LINE__.to_s + ANSI_C[:off] + ' ' + __FILE__.gsub(/([^\/]+$
** utils_spell.rb
-#+BEGIN_SRC ruby :tangle "../lib/sisu/utils_spell.rb"
-<<sisu_document_header>>
+#+HEADER: :tangle "../lib/sisu/utils_spell.rb"
+#+BEGIN_SRC ruby
+#<<sisu_document_header>>
module SiSU_SpellUtility
class Spell
def initialize(input,filesrc,flg)
@@ -250,8 +252,9 @@ __END__
** utils_response.rb
-#+BEGIN_SRC ruby :tangle "../lib/sisu/utils_response.rb"
-<<sisu_document_header>>
+#+HEADER: :tangle "../lib/sisu/utils_response.rb"
+#+BEGIN_SRC ruby
+#<<sisu_document_header>>
module SiSU_Response
def available_selections_
%{'yes', 'no', 'quit' or 'exit'; [ynqx]}
@@ -314,8 +317,9 @@ __END__
** utils_composite.rb
-#+BEGIN_SRC ruby :tangle "../lib/sisu/utils_composite.rb"
-<<sisu_document_header>>
+#+HEADER: :tangle "../lib/sisu/utils_composite.rb"
+#+BEGIN_SRC ruby
+#<<sisu_document_header>>
module SiSU_Composite_Doc_Utils
def inserts_array(loadfilename)
IO.readlines(loadfilename,'')
@@ -379,8 +383,9 @@ __END__
** utils_screen_text_color.rb
-#+BEGIN_SRC ruby :tangle "../lib/sisu/utils_screen_text_color.rb"
-<<sisu_document_header>>
+#+HEADER: :tangle "../lib/sisu/utils_screen_text_color.rb"
+#+BEGIN_SRC ruby
+#<<sisu_document_header>>
module SiSU_Screen
class Color
attr_accessor :off,:marker,:bold,:underline,:invert,:darkgrey_hi,:grey_hi,:pink_hi,:fuchsia_hi,:red_hi,:orange_hi,:yellow_hi,:brown_hi,:lightgreen_hi,:green_hi,:cyan_hi,:blue_hi,:navy_hi,:white,:white_bold,:grey,:pink,:fuchsia,:ruby,:red,:orange,:yellow,:brown,:green,:darkgreen,:cyan,:blue,:navy,:black
@@ -803,8 +808,7 @@ __END__
#+NAME: sisu_document_header
#+BEGIN_SRC text
-#encoding: utf-8
-=begin
+encoding: utf-8
- Name: SiSU
- Description: documents, structuring, processing, publishing, search
@@ -856,5 +860,4 @@ __END__
<https://git.sisudoc.org/projects/>
<https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary>
<https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary>
-=end
#+END_SRC