Commit cac844e07a256a564b1ca3953b2f965f738fdf12

Authored by Jay Berkenbilt
1 parent 1b55906a

Replace xref links to :ref:

Pandoc doesn't convert <xref> correctly, but it does so consistently,
so this commit just changes all xref links to :ref:.
Showing 2 changed files with 59 additions and 97 deletions
... ... @@ -33,7 +33,6 @@ See https://www.sphinx-doc.org/en/master/usage/restructuredtext/roles.html
33 33 <appendix>/<chapter>/<preface> -- no distinction
34 34 <programlisting> went to :: -- check them each
35 35 Make sure the information from <book> is in there
36   -<xref> -- find #ref. in converted rst
37 36  
38 37 Additional cleanup:
39 38  
... ...
manual/index.rst
... ... @@ -392,8 +392,7 @@ some things you may want to keep in mind:
392 392 However, qpdf still has a build-time dependency on perl.
393 393  
394 394 - Make sure you are getting the intended behavior with regard to crypto
395   - providers. Read `Build Support For Crypto
396   - Providers <#ref.crypto.build>`__ for details.
  395 + providers. Read :ref:`ref.crypto.build` for details.
397 396  
398 397 - Passing :samp:`--enable-show-failed-test-output` to
399 398 :command:`./configure` will cause any failed test
... ... @@ -451,8 +450,7 @@ place of :samp:`infilename`, the parameter
451 450 :samp:`--empty` may be specified. This causes qpdf to
452 451 use a dummy input file that contains zero pages. The only normal use
453 452 case for using :samp:`--empty` would be if you were
454   -going to add pages from another source, as discussed in `Page Selection
455   -Options <#ref.page-selection>`__.
  453 +going to add pages from another source, as discussed in :ref:`ref.page-selection`.
456 454  
457 455 If :samp:`@filename` appears as a word anywhere in the
458 456 command-line, it will be read line by line, and each line will be
... ... @@ -545,8 +543,7 @@ needed transformations.
545 543  
546 544 :samp:`--show-crypto`
547 545 Show a list of available crypto providers, each on a line by itself.
548   - The default provider is always listed first. See `Crypto
549   - Providers <#ref.crypto>`__ for more information about crypto
  546 + The default provider is always listed first. See :ref:`ref.crypto` for more information about crypto
550 547 providers.
551 548  
552 549 :samp:`--completion-bash`
... ... @@ -652,12 +649,10 @@ needed transformations.
652 649 Starting with version 10.4, qpdf issues warnings when requested to
653 650 create files using RC4 encryption. This option suppresses those
654 651 warnings. In future versions of qpdf, qpdf will refuse to create
655   - files with weak cryptography when this flag is not given. See `Weak
656   - Cryptography <#ref.weak-crypto>`__ for additional details.
  652 + files with weak cryptography when this flag is not given. See :ref:`ref.weak-crypto` for additional details.
657 653  
658 654 :samp:`--encrypt options --`
659   - Causes generation an encrypted output file. Please see `Encryption
660   - Options <#ref.encryption-options>`__ for details on how to specify
  655 + Causes generation an encrypted output file. Please see :ref:`ref.encryption-options` for details on how to specify
661 656 encryption parameters.
662 657  
663 658 :samp:`--decrypt`
... ... @@ -689,7 +684,7 @@ needed transformations.
689 684 Ordinarily, qpdf attempts to automatically compensate for passwords
690 685 specified in the wrong character encoding. This option suppresses
691 686 that behavior. Under normal conditions, there are no reasons to use
692   - this option. See `Unicode Passwords <#ref.unicode-passwords>`__ for a
  687 + this option. See :ref:`ref.unicode-passwords` for a
