diff options
author | Jeffrey H. Kingston <jeff@it.usyd.edu.au> | 2010-09-14 19:21:41 +0000 |
---|---|---|
committer | Jeffrey H. Kingston <jeff@it.usyd.edu.au> | 2010-09-14 19:21:41 +0000 |
commit | 71bdb35d52747e6d7d9f55df4524d57c2966be94 (patch) | |
tree | 480ee5eefccc40d5f3331cc52d66f722fd19bfb9 /doc/expert/pre_verb | |
parent | b41263ea7578fa9742486135c762803b52794105 (diff) | |
download | lout-71bdb35d52747e6d7d9f55df4524d57c2966be94.tar.gz |
Lout 3.17.
git-svn-id: http://svn.savannah.nongnu.org/svn/lout/trunk@2 9365b830-b601-4143-9ba8-b4a8e2c3339c
Diffstat (limited to 'doc/expert/pre_verb')
-rw-r--r-- | doc/expert/pre_verb | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/doc/expert/pre_verb b/doc/expert/pre_verb new file mode 100644 index 0000000..725df85 --- /dev/null +++ b/doc/expert/pre_verb @@ -0,0 +1,30 @@ +@Section + @Tag { verbatim } + @Title { "@Verbatim and @RawVerbatim" } +@Begin +@PP +verbatim.sym @Index { @@Verbatim symbol } +rawverbatim.sym @Index { @@RawVerbatim symbol } +These symbols instruct Lout to read the following text (enclosed in braces) +verbatim, that is, turning off all special character meanings. For example, +@ID @Code @Verbatim { +@Verbatim { "hello" } +} +produces +@ID @Verbatim { "hello" } +@@Verbatim ignores all characters after the opening brace up to but not +including the first non-white-space character. @@RawVerbatim differs from +@@Verbatim only in that it ignores all characters after the opening brace +up to but not including the first non-white-space character, or up to and +including the first newline character, whichever comes first. This +variant is useful in cases such as +@ID @Code @Verbatim { +@RawVerbatim { + var x: Real +begin +} +} +where the first line of the verbatim text begins with white space which +would be ignored by @@Verbatim. Both symbols ignore all white spaces +at the end of the verbatim text, preceding the closing brace. +@End @Section |