<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; "><div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">If there's just a div with a CSS class, frontends can handle that as they require, and the indenting support shouldn't cause an issue.</div></blockquote><div><br></div><div>depending on how nicely the different front-ends play with the HTML that the filters provide? I didn't play nicely enough in PS & so had to clean up some of my PS code... ;)</div><br><blockquote type="cite"><div style="font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">In the <l> handling code, I have these lines:</div><div style="font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div><span class="Apple-tab-span" style="white-space: pre; ">                </span>if not self.in_lg:</div><div><span class="Apple-tab-span" style="white-space: pre; ">                        </span>dprint(WARNING, "l outside lg??? (or block doesn't contain lg)")</div><div><span class="Apple-tab-span" style="white-space: pre; ">                        </span>self.start_lg(None)</div></div></blockquote><blockquote type="cite"><div style="font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div><br></div><div>In other words, we always have an implicit <lg> if there wasn't one in the current chapter and we got to an <l>.</div><div>This seems to work very well. </div></div></blockquote><div><br></div><div>I am concerned with implementing a hack like this in libsword as it encourages malformed modules. Or at least it doesn't encourage module-makers to make sure their OSIS is good enough?</div><div>However, as you say, it seems to work very well & so I may do something similar... ;)</div><br><blockquote type="cite"><div style="font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">Looking forward to seeing poetry support in PS...</div></blockquote></div><br><div>yup, coming. :)</div><div>It's looking great on an iPad and quite nice on an iPhone. :)</div></body></html>