[svnbook:tickets] Re: #278 Unable to build pdf from source
C. Michael Pilato
cmpilato at users.sourceforge.net
Thu Aug 26 13:24:47 UTC 2021
I agree that line endings are the likely problem. I suspect that the average non-SVN-dev building the book from source are a rarity (sorry Thomas -- it just means you're special!). For such, the workaround you've suggested should be sufficient. I don't see a reason to change the `svn:eol-style` property to accommodate this scenario, especially when one can also choose to use `svn export --native-eol=LF` on such systems to get the book sources (albeit not in a working copy) into the necessary line-ending format without additional tooling/scripting required.
** [tickets:#278] Unable to build pdf from source**
**Created:** Thu May 03, 2018 07:00 AM UTC by Thomas Due
**Last Updated:** Thu Aug 26, 2021 12:39 AM UTC
I have next to no experience with Unix systems, so I found and followed this guide to getting the book to build on my Windows 10 system:
This works fine for HTML, but I want a PDF. And here it fails with this:
> make all
xmllint --noout --valid book/book.xml
if ! test -e "../tools/xsl"; then ../tools/bin/find-xsl.py; fi
xsltproc --param fop1.extensions 1 --output book/svn-book.fo \
`[ -d stylesheets ] && echo stylesheets || echo ../tools`/fo-stylesheet.xsl book/book.xml
Making portrait pages on USletter paper (8.5inx11in)
../tools/bin/run-fop.sh -fo book/svn-book.fo -pdf book/svn-book.pdf
: not foundn/run-fop.sh: 2: ../tools/bin/run-fop.sh:
: not foundn/run-fop.sh: 9: ../tools/bin/run-fop.sh:
../tools/bin/run-fop.sh: 35: ../tools/bin/run-fop.sh: Syntax error: word unexpected (expecting "do")
../tools/Makefile.base-rules:69: recipe for target 'book/svn-book.pdf' failed
make: *** [book/svn-book.pdf] Error 2
I am guessing I am missing something on my Linux sub-system, but what?
Sent from sourceforge.net because svnbook-dev at red-bean.com is subscribed to https://sourceforge.net/p/svnbook/tickets/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/svnbook/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the svnbook-dev