693 688 discussion
694 689  
695 690 :samp:`--password-mode={mode}`
... ... @@ -700,7 +695,7 @@ needed transformations.
700 695 :samp:`hex-bytes` mode also applies to passwords
701 696 specified for reading files. For additional discussion of the
702 697 supported password modes and when you might want to use them, see
703   - `Unicode Passwords <#ref.unicode-passwords>`__. The following modes
  698 + :ref:`ref.unicode-passwords`. The following modes
704 699 are supported:
705 700  
706 701 - :samp:`auto`: Automatically determine whether the
... ... @@ -740,8 +735,7 @@ needed transformations.
740 735 :samp:`--rotate=[+|-]angle[:page-range]`
741 736 Apply rotation to specified pages. The
742 737 :samp:`page-range` portion of the option value has
743   - the same format as page ranges in `Page Selection
744   - Options <#ref.page-selection>`__. If the page range is omitted, the
  738 + the same format as page ranges in :ref:`ref.page-selection`. If the page range is omitted, the
745 739 rotation is applied to all pages. The :samp:`angle`
746 740 portion of the parameter may be either 0, 90, 180, or 270. If
747 741 preceded by :samp:`+` or :samp:`-`,
... ... @@ -788,16 +782,14 @@ needed transformations.
788 782 :samp:`--keep-files-open` for details.
789 783  
790 784 :samp:`--pages options --`
791   - Select specific pages from one or more input files. See `Page
792   - Selection Options <#ref.page-selection>`__ for details on how to do
  785 + Select specific pages from one or more input files. See :ref:`ref.page-selection` for details on how to do
793 786 page selection (splitting and merging).
794 787  
795 788 :samp:`--collate={n}`
796 789 When specified, collate rather than concatenate pages from files
797 790 specified with :samp:`--pages`. With a numeric
798 791 argument, collate in groups of :samp:`{n}`.
799   - The default is 1. See `Page Selection
800   - Options <#ref.page-selection>`__ for additional details.
  792 + The default is 1. See :ref:`ref.page-selection` for additional details.
801 793  
802 794 :samp:`--flatten-rotation`
803 795 For each page that is rotated using the ``/Rotate`` key in the page's
... ... @@ -850,13 +842,11 @@ needed transformations.
850 842 require the global data.
851 843  
852 844 :samp:`--overlay options --`
853   - Overlay pages from another file onto the output pages. See `Overlay
854   - and Underlay Options <#ref.overlay-underlay>`__ for details on
  845 + Overlay pages from another file onto the output pages. See :ref:`ref.overlay-underlay` for details on
855 846 overlay/underlay.
856 847  
857 848 :samp:`--underlay options --`
858   - Overlay pages from another file onto the output pages. See `Overlay
859   - and Underlay Options <#ref.overlay-underlay>`__ for details on
  849 + Overlay pages from another file onto the output pages. See :ref:`ref.overlay-underlay` for details on
860 850 overlay/underlay.
861 851  
862 852 Password-protected files may be opened by specifying a password. By
... ... @@ -876,8 +866,7 @@ Prior to 8.4.0, in the case of passwords that contain characters that
876 866 fall outside of 7-bit US-ASCII, qpdf left the burden of supplying
877 867 properly encoded encryption and decryption passwords to the user.
878 868 Starting in qpdf 8.4.0, qpdf does this automatically in most cases. For
879   -an in-depth discussion, please see `Unicode
880   -Passwords <#ref.unicode-passwords>`__. Previous versions of this manual
  869 +an in-depth discussion, please see :ref:`ref.unicode-passwords`. Previous versions of this manual
881 870 described workarounds using the :command:`iconv` command.
882 871 Such workarounds are no longer required or recommended with qpdf 8.4.0.
883 872 However, for backward compatibility, qpdf attempts to detect those
... ... @@ -1284,7 +1273,7 @@ between the :samp:`--overlay` or
1284 1273 overlay/underlay file is encrypted.
1285 1274  
1286 1275 - :samp:`--to=page-range`: a range of pages in the same
1287   - form at described in `Page Selection Options <#ref.page-selection>`__
  1276 + form at described in :ref:`ref.page-selection`
