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 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253
|
\input texinfo @c -*-texinfo-*-
@setfilename comments.info
@hyphenation{some-where
be-low
may-be to-morow
}
@node Top
@top
@subheading Comment like:
Text line followed by a comment on the same line and another below @c comment
@c comment
Text line after the comment followed by a comment @comment c
Text line after the text line followed by the comment.
Comment at the end of the line @c comment
Example with comments 2 lines
@example
line @c comment
second line @c comment
@end example
Example with comments 1 line
@example
line @c comment
@end example
No comments
@example
line
@end example
The same but with oddfooting instead of comment:
Text line followed by a comment on the same line and another below @oddfooting comment
@oddfooting some text ignored
Text line after the comment followed by a comment @oddfooting c
Text line after the text line followed by the comment.
@@pagesizes @pagesizes 200mm,150mm following @@pagesizes arg
@@afourpaper @afourpaper on line following afourpaper
@@smallbook @smallbook on line following smallbook
@@headings @headings on line following headings
@@oddfooting @oddfooting on line following oddfooting
@@everyheading @everyheading on line following everyheading
@@everyfooting @everyfooting on line following everyfooting
@@evenheading @evenheading on line following evenheading
@@evenfooting @evenfooting on line following evenfooting
@@oddheading @oddheading on line following
@ifnottex
@@need @need 0.1 on line following
@end ifnottex
@@need @need 0.1
@@setchapternewpage @setchapternewpage on line following setchapternewpage
@@raisesections @raisesections on line following raisesections
@@lowersections @lowersections on line following lowersections
@c @@kbdinputstyle @kbdinputstyle wrong arg on line following kbdinputstyle
@ifnottex
@@kbdinputstyle code @kbdinputstyle code something
@end ifnottex
@@afourpaper @afourpaper on line following afourpaper
@@afourlatex @afourlatex on line following afourlatex
@@afourwide @afourwide on line following afourwide
@c tex error: Use of \ doesn't match its definition.
@ifnottex
@@definfoenclose phoo,//,\\ @definfoenclose phoo,//,\\
@phoo{bar}
@end ifnottex
@@definfoenclose phi,:,: @definfoenclose phi,:,:
@c this is required
@iftex
@global@let@phi=@i
@end iftex
@phi{bar}
@strong{very strong}
@definfoenclose strong,(strong:,:)
@strong{ is it really strong? }
Makeinfo ignore @@kbdinputstyle:
@kbdinputstyle code
@kbd{truc}
@example
@kbd{example}
@end example
@subheading ignore arg
Commands doesn't accept anything after a non numerical arg on the line
and ignore things after a numerical arg
@@paragraphindent asis @paragraphindent asis
@@paragraphindent 0 @paragraphindent 0
@@paragraphindent none @paragraphindent none
@@paragraphindent 4 @paragraphindent 4
@@firstparagraphindent none @firstparagraphindent none
@ifnottex
@@exampleindent 6 @exampleindent 6 on line following exampleindent
@end ifnottex
@@exampleindent 6 @exampleindent 6
@@footnotestyle @footnotestyle end
@@footnotestyle @footnotestyle separate
Special arg for documentencoding. makeinfo complains, not tex
@documentencoding
@@documentencoding @documentencoding bad encoding name
@documentencoding ISO-8859-1
@c accepts on or off
@@frenchspacing @frenchspacing on
@@frenchspacing @frenchspacing off
@c accepts 10 or 11
@@fonttextsize @fonttextsize 10
@c @@fonttextsize @fonttextsize 11
@c accept bottom and top
@c tex keeps the line, makeinfo doesn't
@@everyheadingmarks @everyheadingmarks bottom on line following everyheadingmarks
@c accept false or true
@c makeinfo don't care about the arg and remove the remaining of the line
@allowcodebreaks false
@code{false aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa}
@allowcodebreaks true
@code{true aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa}
@ignore
@@ @ on line following
@@ @ on line following
@@ @ on line following
@@ @ on line following
@end ignore
@subheading command removed
And now finalout:
Text line followed by finalout on the same line and another below @finalout
@finalout
Text line after the finalout followed by a fianlout @finalout
Text line after the text line followed by the finalout.
Test text after finalout
@finalout a word after finalout
Line after finalout
@@page @page @@noindent @noindent @@refill @refill something
@noindent noindent at beginning of line
@noindent
noindent on the preceding line
@noindent noindent after space at beginning of line
@page page at beginning of line
@page
After page on it's own line.
@@page @page @@noindent @noindent @@refill @refill @@novalidate @novalidate something
@@contents @contents something
@ignore
@@ @ arg
@@ @ arg
@@ @ arg
@@ @ arg
@end ignore
@subheading special
Only valid between iftex:
@c @@vskip @vskip @@cropmarks @cropmarks
Unknown ???
@c @@fillbreak @fillbreak eol
@@exdent @exdent line after exdent
And now sp:
Text line followed by a comment on the same line and another below @sp 1
@sp 2
Text line after the comment followed by a comment @sp 1
Text line after the text line followed by the comment.
@ifnottex
@sp 2 a number after sp
@end ifnottex
@clickstyle @result
A @click{} (result).
@ifset texi2html
@c invalid, makeinfo warns about @result needing braces
@c others are also invalid
@clickstyle @result on the same line
A @click{} (result on the same line).
@clickstyle @nocmd
A @click{} (nocmd).
@clickstyle something
A @click{} (something).
@end ifset
Menu:
@menu
* node::
* bidule::
* bidule2::
* undefined::
@end menu
@node node
@chapter chapter
@menu
* truc::
@end menu
@node truc
@section section
first @@contents @contents line following first content
second @@contents @contents line following second content
Third content on the following line on his own
@contents
Line following contents
@node bidule
@chapter bidule
@@shortcontents @shortcontents eol
@@shortcontents @shortcontents eol
@@summarycontents @summarycontents line following summarycontents
@node bidule2
@chapter last
@c no ref ignored because of novalidate
@ref{machin}
@bye
|