On 03/23/2011 01:58 PM, Gaetan Nadon wrote:
On Tue, 2011-03-22 at 14:25 -0700, Dan Nicholson wrote:
If you pass -x to xmlto instead of -m, you can use a full stylesheet
instead of a fragment. Moving to xsltproc means you have to duplicate
the internal smarts of xmlto.
I have verified -x works as described. This removes one issue with
xmlto. I would be happy with it if we were simply generating docs. But
other issues remain.
Generating target dbs. It is more difficult with xmlto. It resolves
around the fact that we just need an xsl for html and one for fo. Xmlto
runs 4 times, one for each format. The html xsl is used for html and
text while the fo xsl is used for pdf and ps.
If I generate the target dbs while generating the doc, I end up with too
may files, incorrect extensions and dealing with one tool producing
multiple outpouts.
If I generate the target dbs on their own, I end up with an extra pdf
file which overwrites the previously generated pdf for the fo format.
Xmlto fails when collect.xref.targets="only" as it expects the doc in
/tmp to be there.
Is this a problem in parallel makes? (make -j3)
_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel