docbook: Thread: trouble with ldp_print


[<<] [<] Page 1 of 1 [>] [>>]
Subject: trouble with ldp_print
From: Peter Jay Salzman ####@####.####
Date: 1 Apr 2002 00:01:40 -0000
Message-Id: <20020401000148.GA27151@dirac.org>

ok, not docbook woes, but i didn't know where else to turn.

i've been maintaining the linux gamers' howto for awhile now, and
suddenly out of the blue, i'm getting errors when i try to make a ps
file out of it.

here's the makefile:

   STYLE=/usr/share/sgml/docbook/stylesheet/dsssl/modular/html/ldp.dsl
   DOCUMENT=linux-gamers-howto
   JADEOPTIONS=-t sgml -i html -V nochunks -d ldp.dsl\#html
   
   # all:
   #  jade -t tex -d ${STYLE}#html linux-gamers-howto.sgml
   #  jadetex linux-gamers-howto.tex
   #  dvips -o linux-gamers-howto.ps linux-gamers-howto.dvi
   
   all:
   	jade ${JADEOPTIONS} linux-gamers-howto.sgml > linux-gamers-howto.html
   	ldp_print linux-gamers-howto.html
   
   clean:
   	rm -rf *.aux *.fot *.log *.dvi *.tex *.ps *.html

here's the output:

  p@satan% make
  jade -t sgml -i html -V nochunks -d ldp.dsl#html linux-gamers-howto.sgml > linux-gamers-howto.html
  ldp_print linux-gamers-howto.html
  ERR002: Error: no pages generated! (did you remember to use webpage mode?
  
  ldp_print: could not create linux-gamers-howto.pdf ()
  make: *** [all] Error 1

the single file html file, body.html and title.html are all being made
correctly.

if i add --webpage to $cmd in ldp_print, htmldoc makes a ps file which
is almost correct, but a sentence gets cut off here and there(!).

the thing is, webpage mode is incorrect, since it's intended for html
documents without heading tags like <H3>.


life was good until a few days ago.  i'm not sure what happened and why
no pages are being generated.

help?

thanks!
pete
Subject: Re: trouble with ldp_print
From: "Greg Ferguson" ####@####.####
Date: 1 Apr 2002 14:33:43 -0000
Message-Id: <10204010931.ZM6750@hoop.timonium.sgi.com>

On Mar 31,  4:01pm, Peter Jay Salzman wrote:
> Subject: trouble with ldp_print
> ok, not docbook woes, but i didn't know where else to turn.
>
> i've been maintaining the linux gamers' howto for awhile now, and
> suddenly out of the blue, i'm getting errors when i try to make a ps
> file out of it.
>
> here's the makefile:
>
>    STYLE=/usr/share/sgml/docbook/stylesheet/dsssl/modular/html/ldp.dsl
>    DOCUMENT=linux-gamers-howto
>    JADEOPTIONS=-t sgml -i html -V nochunks -d ldp.dsl\#html
>
>    # all:
>    #  jade -t tex -d ${STYLE}#html linux-gamers-howto.sgml
>    #  jadetex linux-gamers-howto.tex
>    #  dvips -o linux-gamers-howto.ps linux-gamers-howto.dvi
>
>    all:
>    	jade ${JADEOPTIONS} linux-gamers-howto.sgml >
linux-gamers-howto.html
>    	ldp_print linux-gamers-howto.html
>
>    clean:
>    	rm -rf *.aux *.fot *.log *.dvi *.tex *.ps *.html
>
> here's the output:
>
>   p@satan% make
>   jade -t sgml -i html -V nochunks -d ldp.dsl#html
linux-gamers-howto.sgml > linux-gamers-howto.html
>   ldp_print linux-gamers-howto.html
>   ERR002: Error: no pages generated! (did you remember to use webpage
mode?
>
>   ldp_print: could not create linux-gamers-howto.pdf ()
>   make: *** [all] Error 1
>
> the single file html file, body.html and title.html are all being made
> correctly.
>
> if i add --webpage to $cmd in ldp_print, htmldoc makes a ps file which
> is almost correct, but a sentence gets cut off here and there(!).
>
> the thing is, webpage mode is incorrect, since it's intended for html
> documents without heading tags like <H3>.
>
>
> life was good until a few days ago.  i'm not sure what happened and why
> no pages are being generated.

ldp_print is a filter/library I created. This indicates the body and
title files are not getting properly created. I'll need a copy of
your SGML or XML input file(s).



-- 
Greg Ferguson    * SGI principal engr / LDP contributor
SGI Tech Pubs    * http://techpubs.sgi.com/ | gferg(at)sgi.com
Linux Doc Project* http://www.linuxdoc.org/ | gferg(at)metalab.unc.edu
[<<] [<] Page 1 of 1 [>] [>>]


  ©The Linux Documentation Project, 2014. Listserver maintained by dr Serge Victor on ibiblio.org servers. See current spam statz.