Giter Club home page Giter Club logo

Comments (7)

hofmannedv avatar hofmannedv commented on May 16, 2024

Hi xaosfiftytwo,

current release works perfectly, and builds HTML, ePub, and PDF. You may need to install the packages asciidoc, and dblatex to create a pdf file.

HTH,

Frank

from dpmb.

xtaran avatar xtaran commented on May 16, 2024

Hi xaosfiftytwo,

any chance that you are running Debian 7 Squeeze or Ubuntu 12.04 LTS Precise? Because it's known that dblatex in these releases is too old to work with the book.

from dpmb.

xaosfiftytwo avatar xaosfiftytwo commented on May 16, 2024

Hi guys,

As mentioned in the title, I am running Debian unstable. Plus some packages from experimental. Perhaps it is that combination that triggers the error. I will come back to you when I have some more info.
Thanks for the prompt reaction.

from dpmb.

xtaran avatar xtaran commented on May 16, 2024

As mentioned in the title, I am running Debian unstable.

Oh, sorry, didn't notice that there's more information in the title. My fault.

More information would be cool. Especially if we have to expect that it will FTBFS in the future.

Then again, I'm most time building the book on Debian Unstable, too, so I should notice rather soon, too.

from dpmb.

benediktahrens avatar benediktahrens commented on May 16, 2024

TL;DR: add 'texlive-lang-german' to the install instructions.

I am using Debian 8 (jessie aka stable), where building the pdf target fails as well:

~/git/dpmb/dpmb$ make pdf
a2x -f pdf -L debian-paketmanagement.txt
a2x: ERROR: "dblatex" -t pdf -p "/etc/asciidoc/dblatex/asciidoc-dblatex.xsl" -s "/etc/asciidoc/dblatex/asciidoc-dblatex.sty" "/home/ahrens/git/dpmb/dpmb/debian-paketmanagement.xml" returned non-zero exit status 1
Makefile:14: recipe for target 'pdf' failed
make: *** [pdf] Error 1

Executing the above command yields
$ "dblatex" -t pdf -p "/etc/asciidoc/dblatex/asciidoc-dblatex.xsl" -s "/etc/asciidoc/dblatex/asciidoc-dblatex.sty" "/home/ahrens/git/dpmb/dpmb/debian-paketmanagement.xml"
Build the book set list...
Build the listings...
XSLT stylesheets DocBook - LaTeX 2e (0.3.5-2)

Don't know what gentext to create for xref to: "informalfigure" (linkend=fig.ara-suche)
Image 'dblatex' not found
Build debian-paketmanagement.pdf
pdflatex failed
/usr/share/texlive/texmf-dist/tex/generic/babel/babel.sty:299: Package babel Error: Unknown option `ngerman'. Either you misspelled it
/usr/share/texlive/texmf-dist/tex/generic/babel/babel.sty:299: leading text: \ProcessOptions*
/usr/share/texlive/texmf-dist/tex/generic/babel/babel.sty:332: Package babel Error: You haven't specified a language option.
/usr/share/texlive/texmf-dist/tex/generic/babel/babel.sty:332: leading text: ...ry to proceed from here, type x to quit.}
debian-paketmanagement.tex:52: Undefined control sequence \shorthandoff.
debian-paketmanagement.tex:52: leading text: \begin{document}
Unexpected error occured
Error: pdflatex compilation failed

As mentioned at the beginning,

apt install texlive-lang-german

remedied the problem.

EDIT: removed terminal output line of equal signs that was interpreted as markup

from dpmb.

xtaran avatar xtaran commented on May 16, 2024

Hi Benedikt,

On Sun, Aug 23, 2015 at 09:46:10AM -0700, Benedikt Ahrens wrote:

TL;DR: add 'texlive-lang-german' to the install instructions.

Thanks. I was quite sure that I tested to build the book in pbuilder
to verify the build-dependencies. Chances are though that I wasn't
able to finish this test due the gcc5 transition which is currently
happening in Sid.

I though remember that I had to add it for building the book on Travis
CI.

Will soon update the installation instructions accordingly.

Thanks!

    Kind regards, Axel

/~\ Plain Text Ribbon Campaign | Axel Beckert
\ / Say No to HTML in E-Mail and News | [email protected] (Mail)
X See http://www.nonhtmlmail.org/campaign.html | [email protected] (Mail+Jabber)
/ \ I love long mails: http://email.is-not-s.ms/ | http://abe.noone.org/ (Web)

from dpmb.

xtaran avatar xtaran commented on May 16, 2024

Closed #2 by merging pull-request #3.

Actually xmlto seems to be needed, too. Not sure if that's installed by default on the Travis CI VMs.

The book now builds fine inside a clean Debian Sid pbuilder chroot.

from dpmb.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.