Jean-Philippe MENGUAL wrote:
> On samedi 11 mai 2013 à 20:20:27 (-0500), Bruce Dubbs wrote:
>>
>> Oh, sorry.  That's done with:
>>
>> xmllint --nonet --noent --xinclude --postvalid \
>>        -o $(RENDERTMP)/lfs-full.xml index.xml
>
> I get: http://sprunge.us/CCMY. It doesn't find some files (whereas it works 
> for
> html), and some of them exist, such as chapter07/site.xml.

Look at the Makefile.  The order is tmpdir validate pdf

Each set of instructions needs to be done in order.


>> ./aux-file-data.sh $(RENDERTMP)/lfs-full.xml
>>
>>
>>>> sed -i -e 's/span="inherit"/span="all"/' $(RENDERTMP)/lfs-pdf.fo
>>>> fop $(RENDERTMP)/lfs-pdf.fo $(BASEDIR)/$(PDF_OUTPUT)
>>>>
>>>> I do not think it needs junit, but it definitely needs java.
>>>
>>> I use Java, that is sure. The problem is that log is not explicit.
>>> I get:
>>> Validating the book... Validation complete. Generating profiled XML for 
>>> PDF...
>>> Generating FO file... Making portrait pages on USletter paper (8.5inx11in)
>>>    Generating PDF file...
>>>    make: *** [pdf] Error 1
>>
>> That's from the Makefile.  Try removing -q from the fop instruction.
>> You can also try adding -d (debug switch).
>
> Ok I tried, nothing more verbose.
>
> Don't you think we could add on the lfs server the infrastructure to generate
> the books, installing all needed to generate html, pdf, txt formats? It'd 
> allow
> to have a clean infrastructure for generating stable relea;es in these 
> formats.

We haven't done the txt format for years.  The server can generate the 
pdf, but we only do that for stable releases.  The SVN changes too often 
for the pdf to be useful.

> Anyway I still don't understand why my pdf infrastructure fails. I've not 
> installed
> Java in /opt but in /usr/local, but as I updated variables according to this,
> I don't think it is the reason.

I haven't checked java/fop on my system in several years.  Other than 
creating the stable pdf versions of LFS, I don't have any use for it. 
We don't create pdf for BLFS for the same reason we don't do it for SVN.

   -- Bruce

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to