Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kindlegen is producing an error from titles #33

Open
reuven opened this issue Jul 27, 2014 · 3 comments
Open

Kindlegen is producing an error from titles #33

reuven opened this issue Jul 27, 2014 · 3 comments

Comments

@reuven
Copy link
Contributor

reuven commented Jul 27, 2014

I run "rake deliverables", and get the following message from kindlegen:

Error(opfparser):E20006: There are more than one title defined in OPF metadata. 
But none of them is refined with "title-type" as "main" title. Refer 
http://idpf.org/epub/30/spec/epub30-publications.html#sec-opf-dctitle for more info.

My Rakefile contains the following:

  config.author              = "Reuven M. Lerner"
  config.title               = "Practice Makes Python"

Should I be setting the title elsewhere? Is there another parameter I should be setting? Is Kindlegen broken?

@avdi
Copy link
Owner

avdi commented Jul 28, 2014

Interesting. This might actually be a new issue due to one of the tools changing (either kindlegen or pandoc, at a guess).

@avdi
Copy link
Owner

avdi commented Jul 28, 2014

(This really highlights the need to get away from Pandoc for EPUB generation; there's just not enough control.)

@reuven
Copy link
Contributor Author

reuven commented Jul 28, 2014

If it's any help, here's what I have for pandoc:

$ pandoc --version
pandoc 1.12.3
Compiled with texmath 0.6.6.1, highlighting-kate 0.5.6.1.
Syntax highlighting is supported for the following languages:
    actionscript, ada, apache, asn1, asp, awk, bash, bibtex, boo, c, changelog,
    clojure, cmake, coffee, coldfusion, commonlisp, cpp, cs, css, curry, d,
    diff, djangotemplate, doxygen, doxygenlua, dtd, eiffel, email, erlang,
    fortran, fsharp, gnuassembler, go, haskell, haxe, html, ini, java, javadoc,
    javascript, json, jsp, julia, latex, lex, literatecurry, literatehaskell,
    lua, makefile, mandoc, markdown, matlab, maxima, metafont, mips, modelines,
    modula2, modula3, monobasic, nasm, noweb, objectivec, objectivecpp, ocaml,
    octave, pascal, perl, php, pike, postscript, prolog, python, r,
    relaxngcompact, restructuredtext, rhtml, roff, ruby, rust, scala, scheme,
    sci, sed, sgml, sql, sqlmysql, sqlpostgresql, tcl, texinfo, verilog, vhdl,
    xml, xorg, xslt, xul, yacc, yaml
Default user data directory: /Users/reuven/.pandoc
Copyright (C) 2006-2013 John MacFarlane
Web:  http://johnmacfarlane.net/pandoc
This is free software; see the source for copying conditions.  There is no
warranty, not even for merchantability or fitness for a particular purpose.

And for kindlegen:

*************************************************************
 Amazon kindlegen(MAC OSX) V2.9 build 0730-890adc2
 A command line e-book compiler
 Copyright Amazon.com and its Affiliates 2013
*************************************************************

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants