-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathinput.txt
229 lines (167 loc) · 5.5 KB
/
input.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
* Input Formats
#OPT: id=Input
#inputFilter
#LIST fmt=html plain! sub!: toc
The ''-i'' command-line option allows to select an input definition
file.
** deplate
This is ''deplate'''s "native" markup as defined in the following pages
(see {ref: markup}). This is the markup that corresponds to the Vim
viki plugin.
** deplate-restricted
This is a restricted version of ''deplate'''s "native" markup. The
following elements are disabled:
Commands:
- INC
% - IMG
- MODULE
- WITH
- ABBREV
Regions:
- Any Define type of region
- Native
% - Inlatex
- Img
- R
- Ruby
Macros:
- ins
% - ltx
% - math
- ruby
Setting variables not beginning with an underscore is disabled. I.e. you
can't set any variables listed in{ref: docOpt}.
** deplate-headings
Print headings only; filter any other text.
** rdoc
This input definition reads a subset of ruby's rdoc format. For an
examples of a documents created from rdoc input please see:
- http://constraint.rubyforge.org/
([[http://constraint.rubyforge.org/README.TXT][source]!])
- http://websitiary.rubyforge.org/
Limitations:
- The :main: and the :call-seq: directives are not implemented yet
- ''deplate'' doesn't distinguish between bold and italic
- There maybe are some deviations from rdoc, e.g., in the way list
items with interleaved verbatim text are handled
''deplate'' supports the following addition(s), which ''rdoc'' doesn't:
- extra directives
- :maketitle: (the title is automatically created when using the
:title: directive)
- :author: (place this above a :title: directive if you want the
names to appear on the page)
% Incomplete minimal quickref:
#EXAMPLE: RDoc input
#Var id=rdoc <<--
=== heading (rdoc, level 3)
_italic_, <em>italic</em>,
*bold*, <b>bold</b>,
+typewriter+, <tt>typewriter</tt>
http://deplate.sf.net
http://deplate.sourceforge.net/linked.png
link:index
Homepage[http://deplate.sf.net]
{Deplate Homepage}[http://deplate.sf.net]
verbatim
1. numbered
a. alpha
- bullet
* bullet
label:: text
+label+:: text
[label] text
[+label+] text
--
#WITH var=rdoc: Verb
yields:
#Region style=example-output <<
#INCLUDE var=rdoc inputFormat=rdoc
** play -- Hypothetical support for screen-plays and stage-plays
#inputPlay
!!! This input filter is in a state of flux. You probably don't want
to use it yet. There currently is no appropriate output filter
anyway.
#IDX: Screen Play; Stage Play
''play'' is a subset of the standard deplate markup with some additional
styling and conventions. Currently only a CSS file is provided.
#IDX: \{mark1st\}|\{mark1st
This can be formatted as stage play using the
[[formats#formatDramatist][latex-dramatist]] formatter.
#IDX: dramatist
Output via LaTeX's screenplay class is planned.
Formatting rules:
Headings (Level 1) :: Scenes (see below for the format)
Paragraphs :: Stage directions
Description list :: Dialog lines
Bullet lists :: Inserted stage directions (their meaning depends on
the formatter)
''[TEXT]'' :: Minor directions.
Extra commands:
''#CAST'' :: The cast (if supported by the formatter). The casting
is defined as a description list that is tagged as "cast". Setting
the property "cast" works too but is deprecated due to problems
when applying X_speaks filters (see below).
''#ACT'' :: Begin a new act (if supported by the formatter)
NOTE: Don't rely on the availability of syntax elements not mentioned
above. Most of them are disabled for this input filter.
Dialog lines are automatically tagged with ''#{Name}_speaks'' and can be
filtered using the ''efilter'' variable (see{ref: efilter}). This way
you can get a quick overview of whether a person speaks in a consistent
tone.
The scene headings have the following format:
''Title :: Location -- INTEXT/TIME''.
How scene headings are actually printed depends on the output format.
INTEXT can have the following values:
Exterior :: E, EXT, EXT., >, A (German "außen")
Interior :: I, INT, INT., <
TIME can be abbreviated with:
Day :: D, T (German "Tag" = Day)
Night :: N
#EXAMPLE: Play input
#Var id=play <<--
#PUSH: css=+play.css
#ABBREV word=Mm: Michael
#ABBREV word=M: {mark1st: Michael}
#ABBREV word=Ms: {mark1st: Michael}\'s
#ABBREV word=Nn: Nora
#ABBREV word=N: {mark1st: Nora}
#ABBREV word=Ns: {mark1st: Nora}\'s
Mm :: man
Nn :: woman
#PP: tag=cast
#CAST
#ACT
* Exciting News :: Beach -- E/D
N reads a book.
M is half buried in the sand. He looks at the cover of Ns book.
N :: What a wonderful day this is.
M [mumbles] :: Maybe.
- The sun drops from the sky.
N :: And what an interesting book this is I'm reading. I cannot
remember having read such breathtaking action scenes since last
summer.
M [mumbles] :: Possible.
- The sky drops into the sea.
+ Fade out
--
#WITH var=play: Verb
yields:
#IF: fmt==latex
!!! In the normal PDF version of the manual the output isn't
properly formatted. Use the
[[formats#formatDramatist][dramatist]] output format for better
results.
#ENDIF
#Region style=example-output <<
#INCLUDE var=play inputFormat=play $levelshift=2
** template
#inputTemplate
#IDX template input filter
Works like normal templates as describe in{ref: templates}.
Best used in conjunction with the
[[formats.txt#outputTemplate][template output filter]].
% input.txt, 11-Mär-2005
% @Last Change: 11-Mär-2005.
% vi: ft=viki:tw=72
% Local Variables:
% End: