How to make PDF files:



How to make the site:

Copy the Book folder.

Adapt the following files:

Questions.inc & Answers.inc - the first words of any pages which have a clear 1st word which is not "the"

Index.htm – add Title, and perhaps other Meta data. Change NoFrame (at the end) to reflect Title.

- Change page no.s for Preface, main pages, Samples

Left-Cont.htm – the Contents & page nos

Change number of pages free in Loading.htm, Loading.php, Signup.php, Signedup.htm, Signup1.php

Change $Book = "drb" ; in signup0.php, load.php, blank.php

In load.php remove line $URL= '' when loaded to the webserver.

How to create the MySQL tables:

Change Counter.inc with login details and name of database

Run mysql_send.php from the folder in a browser

Paste in "create table trent_visitor…." and "create table trent_visit…."

How to make PDF files:

Save each page or section as a separate PDF file:

Print the pages using Acrobat Distiller

- set the Properties: PDF settings, Conversion settings to “150 DPI, NoCommonFonts” (which doesn’t save any font descriptions for normal fonts)

- untick “Preview in Acrobat

If using page images instead of word files:

- save as monochrome GIFs (ie only 2 colours)

- open in PSP, set page to A3, print to distiller

If the pages are to be exact replica's of the printed version, make a separate file for each physical page.

Don't make a single file, cos this will appear in the Temp Internet Files when they look at a single page.

Don't make a section of pages into a multi-page document cos the FullPage view without any tools does not allow easy movement from one page to another.

When they are displayed, if there is too much at the top of each page, make the link:

"filename.pdf#view=FitBH,40" – to scroll down by 40 when it opens.

If you want to divide the book into sections, and you don't need exact replicas of physical pages, reduce the fonts so that each section can fit onto a single page (eg make every font half size). Increase the margins so that the number of words on a line is roughly the same. Adjust any tables, and adjust any exact line spacing in styles. When the page is viewed, the page will zoom to the width of the content so the user doesn't see small fonts. Don't try making a super-long customised paper size, cos the longest possible is only 55cm and Acrobat doesn't cope well with pages bigger than A4 or Letter – it often refuses to print them properly.

To make a PDF of every page, use the QuicKeys macro "Save Word files as PDF named by page Numbers". This uses a file called Numbers.doc, which is a list of numbers 1-500, one on each line, and a word macro "PrintPDF_Eachpage()". This macro switches window to Number.doc, highlights and copies the next number, then switches back and used Edit:Goto..PageNumber, pastes the page number, goes there, Prints to Distiller the current page. The QuicKeys macro pastes the number as the filename and goes back to word to run the Macro again using a keypress.

Save all the pages in a folder "Unprotected" and Copy them into another folder "Full", and a sample chapter pages into "Sample". Make pages with outlines of chapters, eg just the chapter title, introduction & conclusion. Put these in Unprotected, and a copy in a folder "Outline".

To secure the PDF files in Sample & Outline, use the Acrobat Batch processing, "Secure_NoMenu_NoChange". This is a batch sequence I made which has:

Set Open Options:

- View page only

- Page Layout: Continuous

- Magnification: Fit visible

- Window Options: Resize to initial page =Y; Open in full screen =Y; Center window =Y; Display title=N

- User Interface Options: Hide toolbar =Y; Hide window controls =Y; HIde menubar =Y

Set security: Acrobat Standard security

- settings: Set password to change document to "PPPP-WWWW"

- Encryption level 40-bit (so compatible with Acrobat 4&5)

- tick no printing, no changing, no content copying, no changing fields

The web page shows only one page at a time, so only those pages are saved in the temp files (at Local Settings: Temporary Internet Files).

To secure the PDF files in Sample & Outline, use the Acrobat Batch processing, "Secure_Small_NoMenu_NoChange". This is the same as above but saves pages with Open Option: Magnifcation: 10% This means when someone opens a page saved offline, it is too small to read. When the pages are read online, they can be opened with "filename.pdf#view=FitBH", which can't be done when they are offline.

I tried finding a way to put a password in a command line or link, so the files could be password-locked for viewing. Someone asked about this on a PDF experts forum and the answer from a Adobe employee said this was impossible. I tried using EncryptPDF CommandLine, but this only allows encryption and not decryption. This locked small magnification is a good compromise.

====================================

|Go to a page |page=page_number |The page number must be an integer. A PDF’s 1st page has |

| | |a page number of 1. |

|Go to a destination |named-dest=destination_string | |

|Zoom or scroll a page |zoom=scale[, left, top] |All values must be integers or in floating-point |

| | |notation. A scale of 100 gives 100% zoom. Scroll values |

| | |for left and top are user coordinates (0,0 is the top |

| | |left of a visible page, regardless of page rotation). |

|Set the view of a page |view=Fit |Fit, FitH, and so on are keywords |

| |view=FitH[, top] |defined in the Portable Document |

| |view=FitV[, left] |Format Reference Manual |

| |view=FitB |(). Scroll values for |

| |view=FitBH[, top] |left and top must be integers or in |

| |view=FitBV[, left] |floating-point notation. These values |

| | |are user coordinates (0,0 is the |

| | |top left of a visible page, regardless |

| | |of page rotation). |

|Set the location and |viewrect=left, top, width, |All values must be integers or in |

|size of the view |height |floating-point notation. Scroll values |

|rectangle | |for left and top are user coordinates |

| | |(0,0 is the top left of a visible |

| | |page, regardless of page rotation). |

|Display bookmarks |pagemode=mode |The possible values are bookmarks, |

|or thumbnails | |thumbs, and none. |

|Display the |scrollbar=boolean_value |The possible values are true |

|scrollbars | |and false. |

|Display the tool bar |toolbar=boolean_value |The possible values are true |

| | |and false. |

Note: The action commands are not case-sensitive (except for the value of a

destination). There can be no spaces in the URL command line, and each

command cannot be more than 32 characters in length. If you supply a

.oating-point value, only one digit following a decimal is used.

These are examples of valid action commands for PDF documents linked

from HTML:

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download