PdgCntEditor a series of tutorials: Basics

First, what PdgCntEditor that?
Second, why should PdgCntEditor?
Third, how to use PdgCntEditor?

First, what PdgCntEditor that?

This is a directory editor, you can create, edit PDF, DjVu, PDG directory, which supports image edition PDG PDG directory (bookcontents.dat) and text version of the PDG directory (catalog.dat), and for zip, uvz files can not unzip directly edit, save where the PDG directory.

Of course, here we must first be clear about "directory" refers to what it is. In a paper book, the concept itself should be no ambiguity, referring to the index before the text books, book chapters listed numbers and their corresponding page numbers with a tree structure. So that one can see about the contents of the book (outline), on the other hand if you want to proceed immediately to a chapter is turned in accordance with the corresponding page number on the line. But in PDF, Djvu and other electronic documents, for the same thing but have different names and functions.

For PDF, in "PDF Reference" in the "Directory" is the word consent Outline (Outline), but using the word in the Chinese version of Acrobat interface is "bookmarks" (bookmark), namely Acrobat left navigation window, you can click on jump to a specified location in this document, and even specify the location of another document. As for the jump position is accurate to position the page number or page chapter number is located, depends on the bookmark in the target (Destination) is defined by how: If the page number, you can only skip to the beginning of the page where chapter; if it is named bookmarks or otherwise, skip to the location of section number, as shown in FIG.

 

For DjVu, word "Lizardtech DjVu Reference V3" used include Outline (outline), Navigation (Navigation) and bookmarks (bookmark), directly in the interface WinDjView is "directory" (contents), as shown below. But with different PDF, DjVu can only skip to the development of the page, can not jump to a location on the page. Another theory DjVu directories are allowed to jump to another file, but in PdgCntEditor in this regard has been restricted, can only jump to a specific page number in this document, you can not jump to other files.

 

For the contents used in the PDG, file name, catalog are "directory" means, in the official version SSREADER interface is called "List of chapters", as shown below. PDG directory can only jump to a specific page of the same book, a book can not jump to another location or page.

 

In support PDF, Djvu, PDG other multi-format browser UnicornViewer (referred to as UV), the more unified the various files bookmark, outline, etc. collectively referred to as "directory", as shown below.

 

Tree In short, PdgCntEditor and this tutorial series, "directory" is the word to collectively outline PDF, DjVu, PDG, and other electronic document formats, navigation, bookmarks, table of contents, the specific form of expression that is displayed in the left side of the browser shaped section list, you can click on the jump to a specific section.

Second, why should PdgCntEditor?

At present, for PDF, DjVu, PDG has a separate directory editor, but at present it seems that only PdgCntEditor support these types of formats, and they will probably not have. So the reason to use PdgCntEditor also very full of:

  1. A software to get a variety of formats, whether it is stored or learning costs are optimal.
  2. Directory facilitates the conversion between different electronic document format. For example DjVu format should be copied to a directory in PDF, if not PdgCntEditor, you need to use two software: the first directory with export DjVu DjVuToy, then FreePic2Pdf the directory linked to the PDF. The use PdgCntEditor operation much simpler:
    1. Start PdgCntEditor, the need to copy the directory DjVu file drag and drop came open.
    2. Ctrl + A to select all, Ctrl + C to copy it to the clipboard.
    3. The need to hang directory open PDF files come in drag.
    4. Ctrl + V to copy, Ctrl + S to save, get called.

Of course, before this you may also need to ask the question: Why do you want to create or edit a table of contents?

Let me talk about why the directory you want to edit. I am the person a little obsessive-compulsive disorder, an e-book hand if there is no table of contents even if (in more detail later say), but if there is a directory catalog confused mess done, for example, there is no hierarchy, the page number is not accurate, it must be corrected over. Unfortunately, I've seen PDG catalog, especially the old PDG books that directory, according to my standards basically there is no need to re-edit. So powerful download software in most cases help me to download the file directory, sometimes it becomes a worry.

Why say there must be a directory, even if there is no ready also create your own. This is mainly some OCD patients, if you do not see inventory, Bunengtongguo catalog jumping around, they will feel uncomfortable, even to pay a certain price is also OK. On some forums or toll free (in fact or in the forum making money) of catalog production agency did not say, I've even seen on the Internet to PdgCntEditor, UV packaged for sale, and then charged with the commencement say how do these two software directory - Some people really pay for it. So I decided to publish this series of tutorials for free, if you really need to learn self-reliance, or it is not necessary to spend that money wasted.

As for myself, because I always look PDG, DjVu and other documents with UV, so if there is no ready-made catalog file, under normal circumstances I also do not toss: UV itself is supported by the same document in multiple windows are open, so after opening a book if it is found there is no catalog, through the "window -> new window" opens a new window and navigate to the directory page, and see which page section would like to jump, and then switch to the original browser window, a floating bar in the upper right enter the page number, a carriage return to jump over.

