|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
problem creating PDFHi,
I can use gtk-doc to create HTML web page successfully. However, when I use command "docbook2pdf myapp-docs.sgml" to create PDF file, I got a lot of error like these: ... jade:/home/kc/myapp/docs/manual/xml/onet.xml:24:72:X: reference to non-existent ID "gint" jade:/home/kc/myapp/docs/manual/xml/onet.xml:82:72:X: reference to non-existent ID "gint" jade:/home/kc/myapp/myapp/docs/manual/xml/mtimer.xml:28:15:X: reference to non-existent ID "gdouble" jade:/home/kc/myapp/myapp/docs/manual/xml/mtimer.xml:144:95:X: reference to non-existent ID "gdouble" ... My app is a C application use glib2 ... the "gint" and "gdouble" is part of my API's function prototype. How could I avoid such error ? Thanks a lot. Regards, KC _______________________________________________ gtk-doc-list mailing list gtk-doc-list@... http://mail.gnome.org/mailman/listinfo/gtk-doc-list |
|
|
Re: problem creating PDFhi,
Kuang-Chun Cheng schrieb: > Hi, > > I can use gtk-doc to create HTML web page successfully. > However, when I use command > "docbook2pdf myapp-docs.sgml" to create PDF file, I got a lot of error > like these: > > ... > jade:/home/kc/myapp/docs/manual/xml/onet.xml:24:72:X: reference to > non-existent ID "gint" > jade:/home/kc/myapp/docs/manual/xml/onet.xml:82:72:X: reference to > non-existent ID "gint" > jade:/home/kc/myapp/myapp/docs/manual/xml/mtimer.xml:28:15:X: reference > to non-existent ID "gdouble" > jade:/home/kc/myapp/myapp/docs/manual/xml/mtimer.xml:144:95:X: reference > to non-existent ID "gdouble" > ... > > My app is a C application use glib2 ... the "gint" and "gdouble" is part > of my > API's function prototype. > > How could I avoid such error ? Thanks a lot. The generated pdf document should still be okay. gtkdoc add cross-references to other libraries. For html, they are resolved, but intermediately they are invalid. That what jade complains about here. I plan to improve format support in 1.12. Stefan _______________________________________________ gtk-doc-list mailing list gtk-doc-list@... http://mail.gnome.org/mailman/listinfo/gtk-doc-list |
|
|
Re: problem creating PDFThanks for reply.
On Sat, Nov 22, 2008 at 4:08 AM, Stefan Kost <ensonic@...> wrote: hi, My problem is ... jade will complain: jade:I: maximum number of errors (200) reached; change with -E option make: *** [pdf] Error 8 and no PDF will be generated. If I can generate the PDF with broken cross-references ... that will be good enough for me. Any idea how to do that ? Thanks Regards KC
_______________________________________________ gtk-doc-list mailing list gtk-doc-list@... http://mail.gnome.org/mailman/listinfo/gtk-doc-list |
|
|
Re: problem creating PDFOn Sat, Nov 22, 2008 at 4:25 AM, Kuang-Chun Cheng <kccheng@...> wrote: Thanks for reply. After looking at script source code of both /usr/bin/docbook2pdf and /usr/bin/jw directly, I add an options "-e no-valid" to docbook2pdf. Command docbook2pdf -e no-valid myapp-docs.sgml can generate the PDF :-) I still don't know how "-e no-valid" will affect the output PDF, but so far it's good enough for me. Also, option "-e no-idref" will also generate the PDF too. Regards KC
_______________________________________________ gtk-doc-list mailing list gtk-doc-list@... http://mail.gnome.org/mailman/listinfo/gtk-doc-list |
|
|
Re: problem creating PDFhi,
Kuang-Chun Cheng schrieb: > > > On Sat, Nov 22, 2008 at 4:25 AM, Kuang-Chun Cheng > <kccheng@... <mailto:kccheng@...>> wrote: > > Thanks for reply. > > On Sat, Nov 22, 2008 at 4:08 AM, Stefan Kost > <ensonic@... <mailto:ensonic@...>> wrote: > > hi, > > Kuang-Chun Cheng schrieb: > > Hi, > > > > I can use gtk-doc to create HTML web page successfully. > > However, when I use command > > "docbook2pdf myapp-docs.sgml" to create PDF file, I got a lot > of error > > like these: > > > After looking at script source code of both /usr/bin/docbook2pdf and > /usr/bin/jw directly, > I add an options "-e no-valid" to docbook2pdf. Command > > docbook2pdf -e no-valid myapp-docs.sgml > > can generate the PDF :-) I still don't know how "-e no-valid" will > affect the output > PDF, but so far it's good enough for me. > > Also, option "-e no-idref" will also generate the PDF too. > generating pds or integrate such an option as well. Stefan > > Regards > KC > > > > > > > ... > > jade:/home/kc/myapp/docs/manual/xml/onet.xml:24:72:X: reference to > > non-existent ID "gint" > > jade:/home/kc/myapp/docs/manual/xml/onet.xml:82:72:X: reference to > > non-existent ID "gint" > > jade:/home/kc/myapp/myapp/docs/manual/xml/mtimer.xml:28:15:X: > reference > > to non-existent ID "gdouble" > > jade:/home/kc/myapp/myapp/docs/manual/xml/mtimer.xml:144:95:X: > reference > > to non-existent ID "gdouble" > > ... > > > > My app is a C application use glib2 ... the "gint" and > "gdouble" is part > > of my > > API's function prototype. > > > > How could I avoid such error ? Thanks a lot. > > The generated pdf document should still be okay. gtkdoc add > cross-references to > other libraries. For html, they are resolved, but intermediately > they are > invalid. That what jade complains about here. > > > My problem is ... jade will complain: > jade:I: maximum number of errors (200) reached; change with -E option > make: *** [pdf] Error 8 > > and no PDF will be generated. > If I can generate the PDF with broken cross-references ... that will be > good enough for me. Any idea how to do that ? Thanks > > Regards > KC > > > > > I plan to improve format support in 1.12. > > Stefan > > > _______________________________________________ gtk-doc-list mailing list gtk-doc-list@... http://mail.gnome.org/mailman/listinfo/gtk-doc-list |
| Free embeddable forum powered by Nabble | Forum Help |