Hi Matt, On Tue, Nov 8, 2011 at 3:38 AM, mattn <[email protected]> wrote: > a2x is not seeking --xsl-file using the resources file search. I can > only give a full path. > > The problem I'm trying to solve is that I have two different books > and > I want to specify a different --xsl-file for each, without using a > different name for the xsl file. My hope is to keep a copy of each > xsl > file in the source file directory, where it would be found first > using > the resources file search. > > But of course this might be completely impossible; perhaps there are > other reasons why a2x can only accept a full path for the xsl-file. I > do understand that the xsl file is not a "resource" in > the traditional sense.
a2x just passes the xsl-file option to xsltproc unchanged. The rules for how absolute and relative files are interpreted are therefore imposed by xsltproc not a2x. The behaviour of a2x should not be changed IMHO because it will break all existing build scripts. Cheers Lex -- You received this message because you are subscribed to the Google Groups "asciidoc" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/asciidoc?hl=en.
