[Doxygen-develop] Re:Doxygen - don't remove whitespace
Brought to you by:
dimitri
From: Jan R. <jan...@co...> - 2003-07-17 11:55:01
|
Hi Allen, I think that you are asking a little bit more the a preserving of the white spaces. Even if the white spaces are preserved it would not mean anything in the context of HTML. There has to be HTML tags corresponding to the white space characters. Example <br> for a new line, for multiple spaces etc. On the other hand there can be demand for not preserving white spaces because of rigid rules of writing the source code (80 characters per line max. etc.). Be careful what do you wish for. Jan > Hello Doxygen developers, > I would like to modify the source code for Doxygen so that white > space in > special documentation blocks is not removed. This may be as simple as > modifying a couple source files but my problem is that I am unfamiliar > with > flex and bison. Here is a more concrete example of what I mean: > > (from my source code) > /** > /* Abstract: > /* This function performs calculations for the new viewing frustum > /* > /* Note: > /* This function expects the *window pointer to point to the current > view > */ > > *window calcFrustum(Window* win) > > > > In the corresponding entry for the generated man page, the whitespace, > newlines, and asterisks are removed and it appears as: > > *window calcFrustum(Window* win) > > Abstract: This function performs calculations for the new viewing > frustum > > Note: This function expects the *window pointer to point to the > current view > > > > > However, I would like it to only have stripped the asterisk (and > preferrable > replace it with whitespace): > > *window calcFrustum(Window* win) > > Abstract: > This function performs calculations for the new viewing frustum > > Note: > This function expects the *window pointer to point to the current > view > > Can someone provide incite as to how I can go about changing the > source so that > whitespace is not removed? Any help would be greatly appreciated. > > -Allen > al...@ic... |