<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi All,<br>
    <br>
    <div class="moz-cite-prefix">Am 03.02.2017 um 21:51 schrieb Lubomir
      I. Ivanov:<br>
    </div>
    <blockquote
cite="mid:CAGDbWi_YaXo=uyuKmT9uqE405E0AcAh2Met6=cxOwcYTwhHV7w@mail.gmail.com"
      type="cite">
      <pre wrap="">On 3 February 2017 at 22:22, Stefan Fuchs <a class="moz-txt-link-rfc2396E" href="mailto:sfuchs@gmx.de"><sfuchs@gmx.de></a> wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">Now I found out there is one issue left concerning printing. I attached 4
screen shots:

- Output in UI in planner looks good
- Output in UI in main window in notes section looks good
- Printing (template "Onedive") in linux is complete crap because the <br>
are not translated at all. --> Issue (1)
  I would expect this is even an old issue?!
- Printing (template "Onedive") in win is also not perfect because a few
line breaks are missing which are there in the UI.
  Line breaks missing are: Before "Runtime...", "Deco model...", "ATM
pressure..." and "Gas consumption...". --> Issue (2)

What can we do about (1) which is even more serious?

</pre>
      </blockquote>
      <pre wrap="">dirk, already responded to this one.</pre>
    </blockquote>
    Fixed it by deleting the printing templates in ~/.subsurface<br>
    Now Linux and Windows result is the same.
    <blockquote
cite="mid:CAGDbWi_YaXo=uyuKmT9uqE405E0AcAh2Met6=cxOwcYTwhHV7w@mail.gmail.com"
      type="cite">
      <blockquote type="cite">
        <pre wrap="">For (2) I guess I forgot to put a few <br>. But why line breaks in UI then
work? Can s.o. please explain me the concept of <div></div> and <br> and how
this works differently (?!) in UI and planner?

</pre>
      </blockquote>
      <pre wrap="">
a <div> tag may create a new line by itself.so,  if the rich text
field in the planner has a <div>, plus it has a <br> tag, you could
end up with a couple of line breaks in the planner.
but the printed notes only support <br> tags (if |safe is enabled that
is) and also they don't really support rich formatting like colors and
fonts.

this means that the printed dive notes will look much more simplistic
and for printing we don't really support the rich formatting that the
default planner notes introduce.
</pre>
    </blockquote>
    Thanks, understood.<br>
    I will play with adding a few more <br> and try to make it
    look as nicely as possible everywhere...<br>
    <br>
    Best regards<br>
    Stefan<br>
    <br>
    <div class="moz-signature">-- <br>
      <meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8">
      <title></title>
      <meta name="GENERATOR" content="OpenOffice.org 3.3 (Win32)">
      <meta name="CREATED" content="0;0">
      <meta name="CHANGEDBY" content="Stefan Fuchs">
      <meta name="CHANGED" content="20120503;23115492">
      <style type="text/css">
        <!--
                P { color: #000000 }
        -->
        </style>
      <p>Stefan Fuchs<br>
        E-Mail: <a href="mailto:sfuchs@gmx.de">sfuchs@gmx.de</a></p>
    </div>
  </body>
</html>