aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/abstraction.org
diff options
context:
space:
mode:
Diffstat (limited to 'org/abstraction.org')
-rw-r--r--org/abstraction.org62
1 files changed, 6 insertions, 56 deletions
diff --git a/org/abstraction.org b/org/abstraction.org
index 477a5869..695c8e73 100644
--- a/org/abstraction.org
+++ b/org/abstraction.org
@@ -5730,11 +5730,12 @@ module SiSU_AO_MiscArrangeText
else
para
end
- para=if para =~/^(?:code(?:\.[a-z][0-9a-z_]+)?|box(?:\.[a-z_]+)?|poem|alt|group|block|table)\{|^\}(?:code|box|poem|alt|group|block|table)/m
+ para=if para.to_s =~/^(?:code(?:\.[a-z][0-9a-z_]+)?|box(?:\.[a-z_]+)?|poem|alt|group|block|table)\{|^\}(?:code|box|poem|alt|group|block|table)/m
curly_braces(para)
else
para
end
+ para.to_s
end
def prepare_text
data=@data
@@ -5746,7 +5747,7 @@ module SiSU_AO_MiscArrangeText
data[0]=data[0].gsub(/^(SiSU\s*[\d.]*)$/,'% \1').
gsub(/^(sisu-[\d.]+)$/,'% \1')
end
- data.each.map do |para|
+ data=data.each.map do |para|
para=conditional_headings(para)
markup_blocks(para)
end.flatten
@@ -6112,7 +6113,7 @@ module SiSU_AO_Numbering
when :extract then Mx[:segname_prefix_auto_num_extract]
else '_'*dob.lv.to_i #should not occur
end
- if possible_seg_name =~/^[0-9]+?\.$/m #!~/[.,:-]+/
+ if possible_seg_name.to_s =~/^[0-9]+?\.$/m #!~/[.,:-]+/
possible_seg_name=possible_seg_name.
gsub(/\.$/,'')
end
@@ -7253,57 +7254,6 @@ __END__
* document header
#+NAME: sisu_document_header
-#+BEGIN_SRC text
-encoding: utf-8
-- Name: SiSU
-
- - Description: documents, structuring, processing, publishing, search
- abstraction
-
- - Author: Ralph Amissah
- <ralph.amissah@gmail.com>
-
- - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
- 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019,
- 2020, 2021, Ralph Amissah,
- All Rights Reserved.
-
- - License: GPL 3 or later:
-
- SiSU, a framework for document structuring, publishing and search
-
- Copyright (C) Ralph Amissah
-
- This program is free software: you can redistribute it and/or modify it
- under the terms of the GNU General Public License as published by the Free
- Software Foundation, either version 3 of the License, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful, but WITHOUT
- ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- more details.
-
- You should have received a copy of the GNU General Public License along with
- this program. If not, see <http://www.gnu.org/licenses/>.
-
- If you have Internet connection, the latest version of the GPL should be
- available at these locations:
- <http://www.fsf.org/licensing/licenses/gpl.html>
- <http://www.gnu.org/licenses/gpl.html>
-
- <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html>
-
- - SiSU uses:
- - Standard SiSU markup syntax,
- - Standard SiSU meta-markup syntax, and the
- - Standard SiSU object citation numbering and system
-
- - Homepages:
- <http://www.sisudoc.org>
-
- - Git
- <https://git.sisudoc.org/projects/>
- <https://git.sisudoc.org/projects/sisu>
- <https://git.sisudoc.org/projects/sisu-markup>
+#+BEGIN_SRC emacs-lisp
+<<./sisu_version_info_and_doc_header_including_copyright_and_license.org:sisu_doc_header_including_copyright_and_license()>>
#+END_SRC