![]() |
PhoenixLecture
2.0.0
Set of tools to make lectures
|
Go to the source code of this file.
Namespaces | |
PTypeCode | |
Enumerations | |
enum | PTypeCode::PTypeCode { PTypeCode::CODE , PTypeCode::PTEX_COMMENT } |
Get the type of the parsed text. More... | |
Functions | |
PPath | getSplitOutputFileName (const PPath &outputFile, bool isPlatexMode) |
Get the output file name. More... | |
bool | processFile (const PPath &outputFile, const PPath &inputFile, bool keepComment, bool keepTex, bool removefirstcomment, bool isPlatexMode) |
Process the input file. More... | |
Get the output file name.
outputFile | : name of the output file |
isPlatexMode | : true if we want to create ptex output files |
Definition at line 165 of file psrc_split_lib.cpp.
References PPath::getExtension().
Referenced by processFile(), and processFileOrDir().
bool processFile | ( | const PPath & | outputFile, |
const PPath & | inputFile, | ||
bool | keepComment, | ||
bool | keepTex, | ||
bool | removefirstcomment, | ||
bool | isPlatexMode | ||
) |
Process the input file.
outputFile | : file to be written |
inputFile | : file to be red |
keepComment | : true to keep the comments of the targeted language in the output file |
keepTex | : true to keep the ptex comment, false otherwise |
removefirstcomment | : remove the first comment of the file |
isPlatexMode | : true to add begin and end environnement in the output file, false otherwise |
Definition at line 183 of file psrc_split_lib.cpp.
References createPTexFile(), PPath::eraseExtension(), PPath::getExtension(), PPath::getFileName(), and getSplitOutputFileName().