Comments (7)
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.
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.
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.
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.
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.
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.
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)
- Meta data for EPUB output HOT 1
- Missing AsciiDoc macro for 'menu:' HOT 3
- Makefile: missing FILE name for target doctor-html HOT 1
- pdiffs.txt: missing ';'? HOT 2
- asciidoc.conf: 'docinfo' attrib. warning for purehtml target HOT 3
- Change directory layout and include:: macro calls in a way which is compatible with Gitbook.io
- "// Datei:" header no more needed since we no more need to export stuff into an SVN
- Table of contents: sometimes no space between chapter number and chapter name HOT 1
- Hello HOT 3
- Recursiv alle Build-Depends* anzeigen
- Fehler bei "Paketcache aufräumen" HOT 2
- Prioritäten zu APT-Pinning in Grenzbereichen unpräzise
- 'docbook-xsl.css' and images should be included in .deb HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dpmb.