functionhas_mathpureprivate
pure logical function has_math(e)
True if e has math in its documentation.
Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
| e | type(entity_t) | in | the entity |
Result
| Name | Type | Attributes | Description |
|---|---|---|---|
| has_math | logical |
Source
Show the code
pure logical function has_math(e)
type(entity_t), intent(in) :: e !! the entity
has_math = .false.
if (allocated(e%html)) has_math = index(e%html, 'math/tex') > 0
end function has_math