Skip to content

Commit

Permalink
Work on pdf doc generator
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Feb 9, 2014
1 parent bd25a98 commit 3906aae
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
9 changes: 9 additions & 0 deletions build/pdf/README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
To make htmldoc working from wiki.dolibarr.org, them must be modified to have

$_SERVER["HTTP_USER_AGENT"] is "HTMLDOC/x.y.z"
$_COOKIE["htmldoc"] may also be defined if set on command line.

To disable part, add
class="htmldoc-ignore" with css
.htmldoc-ignore { display: none; }

4 changes: 0 additions & 4 deletions build/pdf/htmldoc.book

This file was deleted.

4 changes: 4 additions & 0 deletions build/pdf/htmldoc_en.book
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#HTMLDOC 1.8.27
-t pdf14 -f "../../doc/dolibarr_en.pdf" --webpage --no-title --logoimage "../../doc/images/dolibarr_256x256.png" --linkcolor #2200c0 --linkstyle plain --size Universal --left 0.30in --right 0.30in --top 0.40in --bottom 0.30in --header ... --header1 ... --footer c/d --nup 1 --tocheader ... --tocfooter ... --portrait --color --no-pscommands --no-xrxcomments --compression=9 --jpeg=50 --fontsize 10.0 --fontspacing 1.0 --headingfont Helvetica --bodyfont Helvetica --headfootsize 9.0 --headfootfont Helvetica --charset iso-8859-1 --links --no-embedfonts --pagemode document --pagelayout single --firstpage p1 --pageeffect none --pageduration 10 --effectduration 1.0 --no-encryption --permissions all --owner-password "" --user-password "" --browserwidth 680 --no-strict --no-overflow
http://wiki.dolibarr.org/index.php/Main_Page
http://wiki.dolibarr.org/index.php/What_Dolibarr_Do
1 change: 1 addition & 0 deletions doc/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/dolibarr_*.pdf

0 comments on commit 3906aae

Please sign in to comment.