View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0024431 | Open CASCADE | OCCT:Documentation | public | 2013-12-03 12:39 | 2016-02-13 16:19 |
Reporter | Assigned To | bugmaster | |||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Platform | A | OS | L | ||
Product Version | 6.7.0 | ||||
Target Version | 6.7.1 | Fixed in Version | 6.7.1 | ||
Summary | 0024431: Using svg-images in the documentation | ||||
Description | It is necessary to add opportunity to include svg-images to the documentation. Note, that documentation could be generated in PDF and HTML. | ||||
Tags | No tags attached. | ||||
Test case number | |||||
|
In order to add svg files to the documentation it is necessary to install inkscape 0.48.4 or higher. Environment variable PATH should be updated. Automatically generated bu doxygen files (make.bat, doxygen.sty) are postprocessed by occdoc.tcl. SVG-files should be located in the directory with other images. Use markdown syntax to include svg-image to the HTML: ![Caption text]( img.svg "Image title" ) Use next syntax to include svg-image to the PDF: \latexonly \begin{DoxySVGImage} \includesvg{image} \caption{The test svg-image} \end{DoxySVGImage} \endlatexonly Note, that extention of image is hidden. |
|
Another way to include images has been implemented: @OCCImage image_name.png @OCCImage image_name2.svg Caption text Note: this way allows to include SVG and other formats equally. Format of documentation (PDF or HTML) also does not matter. |
|
Chapter dev_guides/Documentation System has been updated |
|
Dear abv, Could you check Branch CR24431? |
|
I have reimplemented support of SVG with less interference with LaTeX documents, by direct conversion of SVG files to PDF. Images can now be inserted with single command @figure{path/to/file.png,"Caption"}. Documentation is extended by additional details on installing MikTeX and Inkscape and insertion of images. Yuri, please check if this works in your environment. Please convert all images that were in vector format (MS Word Draw) to SVG, and updating all image insertion commands throughout OCCT docs to use new command @figure (as far as it is appropriate). |
|
I've added existing .svg images, reviewed documentation.md and added some advice basing on my own experience. I guess we can close it now. |
|
Considered as tested, please integrate |
occt: master 3d68eaf5 2014-03-13 09:20:08
Committer: bugmaster Details Diff |
0024431: Using svg-images in the documentation Documentation generator improved to automatically convert SVG images to PDF when PDF documents are generated. This is done with Inkscape thus it becomes necessary for generation of PDF documents. Doxygen alias "figure" added for easy insertion of images with single command for both HTML and PDF output. Documentation is updated. Reviewed documentation.md and added more recommendations on Document Syntax. Introduced existing svg images in the documentation. Description of formatting of plain text, code blocks, and references revised. Snapshot of structure of dox folder is updated. Copyright year is corrected in PDF documents to be always the current one. Some grammar corrections. |
Affected Issues 0024431 |
|
mod - dox/dev_guides/documentation/documentation.md | Diff File | ||
add - dox/dev_guides/documentation/images/documentation_folders.png | Diff File | ||
rm - dox/dev_guides/documentation/images/documentation_image001.png | Diff File | ||
rm - dox/dev_guides/documentation/images/documentation_image002.png | Diff File | ||
add - dox/dev_guides/documentation/images/documentation_miktex.png | Diff File | ||
add - dox/dev_guides/documentation/images/documentation_test_image.svg | Diff File | ||
mod - dox/occdoc.tcl | Diff File | ||
rm - dox/tutorial/images/tutorial_image003.png | Diff File | ||
add - dox/tutorial/images/tutorial_image003.svg | Diff File | ||
mod - dox/tutorial/tutorial.md | Diff File | ||
rm - dox/user_guides/ocaf/images/ocaf_image003.png | Diff File | ||
add - dox/user_guides/ocaf/images/ocaf_image003.svg | Diff File | ||
mod - dox/user_guides/ocaf/ocaf.md | Diff File | ||
rm - dox/user_guides/shape_healing/images/shape_healing_image009.png | Diff File | ||
add - dox/user_guides/shape_healing/images/shape_healing_image009.svg | Diff File | ||
mod - dox/user_guides/shape_healing/shape_healing.md | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2013-12-03 12:39 |
|
New Issue | |
2013-12-03 12:39 |
|
Assigned To | => sdv |
2013-12-03 13:23 |
|
Note Added: 0027047 | |
2013-12-03 13:23 |
|
Note Edited: 0027047 | |
2013-12-05 13:00 |
|
Note Added: 0027099 | |
2013-12-05 16:20 |
|
Note Added: 0027111 | |
2013-12-05 16:23 |
|
Note Added: 0027113 | |
2013-12-05 16:24 |
|
Assigned To | sdv => abv |
2013-12-05 16:24 |
|
Status | new => resolved |
2013-12-10 10:05 |
|
Product Version | Unscheduled => 6.7.0 |
2013-12-10 10:05 |
|
Target Version | Unscheduled => 6.7.0 |
2013-12-21 10:13 |
|
Target Version | 6.7.0 => 6.7.1 |
2014-01-13 11:15 | bugmaster | Category | OCCT Release:DOC => OCCT:Documentation |
2014-02-22 11:46 |
|
Relationship added | related to 0024649 |
2014-03-03 17:38 |
|
Note Added: 0028099 | |
2014-03-03 17:38 |
|
Assigned To | abv => ysn |
2014-03-03 17:38 |
|
Status | resolved => reviewed |
2014-03-07 16:51 |
|
Note Added: 0028182 | |
2014-03-07 16:51 |
|
Status | reviewed => feedback |
2014-03-07 17:03 |
|
Note Added: 0028183 | |
2014-03-07 17:03 |
|
Assigned To | ysn => bugmaster |
2014-03-07 17:03 |
|
Status | feedback => tested |
2014-03-17 11:21 | bugmaster | Changeset attached | => occt master 3d68eaf5 |
2014-03-17 11:21 | bugmaster | Status | tested => verified |
2014-03-17 11:21 | bugmaster | Resolution | open => fixed |
2014-05-05 13:33 |
|
Status | verified => closed |
2014-05-05 13:38 |
|
Fixed in Version | => 6.7.1 |