-
Notifications
You must be signed in to change notification settings - Fork 32
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
"title" tag is empty (epubcheck doesn't like it for epub3) #70
Comments
You can also use
But it is still best to use |
I was using an SVG file as the title page. When I tried to use the
|
Here's the
|
Seems like the |
You need to provide the title somewhere. You can it after
|
Thanks! With that, epubcheck is now reporting zero errors. What now remains is to figure out how to embed fonts into my SVG files. I've given up on trying to add these fonts into the book itself. |
It is usually best to include outlines in the SVG file. Dvisvgm can do that using |
Going through the I've tried https:/BTBurke/svg-embed-font and https:/phauer/svg-buddy for this. Both were very brittle and ultimately didn't work. I'm rather surprised that Inkscape seems to still lack the capacity to embed fonts into SVGs. |
I think you can only convert text to paths in Inkscape. It will probably result in a bigger file, but it should be quite portable. |
I did that for one of the fonts I'm using: "Animals". I'm getting the hang of embedding fonts directly into an SVG. As I wrap up for tonight, I think that I might be able to put the fonts into the EPUB and then have the |
Since we seem to be continuing a discussion on fonts in a closed issue, I opened up a new one specifically for this topic at #71. |
I ran into this, recently. Now, to fix this, can I just use this code somewhere in the LaTeX file?
Or is something else needed in order to make this work (like a config file that was mentioned before, for example)? |
@claell it is better to use the config file, but you can also add it to your TeX file if you really want. Something like this should work: \documentclass{article}
\begin{document}
\ifdefined\HCode
\Tag{TITLE+}{My title}
\Configure{SafeTitle}{My title}
\fi
\end{document} I use |
Alright, thanks for the quick reply! The reason why I ideally don't want to do it in the config file is that then I can't use a generalized one for all books, anymore. |
OK, that makes sense :) |
At the top of
bookname-epub/OEBPS/bookname.html
is this text:Note this text:
<title></title>
. epubcheck doesn't complain about this for epub2 files.Here's the top of the equivalent file for epub3 in ``bookname-epub3/OEBPS/bookname.xhtml`.
How can I insert something meaningful in that
<title></title>
environment?The text was updated successfully, but these errors were encountered: