CWEB

Michal Bulant bulik at math.muni.cz
Mon Jul 8 14:39:27 CEST 1996


>>>>> "IS" == Ivan Simonik <simonik at fme.vutbr.cz> writes:

    IS> Zdravim vsechny,
    IS> omlouvam se, ze tento dotaz je mirne off topic, ale myslim, ze zde jsou
    IS> lide, kteri mohou poradit. Chtel bych napsat projekt v CWEBu. Potreboval
    IS> bych, aby z web souboru vniklo nekolik zdrojovych souboru {rep. jeden
    IS> C zdrojak a jeden hlavickovy soubor}. Jde to? Nebo musim pro kazdy
    IS> soubor mit specialni web soubor?

    IS> 			Diky i za negativni odpoved.

    IS> 						Ivan
Dobry den,
jde to, bezne je to pouzivano napr. ve Stanford GraphBase.
Slouzi k tomu prikaz @(soubor.h@> misto @<jmeno sekce@>.
Podrobneji viz soubor cwebman.tex
Priklad ze SGB:

To get a circuit (undirected) or a cycle (directed) of length~|n|,
you can say |board(n,0,0,0,1,1,0)| and |board(n,0,0,0,1,1,1)|,
respectively.

@(gb_basic.h@>=
#define complete(n) @[board((long)(n),0L,0L,0L,-1L,0L,0L)@]
#define transitive(n) @[board((long)(n),0L,0L,0L,-1L,0L,1L)@]
#define empty(n) @[board((long)(n),0L,0L,0L,2L,0L,0L)@]
#define circuit(n) @[board((long)(n),0L,0L,0L,1L,1L,0L)@]
#define cycle(n) @[board((long)(n),0L,0L,0L,1L,1L,1L)@]

					S pozdravem
						Michal Bulant
--
-----------------------------------------------------------------
|     Michal Bulant, student and system administrator           |
|     Masaryk University, Brno, Czech Republic                  |
|     Faculty of Science                                        |
|     Department of Algebra and Geometry                        |
|     Topics: Number Theory, TeX, Linux, *GNU*, Computer Algebra|
|             Computations, ...                                 |
|     e-mail: bulant at math.muni.cz                               |
|        WWW: http://www.fi.muni.cz/~bulik/                     |
-----------------------------------------------------------------




More information about the csTeX mailing list