If you are using the latest version of UV, and the number of hops is not very frequent, there is no need to open a separate window for the new catalog page: In normal browser window to navigate to the directory page, and see what needs to jump to the page, then click on the page number to jump the left pane window (high UV versions will automatically generate a directory in page by page to make the directory entry name), or enter the page number to jump over the floating bar in the upper right corner. If you want to jump back to dance through the table of contents page, click on the toolbar's "back" button. Note that before the UV version v0.41 back, forward buttons on the implementation logic of a problem, so this method can only be used for the latest version of UV.

But the reason for scanning e-book version, then there have to create a directory: text search. Scanned PDF, DjVu format can be used to search the contents of hidden text, but the scan version of the PDG is no such thing, so I can only find content by searching the catalog text, bookinfo.dat files, this is the year I readfree trumpeted reason we should try to enrich bookinfo.dat contents of the file: for scanning version of PDG, can be used to search for any text is precious. Compare all PDG version of the examples given later in the tutorial are rich in information bookinfo.dat files, are interested can generate and official version SSREADER of what, in fact bookinfo.dat ini file format itself is a text file, just find a text editor can open. All zip / uvz search directories high UV version can search the directory currently reading a file, you can also lower the specified folder, bookinfo.dat text in a document. I write free software can only FindStr to bookinfo.dat file search. So I have always despised those acts of the information bookinfo.dat file all moved to the file name, and made the long file name: pro, obviously with a very simple text search will be able to get something, why not put their own a corner?

Third, how to use PdgCntEditor?

PdgCntEditor may be used alone:

  1. Start PdgCntEditor, the need to edit or create a directory of files dragged over the open. If you are not yet PDG file and directory files, you can copy a file from another PDG books bookcontents.dat the directory file, open delete the original content like.
  2. After editing toolbar or press Ctrl + S "Save" button. Note before saving if the file is already open in Acrobat, WinDjView or other browsers, you'll need to close your browser and then save, or it may be because the file is locked browser and causes the file to fail.

It is strongly recommended PdgCntEditor used in conjunction with UV, and UV upcoming PdgCntEditor placed under the same folder, click on the toolbar when UV with UV open a file browser, find the need to edit or create a directory "Edit contents" button to start PdgCntEditor editing. With the use of such benefits are:

  1. UV reading at the time, if we find no directory, or directory in question, you can always start PdgCntEditor be edited, and do not need to turn off looking at books in the UV. If there is no directory PDG will automatically create an empty directory files on startup PdgCntEditor from UV, does not require manual replication.
  2. After PdgCntEditor saved automatically refresh the directory displayed immediately in the UV, so you can see the directory timely editing effects.

So I saw the charges, and is to PdgCntEditor D version UV sell packaged together.

After starting PdgCntEditor enter the default text editing interface, edit window above a row of tabs are used to catalog PDG, PDF, DjVu can only operate in the "text page" inside. PDG Bookmark usually there is no need for input in addition to the "body of the page," the tab, because UV, Pdg2Pic will automatically replenish these items. If you have to enter, for example, you wanted to make a few foreword foreword page, you need to pay attention in the pages of each page in the Edit window are from the beginning, that is the cover page of the page number starting with 1, page preface, table of contents page, etc. also started from the 1.

If you just need to adjust the level of directory entries (indentation) relations, operating in the tree may be more intuitive interface than the text interface point, so click on the toolbar "Switch edit mode" button from the default text editing interface switch to the tree editing interface or switch back. But other editing functions tree editing interface is relatively weak, I rarely use, so this tutorial on text-based editing interface.

Whatever the interface, the first time PdgCntEditor are recommended to do the following things:

  1. Click on the toolbar "font" button, choose the right size based on the current screen resolution. The default font size may be too small on the high-resolution screen.
  2. Click on the toolbar of the "use" button, first read through the instructions say to use PdgCntEditor.

 ====================================== simple dividing line ======== ===========================

Due to limited space, the subsequent part of this series is not made here, there is a need can go directly to my Web site to download the full version of CHM format. Subsequent includes:

Tutorial II: edit an existing directory
  a basic editing operation
  Second, manual adjustments catalog series
  three automatic indentation
  Fourth, the use of regular expression processing indented
  five or subtraction Page
  Six, a practice example of integrated

Tutorial Three: to create from scratch a new directory
  First, the manual entry to create a directory
  Second, by searching for the text generation directory
  Third, build directory (before UV version 0.42) by OCR
  Fourth, by OCR build directory (after UV version 0.42)
  Five, multi-column when the recorded image processing and OCR OCR

 

Guess you like

Origin www.cnblogs.com/stronghorse/p/11519730.html