> From: "Bradley M. Kuhn" <[EMAIL PROTECTED]>
> Date: Fri, 5 Jan 2001 16:43:14 -0500
> 
> Many output formats that Texinfo targets now support color.  It would be
> nice if output could generate color on those devices (such as Emacs' info
> browser and PDF files).
> 
> At the Texinfo level, of course, we'd need various tags that can be used for
> marking up code.
> 
> A few possible ideas are:
> 
>  `@keyword{KEYWORD}'    a keyword in a programming language
> 
>  `@string{STRING}'      a literal string in a programming language
> 
>  `@operator{OPERATION}' an operator in a programming language
> 
>  `@datatype{TYPE}'      a data type in a programming language 
> 
>  `@variable{VAR}'        a variable in a programming language  (different
>                          from @var, of course)

How exactly do you suggest to make these stand out in color in the
Info output?

> I think just using @code{} or putting program in @example{} environments is
> useful, but not particularly descriptive.  I'd like to be able to mark-up
> code so then PDF formatters and other color-enabled formatters can use
> color.

Why can't you simply use @code etc. to get the markup?  How will the
effect of @keyword be different from @code?

_______________________________________________
Bug-texinfo mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-texinfo

Reply via email to