<div dir="ltr">Pushed, branch name 'epub-qtextdoc'.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jun 26, 2013 at 3:00 AM, Albert Astals Cid <span dir="ltr"><<a href="mailto:aacid@kde.org" target="_blank">aacid@kde.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">El Dimecres, 26 de juny de 2013, a les 02:45:31, Jaydeep Solanki va escriure:<br>
<div><div class="h5">> On Wed, Jun 26, 2013 at 2:32 AM, Albert Astals Cid <<a href="mailto:aacid@kde.org">aacid@kde.org</a>> wrote:<br>
> > El Dimecres, 26 de juny de 2013, a les 02:14:36, Jaydeep Solanki va<br>
> ><br>
> > escriure:<br>
> > > On Wed, Jun 26, 2013 at 1:57 AM, Albert Astals Cid <<a href="mailto:aacid@kde.org">aacid@kde.org</a>><br>
> ><br>
> > wrote:<br>
> > > > El Dilluns, 24 de juny de 2013, a les 23:57:35, Jaydeep Solanki va<br>
> > > ><br>
> > > > escriure:<br>
> > > > > Hello,<br>
> > > > > I have put together some of my work, in a branch named<br>
> ><br>
> > 'epub-qtextdoc'.<br>
> ><br>
> > > > > It would be really nice if you can review it.<br>
> > > ><br>
> > > > What's mdelimiter and magicstring?<br>
> > ><br>
> > > magicstring is used after the content of every html file, whenever<br>
> > > magicstring is encountered a page break is inserted.<br>
> > > Useful with an epub with many chapters, where every chapter starts on a<br>
> ><br>
> > new<br>
> ><br>
> > > page.<br>
> > ><br>
> > > mdelimiter is also used after the content of every html file, it is used<br>
> ><br>
> > in<br>
> ><br>
> > > Converter::_handle_all_anchors(), to change the subdocument name.<br>
> ><br>
> > Whenever<br>
> ><br>
> > > mDelimiter is encountered the name of subdocument is changed, making it<br>
> > > possible to generate links like<br>
> > > 'page1.html#id1' and 'page2.html#id2'<br>
> > ><br>
> > > Neither of these delimiters are displayed on the rendered document.<br>
> ><br>
> > What if a file contains those strings? Is that a problem?<br>
><br>
> yes, it will lead to unnecessary page breaks and malfunctioning links.<br>
<br>
</div></div>That is bad, can you think a way in that this won't happen?<br>
<div class="im"><br>
><br>
> > Also if you use such<br>
> > magic stuff, comments are appreciated.<br>
><br>
> I have documented the code, & fixed the indentation.<br>
> If you want I can push it now.<br>
<br>
</div>Sure.<br>
<br>
Cheers,<br>
  Albert<br>
<div class="HOEnZb"><div class="h5"><br>
><br>
> > Cheers,<br>
> ><br>
> >   Albert<br>
> ><br>
> > > > What files are you using to test the changes?<br>
> > > ><br>
> > > > I've just deleted the branch<br>
> > > ><br>
> > > > Cheers,<br>
> > > ><br>
> > > >   Albert<br>
> > > ><br>
> > > > > Cheers,<br>
> > > > > Jaydeep<br>
> > > ><br>
> > > > _______________________________________________<br>
> > > > Okular-devel mailing list<br>
> > > > <a href="mailto:Okular-devel@kde.org">Okular-devel@kde.org</a><br>
> > > > <a href="https://mail.kde.org/mailman/listinfo/okular-devel" target="_blank">https://mail.kde.org/mailman/listinfo/okular-devel</a><br>
<br>
_______________________________________________<br>
Okular-devel mailing list<br>
<a href="mailto:Okular-devel@kde.org">Okular-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/okular-devel" target="_blank">https://mail.kde.org/mailman/listinfo/okular-devel</a><br>
</div></div></blockquote></div><br></div>