Good morning,

On 4/08/12 at 2:32 AM -0700, Eelco Deuling <[email protected]> wrote:

I was wondering if there is a way to generate the .toc and .opf files with BBEdit: I think this could be done with a shell script or a regex text factory that wraps a list (based on file extensions or tags) but I do not know enough to make it work. Is there someone that could help me with this? It would be great if I could use only BBEdit.

One of the best things about BBEdit is the way it leverages scripting languages. And Perl is great at things like this due to the CPAN; which has things like EBook::Tools:

  <https://metacpan.org/module/EBook::Tools>

Use that to make a 'unix script' in BBEdit which creates the files for you. I can supply an example perl script (use as template for unix script) but I don't know enough about epubs to help with that part.


Charlie

--
   Ꮚ Charlie Garrison ♊ <[email protected]>

O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
〠  http://www.ietf.org/rfc/rfc1855.txt

--
--
You received this message because you are subscribed to the "BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
If you have a feature request or would like to report a problem, please email "[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>



Reply via email to