Changes between Initial Version and Version 2 of Ticket #10102
- Timestamp:
- Sep 6, 2017, 1:55:53 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #10102
-
Property
Status
changed from
new
toclosed
-
Property
Resolution
changed from
to
duplicate
-
Property
Status
changed from
-
Ticket #10102 – Description
initial v2 2 2 3 3 I really admire your pdf plugin but I can't get it working with images. My Trac environment is: 4 4 {{{ 5 5 Trac: 0.11.7 6 6 Python: 2.6.5 … … 12 12 Pygments: 1.2.2 13 13 Subversion: 1.6.6 (r40053) 14 }}} 14 15 15 16 I 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 }}} 19 22 20 My Apache config is set "Document Root /var/www" while Trac htdocs are stored in "/var/home/database/trac/mytrac/".23 My Apache config is set `Document Root /var/www` while Trac htdocs are stored in `/var/home/database/trac/mytrac/`. 21 24 22 25 Now I set up my trac.ini: 23 ----- 26 {{{#!ini 24 27 [wikitopdf] 25 28 # base_dir is the Apache DocumentRoot, It is need to get PDF files with images. … … 62 65 landscape = 1 63 66 fontsize = 6 64 ----- 67 }}} 65 68 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:69 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: 67 70 Absolute paths: 71 {{{ 68 72 /var/www 69 73 /var/home/database/trac/mytrac … … 71 75 /var/home/database/trac/mytrac/wiki/htdocs 72 76 /var/home/database/trac/mytrac/attachment/wiki 77 }}} 78 73 79 Apache alias Web paths: 80 {{{ 74 81 /trac/mytrac/ 75 82 /trac/mytrac/wiki 76 83 /trac/mytrac/ 84 }}} 77 85 78 What should be set as base_dir? Also a complete installation guide would be fine.86 What should be set as `base_dir`? Also a complete installation guide would be fine. 79 87 80 88 Thanks for your help.