You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Carlos <ca...@cvc.edu> on 2001/07/13 02:25:21 UTC
Generating PDF on the fly
I'm trying to generate PDF documents on the fly using docbook (4.1.2) and
Norman Walsh's stylesheets. It will not generate the PDF document, only
display the text. What is the correct way of doing it? Is there a trick I'm
not using?
Carlos
----
P |Carlos Araya
_ |WebCT Administrator/Trainer
G |California Virtual Campus, Region 1
---- C/O De Anza College
10650 Bubb Road
Cupertino, CA 95014
mail: carlos@cvc.edu
web: http://www.cvc1.org (work)
http://www.silverwolf-net.net (personal)
PGP Fingerprint: E629 5DFD 7EAE 4995 E9D7 3D2F 5A9F 0CE7 DFE7 1756
LIFE: You can't control the length, but you can control the depth and width
-- From Randall Schwartz
Paradoxically, a refusal to 'put monetary value in life' means that life is
often undervalued -- Artifical intelligence, A Modern Approach
Between the ages of twenty and forty we are engaged in the process of
discovering who we are, which involves learning the difference between
accidental limitations which it is our duty to outgrow and the necessary
limitations of our nature beyond which we cannot trespass with
impunity.--W. H. Auden
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: Generating PDF on the fly
Posted by Carlos Araya <ca...@cvc.edu>.
This is the order I'm applying them in
<?xml-stylesheet href="xsl/html/docbook.xsl" type="text/xsl"?>
<?cocoon-process type="xslt"?>
<?cocoon-format type="text/xslfo"?>
And it's still not displaying the PDF file as it should
Carlos
>Carlos Araya wrote:
>>
>> >Carlos wrote:
>> >>
>> >> I'm trying to generate PDF documents on the fly using docbook (4.1.2) and
>> >> Norman Walsh's stylesheets. It will not generate the PDF document, only
>> >> display the text. What is the correct way of doing it? Is there a
>>trick I'm
>> >> not using?
>> >
>> >Are you using the "fo2pdf" serializer? Send the snippet of the sitemap
>>that
>> >you are using to generate the PDF.
>>
>> I am trying to do it with the latest Cocoon 1.8.x. If this is not possible
>> I'll hold off trying as I'm not comfortable with C2 enough to install it on
>> my server
>
>Aha! There is a magic <?cocoon-format?> processing instruction. You need to
>specify that, and Cocoon will run through the PDF formatter.
>
>>
>> Carlos
----
P |Carlos Araya
_ |WebCT Administrator/Trainer
G |California Virtual Campus, Region 1
---- C/O De Anza College
10650 Bubb Road
Cupertino, CA 95014
mail: carlos@cvc.edu
web: http://www.cvc1.org (work)
http://www.silverwolf-net.net (personal)
PGP Fingerprint: E629 5DFD 7EAE 4995 E9D7 3D2F 5A9F 0CE7 DFE7 1756
LIFE: You can't control the length, but you can control the depth and width
-- From Randall Schwartz
Paradoxically, a refusal to 'put monetary value in life' means that life is
often undervalued -- Artifical intelligence, A Modern Approach
Between the ages of twenty and forty we are engaged in the process of
discovering who we are, which involves learning the difference between
accidental limitations which it is our duty to outgrow and the necessary
limitations of our nature beyond which we cannot trespass with
impunity.--W. H. Auden
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: Generating PDF on the fly
Posted by Berin Loritsch <bl...@apache.org>.
Carlos Araya wrote:
>
> >Carlos wrote:
> >>
> >> I'm trying to generate PDF documents on the fly using docbook (4.1.2) and
> >> Norman Walsh's stylesheets. It will not generate the PDF document, only
> >> display the text. What is the correct way of doing it? Is there a trick I'm
> >> not using?
> >
> >Are you using the "fo2pdf" serializer? Send the snippet of the sitemap that
> >you are using to generate the PDF.
>
> I am trying to do it with the latest Cocoon 1.8.x. If this is not possible
> I'll hold off trying as I'm not comfortable with C2 enough to install it on
> my server
Aha! There is a magic <?cocoon-format?> processing instruction. You need to
specify that, and Cocoon will run through the PDF formatter.
>
> Carlos
> ----
> P |Carlos Araya
> _ |WebCT Administrator/Trainer
> G |California Virtual Campus, Region 1
> ---- C/O De Anza College
> 10650 Bubb Road
> Cupertino, CA 95014
>
> mail: carlos@cvc.edu
> web: http://www.cvc1.org (work)
> http://www.silverwolf-net.net (personal)
> PGP Fingerprint: E629 5DFD 7EAE 4995 E9D7 3D2F 5A9F 0CE7 DFE7 1756
>
> LIFE: You can't control the length, but you can control the depth and width
> -- From Randall Schwartz
>
> Paradoxically, a refusal to 'put monetary value in life' means that life is
> often undervalued -- Artifical intelligence, A Modern Approach
>
> Between the ages of twenty and forty we are engaged in the process of
> discovering who we are, which involves learning the difference between
> accidental limitations which it is our duty to outgrow and the necessary
> limitations of our nature beyond which we cannot trespass with
> impunity.--W. H. Auden
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
Re: Generating PDF on the fly
Posted by Carlos Araya <ca...@cvc.edu>.
>Carlos wrote:
>>
>> I'm trying to generate PDF documents on the fly using docbook (4.1.2) and
>> Norman Walsh's stylesheets. It will not generate the PDF document, only
>> display the text. What is the correct way of doing it? Is there a trick I'm
>> not using?
>
>Are you using the "fo2pdf" serializer? Send the snippet of the sitemap that
>you are using to generate the PDF.
I am trying to do it with the latest Cocoon 1.8.x. If this is not possible
I'll hold off trying as I'm not comfortable with C2 enough to install it on
my server
Carlos
----
P |Carlos Araya
_ |WebCT Administrator/Trainer
G |California Virtual Campus, Region 1
---- C/O De Anza College
10650 Bubb Road
Cupertino, CA 95014
mail: carlos@cvc.edu
web: http://www.cvc1.org (work)
http://www.silverwolf-net.net (personal)
PGP Fingerprint: E629 5DFD 7EAE 4995 E9D7 3D2F 5A9F 0CE7 DFE7 1756
LIFE: You can't control the length, but you can control the depth and width
-- From Randall Schwartz
Paradoxically, a refusal to 'put monetary value in life' means that life is
often undervalued -- Artifical intelligence, A Modern Approach
Between the ages of twenty and forty we are engaged in the process of
discovering who we are, which involves learning the difference between
accidental limitations which it is our duty to outgrow and the necessary
limitations of our nature beyond which we cannot trespass with
impunity.--W. H. Auden
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: Generating PDF on the fly
Posted by Berin Loritsch <bl...@apache.org>.
Carlos wrote:
>
> I'm trying to generate PDF documents on the fly using docbook (4.1.2) and
> Norman Walsh's stylesheets. It will not generate the PDF document, only
> display the text. What is the correct way of doing it? Is there a trick I'm
> not using?
Are you using the "fo2pdf" serializer? Send the snippet of the sitemap that
you are using to generate the PDF.
>
> Carlos
> ----
> P |Carlos Araya
> _ |WebCT Administrator/Trainer
> G |California Virtual Campus, Region 1
> ---- C/O De Anza College
> 10650 Bubb Road
> Cupertino, CA 95014
>
> mail: carlos@cvc.edu
> web: http://www.cvc1.org (work)
> http://www.silverwolf-net.net (personal)
> PGP Fingerprint: E629 5DFD 7EAE 4995 E9D7 3D2F 5A9F 0CE7 DFE7 1756
>
> LIFE: You can't control the length, but you can control the depth and width
> -- From Randall Schwartz
>
> Paradoxically, a refusal to 'put monetary value in life' means that life is
> often undervalued -- Artifical intelligence, A Modern Approach
>
> Between the ages of twenty and forty we are engaged in the process of
> discovering who we are, which involves learning the difference between
> accidental limitations which it is our duty to outgrow and the necessary
> limitations of our nature beyond which we cannot trespass with
> impunity.--W. H. Auden
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>