From 0a87b8fbd5b013b8da07f6bc30360ff735217367 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Wed, 9 Mar 2022 21:05:51 -0500 Subject: org-mode and ruby file headers modified - org-mode file headers modified to preserve org-mode ruby syntax highlighting --- org/harvest.org | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) (limited to 'org/harvest.org') diff --git a/org/harvest.org b/org/harvest.org index 09d0fb6c..4d37bd31 100644 --- a/org/harvest.org +++ b/org/harvest.org @@ -19,8 +19,9 @@ * harvest ** html_harvest.rb -#+BEGIN_SRC ruby :tangle "../lib/sisu/html_harvest.rb" -<> +#+HEADER: :tangle "../lib/sisu/html_harvest.rb" +#+BEGIN_SRC ruby +#<> module SiSU_Harvest @@the_idx_topics,@@the_idx_authors={},{} class Source @@ -78,8 +79,9 @@ end ** topics *** html_harvest_topics.rb -#+BEGIN_SRC ruby :tangle "../lib/sisu/html_harvest_topics.rb" -<> +#+HEADER: :tangle "../lib/sisu/html_harvest_topics.rb" +#+BEGIN_SRC ruby +#<> module SiSU_HarvestTopics require_relative 'html_harvest_author_format' # html_harvest_author_format.rb require_relative 'html_parts' # html_parts.rb @@ -921,8 +923,9 @@ terms -|_ t{tl1} -|_ {fa}[fa]{filenames and other details} ** authors *** html_harvest_authors.rb -#+BEGIN_SRC ruby :tangle "../lib/sisu/html_harvest_authors.rb" -<> +#+HEADER: :tangle "../lib/sisu/html_harvest_authors.rb" +#+BEGIN_SRC ruby +#<> module SiSU_HarvestAuthors require_relative 'html_harvest_author_format' # html_harvest_author_format.rb require_relative 'html_parts' # html_parts.rb @@ -1337,8 +1340,9 @@ __END__ *** html_harvest_author_format.rb -#+BEGIN_SRC ruby :tangle "../lib/sisu/html_harvest_author_format.rb" -<> +#+HEADER: :tangle "../lib/sisu/html_harvest_author_format.rb" +#+BEGIN_SRC ruby +#<> module SiSU_FormatAuthor class Author def initialize(author_param) @@ -1400,8 +1404,7 @@ __END__ #+NAME: sisu_document_header #+BEGIN_SRC text -#encoding: utf-8 -=begin +encoding: utf-8 - Name: SiSU - Description: documents, structuring, processing, publishing, search @@ -1453,5 +1456,4 @@ __END__ -=end #+END_SRC -- cgit v1.2.3