The -i
command-line option allows to select an input
definition file.
This is deplate
‘s “native”
markup as defined in the following pages (see
10). This is the
markup that corresponds to the
Vim viki plugin.
This is a restricted version of deplate
‘s
“native” markup. The following
elements are disabled:
Commands:
Regions:
Setting variables not beginning with an underscore is disabled. I.e. you can’t set any variables listed in 15.1.
Print headings only; filter any other text.
This input definition reads a subset of ruby’s rdoc format. For an examples of a documents created from rdoc input please see:
Limitations:
deplate
doesn’t distinguish between bold and italic
deplate
supports the following addition(s), which
rdoc
doesn’t:
Example 6.1: RDoc input
=== 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
yields:
italic, italic,
bold,
bold,
typewriter
, typewriter
verbatim
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.
play
is a subset of the standard
deplate markup with some
additional styling and conventions. Currently only a
CSS file is provided.
This can be formatted as stage play using the latex-dramatist formatter.
Output via LaTeX’s screenplay class is planned.
Formatting rules:
[TEXT]
Extra commands:
#CAST
#ACT
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 15.5). 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:
TIME can be abbreviated with:
Example 6.2: Play input
#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
yields:
NORA reads a book.
MICHAEL is half buried in the sand. He looks at the cover of Nora's book.
Works like normal templates as describe
in 5.5. Best
used in conjunction with the
template
output
filter.