New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latex code is wrapped too early (Origin: bugzilla #687572) #4939

doxygen opened this Issue Jul 2, 2018 · 0 comments


None yet
1 participant

doxygen commented Jul 2, 2018

status RESOLVED severity major in component build for ---
Reported in version 1.8.2 on platform Other
Assigned to: Dimitri van Heesch

On 2012-11-04 15:25:45 +0000, Stefan wrote:

Thanks for making the width of the contents of a LaTeX generated PDF file wider.

There is just one problem, where code fragments are still wrapped at the smaller width of the page used previously.

As an example see

The problematic sections are on pages:

page 4 ... bottom (introduction => fragmentation level)
page 9 ... middle (installation => example command line)
page 15 ... bottom (console => example batch script)

To correct this I have to add separate code blocks for HTML and LaTeX.


  • @htmlonly
  • <div class="line">@echo off</div>
  • <div class="line"></div>
  • <div class="line"><span class="keyword">set</span> UD_EX_FILTER=*system volume information*;*temp*;*tmp*;*recycle*;*.zip;*.7z;*.rar</div>
  • <div class="line"><span class="keyword">set</span> UD_FILE_SIZE_THRESHOLD=50MB</div>
  • <div class="line">udefrag c: &gt; c:\ud.log</div>
  • <div class="line"></div>
  • <div class="line"><span class="keyword">set</span> UD_IN_FILTER=D:\My Documents\*</div>
  • <div class="line">udefrag d: &gt;&gt; c:\ud.log</div>
  • <div class="line"></div>
  • <div class="line"><span class="keyword">set</span> UD_IN_FILTER=</div>
  • <div class="line">udefrag e: &gt;&gt; c:\ud.log</div>
  • @endhtmlonly
  • @latexonly
  • \begin{DoxyCode}
  • @echo off
  • \textcolor{keyword}{set} UD_EX_FILTER=system volume information;temp;tmp;recycle;.zip;.7z;*.rar
  • \textcolor{keyword}{set} UD_FILE_SIZE_THRESHOLD=50MB
  • udefrag c: > c:(\backslash)ud.log
  • \textcolor{keyword}{set} UD_IN_FILTER=D:(\backslash)My Documents(\backslash)*
  • udefrag d: >> c:(\backslash)ud.log
  • \textcolor{keyword}{set} UD_IN_FILTER=
  • udefrag e: >> c:(\backslash)ud.log
  • \end{DoxyCode}
  • @endlatexonly

Is there a possibility to allow LaTeX to do the wrapping?

Thanks in advance,

On 2012-11-06 20:45:22 +0000, Dimitri van Heesch wrote:

As it is a verbatim section I don't think LaTeX will do the wrapping for me, but it wrap limit is indeed set too low. Should be fixed in the next subversion update.

On 2012-11-06 21:58:48 +0000, Stefan wrote:


would you mind wrapping only at white-space, since a command line was wrapped after a slash, which was really disturbing.


On 2012-12-26 16:09:09 +0000, Dimitri van Heesch wrote:

This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.3. Please verify if this is indeed the case. Reopen the
bug if you think it is not fixed and please include any additional information
that you think can be relevant.

On 2012-12-28 20:02:54 +0000, Stefan wrote:


I can confirm that this bug is now fixed.


@doxygen doxygen closed this Jul 2, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment