How to create URL link to the specific section of the PDF file?

I am trying to create a pointer link to a specific section of the PDF file which is in my local directory.

Normally I create hyperlinks to the pages like that.

xyz.pdf#page=4

But I cannot figure out how can I point sections of the book with URL. For example, the following hyperlinks point to the somewhere of the book. I want to know what is the URL syntax for accessing these sections.

2 Intelligent Agents 34
2.1 Agents and Environments . . . . . . . . . . . . . . . . . . . . . . . . . . 34
2.2 Good Behavior: The Concept of Rationality . . . . . . . . . . . . . . . . 36
2.3 The Nature of Environments . . . . . . . . . . . . . . . . . . . . . . . . . 40
2.4 The Structure of Agents . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
2.5 Summary, Bibliographical and Historical Notes, Exercises . . . . . . . . . 59

Solution 1:

Strictly speaking, what is usually referred to as chapters or sections inside a PDF, are bookmarks. According to Adobe's Parameters for Opening PDF Files, there are only two official ways of opening a PDF on specified position, and bookmarks are not there:

  1. Named destination. Depending on your PDF viewer, you need to find a list of so-called destinations in your document and use the desired one (there should be no white spaces):

    [PDF file](./xyz.pdf#[destination name])

  2. Specific page. The method you are already aware of:

    [PDF file](./xyz.pdf#page=[page number])

IMO the easiest and robust way is just to stick with page numbers, also due to URL limitations (from the same document):

Individual parameters, together with their values (separated by & or #), can be no greater then 32 characters in length.