Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

html and pdf tools provide chapters, but no complete book. Also, pdf version missing chapter titles. #246

Open
dha opened this issue Jun 1, 2015 · 0 comments

Comments

@dha
Copy link

dha commented Jun 1, 2015

Issue #223 notes that when building the html version of the book, no index is created. I note that, also, there is no link to the previous and next chapters in any of the html chapters. Further, the pdf build tool provides the chapters, but no full book. The epub tool does give you an actual book.

Another oddity is that the pdf chapters do not have chapter titles, while the html versions do.

For what it's worth, using multi_pdf.pl (at https://gist.github.com/wki/2277444) seems to stitch together the chapters into a pdf book - although it looks a bit off, with the missing chapter titles.

I'm going to try to investigate further and try to come up with a possible patch, but I figured I'd put this out there, as I'm sure someone smarter than me will whip up a solution within the hour. :-)

Just in case this is just an oddity with my system or my particular perl, here's the details...

(OS X 10.10.3)

Summary of my perl5 (revision 5 version 20 subversion 2) configuration:

Platform:
osname=darwin, osvers=14.1.0, archname=darwin-2level
uname='darwin davids-macbook-pro.local 14.1.0 darwin kernel version 14.1.0: mon dec 22 23:10:38 pst 2014; root:xnu-2782.10.72~2release_x86_64 x86_64 '
config_args='-de'
hint=recommended, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include',
optimize='-O3',
cppflags='-fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
ccversion='', gccversion='4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.56)', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags =' -fstack-protector -L/usr/local/lib'
libpth=/usr/local/lib /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.0/lib /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib /usr/lib
libs=-lgdbm -ldbm -ldl -lm -lutil -lc
perllibs=-ldl -lm -lutil -lc
libc=, so=dylib, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags=' -bundle -undefined dynamic_lookup -L/usr/local/lib -fstack-protector'

Characteristics of this binary (from libperl):
Compile-time options: HAS_TIMES PERLIO_LAYERS PERL_DONT_CREATE_GVSV
PERL_HASH_FUNC_ONE_AT_A_TIME_HARD PERL_MALLOC_WRAP
PERL_NEW_COPY_ON_WRITE PERL_PRESERVE_IVUV
USE_64_BIT_ALL USE_64_BIT_INT USE_LARGE_FILES
USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE
USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF
Built under darwin
Compiled at Mar 25 2015 10:54:11
@inc:
/usr/local/lib/perl5/site_perl/5.20.2/darwin-2level
/usr/local/lib/perl5/site_perl/5.20.2
/usr/local/lib/perl5/5.20.2/darwin-2level
/usr/local/lib/perl5/5.20.2
/usr/local/lib/perl5/site_perl/5.20.0/darwin-2level
/usr/local/lib/perl5/site_perl/5.20.0
/usr/local/lib/perl5/site_perl/5.16.0
/usr/local/lib/perl5/site_perl
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant