Changes between Initial Version and Version 2 of Ticket #10102


Ignore:
Timestamp:
Sep 6, 2017, 1:55:53 AM (7 years ago)
Author:
Ryan J Ollos
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10102

    • Property Status changed from new to closed
    • Property Resolution changed from to duplicate
  • Ticket #10102 – Description

    initial v2  
    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}}}
    1415
    1516I installed your wiki2pdf plugin with:
    16 :~#apt-get install htmldoc
    17 :~#apt-get install python-clearsilver
    18 :~#python setup.py install
     17{{{#!sh
     18~#apt-get install htmldoc
     19~#apt-get install python-clearsilver
     20~#python setup.py install
     21}}}
    1922
    20 My Apache config is set "Document Root /var/www" while Trac htdocs are stored in "/var/home/database/trac/mytrac/".
     23My Apache config is set `Document Root /var/www` while Trac htdocs are stored in `/var/home/database/trac/mytrac/`.
    2124
    2225Now I set up my trac.ini:
    23 -----
     26{{{#!ini
    2427[wikitopdf]
    2528# base_dir is the Apache DocumentRoot, It is need to get PDF files with images.
     
    6265landscape = 1
    6366fontsize = 6
    64 -----
     67}}}
    6568
    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:
     69Now `base_dir` should point to Apache Document Root. But I got no images in the generated pdf. I tried the following paths, without success:
    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
    78 What should be set as base_dir? Also a complete installation guide would be fine.
     86What should be set as `base_dir`? Also a complete installation guide would be fine.
    7987
    8088Thanks for your help.