1288 1277 indicates which pages in the output should have the overlay/underlay
1289 1278 applied. If not specified, overlay/underlay are applied to all pages.
1290 1279  
... ... @@ -1532,8 +1521,7 @@ following options are available:
1532 1521  
1533 1522 :samp:`--normalize-content=[yn]`
1534 1523 Enables or disables normalization of content streams. Content
1535   - normalization is enabled by default in QDF mode. Please see `QDF
1536   - Mode <#ref.qdf>`__ for additional discussion of QDF mode.
  1524 + normalization is enabled by default in QDF mode. Please see :ref:`ref.qdf` for additional discussion of QDF mode.
1537 1525  
1538 1526 :samp:`--object-streams={mode}`
1539 1527 Controls handling of object streams. The value of
... ... @@ -1740,8 +1728,7 @@ following options are available:
1740 1728 Remove page labels from the output file.
1741 1729  
1742 1730 :samp:`--qdf`
1743   - Turns on QDF mode. For additional information on QDF, please see `QDF
1744   - Mode <#ref.qdf>`__. Note that :samp:`--linearize`
  1731 + Turns on QDF mode. For additional information on QDF, please see :ref:`ref.qdf`. Note that :samp:`--linearize`
1745 1732 disables QDF mode.
1746 1733  
1747 1734 :samp:`--min-version={version}`
... ... @@ -1850,7 +1837,7 @@ documents are interspersed with comments that make it easier for the
1850 1837 user to find things and also make it possible for
1851 1838 :command:`fix-qdf` to work properly. QDF mode is intended
1852 1839 for people, mostly developers, who wish to inspect or modify PDF files
1853   -in a text editor. For details, please see `QDF Mode <#ref.qdf>`__.
  1840 +in a text editor. For details, please see :ref:`ref.qdf`.
1854 1841  
1855 1842 .. _ref.testing-options:
1856 1843  
... ... @@ -1956,7 +1943,7 @@ given. The following options are available:
1956 1943  
1957 1944 :samp:`--json`
1958 1945 Generate a JSON representation of the file. This is described in
1959   - depth in `QPDF JSON <#ref.json>`__
  1946 + depth in :ref:`ref.json`
1960 1947  
1961 1948 :samp:`--json-help`
1962 1949 Describe the format of the JSON output.
... ... @@ -2275,7 +2262,7 @@ Other Languages
2275 2262 command-line tool can produce a JSON representation of the PDF file's
2276 2263 non-content data. This can facilitate interacting programmatically
2277 2264 with PDF files through qpdf's command line interface. For more
2278   - information, please see `QPDF JSON <#ref.json>`__.
  2265 + information, please see :ref:`ref.json`.
2279 2266  
2280 2267 .. _ref.unicode-files:
2281 2268  
... ... @@ -2632,8 +2619,7 @@ full details, please see the header files
2632 2619 :file:`QPDF.hh` and
2633 2620 :file:`QPDFObjectHandle.hh`. There are also some
2634 2621 additional helper classes that provide higher level API functions for
2635   -certain document constructions. These are discussed in `Helper
2636   -Classes <#ref.helper-classes>`__.
  2622 +certain document constructions. These are discussed in :ref:`ref.helper-classes`.
2637 2623  
2638 2624 .. _ref.helper-classes:
2639 2625  
... ... @@ -3035,8 +3021,7 @@ construct the references. When finished, you can call
3035 3021 ``QPDF::replaceReserved`` to replace the reserved objects with the real
3036 3022 ones. This functionality will never be needed by most applications, but
3037 3023 it is used internally by QPDF when copying objects from other PDF files,
3038   -as discussed in `Copying Objects From Other PDF
3039   -Files <#ref.foreign-objects>`__. For an example of how to use reserved
  3024 +as discussed in :ref:`ref.foreign-objects`. For an example of how to use reserved
