• Resolved KTS915

    (@kts915)


    This looks a very promising plugin. Both the ePub 2 and ePub 3 output looks great, and all the footnotes in the posts work precisely as intended. Great!

    But there are two things the plugin doesn’t handle so well (yet). The first is that the only things picked up for the Table of Contents are the titles of each post. So section headings within a post do not appear.

    That wouldn’t matter so much if I could add these ToC entries manually, for which I’d use Sigil. But, when I try to open either version of the ePub with Sigil, I get
    Cannot load EPUB: Unable to read OPF file. Line: 8 Column 68 - Expected '#' or '[a-zA-Z]', but got ' '.

    The second issue is that my site uses the CSS Plus plugin to add custom CSS to each post. (This is because each paragraph within each post is numbered and, since the posts are sequential, most don’t start at 1.) Unfortunately, while this plugin does pick up the fact that every paragraph is numbered, it doesn’t pick up the right numbers, and starts every post at 1.

    Would it be possible to make this plugin compatible with any of these features?

    Thank you!

    https://wordpress.org/plugins/mpl-publisher/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author ferranfg

    (@ferranfg)

    Hi KTS915,

    Sorry for the delay and thank you for your feedback.

    I will look into each point you reported. I know there’s some issue related with the paragraph and the deault html format that WP outputs with the_content(). Some user reported me also something similar days ago and I’m thinking both are related. I found 2 days ago wpautop (my bad) and maybe it could be the solution.

    Anyway, like I said, I will keep this open and try to solve it for the next release. It should be easy 😉

    Thanks!

    Thread Starter KTS915

    (@kts915)

    Thanks for the positive response! I look forward to seeing what you can come up with.

    And please don’t apologize for not replying sooner. You are providing a plugin for free. It would be quite unreasonable to expect an instant response.

    Thanks again!

    Plugin Author ferranfg

    (@ferranfg)

    Hi KTS915,

    I’ve been looking into these issues and it’s strange because I could open the files in any situation, no stoppable error. I think it’s related with the fields you set (maybe some white space?) but I’m not 100% sure.

    If it’s not too private, could you send me the generated file at my email? <hola@ferranfigueredo.com> I would like to take a look into it.

    Thanks,

    Thread Starter KTS915

    (@kts915)

    Just to be clear, I can open the file in a regular ePub reader without a problem.

    It’s opening it in Sigil (see https://github.com/Sigil-Ebook/Sigil/releases/tag/0.8.7) in order to add more details to the Table of Contents that generates the error message. Have you tried that?

    Plugin Author ferranfg

    (@ferranfg)

    Hi KTS915,

    Yep, I tried to open the file with Sigil (0.8.6 at first and then 0.8.7) and all seems fine. I tried to even validate the file with FlightCrew and it gets some errors, but nothing similar to what you pasted.

    If you can send me some screenshots it will be great. I’m sure it’s a real error but I just want to find a way to reproduce it.

    Thread Starter KTS915

    (@kts915)

    Well, now I’m really intrigued!

    I have just emailed you a copy of one of the ePub files so that you can take a look.

    Thanks very much!

    Thread Starter KTS915

    (@kts915)

    The developer has been really helpful and produced an updated version of the plugin that can now be imported into Sigil, so that (a) I can add or modify the ToC as I wish, and (b) I can insert the Custom CSS.

    It’s great — thank you!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Problems with ToC/Sigil and custom CSS’ is closed to new replies.