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 680073 - missing <pre> in \include breaks code indentation in w3m/lynx
missing <pre> in \include breaks code indentation in w3m/lynx
Status: RESOLVED OBSOLETE
Product: doxygen
Classification: Other
Component: general
1.8.1.2
Other Linux
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
[moved_to_github]
Depends on:
Blocks:
 
 
Reported: 2012-07-17 07:11 UTC by Brice Goglin
Modified: 2018-07-30 10:54 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Brice Goglin 2012-07-17 07:11:38 UTC
Hello,

In earlier doxygen versions (at least in 1.7.6.1), including a C file with \include will produce some code between:
<div class="fragment"><pre class="fragment">
</pre></div>

Now we get:
<div class="fragment">
</div>
with <div class="line"></div> around each line (from what I understand).

This causes some problems with browsers such as w3m and lynx because the code is not indented anymore. See for instance:
  http://www.open-mpi.org/projects/hwloc/doc/v1.5rc1/#interface_example

By the way, maybe related, I can't find where div.line is defined in the CSS.

Is there any way to work around this problem? Otherwise I will have to patch the doxygen HTML output :/

thanks
Brice
Comment 1 Dimitri van Heesch 2012-07-17 07:28:23 UTC
The div.line is present in doxygen.css produced by doxygen (maybe you replaced it with your own, in which case you need to update your CSS). The CSS definition specifies that spaces have to be preserved. I used it for better markup possibilities and to allow wrapping of long lines.
Comment 2 Brice Goglin 2012-07-17 07:49:56 UTC
Thanks I found the div.line stuff. But that doesn't seem to work with any text-based browser unfortunately. I tried using the vanilla doxygen.css, same problem. Nothing is indented. Given all the browser-specific-hacks in the CSS, I wonder if there's a way to make this work.
Comment 3 André Klapper 2018-07-30 10:54:04 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!