From: Andrey C. <sku...@us...> - 2006-11-03 16:12:16
|
Update of /cvsroot/eas-dev/eas/doc/ru In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv30821/doc/ru Added Files: Makefile index.docbook Log Message: Add localization and documentation, small fixes. --- NEW FILE: Makefile --- # This is a part of E/AS distributive # # Copyright (C) 2004 by E/AS Software Foundation # Author: Andrey Cherepanov <sib...@ma...> include $(CLIPROOT)/include/Makefile.inc include ../../Makefile.var CLIP = $(CLIPROOT)/bin/clip CLIPLIBS = #CLIPFLAGS = -a -O -b CLIPINCLUDE = -I$(CLIPROOT)/include FLAGS = -V %two-side%=\#f \ -V %chapter-autolabel%=\#t \ -V %appendix-autolabel%=\#t \ -V %section-autolabel%=\#t \ -V %section-label-includes-component-label%=\#t \ -V %toc-depth%=2 \ -V %generate-part-toc%=\#t \ -V %generate-article-toc%=\#t \ -V %paper-type%=A4 \ -V %use-id-as-filename%=\#t \ -V %always-format-variablelist-as-table%=\#t # -V %indent-programlisting-lines%=\#t # -V %may-format-variablelist-as-table%=\#t \ # TODO: # 1) include program checking in configure script # 1) Content creation by manually (only first level must be stayed) # 3) Custom stylesheet # 4) Content in eas chapter # -V %stylesheet%=???.css DOC2HTML = docbook2html $(FLAGS) DOC2PDF = docbook2pdf $(FLAGS) .PHONY: all clean install uninstall distclean all: html #index.pdf html: index.docbook rm -rf html/stylesheet-images SP_ENCODING=xml $(DOC2HTML) -o html index.docbook && \ cd html && for i in *.html;do \ mv $$i .temp; sed -e 's|</HEAD|<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8"></HEAD|' .temp >$$i; rm -f .temp; done && \ cp -R ../images stylesheet-images && cd .. index.pdf: index.docbook SP_ENCODING=xml $(DOC2PDF) index.docbook clean: rm -rf html rm -f *.pdf *.aux *.log *.out *.tex install: all uninstall: distclean: clean dist: distclean --- NEW FILE: index.docbook --- <?xml version="1.0" encoding="utf-8"?> <!-- This is a part of E/AS distribution. You can find it on the Web: http://eas.lrn.ru Copyright (C) 2004 by E/AS Software Foundation. Author: Andrey Cherepanov <sib...@ma...> Last change: 31 May 2004. 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 2 of the License, or (at your option) any later version. --> <!-- TODO: - check optional definition - describe ALL fields and methods - fix all TODO in this document [...3418 lines suppressed...] <variablelist>&args; <varlistentry><term><parameter>value</parameter> [Тип: <type>ÑиÑло|ÑÑÑока|даÑа|логиÑеÑкое знаÑение|пÑÑÑое знаÑение</type>]</term> <listitem><para>ÐÑеобÑазÑемое знаÑение.</para></listitem></varlistentry> <varlistentry><term><parameter>format</parameter> &type_num;</term> <listitem><para>ФоÑÐ¼Ð°Ñ Ð¿ÑеобÑÐ°Ð·Ð¾Ð²Ð°Ð½Ð¸Ñ Ð·Ð½Ð°ÑÐµÐ½Ð¸Ñ Ð² ÑÑÑокÑ. <emphasis>РпÑоÑеÑÑе ÑазÑабоÑки</emphasis>. &optional;</para></listitem></varlistentry> </variablelist> </listitem></varlistentry> <varlistentry><term><function>XMLGetTag(<parameter>root</parameter>, <parameter>path</parameter>)</function></term> <listitem><para>ÐозвÑаÑиÑÑ ÑÐ»ÐµÐ¼ÐµÐ½Ñ Ð¿Ð¾ Ñказанной иеÑаÑÑ Ð¸Ð¸.</para> <variablelist>&args; <varlistentry><term><parameter>root</parameter> [Тип: <type>XMLTag</type>]</term> <listitem><para>ÐлеменÑ, Ñ ÐºÐ¾ÑоÑого наÑинаÑÑÑÑ Ð¿Ð¾Ð¸Ñки.</para></listitem></varlistentry> <varlistentry><term><parameter>path</parameter> &type_str;</term> <listitem><para>ÐеÑаÑÑ Ð¸Ñ Ð² виде имÑн Ñегов (в веÑÑ Ð½ÐµÐ¼ ÑегиÑÑÑе), ÑазделÑннÑÑ ÑоÑками. ÐапÑимеÑ, пÑи запÑоÑе <quote><constant>HEAD.VALUE</constant></quote> бÑÐ´ÐµÑ Ð½Ð°Ð¹Ð´ÐµÐ½ пеÑвÑй Ñег Ñ Ð¸Ð¼ÐµÐ½ÐµÐ¼ 'head', а заÑем возвÑаÑÑн обÑÐµÐºÑ Ð¿ÐµÑвого Ñега 'value' под ним. ÐÑли Ñег в Ñакое иеÑаÑÑ Ð¸Ð¸ не найден, возвÑаÑаеÑÑÑ NIL.</para></listitem></varlistentry> </variablelist> </listitem></varlistentry> </variablelist> </appendix> </book> |