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/user/cpp | |
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/user/cpp')
-rw-r--r-- | doc/user/cpp | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/doc/user/cpp b/doc/user/cpp new file mode 100644 index 0000000..9b413ed --- /dev/null +++ b/doc/user/cpp @@ -0,0 +1,27 @@ +@Chapter + @Title { C and C++ Programs } + @Tag { cprint } +@Begin +@LP +This chapter describes how to typeset C and C++ program text using the +cp. @Index @Code "@CP" +c. @Index { C++ } +@Code "@CP" symbol in conjunction with the @Code c2lout filter. The +@Code "@CP" symbol looks after printing keywords in bold, variables +in italic, and so on, depending on a style you choose. It does not lay +out programs in the sense of choosing indenting, it preserves the layout +you give to the program. From now on, `C' means `C or C++' wherever +it occurs. +@PP +It is possible to simply print out one or more C files; we call this +@I { stand-alone mode }. Alternatively, the C program text may be printed +as part of a larger Lout document; we call this @I { embedded mode }. +@BeginSections +@Include { cpp_lone } +@Include { cpp_embe } +@Include { cpp_chan } +@Include { cpp_comm } +@Include { cpp_tabs } +@Include { cpp_eiff } +@EndSections +@End @Chapter |