Description of problem: RFE: inclusion of text as a display option in a publican based website. Publican is able to build html,html-single,pdf,epub, and text formats. However, publican website does not allow for text as a display option. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Created attachment 456366 [details] Diff ./bin/publican
Created attachment 456367 [details] Diff ./lib/Publican/WebSite.pm
Got it work in latest trunk build. Attached diffs of the two files I had to edit.
Hi, thanks for the patch. You need to make using text optional and default the option off. Also you haven't adjusted the packaging templates, so this patch won't work for RPMs. Cheers, Jeff.
(In reply to comment #4) > Hi, thanks for the patch. You need to make using text optional and default the > option off. > Perhaps an option in publican.cfg? Perhaps a more generic "add all valid formats" option eg. if there are ecplipse, pdf, and txt versions... add them :) > Also you haven't adjusted the packaging templates, so this patch won't work for > RPMs. > Perhaps keep it as a manual website only option. > Cheers, Jeff.
Path to image was incorrect. Fixed in build: 2.3-0%{?dist}.t13
D'oh, ignore comment 6, wrong bug
Added web_fprmats option to override default formats used for web sites. Can be set in brand or book as usual. Fixed in build: 2.3-0%{?dist}.t19
(In reply to comment #8) > Added web_fprmats option to override default formats used for web sites. Can be > set in brand or book as usual. > > Fixed in build: 2.3-0%{?dist}.t19 Thanks Jeff :) Built publican-2.3-0.fc14.t21 and manually updated my site. Worked a treat :)
Publican 2.4 has shipped with a fix for this issue.