MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0032156Community[OCCT] OCCT:Documentationpublic2021-02-22 22:592021-02-25 09:47
ReporterStefanBruens 
Assigned Tobugmaster 
PrioritynormalSeverityminor 
StatusassignedResolutionopen 
PlatformLinuxOSOS Version
Product Version[OCCT] 7.5.0 
Target Version[OCCT] 7.6.0*Fixed in Version 
Summary0032156: Documentation, gendoc.tcl - wrong processing of 'mathjax' option
DescriptionThe condition for processing the mathjax option value is inverse to the wanted behavior:

---
    } elseif {$arg_n == "mathjax"} {
      if { [ lsearch $args_names "pdf" ] != -1 } {
        set possible_mathjax_loc $args_values(mathjax)
---


This branch should be taken if there is no "pdf" option (i.e. lsearch returns -1), so it should be "== -1" instead of "!= -1".

 
Steps To Reproduce
./gendoc -refman -html -mathjax="/usr/share/javascript/mathjax/"


outputs:
"Warning: MathJax is not used with pdf and will be ignored."


It should process and print the mathjax path.
TagsNo tags attached.
Test case number
Attached Files

- Relationships

-  Notes
(0099130)
kgv (developer)
2021-02-25 09:47
edited on: 2021-02-25 09:47

Igor, the description looks reasonable - could you please prepare a patch?


- Issue History
Date Modified Username Field Change
2021-02-22 22:59 StefanBruens New Issue
2021-02-22 22:59 StefanBruens Assigned To => abv
2021-02-23 08:48 kgv Target Version => 7.6.0*
2021-02-23 08:48 kgv Summary Wrong processing of 'mathjax' option in gendoc.tcl => Documentation, gendoc.tcl - wrong processing of 'mathjax' option
2021-02-23 08:48 kgv Description Updated View Revisions
2021-02-23 08:48 kgv Steps to Reproduce Updated View Revisions
2021-02-25 09:47 kgv Note Added: 0099130
2021-02-25 09:47 kgv Assigned To abv => bugmaster
2021-02-25 09:47 kgv Status new => assigned
2021-02-25 09:47 kgv Note Edited: 0099130 View Revisions


Copyright © 2000 - 2021 MantisBT Team
Powered by Mantis Bugtracker