~ubuntu-branches/ubuntu/hardy/texmacs/hardy

« back to all changes in this revision

Viewing changes to debian/patches/06_stylesdoc.dpatch

  • Committer: Bazaar Package Importer
  • Author(s): Ralf Treinen
  • Date: 2004-04-19 20:34:00 UTC
  • Revision ID: james.westby@ubuntu.com-20040419203400-0581vygrvovdbqls
Tags: 1.0.3-R2-3
Patch 10_mupad: fix perl invocation in mupad plugin.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh -e
 
2
## 06_stylesdoc.dpatch by Ralf Treinen <treinen@debian.org>
 
3
##
 
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
 
7
 
 
8
if [ $# -lt 1 ]; then
 
9
    echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
 
10
    exit 1
 
11
fi
 
12
 
 
13
[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
 
14
patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}"
 
15
 
 
16
case "$1" in
 
17
    -patch) patch -p1 ${patch_opts} < $0;;
 
18
    -unpatch) patch -R -p1 ${patch_opts} < $0;;
 
19
    *)
 
20
        echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
 
21
        exit 1;;
 
22
esac
 
23
 
 
24
exit 0
 
25
 
 
26
@DPATCH@
 
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
 
30
@@ -1,44 +1,37 @@
 
31
-<TeXmacs|1.0.0.8>
 
32
+<TeXmacs|1.0.3>
 
33
 
 
34
 <style|tmdoc>
 
35
 
 
36
 <\body>
 
37
-  <expand|tmdoc-title|Macros, functions and environment variables>
 
38
+  <tmdoc-title|Macros and environment variables>
 
39
 
 
40
   The main key-combinations that you should know to write style files are the
 
41
   following:
 
42
 
 
43
   <\description>
 
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.
 
46
-
 
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.
 
53
-
 
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.
 
58
 
 
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.
 
67
 
 
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.
 
71
 
 
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.
 
74
 
 
75
-    <expand|item*|<expand|kbd-ia|e>>expands the macro with zero or more
 
76
-    arguments.
 
77
+    <item*|<kbd-ia|v>>get the value of an environment variable.
 
78
 
 
79
-    <expand|item*|<expand|kbd-ia|a>>applies a function to zero or more
 
80
-    arguments.
 
81
+    <item*|<kbd-ia|e>>expands the macro with zero or more arguments.
 
82
   </description>
 
83
 
 
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:
 
88
 
 
89
   <\itemize>
 
90
     <item>If <with|mode|math|a> is not a string nor a macro, then
 
91
@@ -58,39 +51,30 @@
 
92
     result.
 
93
   </itemize>
 
94
 
 
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.
 
103
-
 
104
-  <apply|tmdoc-copyright|1998--2002|Joris van der Hoeven>
 
105
+  <tmdoc-copyright|1998--2002|Joris van der Hoeven>
 
106
 
 
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".>
 
119
 </body>
 
120
 
 
121
 <\initial>
 
122
   <\collection>
 
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>
 
148
   </collection>
 
149
-</initial>
 
150
+</initial>
 
151
\ No newline at end of file