progit2 icon indicating copy to clipboard operation
progit2 copied to clipboard

Issues with local build of book

Open rahrah opened this issue 9 years ago • 3 comments

Hi,

See issue #182

Building from the source cloned from github using:

bundle exec rake book:build

  1. Creates a pdf without page numbers.

  2. Creates a single page html with a last updated field as that of the time and date stamp on the file progit.asc rather than the date of the last commit. If the last updated needs to be there at at, could be found from the last commit. Or even something crude like this:

touch --date="$(git log --date=iso -1 |grep ^Date | sed 's/^Date:\s\+//')" progit.asc

Better still, put the the commit id in, too.

Could there not be the option for a multi page build (as there is in the atlas build), and with links to the contents (as there used to be in the atlas build)?

Building the pdf with bare (versions below) asciidoctor-pdf does work with page numbers, but does not like:

book/04-git-server/sections/gitlab.asc lines 15 and 16. It barfs on the url and the &rarr.

Asciidoctor PDF 1.5.0.alpha.11 using Asciidoctor 1.5.4.

Can't work out why:

bundle exec asciidoctor-pdf progit.asc is different to: asciidoctor-pdf progit.asc progit.asc both seem to be the same version.

===Rich

rahrah avatar Mar 17 '16 19:03 rahrah

Suppose the (see issue #182) in title should be deleted!

YueLinHo avatar Mar 18 '16 01:03 YueLinHo

I fixed it by changing the HTML entity to an XML entity... From this --> (accessed by typing alt-&arr;); to this --> (accessed by typing alt-→);

zombiRon avatar Mar 22 '17 14:03 zombiRon

What is a current status of this issue?

KZiemian avatar Aug 27 '22 14:08 KZiemian