Changes between Initial Version and Version 1 of Ticket #10103


Ignore:
Timestamp:
Jun 19, 2012, 8:12:39 AM (12 years ago)
Author:
Ryan J Ollos
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10103 – Description

    initial v1  
    22
    33I really admire your pdf plugin but I can't get it working with images. My Trac environment is:
    4 
     4{{{
    55Trac: 0.11.7
    66Python: 2.6.5
     
    1212Pygments: 1.2.2
    1313Subversion: 1.6.6 (r40053)
    14 
     14}}}
    1515I installed your wiki2pdf plugin with:
     16{{{
    1617:~#apt-get install htmldoc
    1718:~#apt-get install python-clearsilver
    1819:~#python setup.py install
     20}}}
    1921
    20 My Apache config is set "Document Root /var/www" while Trac htdocs are stored in "/var/home/database/trac/mytrac/".
     22My Apache config is set Document Root `/var/www` while Trac htdocs are stored in `/var/home/database/trac/mytrac/`.
    2123
    2224Now I set up my trac.ini:
    23 -----
     25{{{
    2426[wikitopdf]
    2527# base_dir is the Apache DocumentRoot, It is need to get PDF files with images.
     
    6264landscape = 1
    6365fontsize = 6
    64 -----
     66}}}
    6567
    66 Now "base_dir" should point to apache Document Root. But I got no images in the generated pdf. I tried the following paths...without success:
     68Now `base_dir` should point to apache Document Root. But I got no images in the generated pdf. I tried the following paths...without success:
     69
    6770Absolute paths:
     71{{{
    6872/var/www
    6973/var/home/database/trac/mytrac
     
    7175/var/home/database/trac/mytrac/wiki/htdocs
    7276/var/home/database/trac/mytrac/attachment/wiki
     77}}}
     78
    7379Apache alias Web paths:
     80{{{
    7481/trac/mytrac/
    7582/trac/mytrac/wiki
    7683/trac/mytrac/
     84}}}
    7785
    7886What should be set as base_dir? Also a complete installation guide would be fine.