2
## 06_stylesdoc.dpatch by Ralf Treinen <treinen@debian.org>
4
## All lines beginning with `## DP:' are a description of the patch.
5
## DP: backport patch for the documentation on writing style files
6
## DP: this is fixed upstream in TM >= 1.0.3.3
9
echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
13
[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
14
patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}"
17
-patch) patch -p1 ${patch_opts} < $0;;
18
-unpatch) patch -R -p1 ${patch_opts} < $0;;
20
echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
27
diff -urNad /home/rt/debian/own/texmacs/SARGE/texmacs-1.0.3/TeXmacs/doc/devel/style/keyboard/env.en.tm texmacs-1.0.3/TeXmacs/doc/devel/style/keyboard/env.en.tm
28
--- /home/rt/debian/own/texmacs/SARGE/texmacs-1.0.3/TeXmacs/doc/devel/style/keyboard/env.en.tm 2004-01-13 21:00:48.000000000 +0100
29
+++ texmacs-1.0.3/TeXmacs/doc/devel/style/keyboard/env.en.tm 2004-02-18 11:36:37.000000000 +0100
37
- <expand|tmdoc-title|Macros, functions and environment variables>
38
+ <tmdoc-title|Macros and environment variables>
40
The main key-combinations that you should know to write style files are the
44
- <expand|item*|<expand|kbd-gen|=>>creates a new assignment. The first
45
- argument is a new command name and the second argument an expression.
47
- <expand|item*|<expand|kbd-gen|w>>permits to locally change one or more
48
- environment variables. With statements are of the form
49
- <with|mode|math|\<langle\>x<rsub|1>\|a<rsub|1>\|\<cdots\>\|x<rsub|n>\|a<r\
50
- sub|n>\|b\<rangle\>>, where the <with|mode|math|x<rsub|i>> are the names
51
- of the variables, the <with|mode|math|a<rsub|i>> their local values, and
52
- <with|mode|math|b> the text on which the local environment applies.
54
- <expand|item*|<expand|kbd-gen|m>>creates a macro. Arguments to the macro
55
- can be inserted using the <key|tab>-key.
56
+ <item*|<kbd-ia|=>>creates a new assignment. The first argument is a new
57
+ command name and the second argument an expression.
59
- <expand|item*|<expand|kbd-gen|f>>creates a function. Arguments to the
60
- macro can be inserted using the <key|tab>-key.
61
+ <item*|<kbd-ia|w>>permits to locally change one or more environment
62
+ variables. With statements are of the form
63
+ <with|mode|math|\<langle\>x<rsub|1>\|a<rsub|1>\|\<cdots\>\|x<rsub|n>\|a<rsub|n>\|b\<rangle\>>,
64
+ where the <with|mode|math|x<rsub|i>> are the names of the variables, the
65
+ <with|mode|math|a<rsub|i>> their local values, and <with|mode|math|b> the
66
+ text on which the local environment applies.
68
- <expand|item*|<expand|kbd-ia|#>>get the value of a macro argument.
69
+ <item*|<kbd-ia|m>>creates a macro. Arguments to the macro can be inserted
70
+ using the <key|tab>-key.
72
- <expand|item*|<expand|kbd-ia|v>>get the value of an environment variable.
73
+ <item*|<kbd-ia|#>>get the value of a macro argument.
75
- <expand|item*|<expand|kbd-ia|e>>expands the macro with zero or more
77
+ <item*|<kbd-ia|v>>get the value of an environment variable.
79
- <expand|item*|<expand|kbd-ia|a>>applies a function to zero or more
81
+ <item*|<kbd-ia|e>>expands the macro with zero or more arguments.
84
More precisely, when evaluating a macro expansion
85
<with|mode|math|{a\|x<rsub|1>\|\<cdots\>\|x<rsub|n>}> created by
86
- <expand|kbd-ia|e>, the following action is undertaken:
87
+ <kbd-ia|e>, the following action is undertaken:
90
<item>If <with|mode|math|a> is not a string nor a macro, then
95
- Functions are similar to macros, except that the arguments of function
96
- appliciations are evaluated and they can not be edited in a direct way (you
97
- first need to deactivate the function application, edit the arguments, and
98
- reactivate). Also, <with|mode|math|y<rsub|1>,\<ldots\>,y<rsub|n>> are now
99
- rather considered as local environment variables, which are given
100
- <with|mode|math|x<rsub|1>,\<ldots\>,x<rsub|n>> as their values. These local
101
- variables are not remembered when a function returns a function which
102
- involves these variables.
104
- <apply|tmdoc-copyright|1998--2002|Joris van der Hoeven>
105
+ <tmdoc-copyright|1998--2002|Joris van der Hoeven>
107
- <expand|tmdoc-license|Permission is granted to copy, distribute and/or
108
- modify this document under the terms of the GNU Free Documentation License,
109
- Version 1.1 or any later version published by the Free Software Foundation;
110
- with no Invariant Sections, with no Front-Cover Texts, and with no
111
- Back-Cover Texts. A copy of the license is included in the section entitled
112
- "GNU Free Documentation License".>
113
+ <tmdoc-license|Permission is granted to copy, distribute and/or modify this
114
+ document under the terms of the GNU Free Documentation License, Version 1.1
115
+ or any later version published by the Free Software Foundation; with no
116
+ Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
117
+ Texts. A copy of the license is included in the section entitled "GNU Free
118
+ Documentation License".>
123
- <associate|paragraph width|150mm>
124
- <associate|odd page margin|30mm>
125
- <associate|shrinking factor|4>
126
- <associate|page right margin|30mm>
127
- <associate|page top margin|30mm>
128
- <associate|reduction page right margin|25mm>
129
- <associate|page type|a4>
130
- <associate|reduction page bottom margin|15mm>
131
- <associate|even page margin|30mm>
132
- <associate|reduction page left margin|25mm>
133
- <associate|page bottom margin|30mm>
134
- <associate|reduction page top margin|15mm>
135
+ <associate|page-even|30mm>
136
+ <associate|page-reduce-bot|15mm>
137
+ <associate|page-reduce-right|25mm>
138
+ <associate|page-reduce-left|25mm>
139
+ <associate|sfactor|4>
140
+ <associate|page-top|30mm>
141
+ <associate|page-type|a4>
142
+ <associate|page-right|30mm>
143
+ <associate|par-width|150mm>
144
+ <associate|page-odd|30mm>
145
+ <associate|page-bot|30mm>
146
<associate|language|english>
147
+ <associate|page-reduce-top|15mm>
151
\ No newline at end of file