Problem generating docbooks for calligraplan
Albert Astals Cid
aacid at kde.org
Thu Dec 28 20:56:58 GMT 2023
El dimarts, 26 de desembre de 2023, a les 14:14:40 (CET), Freek de Kruijf va
escriure:
> When generating docbooks for calligraplan I get the following error message,
> which is repeated an additional 3 times:
> A nl/docs/calligraplan/calligraplan/portfolio/index.docbook
> index.docbook:69: element sect1: validity error : Element sect1 content does
> not follow the DTD, expecting (sect1info? , (title , subtitle? ,
> titleabbrev?) , (toc | lot | index | glossary | bibliography)* ,
> (((calloutlist | glosslist
> | bibliolist | itemizedlist | orderedlist | segmentedlist | simplelist |
>
> variablelist | caution | important | note | tip | warning | literallayout |
> programlisting | programlistingco | screen | screenco | screenshot |
> synopsis
> | cmdsynopsis | funcsynopsis | classsynopsis | fieldsynopsis |
>
> constructorsynopsis | destructorsynopsis | methodsynopsis | formalpara |
> para
> | simpara | address | blockquote | graphic | graphicco | mediaobject |
>
> mediaobjectco | informalequation | informalexample | informalfigure |
> informaltable | equation | example | figure | table | msgset | procedure |
> sidebar | qandaset | task | anchor | bridgehead | remark | highlights |
> abstract | authorblurb | epigraph | indexterm | beginpage)+ , (refentry* |
> sect2* | simplesect*)) | refentry+ | sect2+ | simplesect+) , (toc | lot |
> index | glossary | bibliography)*), got (title )
> &scheduling;
> ^
> &scheduling; is defined as:
> <!ENTITY scheduling SYSTEM "schedulingview.docbook">
> Generating this docbook shows no error.
> the file .../documentation/calligraplan/calligraplan/portfolio/
> schedulingview.docbook shows 4 sect1 sections. The last 2 are virtually
> empty; it is work in progress!
>
> Something wrong with syntax of a sect1 section there?
The original file has a sect1 with an empty para inside, that confuses the
code we have that makes the roundtrip from docbook to po and back to dockbook.
I've added some text to the original sect1 and hopefully that will make it so
that you can generate the documentation (tomorrow once templates are
regenerated).
Cheers,
Albert
More information about the kde-i18n-doc
mailing list