|
FAUST compiler
0.9.9.6b8
|


Go to the source code of this file.
Functions | |
| Tree | docTxt (const char *) |
| Tree | docEqn (Tree x) |
| Tree | docDgm (Tree x) |
| Tree | docNtc () |
| Tree | docLst () |
| Tree | docMtd (Tree x) |
| bool | isDocTxt (Tree t) |
| bool | isDocTxt (Tree t, const char **) |
| bool | isDocEqn (Tree t, Tree &x) |
| bool | isDocDgm (Tree t, Tree &x) |
| bool | isDocNtc (Tree t) |
| bool | isDocLst (Tree t) |
| bool | isDocMtd (Tree t) |
| void | printDoc (const char *projname, const char *docdev, const char *faustversion) |
| The entry point to generate faust doc files. More... | |
| Tree docLst | ( | ) |
| Tree docNtc | ( | ) |
| Tree docTxt | ( | const char * | ) |
Definition at line 171 of file doc.cpp.
References DOCTXT, symbol(), and tree().
Referenced by declareAutoDoc(), and yyparse().


Definition at line 190 of file doc.cpp.
References DOCDGM, and isTree().
Referenced by printdoccontent().


Definition at line 186 of file doc.cpp.
References DOCEQN, and isTree().
Referenced by collectDocEqns(), and printdoccontent().


| bool isDocLst | ( | Tree | t | ) |
Definition at line 198 of file doc.cpp.
References DOCLST, and isTree().
Referenced by printdoccontent().


| bool isDocMtd | ( | Tree | t | ) |
| bool isDocNtc | ( | Tree | t | ) |
Definition at line 194 of file doc.cpp.
References DOCNTC, and isTree().
Referenced by printdoccontent().


| bool isDocTxt | ( | Tree | t | ) |
Definition at line 172 of file doc.cpp.
References DOCTXT, and CTree::node().
Referenced by printdoccontent().


| bool isDocTxt | ( | Tree | t, |
| const char ** | |||
| ) |
Definition at line 173 of file doc.cpp.
References DOCTXT, isSym(), isTree(), name(), and CTree::node().

| void printDoc | ( | const char * | projname, |
| const char * | docdev, | ||
| const char * | faustversion | ||
| ) |
The entry point to generate faust doc files.
The entry point to generate the output LaTeX file, stored in the directory "<projname>-math/". This file eventually references images for diagrams, generated in SVG subdirectories. The device system was adapted from drawSchema's device system.
| [in] | projname | Basename of the new doc directory ("*-math"). |
| [in] | docdev | The doc device; only ".tex" is supported for the moment. |
| [in] | faustversion | The current version of this Faust compiler. |
File stuff : create doc directories and a tex file.
Create THE mathdoc tex file.
Init and load translation file.
Simulate a default doc if no <mdoc> tag detected.
Printing stuff : in the '.tex' ouptut file, eventually including SVG files.
< Faust version and compilation date (comment).
< Static LaTeX header (packages and setup).
< Generate math contents (main stuff!).
< Static LaTeX footer.
Definition at line 224 of file doc.cpp.
References cholddir(), copyFaustSources(), declareAutoDoc(), gDocDevSuffix, gDocLang, gDocName, gDocVector, gLatexheaderfilename, gReader, SourceReader::listSrcFiles(), loadTranslationFile(), makedir(), mkchdir(), openArchFile(), printdoccontent(), printfaustdocstamp(), printlatexfooter(), printlatexheader(), and subst().
Referenced by main().


1.8.7