![]() |
PhoenixLecture
2.0.0
Set of tools to make lectures
|
#include "platexobj_formulae.h"
Go to the source code of this file.
Classes | |
struct | POutputTex |
Output mode for tex backend. More... | |
Functions | |
POutputTex | defaultPOutputTex () |
Create a default POutputTex. More... | |
bool | isPLatexObjInline (const PLatexObj &obj) |
Say if the given PLatexObj is inlined. More... | |
bool | platexobj_tex (POutputTex &outputMode, const PLatexObj &obj) |
Save the main PLatexObj. More... | |
PString | platexobj_texStr (POutputTex &outputMode, const PLatexObj &obj, const PString &indentation, bool allowText=true) |
Convert a PLatexObj into a string. More... | |
PString | platexobj_texStr (POutputTex &outputMode, const PVecLatexObj &vecObj, const PString &indentation, bool allowText=true) |
Save a vector of PLatexObj in tex. More... | |
POutputTex defaultPOutputTex | ( | ) |
Create a default POutputTex.
Definition at line 18 of file platexobj_tex.cpp.
References POutputTex::isLastObjInline, POutputTex::splitChapter, POutputTex::splitPart, POutputTex::splitSection, POutputTex::splitSubSection, and POutputTex::splitSubSubSection.
Referenced by processAllFile().
bool isPLatexObjInline | ( | const PLatexObj & | obj | ) |
Say if the given PLatexObj is inlined.
obj | : PLatexObj to be checked |
Definition at line 33 of file platexobj_tex.cpp.
References PLatexType::CITATION, PLatexType::FOOTNOTE, PLatexObj::getType(), PLatexType::HREF, PLatexType::INLINEMATH, PLatexType::REF, PLatexType::TEXT, PLatexType::TEXTBF, PLatexType::TEXTIT, PLatexType::URL, and PLatexType::VARCALL.
Referenced by platexobj_texStr().
bool platexobj_tex | ( | POutputTex & | outputMode, |
const PLatexObj & | obj | ||
) |
Save the main PLatexObj.
[out] | outputMode | : output mode of the tex backend |
obj | : main PLatexObj to be saved |
Definition at line 566 of file platexobj_tex.cpp.
References PLatexObj::getLink(), platexobj_texStr(), and PPath::saveFileContent().
Referenced by processAllFile().
PString platexobj_texStr | ( | POutputTex & | outputMode, |
const PLatexObj & | obj, | ||
const PString & | indentation, | ||
bool | allowText | ||
) |
Convert a PLatexObj into a string.
[out] | outputMode | : output mode of the tex backend |
obj | : PLatexObj to be converted into a string | |
allowText | : true if the TEXT PLatexObj are allowed, false if not | |
indentation | : indentation of the text |
Definition at line 472 of file platexobj_tex.cpp.
References PLatexType::AUTOSPACEPARAGRAPH, PLatexType::CAPTION, PLatexType::CENTER, PLatexType::CHAPTER, PLatexType::CHAPTERSTAR, PLatexType::CITATION, PLatexType::COLUMN, PLatexType::COLUMNS, PLatexType::COMMENT, PLatexType::DEBUG, PLatexType::DISPLAYMATH, PLatexType::ENUMERATE, PLatexType::ENVIRONEMENT, PLatexType::EQNARRAY, PLatexType::FIGURE, PLatexType::FILE, PLatexType::FOOTNOTE, PLatexType::FUNCTION, PLatexType::GETENV, PLatexObj::getType(), PLatexObj::getVecContent(), PLatexType::HREF, PLatexType::IMAGE, PLatexType::INLINEMATH, POutputTex::isLastObjInline, isPLatexObjInline(), PLatexType::ITEM, PLatexType::ITEMIZE, PLatexType::PARAGRAPHE, PLatexType::PARSER, PLatexType::PART, PLatexType::PARTSTAR, PLatexType::PERCENT, platexobj_indexTex(), platexobj_texStrAllPart(), platexobj_texStrBasicEnv(), platexobj_texStrCaption(), platexobj_texStrCitation(), platexobj_texStrColumns(), platexobj_texStrComment(), platexobj_texStrEnumerate(), platexobj_texStrExtraEnvironement(), platexobj_texStrExtraFunction(), platexobj_texStrExtraParser(), platexobj_texStrGetenv(), platexobj_texStrHref(), platexobj_texStrImage(), platexobj_texStrInlineMath(), platexobj_texStrItem(), platexobj_texStrItemize(), platexobj_texStrMathEnv(), platexobj_texStrRef(), platexobj_texStrSection(), platexobj_texStrSpaceParagraph(), platexobj_texStrTabCell(), platexobj_texStrTabRow(), platexobj_texStrTabular(), platexobj_texStrText(), platexobj_texStrTextBf(), platexobj_texStrTextDebug(), platexobj_texStrTextFootnote(), platexobj_texStrTextIt(), platexobj_texStrUrl(), platexobj_texStrVideo(), platexobj_texStrWip(), PLatexType::REF, PLatexType::SECTION, PLatexType::SECTIONSTAR, PLatexType::SPACEPARAGRAPH, PLatexType::SUBSECTION, PLatexType::SUBSECTIONSTAR, PLatexType::SUBSUBSECTION, PLatexType::SUBSUBSECTIONSTAR, PLatexType::TABCELL, PLatexType::TABLE, PLatexType::TABROW, PLatexType::TABULAR, PLatexType::TEXT, PLatexType::TEXTBF, PLatexType::TEXTIT, PLatexType::URL, PLatexType::VIDEO, and PLatexType::WORK_IN_PROGRESS.
Referenced by platexobj_indexTex(), platexobj_tex(), platexobj_texStr(), platexobj_texStrAllPart(), platexobj_texStrBasicEnv(), platexobj_texStrCaption(), platexobj_texStrColumns(), platexobj_texStrEnumerate(), platexobj_texStrExtraEnvironement(), platexobj_texStrExtraFunction(), platexobj_texStrItem(), platexobj_texStrItemize(), platexobj_texStrSection(), platexobj_texStrTabCell(), platexobj_texStrTabRow(), platexobj_texStrTabular(), platexobj_texStrTextFootnote(), and platexobj_texStrWip().
PString platexobj_texStr | ( | POutputTex & | outputMode, |
const PVecLatexObj & | vecObj, | ||
const PString & | indentation, | ||
bool | allowText | ||
) |
Save a vector of PLatexObj in tex.
[out] | outputMode | : output mode of the tex backend |
vecObj | : vector of PLatexObj to be saved in tex | |
allowText | : true if the TEXT PLatexObj are allowed, false if not | |
indentation | : indentation of the text |
Definition at line 553 of file platexobj_tex.cpp.
References platexobj_texStr().