3040 3025 objects, search for ``newReserved`` in
3041 3026 :file:`test_driver.cc` in qpdf's sources.
3042 3027  
... ... @@ -3084,10 +3069,9 @@ Writing PDF Files
3084 3069 The qpdf library supports file writing of ``QPDF`` objects to PDF files
3085 3070 through the ``QPDFWriter`` class. The ``QPDFWriter`` class has two
3086 3071 writing modes: one for non-linearized files, and one for linearized
3087   -files. See `Linearization <#ref.linearization>`__ for a description of
  3072 +files. See :ref:`ref.linearization` for a description of
3088 3073 linearization is implemented. This section describes how we write
3089   -non-linearized files including the creation of QDF files (see `QDF
3090   -Mode <#ref.qdf>`__.
  3074 +non-linearized files including the creation of QDF files (see :ref:`ref.qdf`.
3091 3075  
3092 3076 This outline was written prior to implementation and is not exactly
3093 3077 accurate, but it provides a correct "notional" idea of how writing
... ... @@ -3299,7 +3283,7 @@ tree). We also have to know which objects refer to which other objects,
3299 3283 being concerned with page boundaries and a few other cases. We refer to
3300 3284 this part of preparing the PDF file as
3301 3285 *optimization*, discussed in
3302   -`Optimization <#ref.optimization>`__. Note the, in this context, the
  3286 +:ref:`ref.optimization`. Note the, in this context, the
3303 3287 term *optimization* is a qpdf term, and the
3304 3288 term *linearization* is a term from the PDF
3305 3289 specification. Do not be confused by the fact that many applications
... ... @@ -3490,8 +3474,7 @@ if the file is encrypted, though this is not specifically disallowed by
3490 3474 the specification.
3491 3475  
3492 3476 There are additional restrictions for linearized files. See
3493   -`Implications for Linearized
3494   -Files <#ref.object-streams-linearization>`__\ for details.
  3477 +:ref:`ref.object-streams-linearization` for details.
3495 3478  
3496 3479 The PDF specification refers to objects in object streams as "compressed
3497 3480 objects" regardless of whether the object stream is compressed.
... ... @@ -3666,8 +3649,7 @@ For a detailed list of changes, please see the file
3666 3649 error code of ``qpdf_e_object`` instead of
3667 3650 ``qpdf_e_damaged_pdf``. Also, comments have been added to
3668 3651 :file:`QPDFObjectHandle.hh` to explain in
3669   - more detail what the behavior is. See `Object Accessor
3670   - Methods <#ref.object-accessors>`__ for a more in-depth
  3652 + more detail what the behavior is. See :ref:`ref.object-accessors` for a more in-depth
3671 3653 discussion.
3672 3654  
3673 3655 - Overhaul error handling for the object handle functions in the
... ... @@ -3705,8 +3687,7 @@ For a detailed list of changes, please see the file
3705 3687 acknowledgment moving forward. For qpdf 10.4, this change only
3706 3688 affects the command-line tool. Starting in qpdf 11, there will
3707 3689 be small API changes to require explicit acknowledgment in
3708   - those cases as well. For additional information, see `Weak
3709   - Cryptography <#ref.weak-crypto>`__.
  3690 + those cases as well. For additional information, see :ref:`ref.weak-crypto`.
3710 3691  
3711 3692 - Bug Fixes
3712 3693  
... ... @@ -3861,8 +3842,7 @@ For a detailed list of changes, please see the file
3861 3842 - CLI Enhancements
3862 3843  
3863 3844 - Add new command line options for listing, saving, adding,
3864   - removing, and and copying file attachments. See `Embedded
3865   - Files/Attachments Options <#ref.attachments>`__ for details.
  3845 + removing, and and copying file attachments. See :ref:`ref.attachments` for details.
3866 3846  
3867 3847 - Page splitting and merging operations, as well as
3868 3848 :samp:`--flatten-rotation`, are better behaved
... ... @@ -4273,8 +4253,7 @@ For a detailed list of changes, please see the file
4273 4253 expensive process of finding and removing unreferenced
4274 4254 resources is likely to be of benefit. For most files, this new
4275 4255 default will result in a significant performance improvement
4276   - for splitting pages. See `Advanced Transformation
4277   - Options <#ref.advanced-transformation>`__ for a more detailed
  4256 + for splitting pages. See :ref:`ref.advanced-transformation` for a more detailed
4278 4257 discussion.
4279 4258  
4280 4259 - The :samp:`--preserve-unreferenced-resources`
... ... @@ -4406,10 +4385,8 @@ For a detailed list of changes, please see the file
4406 4385 - A C++-11 compiler is now required to build qpdf.
4407 4386  
4408 4387 - A new crypto provider that uses gnutls for crypto functions is
4409   - now available and can be enabled at build time. See `Crypto
4410   - Providers <#ref.crypto>`__ for more information about crypto
4411   - providers and `Build Support For Crypto
4412   - Providers <#ref.crypto.build>`__ for specific information about
  4388 + now available and can be enabled at build time. See :ref:`ref.crypto` for more information about crypto
  4389 + providers and :ref:`ref.crypto.build` for specific information about
4413 4390 the build.
4414 4391  
4415 4392 - Library Enhancements
... ... @@ -4433,14 +4410,12 @@ For a detailed list of changes, please see the file
4433 4410 This includes the addition of new classes
4434 4411 ``QPDFCryptoProvider`` and ``QPDFCryptoImpl`` and the
4435 4412 recognition of the ``QPDF_CRYPTO_PROVIDER`` environment
4436   - variable. Crypto providers are described in depth in `Crypto
4437   - Providers <#ref.crypto>`__.
  4413 + variable. Crypto providers are described in depth in :ref:`ref.crypto`.
4438 4414  
4439 4415 - CLI Enhancements
4440 4416  
4441 4417 - Addition of the :samp:`--show-crypto` option in
4442   - support of selectable crypto providers, as described in `Crypto
4443   - Providers <#ref.crypto>`__.
  4418 + support of selectable crypto providers, as described in :ref:`ref.crypto`.
4444 4419  
4445 4420 - Allow ``:even`` or ``:odd`` to be appended to numeric ranges
4446 4421 for specification of the even or odd pages from among the pages
... ... @@ -4509,8 +4484,7 @@ For a detailed list of changes, please see the file
4509 4484 - The :samp:`--replace-input` option may be given
4510 4485 in place of an output file name. This causes qpdf to overwrite
4511 4486 the input file with the output. See the description of
4512   - :samp:`--replace-input` in `Basic
4513   - Options <#ref.basic-options>`__ for more details.
  4487 + :samp:`--replace-input` in :ref:`ref.basic-options` for more details.
4514 4488  
4515 4489 - The :samp:`--recompress-flate` instructs
4516 4490 :command:`qpdf` to recompress streams that are
... ... @@ -4531,8 +4505,7 @@ For a detailed list of changes, please see the file
4531 4505 conversion methods do range checking to ensure that the cast
4532 4506 can be performed with no loss of information. Every use of
4533 4507 ``static_cast`` in the library was inspected to see if it could
4534   - use one of these safe converters instead. See `Casting
4535   - Policy <#ref.casting>`__ for additional details.
  4508 + use one of these safe converters instead. See :ref:`ref.casting` for additional details.
4536 4509  
4537 4510 - Method ``QPDF::anyWarnings`` tells whether there have been any
4538 4511 warnings without clearing the list of warnings.
... ... @@ -4726,7 +4699,7 @@ For a detailed list of changes, please see the file
4726 4699 previous releases when the passwords contain non-ASCII
4727 4700 characters. In some cases, the behavior differs from previous
4728 4701 releases. For a discussion of the current behavior, please see
4729   - `Unicode Passwords <#ref.unicode-passwords>`__. The
  4702 + :ref:`ref.unicode-passwords`. The
4730 4703 incompatibilities are as follows:
4731 4704  
4732 4705 - On Windows, qpdf now receives all command-line options as
... ... @@ -4757,7 +4730,7 @@ For a detailed list of changes, please see the file
4757 4730 the PDF spec requires. While this is almost always the
4758 4731 correct behavior, it is possible to override the behavior if
4759 4732 there is some reason to do so. This is discussed in more
4760   - depth in `Unicode Passwords <#ref.unicode-passwords>`__.
  4733 + depth in :ref:`ref.unicode-passwords`.
4761 4734  
4762 4735 - New options
4763 4736 :samp:`--externalize-inline-images`,
... ... @@ -4766,13 +4739,12 @@ For a detailed list of changes, please see the file
4766 4739 handling of inline images and possible conversion of them to
4767 4740 regular images. By default,
4768 4741 :samp:`--optimize-images` now also applies to
4769   - inline images. These options are discussed in `Advanced
4770   - Transformation Options <#ref.advanced-transformation>`__.
  4742 + inline images. These options are discussed in :ref:`ref.advanced-transformation`.
4771 4743  
4772 4744 - Add options :samp:`--overlay` and
4773 4745 :samp:`--underlay` for overlaying or
4774 4746 underlaying pages of other files onto output pages. See
4775   - `Overlay and Underlay Options <#ref.overlay-underlay>`__ for
  4747 + :ref:`ref.overlay-underlay` for
4776 4748 details.
4777 4749  
4778 4750 - When opening an encrypted file with a password, if the
... ... @@ -4781,13 +4753,12 @@ For a detailed list of changes, please see the file
4781 4753 passwords to try to compensate for possible character encoding
4782 4754 errors. This behavior can be suppressed with the
4783 4755 :samp:`--suppress-password-recovery` option.
4784   - See `Unicode Passwords <#ref.unicode-passwords>`__ for a full
  4756 + See :ref:`ref.unicode-passwords` for a full
4785 4757 discussion.
4786 4758  
4787 4759 - Add the :samp:`--password-mode` option to
4788 4760 fine-tune how qpdf interprets password arguments, especially
4789   - when they contain non-ASCII characters. See `Unicode
4790   - Passwords <#ref.unicode-passwords>`__ for more information.
  4761 + when they contain non-ASCII characters. See :ref:`ref.unicode-passwords` for more information.
4791 4762  
4792 4763 - In the :samp:`--pages` option, it is now
4793 4764 possible to copy the same page more than once from the same
... ... @@ -4961,8 +4932,7 @@ For a detailed list of changes, please see the file
4961 4932 - Page collation: add new option
4962 4933 :samp:`--collate`. When specified, the
4963 4934 semantics of :samp:`--pages` change from
4964   - concatenation to collation. See `Page Selection
4965   - Options <#ref.page-selection>`__ for examples and discussion.
  4935 + concatenation to collation. See :ref:`ref.page-selection` for examples and discussion.
4966 4936  
4967 4937 - Generation of information in JSON format, primarily to
4968 4938 facilitate use of qpdf from languages other than C++. Add new
... ... @@ -4971,7 +4941,7 @@ For a detailed list of changes, please see the file
4971 4941 :samp:`--json-object` to generate a JSON
4972 4942 representation of the PDF file. Run :command:`qpdf
4973 4943 --json-help` to get a description of the JSON
4974   - format. For more information, see `QPDF JSON <#ref.json>`__.
  4944 + format. For more information, see :ref:`ref.json`.
4975 4945  
4976 4946 - The :samp:`--generate-appearances` flag will
4977 4947 cause qpdf to generate appearances for form fields if the PDF
... ... @@ -5129,8 +5099,7 @@ For a detailed list of changes, please see the file
5129 5099 - Notes for Packagers
5130 5100  
5131 5101 - A new section has been added to the documentation with notes
5132   - for packagers. Please see `Notes for
5133   - Packagers <#ref.packaging>`__.
  5102 + for packagers. Please see :ref:`ref.packaging`.
5134 5103  
5135 5104 - The qpdf detects out-of-date automatically generated files. If
5136 5105 your packaging system automatically refreshes libtool or
... ... @@ -5152,8 +5121,7 @@ For a detailed list of changes, please see the file
5152 5121 :samp:`--keep-files-open={[yn]}`
5153 5122 to override default determination of whether to keep files open
5154 5123 when merging. Please see the discussion of
5155   - :samp:`--keep-files-open` in `Basic
5156   - Options <#ref.basic-options>`__ for additional details.
  5124 + :samp:`--keep-files-open` in :ref:`ref.basic-options` for additional details.
5157 5125  
5158 5126 8.2.0: August 16, 2018
5159 5127 - Command-line Enhancements
... ... @@ -5219,8 +5187,7 @@ For a detailed list of changes, please see the file
5219 5187 page splitting is very slow, the old behavior (and speed) can
5220 5188 be enabled by specifying
5221 5189 :samp:`--preserve-unreferenced-resources`. For
5222   - additional details, please see `Advanced Transformation
5223   - Options <#ref.advanced-transformation>`__.
  5190 + additional details, please see :ref:`ref.advanced-transformation`.
5224 5191  
5225 5192 - When merging multiple PDF files, qpdf no longer leaves all the
5226 5193 files open. This makes it possible to merge numbers of files
... ... @@ -5265,7 +5232,7 @@ For a detailed list of changes, please see the file
5265 5232 introduced. These are designed to provide a more convenient way
5266 5233 of interacting with certain document features than using
5267 5234 ``QPDFObjectHandle`` directly. For details on helpers, see
5268   - `Helper Classes <#ref.helper-classes>`__. Specific additional
  5235 + :ref:`ref.helper-classes`. Specific additional
5269 5236 interfaces are described below.
5270 5237  
5271 5238 - Add two new document helper classes: ``QPDFPageDocumentHelper``
... ... @@ -5350,7 +5317,7 @@ For a detailed list of changes, please see the file
5350 5317  
5351 5318 - Enhancements to the :command:`qpdf` Command-line
5352 5319 Tool. All new options listed here are documented in more detail in
5353   - `Running QPDF <#ref.using>`__.
  5320 + :ref:`ref.using`.
5354 5321  
5355 5322 - The option
5356 5323 :samp:`--linearize-pass1={file}`
... ... @@ -5406,7 +5373,7 @@ For a detailed list of changes, please see the file
5406 5373 the encryption key used by a file. This is a non-standard
5407 5374 operation, but it can be useful in certain situations. Please see
5408 5375 the discussion of :samp:`--password-is-hex-key` in
5409   - `Basic Options <#ref.basic-options>`__ or the comments around
  5376 + :ref:`ref.basic-options` or the comments around
5410 5377 ``QPDF::setPasswordIsHexKey`` in
5411 5378 :file:`QPDF.hh` for additional details.
5412 5379  
... ... @@ -5464,11 +5431,10 @@ For a detailed list of changes, please see the file
5464 5431  
5465 5432 - Enhancements to the :command:`qpdf` Command-line
5466 5433 Tool. All new options listed here are documented in more detail in
5467   - `Running QPDF <#ref.using>`__.
  5434 + :ref:`ref.using`.
5468 5435  
5469 5436 - Command-line arguments can now be read from files or standard
5470   - input using ``@file`` or ``@-`` syntax. Please see `Basic
5471   - Invocation <#ref.invocation>`__.
  5437 + input using ``@file`` or ``@-`` syntax. Please see :ref:`ref.invocation`.
5472 5438  
5473 5439 - :samp:`--rotate`: request page rotation
5474 5440  
... ... @@ -5780,8 +5746,7 @@ For a detailed list of changes, please see the file
5780 5746 ``QPDFWriter::setMinimumPDFVersion`` and
5781 5747 ``QPDFWriter::forcePDFVersion`` that accept an extension level,
5782 5748 and extended syntax for specifying forced and minimum versions on
5783   - the command line as described in `Advanced Transformation
5784   - Options <#ref.advanced-transformation>`__. Corresponding functions
  5749 + the command line as described in :ref:`ref.advanced-transformation`. Corresponding functions
5785 5750 have been added to the C API as well.
5786 5751  
5787 5752 - Minor fixes to prevent qpdf from referencing objects in the file
... ... @@ -5898,7 +5863,7 @@ For a detailed list of changes, please see the file
5898 5863 ``QPDFObjectHandle::replaceStreamData`` that uses a
5899 5864 ``StreamDataProvider`` no longer requires (or accepts) a
5900 5865 ``length`` parameter. See
5901   - `appendix_title <#ref.upgrading-to-3.0>`__ for an explanation.
  5866 + :ref:`ref.upgrading-to-3.0` for an explanation.
5902 5867 While care is taken to avoid non-compatible API changes in
5903 5868 general, an exception was made this time because the new interface
5904 5869 offers an opportunity to significantly simplify calling code.
... ... @@ -5911,19 +5876,17 @@ For a detailed list of changes, please see the file
5911 5876  
5912 5877 - Support for page selection (splitting and merging PDF files) has
5913 5878 been added to the :command:`qpdf` command-line
5914   - tool. See `Page Selection Options <#ref.page-selection>`__.
  5879 + tool. See :ref:`ref.page-selection`.
5915 5880  
5916 5881 - Options have been added to the :command:`qpdf`
5917 5882 command-line tool for copying encryption parameters from another
5918   - file. See `Basic Options <#ref.basic-options>`__.
  5883 + file. See :ref:`ref.basic-options`.
5919 5884  
5920 5885 - New methods have been added to the ``QPDF`` object for adding and
5921   - removing pages. See `Adding and Removing
5922   - Pages <#ref.adding-and-remove-pages>`__.
  5886 + removing pages. See :ref:`ref.adding-and-remove-pages`.
5923 5887  
5924 5888 - New methods have been added to the ``QPDF`` object for copying
5925   - objects from other PDF files. See `Copying Objects From Other PDF
5926   - Files <#ref.foreign-objects>`__
  5889 + objects from other PDF files. See :ref:`ref.foreign-objects`
5927 5890  
5928 5891 - A new method ``QPDFObjectHandle::parse`` has been added for
5929 5892 constructing ``QPDFObjectHandle`` objects from a string
... ... @@ -6186,7 +6149,7 @@ For a detailed list of changes, please see the file
6186 6149 additional information.
6187 6150  
6188 6151 - There have been a handful of non-compatible API changes. For
6189   - details, see `appendix_title <#ref.upgrading-to-2.1>`__.
  6152 + details, see :ref:`ref.upgrading-to-2.1`.
6190 6153  
6191 6154 2.0.6: May 3, 2009
6192 6155 - Do not attempt to uncompress streams that have decode parameters
... ... @@ -6323,7 +6286,7 @@ unlikely that anyone&#39;s code would have used any of those parts of the
6323 6286 API since they generally required information that would only be
6324 6287 available inside the library. In the unlikely event that you should run
6325 6288 into trouble, please see the ChangeLog. See also
6326   -`appendix_title <#ref.release-notes>`__ for a complete list of the
  6289 +:ref:`ref.release-notes` for a complete list of the
6327 6290 non-compatible API changes made in this version.
6328 6291  
6329 6292  
... ...