Epubs built by PreText yields errors when submitted to Google Books
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 45/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- css
- Área
- build-system
Línea de trabajo
Start by building an EPUB and inspecting the generated EPUB/css/epub.css around lines 1004-1007 and 1379-1385, where Google Books rejects .code-display, .autopermalink, and a. Trace those rules back to the XSLT/CSS templates that emit the EPUB stylesheet, then reproduce with an EPUB build and compare epubcheck output against Google Books' parser. Done means the generated CSS no longer contains the rejected constructs and Google Books accepts the EPUB.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Despite the build to epub yielding 0 errors, and the output epub passing epubcheck with 0 errors as well, I get these errors when I submit the epub to Google Books:
EPUB/css/epub.css:1004, 20: An error occurred while parsing the CSS: Token ".code-display" not allowed here.
EPUB/css/epub.css:1004, 20: An error occurred while parsing the CSS: Token ".code-display" not allowed here.
EPUB/css/epub.css:1007, 20: An error occurred while parsing the CSS: Token ".code-display" not allowed here.
EPUB/css/epub.css:1007, 20: An error occurred while parsing the CSS: Token ".code-display" not allowed here.
EPUB/css/epub.css:1379, 18: An error occurred while parsing the CSS: Token ".autopermalink" not allowed here.
EPUB/css/epub.css:1379, 18: An error occurred while parsing the CSS: Token ".autopermalink" not allowed here.
EPUB/css/epub.css:1382, 18: An error occurred while parsing the CSS: Token ".autopermalink" not allowed here.
EPUB/css/epub.css:1382, 18: An error occurred while parsing the CSS: Token ".autopermalink" not allowed here.
EPUB/css/epub.css:1385, 20: An error occurred while parsing the CSS: Token "a" not allowed here.
EPUB/css/epub.css:1385, 20: An error occurred while parsing the CSS: Token "a" not allowed here.
May I know why is this so, and how to solve?
(Screenshot attached below also:)
- Lenguaje dominante
- XSLT
- Estrellas
- 466
- Forks
- 251
- Merge medio
- 4 min
- PR fusionados (30 d)
- 13
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de PreTeXtBook/pretext
-
The print preview leaves writing space short by the margins of hidden headers, footers and solutionsAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
PreTeXtBook/pretext#3329 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 82/100
PreTeXtBook/pretext#3305 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
PreTeXtBook/pretext#3297 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
PreTeXtBook/pretext#3285 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
PreTeXtBook/pretext#3283 ·
Los mantenedores suelen responder en 1 día
Todos los issues de PreTeXtBook/pretext
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
NativeScript/ios#577 ·
Los mantenedores suelen responder en 1 día
-
bot:ai-assisted component:platform-js status:untriaged
Dificultad 1/5 Menos de una hora Aptitud para principiantes 74/100
midnightntwrk/platform-js#38 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
oxc-project/tsrs#1010 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 73/100
rubys/roundhouse#2217 ·