Hi,
I'm trying to get an install of WikiPublisher working on my Ubuntu 12.04 laptop. The short version is I started working with Hugh of PressBooks.
Basically, as a test, I'm trying to pipe one of your pages through my server. (I got the URL by navigating your wiki)
Example:
The results I get are appended below.
The relevant errors are:
tbcommon.xsl: couldn't determine source path; no Saxon 6.5.x (relax)
warning: failed to load external entity "/home/dac514/code/PressBooks/_unversioned/wikibook-1.2.1/xml/tbook-temp-file-bib.xml"
xsltApplySequenceConstructor: fallback was not compiled
[..snip..]
And
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh
! LaTeX Error: File `extarticle.cls' not found.
[..snip]
Anyone seen anything like this?
Installed so far:
$ sudo apt-get install libapache2-mod-perl2
$ sudo apt-get install perlmagick
$ sudo apt-get install texlive-latex-base
$ sudo apt-get install xindy
$ sudo apt-get install xsltproc
$ sudo apt-get install libxml2-utils
$ sudo apt-get install g++
Commands run so far:
$ sudo texhash
Thank you for your time.
-=-=-
Wikibook Server version 1.2.1 (2012-09-15)
**** XMLLINT
**** Generated XML
1: <?xml version="1.0" encoding="iso-8859-1"?>
2: <!DOCTYPE article PUBLIC "-//Affinity Ltd//DTD wikibook 1.2a//EN"
4: <article xml:lang='en' style=''>
5: <title strapline="Book Guide">How to Produce a Book</title>
6: <author>Page from the WikiPublisher</author>
7: <date>19 September 2012 at 09:16 &AM;</date>
8: <!--XMLHeader--><abstract><p>Edited with an introduction by John Rankin</p></abstract>
9: <meta type="pagesize" value="A4" />
10: <meta type="duplex" value="on" />
11: <meta type="headingstyle" value="sans" />
12: <meta type="bodystyle" value="serif" />
13: <meta type="fontset" value="pslatex" />
14: <meta type="colorlinks" value="off" />
15: <meta type="urlstyle" value="on" />
16: <meta type="cover" value="off" />
17: <meta type="marginshift" value="off" />
18: <meta type="autonumber" value="0" />
19: <meta type="toc" value="off" />
20: <meta type="sectionnewpage" value="off" />
21: <meta type="ucsection" value="off" />
22: <meta type="parasep" value="indent" />
23: <meta type="justification" value="on" />
24: <meta type="hrstyle" value="105" />
25: <meta type="hrrepeat" value="off" />
26: <meta type="fontsize" value="11pt" />
27: <meta type="imagesize" value="regular" />
28: <meta type="floathere" value="off" />
29: <meta type="cfloatstyle" value="plaintop" />
30: <meta type="cfloatname" value="Example" />
31:
32:
33:
35: </p>
36: <table><tabular preamble="rL"><tabhead><row ><cell wrap='no'><visual markup='bf'> type</visual></cell><cell align='left' wrap='no'><visual markup='bf'>value </visual></cell></row></tabhead><tabbody><hline from="1" to="2" trim="lr" />
37: <row ><cell wrap='no'> title</cell><cell wrap='yes'>How to Produce a Book </cell></row>
38: <row ><cell wrap='no'> description</cell><cell wrap='yes'>Edited with an introduction by John Rankin </cell></row>
39: <row ><cell wrap='no'> keywords</cell><cell align='left' wrap='no'> </cell></row>
42: <row ><cell wrap='no'> about</cell><cell align='left' wrap='no'> </cell></row>
43: <row ><cell wrap='no'> dedication</cell><cell wrap='yes'>To the software giants on whose shoulders Wikipublisher stands </cell></row>
44: <row ><cell wrap='no'> epigraph</cell><cell wrap='yes'>The designer of a new system must not only be the implementor and the first large-scale user; the designer should also write the first user manual… If I had not participated fully in all these activities, literally hundreds of improvements would never have been made, because I would never have thought of them or perceived why they were important. — Donald E.&sp;Knuth </cell></row>
45: <row ><cell wrap='no'> isbn</cell><cell align='left' wrap='no'> </cell></row>
46: <row ><cell wrap='no'> year</cell><cell align='left' wrap='no'> </cell></row>
47: <row ><cell wrap='no'> rights</cell><cell align='left' wrap='no'>cc by-sa </cell></row>
48: <row ><cell wrap='no'> style</cell><cell align='left' wrap='no'> </cell></row>
49: <row ><cell wrap='no'> cfloat</cell><cell align='left' wrap='no'> </cell></row>
50: </tabbody></tabular><caption >Metadata for <visual markup='sc'>How to Produce a Book</visual></caption></table>
51: <p skip="med" /><description><term> Introduction<visual markup='sup'> (<url name='
http://www.wikipublisher.org/wiki/BookGuide/Introduction'>w</url>)</visual></term><item> If I have seen a little further it is by standing on the shoulders of Giants. — Isaac Newton
52: </item></description><section><heading>¶ Basic Books</heading>
54: </item></description></section><section><heading>¶ The Parts of a Book</heading>
55: <description><term> Front Matter<visual markup='sup'> (<url name='
http://www.wikipublisher.org/wiki/BookGuide/FrontMatter'>w</url>)</visual></term><item> Typography is the craft of endowing human language with a durable visual form. — Robert Bringhurst
56: </item><term> Main Matter<visual markup='sup'> (<url name='
http://www.wikipublisher.org/wiki/BookGuide/MainMatter'>w</url>)</visual></term><item> The person, be it gentleman or lady, who has not pleasure in a good novel, must be intolerably stupid. — Jane Austen
57: </item><term> Back Matter<visual markup='sup'> (<url name='
http://www.wikipublisher.org/wiki/BookGuide/BackMatter'>w</url>)</visual></term><item> The great tragedy of science: the slaying of a beautiful hypothesis by an ugly fact. — Thomas Huxley
58: </item></description></section><section><heading>¶ Custom Books</heading>
60: </item></description></section><section><heading>¶* Appendices</heading>
61: <description><term> Appendix: Technical Matters<visual markup='sup'> (<url name='
http://www.wikipublisher.org/wiki/BookGuide/TechnicalMatters'>w</url>)</visual></term><item> … though largely forgotten today, methods and rules upon which it is impossible to improve have been developed over centuries. To produce perfect books these rules have to be brought back to life and applied. — Jan Tschichold
62: </item><term skip="small"> Customisation<visual markup='sup'> (<url name='
http://www.wikipublisher.org/wiki/BookGuide/Customisation'>w</url>)</visual></term><item> We haven’t got the money, <newline />so we’ve got to think! — Ernest, Baron Rutherford of Nelson
64: </item></description></section>
65:
66: <!--XMLFooter-->
67: <!--PageFooterFmt-->
68: <colophon><hr />
69: <p skip='med'><url name='
http://www.wikipublisher.org/wiki/BookGuide/BookGuide'>http:<discy kind="/"/>/www<discy kind="."/>wikipublisher<discy kind="."/>org<discy kind="/"/>wiki<discy kind="/"/>Book<discy kind="G"/>uide<discy kind="/"/>Book<discy kind="G"/>uide</url></p>
70: <p>Page last modified 15 January 2012 at 05:04 &PM; ¶ Typeset by Wikipublisher</p>
71: <p >Copyright © 2005–2012 the Wikipublisher wiki and its authors
72: </p>
73:
74: </colophon>
75: </article>
*** processing images
*** images processed
*** XML processed
**** XSLTPROC
tbcommon.xsl: couldn't determine source path; no Saxon 6.5.x (relax)
warning: failed to load external entity "/home/dac514/code/PressBooks/_unversioned/wikibook-1.2.1/xml/tbook-temp-file-bib.xml"
xsltApplySequenceConstructor: fallback was not compiled
xsltApplySequenceConstructor: fallback was not compiled
warning: failed to load external entity "/home/dac514/code/PressBooks/_unversioned/wikibook-1.2.1/xml/tbook-temp-file-image-sizes.xml"
xsltApplySequenceConstructor: fallback was not compiled
xsltApplySequenceConstructor: fallback was not compiled
xsltApplySequenceConstructor: fallback was not compiled
xsltApplySequenceConstructor: fallback was not compiled
**** PDFLATEX
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
entering extended mode
(./doc.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, loaded.
! LaTeX Error: File `extarticle.cls' not found.
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: cls)
Enter file name:
! Emergency stop.
<read *>
l.2 ^^M
! ==> Fatal error occurred, no output PDF file produced!
Transcript written on doc.log.
**** Generated XML, with images
1: <?xml version="1.0" encoding="iso-8859-1"?>
2: <!DOCTYPE article PUBLIC "-//Affinity Ltd//DTD wikibook 1.2a//EN"
3: "file:///home/dac514/code/PressBooks/_unversioned/wikibook-1.2.1/xml/wikibook.dtd">
4: <article xml:lang='en' style=''>
5: <title strapline="Book Guide">How to Produce a Book</title>
6: <author>Page from the WikiPublisher</author>
7: <date>19 September 2012 at 09:16 &AM;</date>
8: <!--XMLHeader--><abstract><p>Edited with an introduction by John Rankin</p></abstract>
9: <meta type="pagesize" value="A4" />
10: <meta type="duplex" value="on" />
11: <meta type="headingstyle" value="sans" />
12: <meta type="bodystyle" value="serif" />
13: <meta type="fontset" value="pslatex" />
14: <meta type="colorlinks" value="off" />
15: <meta type="urlstyle" value="on" />
16: <meta type="cover" value="off" />
17: <meta type="marginshift" value="off" />
18: <meta type="autonumber" value="0" />
19: <meta type="toc" value="off" />
20: <meta type="sectionnewpage" value="off" />
21: <meta type="ucsection" value="off" />
22: <meta type="parasep" value="indent" />
23: <meta type="justification" value="on" />
24: <meta type="hrstyle" value="105" />
25: <meta type="hrrepeat" value="off" />
26: <meta type="fontsize" value="11pt" />
27: <meta type="imagesize" value="regular" />
28: <meta type="floathere" value="off" />
29: <meta type="cfloatstyle" value="plaintop" />
30: <meta type="cfloatname" value="Example" />
31:
32:
33:
35: </p>
36: <table><tabular preamble="rL"><tabhead><row ><cell wrap='no'><visual markup='bf'> type</visual></cell><cell align='left' wrap='no'><visual markup='bf'>value </visual></cell></row></tabhead><tabbody><hline from="1" to="2" trim="lr" />
37: <row ><cell wrap='no'> title</cell><cell wrap='yes'>How to Produce a Book </cell></row>
38: <row ><cell wrap='no'> description</cell><cell wrap='yes'>Edited with an introduction by John Rankin </cell></row>
39: <row ><cell wrap='no'> keywords</cell><cell align='left' wrap='no'> </cell></row>
40: <row ><cell wrap='no'> graphics</cell><cell align='left' wrap='no'><graphics kind="bitmap" file="0.jpg" width="3.17708333333333" height="3.21875" /> </cell></row>
42: <row ><cell wrap='no'> about</cell><cell align='left' wrap='no'> </cell></row>
43: <row ><cell wrap='no'> dedication</cell><cell wrap='yes'>To the software giants on whose shoulders Wikipublisher stands </cell></row>
44: <row ><cell wrap='no'> epigraph</cell><cell wrap='yes'>The designer of a new system must not only be the implementor and the first large-scale user; the designer should also write the first user manual… If I had not participated fully in all these activities, literally hundreds of improvements would never have been made, because I would never have thought of them or perceived why they were important. — Donald E.&sp;Knuth </cell></row>
45: <row ><cell wrap='no'> isbn</cell><cell align='left' wrap='no'> </cell></row>
46: <row ><cell wrap='no'> year</cell><cell align='left' wrap='no'> </cell></row>
47: <row ><cell wrap='no'> rights</cell><cell align='left' wrap='no'>cc by-sa </cell></row>
48: <row ><cell wrap='no'> style</cell><cell align='left' wrap='no'> </cell></row>
49: <row ><cell wrap='no'> cfloat</cell><cell align='left' wrap='no'> </cell></row>
50: </tabbody></tabular><caption >Metadata for <visual markup='sc'>How to Produce a Book</visual></caption></table>
51: <p skip="med" /><description><term> Introduction<visual markup='sup'> (<url name='
http://www.wikipublisher.org/wiki/BookGuide/Introduction'>w</url>)</visual></term><item> If I have seen a little further it is by standing on the shoulders of Giants. — Isaac Newton
52: </item></description><section><heading>¶ Basic Books</heading>
54: </item></description></section><section><heading>¶ The Parts of a Book</heading>
55: <description><term> Front Matter<visual markup='sup'> (<url name='
http://www.wikipublisher.org/wiki/BookGuide/FrontMatter'>w</url>)</visual></term><item> Typography is the craft of endowing human language with a durable visual form. — Robert Bringhurst
56: </item><term> Main Matter<visual markup='sup'> (<url name='
http://www.wikipublisher.org/wiki/BookGuide/MainMatter'>w</url>)</visual></term><item> The person, be it gentleman or lady, who has not pleasure in a good novel, must be intolerably stupid. — Jane Austen
57: </item><term> Back Matter<visual markup='sup'> (<url name='
http://www.wikipublisher.org/wiki/BookGuide/BackMatter'>w</url>)</visual></term><item> The great tragedy of science: the slaying of a beautiful hypothesis by an ugly fact. — Thomas Huxley
58: </item></description></section><section><heading>¶ Custom Books</heading>
60: </item></description></section><section><heading>¶* Appendices</heading>
61: <description><term> Appendix: Technical Matters<visual markup='sup'> (<url name='
http://www.wikipublisher.org/wiki/BookGuide/TechnicalMatters'>w</url>)</visual></term><item> … though largely forgotten today, methods and rules upon which it is impossible to improve have been developed over centuries. To produce perfect books these rules have to be brought back to life and applied. — Jan Tschichold
62: </item><term skip="small"> Customisation<visual markup='sup'> (<url name='
http://www.wikipublisher.org/wiki/BookGuide/Customisation'>w</url>)</visual></term><item> We haven’t got the money, <newline />so we’ve got to think! — Ernest, Baron Rutherford of Nelson
64: </item></description></section>
65:
66: <!--XMLFooter-->
67: <!--PageFooterFmt-->
68: <colophon><hr />
69: <p skip='med'><url name='
http://www.wikipublisher.org/wiki/BookGuide/BookGuide'>http:<discy kind="/"/>/www<discy kind="."/>wikipublisher<discy kind="."/>org<discy kind="/"/>wiki<discy kind="/"/>Book<discy kind="G"/>uide<discy kind="/"/>Book<discy kind="G"/>uide</url></p>
70: <p>Page last modified 15 January 2012 at 05:04 &PM; ¶ Typeset by Wikipublisher</p>
71: <p >Copyright © 2005–2012 the Wikipublisher wiki and its authors
72: </p>
73:
74: </colophon>
75: </article>
**** Generated LaTeX
1: \documentclass[a4paper,11pt,final,twoside]{extarticle}
2:
3:
4: \setcounter{tocdepth}{3}
5:
6: \usepackage[english]{babel}[1999/09/09]
7:
8: \usepackage[english]{varioref}
9: \vrefwarning
10:
11:
12: \usepackage{tbook}
13:
14:
15:
16: \usepackage{tbook-pl}
17:
18: \usepackage{wikibook}
19: \adjustmargins{-0.75in}
20: \addtolength{\textwidth}{3pt}
21:
22: \usepackage{fancyhdr}
23: \pagestyle{fancy}
24: \fancyhf{}
25: \headheight 15pt
26: \addtolength{\footskip}{21pt}
27: \headsep 8pt
28: \iftbookcfg\input tbook.cfg\fi
29:
30: \articleheadfoot
31:
32: \usepackage{pslatex}
33:
34: \setcounter{secnumdepth}{0}
35:
36: \headingfamily{\sffamily}
37: \captionsetup{labelfont={sf,bf}}
38:
39: \sectionsize{\Large}
40: \subsectionsize{\large}
41: \subsubsectionsize{\small}
42: \addtolength{\marginparsep}{2pt}
43: \addtolength{\textheight}{-4pt}
44: \addtolength{\footskip}{-2pt}
45: \addtolength{\voffset}{2pt}
46: \ifgallery\else
47: \ifpdflatex\usepackage[%
48: pdftex,pagebackref=true,pdfstartview=FitH,
49: pdfpagelayout=OneColumn,
50: pdfpagelabels=true,hyperindex=false,
51: draft=false,plainpages=false]{hyperref}[2000/05/08]
52: \hypersetup{%
53: pdftitle={How to Produce a Book},
54: pdfauthor={Page from the WikiPublisher},
56: }
57: \hyperstyle
58:
59: % wikibib has to load after hyperref
60: \usepackage{wikibib}
61: \IfFileExists{hypcap.sty}{\usepackage{hypcap}}{}
62: \IfFileExists{pdfcolmk.sty}{\usepackage{pdfcolmk}}{}
63: \pdfcompresslevel=9
64: \fi\fi
65: \floatstyle{plaintop}
66: \newfloat{Frame}{bp}{loFr}
67: \floatname{Frame}{Example}
68: \usepackage{multicol}
69:
70: \begin{document}
71:
72: \rmfamily
73: \title{{\Large Book Guide}\\[1.5ex]\sffamily\bfseries How to Produce a Book}
74: \gtitle{How to Produce a Book}
75: \author{Page~from~the~WikiPublisher}
76: \date{19 September 2012 at 09:16\hskip0.056em\textsc{am}}
77: \gdate{19 September 2012 at 09:16\hskip0.056em\textsc{am}}
78:
79: \pagestyle{wikiarticle}
80: \thispagestyle{plain}
81: \maketitle
82:
83: \begin{abstract}
84:
85: Edited with an introduction by John Rankin\par
86: \end{abstract}
87:
89: \par
90: \begin{table}[btp]\caption{Metadata for \textsc{How to Produce a Book}}%
91: \renewcommand{\tabcolsep}{4pt}
92:
93: \noindent\begin{tabulary}{\linewidth}{rL}
94: \toprule
95: {\small \textbf{ type}}&\multicolumn{1}{l}{{\small \textbf{value }}}\tabularnewline
96: \cmidrule(l{4pt}r{4pt}){1-2}%
97: {\small title}&{\small How to Produce a Book }\tabularnewline
98: {\small description}&{\small Edited with an introduction by John Rankin }\tabularnewline
99: {\small keywords}&\multicolumn{1}{l}{{\small ~}}\tabularnewline
100: {\small graphics}&\multicolumn{1}{l}{{\small \includegraphics{0.jpg} }}\tabularnewline
102: {\small about}&\multicolumn{1}{l}{{\small ~}}\tabularnewline
103: {\small dedication}&{\small To the software giants on whose shoulders Wikipublisher~stands }\tabularnewline
104: {\small epigraph}&{\small The designer of a new system must not only be the implementor and the first large-{}scale user; the designer should also write the first user manual\dots{} If I had not participated fully in all these activities, literally hundreds of improvements would never have been made, because I would never have thought of them or perceived why they were important.\hskip0.056em---\hskip0.056emDonald E.\ Knuth }\tabularnewline
105: {\small isbn}&\multicolumn{1}{l}{{\small ~}}\tabularnewline
106: {\small year}&\multicolumn{1}{l}{{\small ~}}\tabularnewline
107: {\small rights}&\multicolumn{1}{l}{{\small cc by-{}sa }}\tabularnewline
108: {\small style}&\multicolumn{1}{l}{{\small ~}}\tabularnewline
109: {\small cfloat}&\multicolumn{1}{l}{{\small ~}}\tabularnewline
110: \bottomrule
111: \end{tabulary}
112:
113: \normalsize%
114: \end{table}
115:
116: \medskip \par
117: \begin{description}
118:
120:
121: \end{description}
122:
123:
124: \section{\textparagraph{} Basic Books}
125:
126: \begin{description}
127:
129:
130: \end{description}
131:
132:
133: \section{\textparagraph{} The Parts of a Book}
134:
135: \begin{description}
136:
138:
140:
142:
143: \end{description}
144:
145:
146: \section{\textparagraph{} Custom Books}
147:
148: \begin{description}
149:
151:
152: \end{description}
153:
154:
155: \section{\textparagraph * Appendices}
156:
157: \begin{description}
158:
159: \item[ Appendix: Technical Matters\textsuperscript{ (\href{
http://www.wikipublisher.org/wiki/BookGuide/TechnicalMatters}{\ttfamily w})}] \dots{} though largely forgotten today, methods and rules upon which it is impossible to improve have been developed over centuries. To produce perfect books these rules have to be brought back to life and applied.\hskip0.056em---\hskip0.056emJan Tschichold
160:
162:
164:
165: \end{description}
166:
167:
168: \FloatBarrier
169:
170:
171:
172: \medskip
173: \vspace*{\stretch{1}}
174: \noindent \begin{minipage}[b]{\textwidth}
175:
176: \begin{small}
177:
178: \setlength{\parskip}{0.5\baselineskip plus .2ex minus .1ex}
179:
180:
181: \noindent\hspace{\stretch{0.8089}} \hrulefill \hspace{\stretch{0.8089}}
182: \medskip
183:
184:
186:
187: Page last modified 15 January 2012 at 05:04\hskip0.056em\textsc{pm} \textparagraph{} Typeset by Wikipublisher\par
188:
189: Copyright \textcopyright{} 2005--2012 the Wikipublisher wiki and its authors
190: \par
191:
192:
193: \end{small}
194: \end{minipage}
195:
196:
197: \end{document}
***** ERROR: no PDF returned