|
View:
New views
1 Messages
—
Rating Filter:
Alert me
|
|
|
generating pdf docshey jan-
i'm trying to generate a pdf doc for a module i've written. back in january you explained how to use pldoc and ltx2htm to get tex output and stand alone html files -- i got this working fine (both for my module and for swipl system/packages). but i can't seem to be able to convert the tex to pdf for anything (except most of the swipl packages). i'm on osx 10.5.7, and have used macports to install swipl dependencies and texlive (successor to tetex, latest available macport is 2007), and have updated my swipl to 5.7.10 with the latest git. i've followed all the instructions (i think successfully) in pl-57x/README.doc and pl-57x/man/txt/README. note minor tweaks to instructions in the latter -- in addition to changing TEXMF in pl-57x/man/txt/Makefile, i had to manually mkdir a tfm directory in /opt/local/share/texmf/ in order for it to work. also, i had to use 'sudo make install' rather than just 'make' in pl-57x/man/txt/dvi2tty/. then, in pl-57x, 'make doc' does not work -- the line 'eval set -- "$TEMP"' in pl-57x/man/runtex seems to be a problem. if i echo $2 before this line, i get the proper file name that was passed to runtex. but after this line, $2 evaluates to the character 'n'. the --pdf case shifts this to $1 which is later copied into file, and pdftex ultimately complains it can't find 'n'. so i tried setting file="$2" above this line (and commenting out the file="$1" a little ways below). this gets me farther. in pl-57x/man/correctindex, i have to change /usr/local/bin/perl to /usr/bin/perl (or /opt/local/bin/perl -- these are perls 5.8.8 and 5.8.9 respectively, the latest available built in to osx and macports respectively). but then i get lots of Underfull and Overfull \hbox and \vbox warnings, and citation/reference undefined warnings. also, the following errors pause execution and have to be acknowledged by hitting enter: ! LaTeX Error: File `xrefchatfile' not found. ! LaTeX Error: File `xrefchatdep' not found. ! LaTeX Error: File `profnode' not found. those files are gif's and png's in pl-57x/man/figs/. no doc.pdf or MANUAL.pdf is generated, but lots of intermediates (.aux, .dvi, .log, .tex, .bbl, .blg, .idx, .ilg, .ind, .toc) are produced for doc. lots of other base filenames get one or both of .aux's and .tex's (attvar, bit64, builtin, chr, dialect, foreign, glossary, hack, ide, intro, license, module, overview, profile, runtime, summary, threads, xpce, xref). some .doc's don't (biblio, heaps, main, windows). several of the package directories do get nice pdf's -- clib, pldoc, R, plunit, tipc, ssl, http, semweb, rdf2pl, pl2cpp, odbc, sgml, zlib, nlp, table, jasmine, cppproxy, db4pl. many but not all of them have blank Contents sections. the other packages don't have pdfs, but they also don't have .doc's (except for jpl, ltx2htm, and xpce/man, these have .doc's but no pdfs). so, any idea what i need to do to get 'make doc' to make the pdf's smoothly? and once that works, i'd like to know how to convert the doc_latex generated .tex for my own module to pdf. if i try to run my (altered as per above) 'runtex --pdf' on it, i get: ! LaTeX Error: File `pldoc.sty' not found. on an unrelated note, i was hoping to find out where i could learn more about the details of predicate indexing in swipl. thanks for your help! doc.log attached. -e This is pdfTeX, Version 3.141592-1.40.3 (Web2C 7.5.6) (format=latex 2009.6.15) 17 JUN 2009 14:10 entering extended mode **doc (/Users/eflister/Desktop/sp/pl-57x/man/doc.tex LaTeX2e <2005/12/01> Babel <v3.8h> and hyphenation patterns for english, usenglishmax, dumylang, noh yphenation, arabic, basque, bulgarian, coptic, welsh, czech, slovak, german, ng erman, danish, esperanto, spanish, catalan, galician, estonian, farsi, finnish, french, greek, monogreek, ancientgreek, croatian, hungarian, interlingua, ibyc us, indonesian, icelandic, italian, latin, mongolian, dutch, norsk, polish, por tuguese, pinyin, romanian, russian, slovenian, uppersorbian, serbian, swedish, turkish, ukenglish, ukrainian, loaded. (/opt/local/share/texmf-dist/tex/latex/base/report.cls Document Class: report 2005/09/16 v1.4f Standard LaTeX document class (/opt/local/share/texmf-dist/tex/latex/base/size11.clo File: size11.clo 2005/09/16 v1.4f Standard LaTeX file (size option) ) \c@part=\count79 \c@chapter=\count80 \c@section=\count81 \c@subsection=\count82 \c@subsubsection=\count83 \c@paragraph=\count84 \c@subparagraph=\count85 \c@figure=\count86 \c@table=\count87 \abovecaptionskip=\skip41 \belowcaptionskip=\skip42 \bibindent=\dimen102 ) (/Users/eflister/Desktop/sp/pl-57x/man/pl.sty (/opt/local/share/texmf-dist/tex/generic/oberdiek/ifpdf.sty Package: ifpdf 2006/02/20 v1.4 Provides the ifpdf switch (HO) Package ifpdf Info: pdfTeX in pdf mode not detected. ) (/opt/local/share/texmf-dist/tex/latex/base/makeidx.sty Package: makeidx 2000/03/29 v1.0m Standard LaTeX package ) (/Users/eflister/Desktop/sp/pl-57x/man/url.sty Package: url 1996/02/06 ver 1.1 Verb mode for urls, email addresses, and file names ) (/opt/local/share/texmf-dist/tex/latex/graphics/graphicx.sty Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR) (/opt/local/share/texmf-dist/tex/latex/graphics/keyval.sty Package: keyval 1999/03/16 v1.13 key=value parser (DPC) \KV@toks@=\toks14 ) (/opt/local/share/texmf-dist/tex/latex/graphics/graphics.sty Package: graphics 2006/02/20 v1.0o Standard LaTeX Graphics (DPC,SPQR) (/opt/local/share/texmf-dist/tex/latex/graphics/trig.sty Package: trig 1999/03/16 v1.09 sin cos tan (DPC) ) (/opt/local/share/texmf/tex/latex/config/graphics.cfg File: graphics.cfg 2007/01/18 v1.5 graphics configuration of teTeX/TeXLive ) Package graphics Info: Driver file: dvips.def on input line 90. (/opt/local/share/texmf-dist/tex/latex/graphics/dvips.def File: dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR) )) \Gin@req@height=\dimen103 \Gin@req@width=\dimen104 ) (/opt/local/share/texmf-dist/tex/latex/ltxmisc/a4wide.sty Package: a4wide 1994/08/30 (/opt/local/share/texmf-dist/tex/latex/ntgclass/a4.sty Package: a4 2004/04/15 v1.2g A4 based page layout )) (/opt/local/share/texmf-dist/tex/latex/tools/longtable.sty Package: longtable 2004/02/01 v4.11 Multi-page Table package (DPC) \LTleft=\skip43 \LTright=\skip44 \LTpre=\skip45 \LTpost=\skip46 \LTchunksize=\count88 \LTcapwidth=\dimen105 \LT@head=\box26 \LT@firsthead=\box27 \LT@foot=\box28 \LT@lastfoot=\box29 \LT@cols=\count89 \LT@rows=\count90 \c@LT@tables=\count91 \c@LT@chunks=\count92 \LT@p@ftn=\toks15 ) (/opt/local/share/texmf-dist/tex/latex/base/ifthen.sty Package: ifthen 2001/05/26 v1.1c Standard LaTeX ifthen package (DPC) ) (/opt/local/share/texmf-dist/tex/latex/tools/dcolumn.sty Package: dcolumn 2001/05/28 v1.06 decimal alignment package (DPC) (/opt/local/share/texmf-dist/tex/latex/tools/array.sty Package: array 2005/08/23 v2.4b Tabular extension package (FMi) \col@sep=\dimen106 \extrarowheight=\dimen107 \NC@list=\toks16 \extratabsurround=\skip47 \backup@length=\skip48 )) (/opt/local/share/texmf-dist/tex/latex/tools/calc.sty Package: calc 2005/08/06 v4.2 Infix arithmetic (KKT,FJ) \calc@Acount=\count93 \calc@Bcount=\count94 \calc@Adimen=\dimen108 \calc@Bdimen=\dimen109 \calc@Askip=\skip49 \calc@Bskip=\skip50 LaTeX Info: Redefining \setlength on input line 75. LaTeX Info: Redefining \addtolength on input line 76. \calc@Ccount=\count95 \calc@Cskip=\skip51 ) LaTeX Font Info: External font `cmex10' loaded for size (Font) <10.95> on input line 320. LaTeX Font Info: External font `cmex10' loaded for size (Font) <8> on input line 320. LaTeX Font Info: External font `cmex10' loaded for size (Font) <6> on input line 320. (/opt/local/share/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty Package: fancyvrb 1998/07/17 Style option: `fancyvrb' v2.6, with DG/SPQR fixes <1998/07/17> (tvz) \FV@CodeLineNo=\count96 \FV@InFile=\read1 \FV@TabBox=\box30 \c@FancyVerbLine=\count97 \FV@StepNumber=\count98 \FV@OutFile=\write3 No file fancyvrb.cfg. ) (/opt/local/share/texmf-dist/tex/latex/graphics/color.sty Package: color 2005/11/14 v1.0j Standard LaTeX Color (DPC) (/opt/local/share/texmf/tex/latex/config/color.cfg File: color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive ) Package color Info: Driver file: dvips.def on input line 130. (/opt/local/share/texmf-dist/tex/latex/graphics/dvipsnam.def File: dvipsnam.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR) )) \tabDright=\skip52 \tabDleft=\skip53 ) (/Users/eflister/Desktop/sp/pl-57x/man/html.sty) (/Users/eflister/Desktop/sp/pl-57x/man/logo.sty) (/Users/eflister/Desktop/sp/pl-57x/man/plpage.sty (/Users/eflister/Desktop/sp/pl-57x/man/fancyheadings.sty \headrulewidth=\dimen110 \footrulewidth=\dimen111 \plainheadrulewidth=\dimen112 \plainfootrulewidth=\dimen113 \headwidth=\dimen114 \footruleskip=\dimen115 ) (/Users/eflister/Desktop/sp/pl-57x/man/fancychap.sty \titlewidth=\dimen116 \titlenumwidth=\dimen117 )) \@indexfile=\write4 \openout4 = `doc.idx'. Writing index file doc.idx (/opt/local/share/texmf-dist/tex/latex/psnfss/times.sty Package: times 2005/04/12 PSNFSS-v9.2a (SPQR) ) (/Users/eflister/Desktop/sp/pl-57x/man/doc.aux (/Users/eflister/Desktop/sp/pl-57x/man/intro.aux) (/Users/eflister/Desktop/sp/pl-57x/man/overview.aux) (/Users/eflister/Desktop/sp/pl-57x/man/ide.aux) (/Users/eflister/Desktop/sp/pl-57x/man/builtin.aux) (/Users/eflister/Desktop/sp/pl-57x/man/module.aux) (/Users/eflister/Desktop/sp/pl-57x/man/attvar.aux) (/Users/eflister/Desktop/sp/pl-57x/man/chr.aux) (/Users/eflister/Desktop/sp/pl-57x/man/threads.aux) (/Users/eflister/Desktop/sp/pl-57x/man/foreign.aux) (/Users/eflister/Desktop/sp/pl-57x/man/runtime.aux) (/Users/eflister/Desktop/sp/pl-57x/man/lib/library.aux) (/Users/eflister/Desktop/sp/pl-57x/man/hack.aux) (/Users/eflister/Desktop/sp/pl-57x/man/dialect.aux) (/Users/eflister/Desktop/sp/pl-57x/man/glossary.aux) (/Users/eflister/Desktop/sp/pl-57x/man/license.aux) (/Users/eflister/Desktop/sp/pl-57x/man/summary.aux)) \openout1 = `doc.aux'. LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 97. LaTeX Font Info: ... okay on input line 97. LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 97. LaTeX Font Info: ... okay on input line 97. LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 97. LaTeX Font Info: ... okay on input line 97. LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 97. LaTeX Font Info: ... okay on input line 97. LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 97. LaTeX Font Info: ... okay on input line 97. LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 97. LaTeX Font Info: ... okay on input line 97. LaTeX Font Info: Try loading font information for OT1+ptm on input line 97. (/opt/local/share/texmf-dist/tex/latex/psnfss/ot1ptm.fd File: ot1ptm.fd 2001/06/04 font definitions for OT1/ptm. ) \uvawidth=\skip54 File: figs/swipl.ps Graphic file (type eps) <figs/swipl.ps> Overfull \hbox (19.73749pt too wide) in paragraph at lines 116--123 [][] [] LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <24.88> not available (Font) Font shape `OT1/ptm/b/n' tried instead on input line 125. LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <17.28> not available (Font) Font shape `OT1/ptm/b/n' tried instead on input line 126. LaTeX Font Info: Try loading font information for OT1+pcr on input line 129_______________________________________________ SWI-Prolog mailing list SWI-Prolog@... https://mailbox.iai.uni-bonn.de/mailman/listinfo.cgi/swi-prolog |
| Free embeddable forum powered by Nabble | Forum Help |