<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Feb 3, 2017, at 12:22 PM, Stefan Fuchs <<a href="mailto:sfuchs@gmx.de" class="">sfuchs@gmx.de</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><p style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class="">Hi All,</p><p style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class="">you may know me as a complete newbie managed to do my first small change to the Subsurface planner: Adding surface pressure and SAC to the planner results.<br class=""></p><p style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class="">Now I found out there is one issue left concerning printing. I attached 4 screen shots:</p><p style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class="">- Output in UI in planner looks good<br class="">- Output in UI in main window in notes section looks good<br class="">- Printing (template "Onedive") in linux is complete crap because the <br> are not translated at all. --> Issue (1)<br class="">  I would expect this is even an old issue?!<br class=""></p></div></blockquote><div><br class=""></div><div>Yes, this appears to be something that happens to a fair number of our users. There's even an FAQ about this (which may have to become non-Mac specific... so far only Mac users had reported this)</div><div>Can you see if this helps?</div><div><br class=""></div></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class=""><div><div><div style="box-sizing: border-box; margin: 0px; padding: 0px 0px 1em; border: 0px; outline: 0px; background-color: rgb(255, 255, 255); font-size: 14px; vertical-align: baseline; color: rgb(102, 102, 102); font-family: 'Open Sans', Arial, sans-serif; font-variant-ligatures: normal; orphans: 2; widows: 2;" class="">This is likely caused by an earlier install of Subsurface on the same computer. For some reason Subsurface may have decided to store a personal copy of the print template and is using that instead of the one shipped with Subsurface.</div></div></div><div><div><div style="box-sizing: border-box; margin: 0px; padding: 0px 0px 1em; border: 0px; outline: 0px; background-color: rgb(255, 255, 255); font-size: 14px; vertical-align: baseline; color: rgb(102, 102, 102); font-family: 'Open Sans', Arial, sans-serif; font-variant-ligatures: normal; orphans: 2; widows: 2;" class="">If you intentionally made specific changes to the templates, re-edit the templates and ensure that <tt style="box-sizing: border-box; margin: 0px; padding: 0px; border: 0px; outline: 0px; background-color: transparent; vertical-align: baseline; background-position: initial initial; background-repeat: initial initial;" class="">dive.notes</tt> is referenced as <tt style="box-sizing: border-box; margin: 0px; padding: 0px; border: 0px; outline: 0px; background-color: transparent; vertical-align: baseline; background-position: initial initial; background-repeat: initial initial;" class="">dive.notes|secure</tt>).</div></div></div></blockquote><div><div><div class="">Or you could just delete the template copies... ~/.subsurface/printing_templates is where they are most likely stored...</div></div><br class=""><blockquote type="cite" class=""><div class=""><p style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class="">- Printing (template "Onedive") in win is also not perfect because a few line breaks are missing which are there in the UI.<br class="">  Line breaks missing are: Before "Runtime...", "Deco model...", "ATM pressure..." and "Gas consumption...". --> Issue (2)<br class=""></p><p style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class="">What can we do about (1) which is even more serious?</p></div></blockquote><div><br class=""></div>See above :-)</div><div><br class=""><blockquote type="cite" class=""><div class=""><p style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class="">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?<br class=""></p></div></blockquote><br class=""></div><div>I don't know why we are using <div> for some things but not for others. I didn't write that code :-)</div><div>It looks like Henrik may have introduced this?</div><div><br class=""></div><div>/D</div></body></html>