Opened 7 years ago

Closed 5 years ago

# PDF creation does not work if image macro has no absolute links in it

Reported by: Owned by: link@… Diorgenes Felipe Grzesiuk normal TracWikiToPdfPlugin normal PDF, empty pages, solution, amelioration 0.11

### Description

Hello

My problem is actually not a defect. However, the solution I describe here might help others and/or could ameliorate this plugin. As to the other empty PDF problems: I experienced all the failures as you did, too.

By defining a "pathtocover" (in the main trac.ini, not an inherited one) variable and rewriting the path to the pic (as described further down) the W2PDF plugin did its job. But here is my question.

Picture this:

[[Image(FunnyLolCatPicture.jpg)]]


After laughing cordially you want to create a PDF from the wiki page which contains this picture. When you are me, that does not work.

Then, after trying to get it to work, you find out, that this:

[[Image(wiki:lolCatProject:FunnyLolCatPicture.jpg)]]


actually works. You can create a PDF with pictures in it.

Now my question: is it possible to change this plugin so it finds relative links? This would save us a good amount of time since we have a lot of wiki sites that need to be rendered to PDF... hopefully without the need to change the image macros.

### comment:1 Changed 5 years ago by Ryan J Ollos

Resolution: → duplicate new → closed

Duplicate of #4043.

### Modify Ticket

Change Properties