Module: SiSU_Parts_TeXpdf

Overview

  • Name: SiSU

** Description: documents, structuring, processing, publishing, search *** shared html parts

** Author: Ralph Amissah

<[email protected]>
<[email protected]>

** Copyright: © 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,

2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015 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

** Hompages:

<http://www.jus.uio.no/sisu>
<http://www.sisudoc.org>

** Git

<http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=summary>
<http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=blob;f=lib/sisu/xhtml_parts.rb;hb=HEAD>

Defined Under Namespace

Classes: TeX

Instance Method Summary collapse

Methods included from SiSU_Parts_Generic

#footer_signature, #home, #home_txt, #i_choice, #i_home_button, #i_ico, #i_new, #rl_root, #root_http, #sisu, #sisu_txt, #sisudoc, #site, #the_icon, #the_text, #the_url, #txt_home, #txt_hp, #txt_hp_alias, #txt_signature, #urify, #url_close, #url_open

Instance Method Details

#set_fontsObject



79
80
81
# File 'lib/sisu/texpdf_parts.rb', line 79

def set_fonts
  'verdana, arial, georgia, tahoma, sans-serif, helvetica, times, roman'
end

#tex_closeObject

‘UseTextSymbol{OML>}’



67
68
69
# File 'lib/sisu/texpdf_parts.rb', line 67

def tex_close                    #'{\UseTextSymbol{OML}{>}}'
  Dx[:url_c]
end

#tex_openObject

‘UseTextSymbol{OML<}’



64
65
66
# File 'lib/sisu/texpdf_parts.rb', line 64

def tex_open                     #'{\UseTextSymbol{OML}{<}}'
  Dx[:url_o]
end

#the_fontObject



78
79
80
81
82
83
# File 'lib/sisu/texpdf_parts.rb', line 78

def the_font
  def set_fonts
    'verdana, arial, georgia, tahoma, sans-serif, helvetica, times, roman'
  end
  self
end

#the_line_breakObject



60
61
62
# File 'lib/sisu/texpdf_parts.rb', line 60

def the_line_break
  ' \\ '
end

#txt_closeObject



73
74
75
# File 'lib/sisu/texpdf_parts.rb', line 73

def txt_close
  '>'
end

#txt_openObject



70
71
72
# File 'lib/sisu/texpdf_parts.rb', line 70

def txt_open
  '<'
end

#url_decorationObject



63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# File 'lib/sisu/texpdf_parts.rb', line 63

def url_decoration
  def tex_open                     #'{\UseTextSymbol{OML}{<}}'
    Dx[:url_o]
  end
  def tex_close                    #'{\UseTextSymbol{OML}{>}}'
    Dx[:url_c]
  end
  def txt_open
    '<'
  end
  def txt_close
    '>'
  end
  self
end