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