# HG changeset patch # User Oleksandr Gavenko # Date 1275245082 -10800 # Node ID 88c6e9fe19cd62c2cd7aa692f2727205ecb15e19 # Parent 8bfad2e06bb66f9776c36979f1849bd180c56096# Parent e6bf3cb4bb93e4034646739dd826257d8f3582a6 Automated merge with file:///cygdrive/e/srv/hg/admin-doc diff -r e6bf3cb4bb93 -r 88c6e9fe19cd media-type.rst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/media-type.rst Sun May 30 21:44:42 2010 +0300 @@ -0,0 +1,5 @@ +-*- mode: outline; coding: utf-8 -*- + +* List of media types. + + http://en.wikipedia.org/wiki/Internet_media_type diff -r e6bf3cb4bb93 -r 88c6e9fe19cd nsis.rst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nsis.rst Sun May 30 21:44:42 2010 +0300 @@ -0,0 +1,66 @@ +-*- mode: outline; coding: utf-8 -*- + +* Strings. + +String is a sequence of chars. To represent spaces enclose string in quotes. +To escape quote use $\. ${MACRO_NAME}, $(VAR_NAME) substituted with +macros/variable values. To escape $ use $$. + + MessageBox MB_OK "I'll be happy" ; this one puts a ' inside a string + MessageBox MB_OK 'And he said to me "Hi there!"' ; this one puts a " inside a string + MessageBox MB_OK `And he said to me "I'll be happy!"` ; this one puts both ' and "s inside a string + MessageBox MB_OK "$\"A quote from a wise man$\" said the wise man" ; this one shows escaping of quotes + +* Variables. + +Allowed chaacters for variable names: [a-z][A-Z][0-9] and '_'. + +** Variable definition. + +To declare variable: + + Var NAME + +There are exist registers (predefined variable) through them passed args for +macros/functions/plug-ins: + + $0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $R0, $R1, $R2, $R3, $R4, $R5, $R6, $R7, $R8, $R9 + +To assign value to variable use: + + StrCpy $NAME STRING + +To access to there value use such syntax: + + $NAME + +** Language strings. + +To declare multilingual string use: + + LangString NAME LANGUAGE_ID STRING + +For 'LANGUAGE_ID' use '${LANG_ENGLISH}', '${LANG_RUSSIAN}', etc. + +To access to there value use such syntax: + + $(NAME) + +*** Standard language strings. + +You can see list of such var under Contrib\Language Files\*.nlf files, which +loaded by 'LoadLanguageFile'. + +To access to there value use such syntax: + + $(^NAME) + +** Macros definition. + +To define macro variable: + + !define NAME STRING + +To access to there value use such syntax: + + ${NAME} diff -r e6bf3cb4bb93 -r 88c6e9fe19cd spell.rst --- a/spell.rst Sun May 30 21:44:38 2010 +0300 +++ b/spell.rst Sun May 30 21:44:42 2010 +0300 @@ -22,6 +22,11 @@ http://www.microsoft.com/language/en/us/search.mspx search for term usage +** Ukrainian. + + http://dki.gov.ua/article/show/alias/Okl + Офіційні класифікатори + * Emacs. C-x ispell