How to configure lyx to include plant uml diagrams
Lyx is awesome tool to set up framework to creating professional document. But it is bit hard to get started. Recently I wanted to include plantuml sequence diagrams into the mater lyx document. Plantuml allows us to create nice diagram just by using text commands.
Below are steps to include these text file into the lyx tool and it will automatically show these as diagram while loading the document. User need to configure new document type and corresponding converter to generate graphic on the fly.
1) configure the file format.
2) Add the corresponding converter.
Please note that plantuml.bat is batch file which is copied as below.
c:\progra~1\Java\jdk1.7.0_45\bin\java.exe -jar <path to >plantuml.jar %*
Once these are correctly setup. User can include the file using include graphic lyx menu.
That’s all you need to include plantuml file into lyx doc.
Update: Recently I wanted to export the PLANTUML diagram in the pdf file. Following steps worked fine for me.
1) Add plantuml file format as above
2) Configure a converter as above
plantuml – > eps
This should work and you should have plantuml diagram into your pdf file.