After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 642126 - @mscfile <filename> does not process mscgen code
@mscfile <filename> does not process mscgen code
Status: RESOLVED OBSOLETE
Product: doxygen
Classification: Other
Component: build
1.7.0
Other Windows
: Normal minor
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
[moved_to_github]
Depends on:
Blocks:
 
 
Reported: 2011-02-11 20:22 UTC by Lori Boyters
Modified: 2018-07-30 10:10 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
@mscfile workaround (858.51 KB, application/x-zip-compressed)
2011-02-11 20:22 UTC, Lori Boyters
Details

Description Lori Boyters 2011-02-11 20:22:30 UTC
Created attachment 180686 [details]
@mscfile workaround

This does not work as indicated in the Doxygen Manual. However, I did find a way to make it work so that you don't need to put the mscgen code inside the header file.

@msc 
@latexonly \input{mscgen_callflows/msc_callflow_sample.txt} @endlatexonly
@endmsc 

Also, the mscgen source file, should not include the msc {} for this to work, example:

  hscale="0.7";

  CS,WS,Init;

  CS->CS [ label = "cs()" ] ;
  CS->Init [ label = "Init(TRUE)", ID="1"];
  Init=>CS [ label = "process(1)" ];
  Init=>CS [ label = "process(2)" ];
  CS box Init [label="Sample box"];
  ...;
  Init=>Init [ label = "process(n)" ];
  Init=>Init [ label = "process(END)" ];
  CS rbox WS [ label = "Round box with blue border", linecolour="#0000ff"];
  CS<<=Init [ label = "callback()"];
  ---  [ label = "If more to run", ID="*" ];
  WS->WS [ label = "next()"];
  WS->Init [ label = "ac1()\nac2()"];
  Init<-WS [ label = "Init(TRUE)"];
  WS abox Init [ label = "Angular box with red text", textcolour="red" ];
  Init->Init [ label = "stalled(...)"];
  WS<-Init [ label = "ws() = FALSE"];

If you want to include a figure caption that will show up in the toc,you can also add the following LaTeX code in your header file just below.

@msc 
@latexonly \input{mscgen_callflows/msc_callflow_sample.txt} @endlatexonly
@endmsc 

@latexonly
  \begin{figure}[H]
  \centering
  \renewcommand{\thefigure}{\thechapter-\arabic{figure}}
  \caption{Sample Call Flow}
  \label{fig:Sample Call Flow}
\end{figure}
@endlatexonly
Comment 1 André Klapper 2018-07-30 10:10:55 UTC
As discussed in https://github.com/doxygen/doxygen/pull/734 , Doxygen has moved its issue tracking to 

   https://github.com/doxygen/doxygen/issues

All Doxygen tickets in GNOME Bugzilla have been migrated to Github. You can subscribe and participate in the new ticket in Github. You can find the corresponding Github ticket by searching for its Bugzilla ID (number) in Github.

Hence I am closing this GNOME Bugzilla ticket.
Please use the corresponding ticket in Github instead. Thanks a lot!