C Cross Referencing & Documentation tool. Version 1.5f.
Writes the Latex output.
The name of the output tex file that includes each of the others.
#define LATEX_FILE ".tex"
#define LATEX_FILE_BACKUP ".tex~"
The name of the output tex file that contains the appendix.
#define LATEX_APDX ".apdx"
extern int option_verbatim_comments
Defined in: | cxref.c |
option_latex
The type of LaTeX output to produce.
extern int option_latex
Defined in: | cxref.c |
option_odir
The name of the directory for the output.
extern char* option_odir
Defined in: | cxref.c |
option_name
The base name of the file for the output.
extern char* option_name
Defined in: | cxref.c |
run_command
The information about the cxref run, the command line options.
extern char* run_command
Defined in: | cxref.c |
run_cpp_command
The information about the cxref run, the cpp command and options.
extern char* run_cpp_command
Defined in: | cxref.c |
latex_fonts_style
extern char* latex_fonts_style
Defined in: | latex-style.c |
latex_page_style
extern char* latex_page_style
Defined in: | latex-style.c |
latex_cxref_style
extern char* latex_cxref_style
Defined in: | latex-style.c |
countlines
Counts the lines in a table to insert breaks.
Used in: | WriteLatexInclude() |
WriteLatexStructUnion() | |
WriteLatexSubInclude() | |
WriteLatexTypedef() |
void WriteLatexAppendix ( StringList files, StringList2 funcs, StringList2 vars, StringList2 types )
Prototyped in: | cxref.h | |
Calls: | ConcatStrings() | memory.c |
WriteLatexDocument() | latex.c | |
latex() | latex.c | |
exit(), fclose(), fopen(), fprintf(), fputs(), strncmp() | ||
Called by: | main() | cxref.c |
References Variables: | of | latex.c |
option_name | cxref.c | |
option_odir | cxref.c | |
run_command | cxref.c | |
run_cpp_command | cxref.c |
void WriteLatexFile ( File file )
Prototyped in: | cxref.h | |
Calls: | ConcatStrings() | memory.c |
WriteLatexDefine() | latex.c | |
WriteLatexDocument() | latex.c | |
WriteLatexFilePart() | latex.c | |
WriteLatexFunction() | latex.c | |
WriteLatexInclude() | latex.c | |
WriteLatexTypedef() | latex.c | |
WriteLatexVariable() | latex.c | |
latex() | latex.c | |
exit(), fclose(), fopen(), fprintf(), fputs(), mkdir(), stat(), strlen() | ||
Called by: | main() | cxref.c |
References Variables: | of | latex.c |
option_odir | cxref.c | |
run_command | cxref.c | |
run_cpp_command | cxref.c |
void WriteLatexFileDelete ( char* name )
Prototyped in: | cxref.h | |
Calls: | ConcatStrings() | memory.c |
fclose(), fgets(), fopen(), fprintf(), fputs(), rename(), strcmp(), unlink() | ||
Called by: | main() | cxref.c |
References Variables: | option_name | cxref.c |
option_odir | cxref.c |
static void WriteLatexDefine ( Define def )
Prototyped in: | latex.c | |
Calls: | latex() | latex.c |
fprintf() | ||
Called by: | WriteLatexFile() | latex.c |
References Variables: | of | latex.c |
static void WriteLatexDocument ( char* name, int appendix )
Prototyped in: | latex.c | |
Calls: | ConcatStrings() | memory.c |
WriteLatexTemplate() | latex.c | |
exit(), fclose(), fgets(), fopen(), fprintf(), fputs(), rename(), strcmp(), unlink() | ||
Called by: | WriteLatexAppendix() | latex.c |
WriteLatexFile() | latex.c | |
References Variables: | option_name | cxref.c |
option_odir | cxref.c |
static void WriteLatexFilePart ( File file )
Prototyped in: | latex.c | |
Calls: | latex() | latex.c |
fprintf(), strstr() | ||
Called by: | WriteLatexFile() | latex.c |
References Variables: | of | latex.c |
option_verbatim_comments | cxref.c |
static void WriteLatexFunction ( Function func, char* filename )
Prototyped in: | latex.c | |
Calls: | latex() | latex.c |
fprintf(), strcmp(), strncmp(), strstr() | ||
Called by: | WriteLatexFile() | latex.c |
References Variables: | of | latex.c |
option_verbatim_comments | cxref.c |
static void WriteLatexInclude ( Include inc )
Prototyped in: | latex.c | |
Calls: | WriteLatexSubInclude() | latex.c |
latex() | latex.c | |
fprintf() | ||
Called by: | WriteLatexFile() | latex.c |
References Variables: | countlines | latex.c |
of | latex.c |
static void WriteLatexStructUnion ( StructUnion su, int depth )
Prototyped in: | latex.c | |
Calls: | WriteLatexStructUnion() | latex.c |
latex() | latex.c | |
fprintf(), strstr() | ||
Called by: | WriteLatexStructUnion() | latex.c |
WriteLatexTypedef() | latex.c | |
References Variables: | countlines | latex.c |
of | latex.c |
static void WriteLatexSubInclude ( Include inc, int depth )
Prototyped in: | latex.c | |
Calls: | WriteLatexSubInclude() | latex.c |
latex() | latex.c | |
fprintf() | ||
Called by: | WriteLatexInclude() | latex.c |
WriteLatexSubInclude() | latex.c | |
References Variables: | countlines | latex.c |
of | latex.c |
static void WriteLatexTemplate ( char* name )
Prototyped in: | latex.c | |
Calls: | ConcatStrings() | memory.c |
exit(), fclose(), fopen(), fprintf(), fputs(), stat() | ||
Called by: | WriteLatexDocument() | latex.c |
References Variables: | latex_cxref_style | latex-style.c |
latex_fonts_style | latex-style.c | |
latex_page_style | latex-style.c | |
option_latex | cxref.c | |
option_odir | cxref.c |
static void WriteLatexTypedef ( Typedef type, char* filename )
Prototyped in: | latex.c | |
Calls: | WriteLatexStructUnion() | latex.c |
latex() | latex.c | |
fprintf(), strncmp() | ||
Called by: | WriteLatexFile() | latex.c |
References Variables: | countlines | latex.c |
of | latex.c |
static void WriteLatexVariable ( Variable var, char* filename )
Prototyped in: | latex.c | |
Calls: | latex() | latex.c |
fprintf() | ||
Called by: | WriteLatexFile() | latex.c |
References Variables: | of | latex.c |
static char* latex ( char* c, int verbatim )