ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Typesetting C code
@ 2009-04-01 18:17 zikmua1
  2009-04-03 11:18 ` Wolfgang Schuster
  0 siblings, 1 reply; 2+ messages in thread
From: zikmua1 @ 2009-04-01 18:17 UTC (permalink / raw)
  To: ntg-context

Can someone help me with typesetting C code.

I tried typeset JAVA code with followed command

\startJV
import java.text.DateFormat;
public class MainClass(){
}
\stopJV

and output was OK.
I use predefine typing environment (verbatim)

If I use predefine environment for C code,

\startC
#include <stio.h>
int main(){
  return 0;
}
\stopC

the compiler report error.

Please, can you help me with typesetting C code.

Thanks very much.


___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Typesetting C code
  2009-04-01 18:17 Typesetting C code zikmua1
@ 2009-04-03 11:18 ` Wolfgang Schuster
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2009-04-03 11:18 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 01.04.2009 um 20:17 schrieb zikmua1@fel.cvut.cz:

> Can someone help me with typesetting C code.

http://www.ntg.nl/pipermail/ntg-context/2008/029879.html

Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-04-03 11:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-01 18:17 Typesetting C code zikmua1
2009-04-03 11:18 ` Wolfgang Schuster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).