includeTopic and PDF issue

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

includeTopic and PDF issue

Vern Kyle-2
I'm working on a large document that I've split into sections using
the includeTopic tag.  However, I notice that once I use an
includeTopic tag, that PDFs can no longer be generated (it tries to
open an html page rather than a pdf.)  Is there a workaround to
prevent this behavior?

Also, is there an xwiki bugs page to see if items like this have been
submitted prior?

Thanks in advance,

Vern



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: includeTopic and PDF issue

Sascha Österle
Hi,

there is pretty nice way to generate mulitdoc pdfs, see:
    http://www.xwiki.org/xwiki/bin/view/Dev/AggregateDocs

it does not solve your problem, but perhaps it still helps you.

Sascha

Vern Kyle wrote:

> I'm working on a large document that I've split into sections using
> the includeTopic tag.  However, I notice that once I use an
> includeTopic tag, that PDFs can no longer be generated (it tries to
> open an html page rather than a pdf.)  Is there a workaround to
> prevent this behavior?
>
> Also, is there an xwiki bugs page to see if items like this have been
> submitted prior?
>
> Thanks in advance,
>
> Vern
>
>  
> ------------------------------------------------------------------------
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>  



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: includeTopic and PDF issue

Hiller, Dean
In reply to this post by Vern Kyle-2
RE: [xwiki-users] includeTopic and PDF issue

I ran into this same issue without the includeTopic tag.  I looked in my logs and it turned out there was an exception on parsing the document so it could not generate a pdf and instead gave me an html.  Make sure that exception is not in your logs.....if it is, look through and it should be complaining about some xml element(for me it complained about <describe> element not being valid html).....then I edit it in wiki mode(do not use the wyswig), and I deleted this element and the pdf feature started working again.

dean

-----Original Message-----
From: Vern Kyle [[hidden email]]
Sent: Wednesday, January 04, 2006 5:17 PM
To: [hidden email]
Subject: [xwiki-users] includeTopic and PDF issue


I'm working on a large document that I've split into sections using
the includeTopic tag.  However, I notice that once I use an
includeTopic tag, that PDFs can no longer be generated (it tries to
open an html page rather than a pdf.)  Is there a workaround to
prevent this behavior?

Also, is there an xwiki bugs page to see if items like this have been
submitted prior?

Thanks in advance,

Vern



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: includeTopic and PDF issue

Vern Kyle-2
Dean,

Thanks.  Pretty much the same issue.  (only mine was that I had used a
subsection heading twice, and that is what it choked on.)

I checked the faq and didn't see anything on the xwiki site, I'll add
it.  Thanks to everyone who replied.

Vern

On 1/5/06, Hiller, Dean <[hidden email]> wrote:

>
>
> I ran into this same issue without the includeTopic tag.  I looked in my
> logs and it turned out there was an exception on parsing the document so it
> could not generate a pdf and instead gave me an html.  Make sure that
> exception is not in your logs.....if it is, look through and it should be
> complaining about some xml element(for me it complained about <describe>
> element not being valid html).....then I edit it in wiki mode(do not use the
> wyswig), and I deleted this element and the pdf feature started working
> again.
>
> dean
>
>
> -----Original Message-----
> From: Vern Kyle [mailto:[hidden email]]
> Sent: Wednesday, January 04, 2006 5:17 PM
> To: [hidden email]
> Subject: [xwiki-users] includeTopic and PDF issue
>
>
> I'm working on a large document that I've split into sections using
> the includeTopic tag.  However, I notice that once I use an
> includeTopic tag, that PDFs can no longer be generated (it tries to
> open an html page rather than a pdf.)  Is there a workaround to
> prevent this behavior?
>
> Also, is there an xwiki bugs page to see if items like this have been
> submitted prior?
>
> Thanks in advance,
>
> Vern
>
> --
> You receive this message as a subscriber of the [hidden email]
> mailing list.
> To unsubscribe:
> mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>
>


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: includeTopic and PDF issue

Ludovic Dubost
In reply to this post by Hiller, Dean

Indeed the PDF feature can fail if there is custom HTML in the page. We
try to strip invalid stuff using JTidy but not everything is captured.
For the PDF feature to be sure to work, only wiki syntax should be used

Ludovic

Hiller, Dean a écrit :

>
> I ran into this same issue without the includeTopic tag.  I looked in
> my logs and it turned out there was an exception on parsing the
> document so it could not generate a pdf and instead gave me an html.  
> Make sure that exception is not in your logs.....if it is, look
> through and it should be complaining about some xml element(for me it
> complained about <describe> element not being valid html).....then I
> edit it in wiki mode(do not use the wyswig), and I deleted this
> element and the pdf feature started working again.
>
> dean
>
> -----Original Message-----
> From: Vern Kyle [mailto:[hidden email]]
> Sent: Wednesday, January 04, 2006 5:17 PM
> To: [hidden email]
> Subject: [xwiki-users] includeTopic and PDF issue
>
>
> I'm working on a large document that I've split into sections using
> the includeTopic tag.  However, I notice that once I use an
> includeTopic tag, that PDFs can no longer be generated (it tries to
> open an html page rather than a pdf.)  Is there a workaround to
> prevent this behavior?
>
> Also, is there an xwiki bugs page to see if items like this have been
> submitted prior?
>
> Thanks in advance,
>
> Vern
>
> ------------------------------------------------------------------------
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>  

--
Ludovic Dubost
XPertNet: http://www.xpertnet.fr/
Blog: http://www.ludovic.org/blog/
XWiki: http://www.xwiki.com
Skype: ldubost AIM: nvludo Yahoo: ludovic




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws