Closed tbazant closed 6 months ago
i've dug a little deeper and the /usr/share/daps/libexec/daps-xslt
command above runs the following command in fact:
/usr/bin/xsltproc --xinclude --stringparam converter.url "https://opensuse.github.io/daps" --stringparam converter.version "4.0.beta1" --stringparam converter.name "DAPS" --stringparam img.src.path "images/" --stringparam draft.mode "no" --stringparam base.dir "/home/tbazant/doc/doc-modular/build/alp-dolomite/html/alp-dolomite/" --stringparam use.id.as.filename "1" --stringparam show.comments "0" /usr/share/xml/docbook/stylesheet/suse2022-ns/xhtml/chunk.xsl /home/tbazant/doc/doc-modular/build/.profiled/alp-deployment-all_alp-dolomite/alp-dolomite.asm.xml
but there is a glitch: the file /home/tbazant/doc/doc-modular/build/.profiled/alp-deployment-all_alp-dolomite/alp-dolomite.asm.xml
should be a profiled bigfile, but it is not. it is the original assembly file only.
i also tried manual steps:
# xsltproc --output /tmp/bigfile.xml /usr/share/xml/docbook/stylesheet/nwalsh/assembly/assemble.xsl articles/alp-dolomite.asm.xml
# xsltproc --output /tmp/profiled_bigfile.xml --stringparam profile.os "alp-dolomite" /usr/share/daps/daps-xslt/profiling/docbook51-profile.xsl /tmp/bigfile.xml
# xsltproc /usr/share/xml/docbook/stylesheet/suse2022-ns/xhtml/chunk.xsl /tmp/profiled_bigfile.xml
and it works just fine, hope this helps
This bug has my upvote!
@fsundermeyer the problem here is that daps cannot compile a bigfile for assemblies on debian. can you outline to me what daps does or which files it calls to create a bigfile? i may be able to identify the problem myself ?!?
Fixed with 872b4719d9d306428452
Problem description
i'm running daps on debian stable 12, sources taken from
4.0beta2
branch, updatedgeekodoc
,docbook5
anddocbook-xsl
packages to use the latest code. When runningthe result fails on
the last line is repeated many times. In the output directory
/home/tbazant/doc/doc-modular/build/alp-dolomite/html/alp-dolomite/
, there is noindex.html
file.When manually running
the result is successfull
Expected behavior
daps
recognizes which templates to match for transforming the source and produces a valid doc tree with corresponding content.Steps to reproduce problem
always