[Okular-devel] Branch 'epub-qtextdoc' review

Jaydeep Solanki jaydp17 at gmail.com
Tue Jun 25 21:39:40 UTC 2013


Pushed, branch name 'epub-qtextdoc'.


On Wed, Jun 26, 2013 at 3:00 AM, Albert Astals Cid <aacid at kde.org> 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 <aacid at kde.org>
> 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 <aacid at kde.org>
> > >
> > > 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
> > > > > Okular-devel at kde.org
> > > > > https://mail.kde.org/mailman/listinfo/okular-devel
>
> _______________________________________________
> Okular-devel mailing list
> Okular-devel at kde.org
> https://mail.kde.org/mailman/listinfo/okular-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/okular-devel/attachments/20130626/a680cc3b/attachment.html>


More information about the Okular-devel mailing list