Commit f4531e8a47dbbd2ecb6d58c8bd831494be3c10c2
1 parent
bf4d1078
Relabel replaceable in samp or file
Replace @1@replaceable@1@...@2@replaceable@2@ with
@3@replaceable@3@...@3@replaceable@3@ inside of :samp: and :file: so
that all remaining @1@replaceable@1@...@2@replaceable@2@ are outside.
Since the {...} syntax for replaceable only works in :samp: and
:file:, we will have to enclose the remaining ones in :samp: for them
to work.
Showing
1 changed file
with
58 additions
and
58 deletions
manual/index.rst
| ... | ... | @@ -226,22 +226,22 @@ available crypto providers, and to use an external provider as the |
| 226 | 226 | default over the native one. This behavior can be changed with the |
| 227 | 227 | following flags to :command:`./configure`: |
| 228 | 228 | |
| 229 | -- :samp:`--enable-crypto-@1@replaceable@1@x@2@replaceable@2@` | |
| 229 | +- :samp:`--enable-crypto-@3@replaceable@3@x@4@replaceable@4@` | |
| 230 | 230 | (where @1@replaceable@1@x@2@replaceable@2@ is a supported crypto |
| 231 | 231 | provider): enable the @1@replaceable@1@x@2@replaceable@2@ crypto |
| 232 | 232 | provider, requiring any external dependencies it needs |
| 233 | 233 | |
| 234 | -- :samp:`--disable-crypto-@1@replaceable@1@x@2@replaceable@2@`: | |
| 234 | +- :samp:`--disable-crypto-@3@replaceable@3@x@4@replaceable@4@`: | |
| 235 | 235 | disable the @1@replaceable@1@x@2@replaceable@2@ provider, and do not |
| 236 | 236 | link against its dependencies even if they are available |
| 237 | 237 | |
| 238 | -- :samp:`--with-default-crypto=@1@replaceable@1@x@2@replaceable@2@`: | |
| 238 | +- :samp:`--with-default-crypto=@3@replaceable@3@x@4@replaceable@4@`: | |
| 239 | 239 | make @1@replaceable@1@x@2@replaceable@2@ the default provider even if |
| 240 | 240 | a higher priority one is available |
| 241 | 241 | |
| 242 | 242 | - :samp:`--disable-implicit-crypto`: only build crypto |
| 243 | 243 | providers that are explicitly requested with an |
| 244 | - :samp:`--enable-crypto-@1@replaceable@1@x@2@replaceable@2@` | |
| 244 | + :samp:`--enable-crypto-@3@replaceable@3@x@4@replaceable@4@` | |
| 245 | 245 | option |
| 246 | 246 | |
| 247 | 247 | For example, if you want to guarantee that the gnutls crypto provider is |
| ... | ... | @@ -557,7 +557,7 @@ needed transformations. |
| 557 | 557 | Output a completion command you can eval to enable shell completion |
| 558 | 558 | from zsh. |
| 559 | 559 | |
| 560 | -:samp:`--password=@1@replaceable@1@password@2@replaceable@2@` | |
| 560 | +:samp:`--password=@3@replaceable@3@password@4@replaceable@4@` | |
| 561 | 561 | Specifies a password for accessing encrypted files. To read the |
| 562 | 562 | password from a file or standard input, you can use |
| 563 | 563 | :samp:`--password-file`, added in qpdf 10.2. Note |
| ... | ... | @@ -565,16 +565,16 @@ needed transformations. |
| 565 | 565 | :samp:`@-` as described above to put the password in |
| 566 | 566 | a file or pass it via standard input, but you would do so by |
| 567 | 567 | specifying the entire |
| 568 | - :samp:`--password=@1@replaceable@1@password@2@replaceable@2@` | |
| 568 | + :samp:`--password=@3@replaceable@3@password@4@replaceable@4@` | |
| 569 | 569 | option in the file. Syntax such as |
| 570 | 570 | :samp:`--password=@filename` won't work since |
| 571 | 571 | :samp:`@filename` is not recognized in the middle of |
| 572 | 572 | an argument. |
| 573 | 573 | |
| 574 | -:samp:`--password-file=@1@replaceable@1@filename@2@replaceable@2@` | |
| 574 | +:samp:`--password-file=@3@replaceable@3@filename@4@replaceable@4@` | |
| 575 | 575 | Reads the first line from the specified file and uses it as the |
| 576 | 576 | password for accessing encrypted files. |
| 577 | - :samp:`@1@replaceable@1@filename@2@replaceable@2@` | |
| 577 | + :samp:`@3@replaceable@3@filename@4@replaceable@4@` | |
| 578 | 578 | may be ``-`` to read the password from standard input. Note that, in |
| 579 | 579 | this case, the password is echoed and there is no prompt, so use with |
| 580 | 580 | caution. |
| ... | ... | @@ -625,10 +625,10 @@ needed transformations. |
| 625 | 625 | If specified, the output file name should be omitted. This option |
| 626 | 626 | tells qpdf to replace the input file with the output. It does this by |
| 627 | 627 | writing to |
| 628 | - :file:`@1@replaceable@1@infilename@2@replaceable@2@.~qpdf-temp#` | |
| 628 | + :file:`@3@replaceable@3@infilename@4@replaceable@4@.~qpdf-temp#` | |
| 629 | 629 | and, when done, overwriting the input file with the temporary file. |
| 630 | 630 | If there were any warnings, the original input is saved as |
| 631 | - :file:`@1@replaceable@1@infilename@2@replaceable@2@.~qpdf-orig`. | |
| 631 | + :file:`@3@replaceable@3@infilename@4@replaceable@4@.~qpdf-orig`. | |
| 632 | 632 | |
| 633 | 633 | :samp:`--copy-encryption=file` |
| 634 | 634 | Encrypt the file using the same encryption parameters, including user |
| ... | ... | @@ -692,7 +692,7 @@ needed transformations. |
| 692 | 692 | this option. See `Unicode Passwords <#ref.unicode-passwords>`__ for a |
| 693 | 693 | discussion |
| 694 | 694 | |
| 695 | -:samp:`--password-mode=@1@replaceable@1@mode@2@replaceable@2@` | |
| 695 | +:samp:`--password-mode=@3@replaceable@3@mode@4@replaceable@4@` | |
| 696 | 696 | This option can be used to fine-tune how qpdf interprets Unicode |
| 697 | 697 | (non-ASCII) password strings passed on the command line. With the |
| 698 | 698 | exception of the :samp:`hex-bytes` mode, these only |
| ... | ... | @@ -757,7 +757,7 @@ needed transformations. |
| 757 | 757 | out.pdf --rotate=+180` would rotate all pages by 180 |
| 758 | 758 | degrees. |
| 759 | 759 | |
| 760 | -:samp:`--keep-files-open=@1@replaceable@1@[yn]@2@replaceable@2@` | |
| 760 | +:samp:`--keep-files-open=@3@replaceable@3@[yn]@4@replaceable@4@` | |
| 761 | 761 | This option controls whether qpdf keeps individual files open while |
| 762 | 762 | merging. Prior to version 8.1.0, qpdf always kept all files open, but |
| 763 | 763 | this meant that the number of files that could be merged was limited |
| ... | ... | @@ -782,7 +782,7 @@ needed transformations. |
| 782 | 782 | switching may be changed from the default 200 with the |
| 783 | 783 | :samp:`--keep-files-open-threshold` option. |
| 784 | 784 | |
| 785 | -:samp:`--keep-files-open-threshold=@1@replaceable@1@count@2@replaceable@2@` | |
| 785 | +:samp:`--keep-files-open-threshold=@3@replaceable@3@count@4@replaceable@4@` | |
| 786 | 786 | If specified, overrides the default value of 200 used as the |
| 787 | 787 | threshold for qpdf deciding whether or not to keep files open. See |
| 788 | 788 | :samp:`--keep-files-open` for details. |
| ... | ... | @@ -792,7 +792,7 @@ needed transformations. |
| 792 | 792 | Selection Options <#ref.page-selection>`__ for details on how to do |
| 793 | 793 | page selection (splitting and merging). |
| 794 | 794 | |
| 795 | -:samp:`--collate=@1@replaceable@1@n@2@replaceable@2@` | |
| 795 | +:samp:`--collate=@3@replaceable@3@n@4@replaceable@4@` | |
| 796 | 796 | When specified, collate rather than concatenate pages from files |
| 797 | 797 | specified with :samp:`--pages`. With a numeric |
| 798 | 798 | argument, collate in groups of @1@replaceable@1@n@2@replaceable@2@. |
| ... | ... | @@ -906,12 +906,12 @@ you want to create such files, specify the encryption option |
| 906 | 906 | :samp:`--allow-insecure`, as described below. |
| 907 | 907 | |
| 908 | 908 | The value for |
| 909 | -:samp:`@1@replaceable@1@key-length@2@replaceable@2@` may | |
| 909 | +:samp:`@3@replaceable@3@key-length@4@replaceable@4@` may | |
| 910 | 910 | be 40, 128, or 256. The restriction flags are dependent upon key length. |
| 911 | 911 | When no additional restrictions are given, the default is to be fully |
| 912 | 912 | permissive. |
| 913 | 913 | |
| 914 | -If :samp:`@1@replaceable@1@key-length@2@replaceable@2@` | |
| 914 | +If :samp:`@3@replaceable@3@key-length@4@replaceable@4@` | |
| 915 | 915 | is 40, the following restriction options are available: |
| 916 | 916 | |
| 917 | 917 | :samp:`--print=[yn]` |
| ... | ... | @@ -927,7 +927,7 @@ is 40, the following restriction options are available: |
| 927 | 927 | Determines whether or not to allow comments and form fill-in and |
| 928 | 928 | signing. |
| 929 | 929 | |
| 930 | -If :samp:`@1@replaceable@1@key-length@2@replaceable@2@` | |
| 930 | +If :samp:`@3@replaceable@3@key-length@4@replaceable@4@` | |
| 931 | 931 | is 128, the following restriction options are available: |
| 932 | 932 | |
| 933 | 933 | :samp:`--accessibility=[yn]` |
| ... | ... | @@ -960,9 +960,9 @@ is 128, the following restriction options are available: |
| 960 | 960 | :samp:`--annotate`, and |
| 961 | 961 | :samp:`--form` options. |
| 962 | 962 | |
| 963 | -:samp:`--print=@1@replaceable@1@print-opt@2@replaceable@2@` | |
| 963 | +:samp:`--print=@3@replaceable@3@print-opt@4@replaceable@4@` | |
| 964 | 964 | Controls printing access. |
| 965 | - :samp:`@1@replaceable@1@print-opt@2@replaceable@2@` | |
| 965 | + :samp:`@3@replaceable@3@print-opt@4@replaceable@4@` | |
| 966 | 966 | may be one of the following: |
| 967 | 967 | |
| 968 | 968 | - :samp:`full`: allow full printing |
| ... | ... | @@ -971,10 +971,10 @@ is 128, the following restriction options are available: |
| 971 | 971 | |
| 972 | 972 | - :samp:`none`: disallow printing |
| 973 | 973 | |
| 974 | -:samp:`--modify=@1@replaceable@1@modify-opt@2@replaceable@2@` | |
| 974 | +:samp:`--modify=@3@replaceable@3@modify-opt@4@replaceable@4@` | |
| 975 | 975 | Controls modify access. This way of controlling modify access has |
| 976 | 976 | less granularity than new options added in qpdf 8.4. |
| 977 | - :samp:`@1@replaceable@1@modify-opt@2@replaceable@2@` | |
| 977 | + :samp:`@3@replaceable@3@modify-opt@4@replaceable@4@` | |
| 978 | 978 | may be one of the following: |
| 979 | 979 | |
| 980 | 980 | - :samp:`all`: allow full document modification |
| ... | ... | @@ -1022,7 +1022,7 @@ is 128, the following restriction options are available: |
| 1022 | 1022 | ever use this option. It exists primarily for use in testing qpdf |
| 1023 | 1023 | itself. This option also forces the PDF version to be at least 1.5. |
| 1024 | 1024 | |
| 1025 | -If :samp:`@1@replaceable@1@key-length@2@replaceable@2@` | |
| 1025 | +If :samp:`@3@replaceable@3@key-length@4@replaceable@4@` | |
| 1026 | 1026 | is 256, the minimum PDF version is 1.7 with extension level 8, and the |
| 1027 | 1027 | AES-based encryption format used is the PDF 2.0 encryption method |
| 1028 | 1028 | supported by Acrobat X. the same options are available as with 128 bits |
| ... | ... | @@ -1154,7 +1154,7 @@ following pages in this order: |
| 1154 | 1154 | |
| 1155 | 1155 | Starting in qpdf version 10.2, you may specify a numeric argument to |
| 1156 | 1156 | :samp:`--collate`. With |
| 1157 | -:samp:`--collate=@1@replaceable@1@n@2@replaceable@2@`, | |
| 1157 | +:samp:`--collate=@3@replaceable@3@n@4@replaceable@4@`, | |
| 1158 | 1158 | pull groups of @1@replaceable@1@n@2@replaceable@2@ pages from each file, |
| 1159 | 1159 | again, stopping when there are no more pages. For example, if you ran |
| 1160 | 1160 | :command:`qpdf --collate=2 --empty --pages a.pdf 1-5 b.pdf 6-4 c.pdf |
| ... | ... | @@ -1330,44 +1330,44 @@ from the command line. The following options are available: |
| 1330 | 1330 | The key is usually but not always equal to the file name, and is |
| 1331 | 1331 | needed by some of the other options. |
| 1332 | 1332 | |
| 1333 | -:samp:`--show-attachment=@1@replaceable@1@key@2@replaceable@2@` | |
| 1333 | +:samp:`--show-attachment=@3@replaceable@3@key@4@replaceable@4@` | |
| 1334 | 1334 | Write the contents of the specified attachment to standard output as |
| 1335 | 1335 | binary data. The key should match one of the keys shown by |
| 1336 | 1336 | :samp:`--list-attachments`. If specified multiple |
| 1337 | 1337 | times, only the last attachment will be shown. |
| 1338 | 1338 | |
| 1339 | -:samp:`--add-attachment @1@replaceable@1@file@2@replaceable@2@ @1@replaceable@1@options@2@replaceable@2@ --` | |
| 1339 | +:samp:`--add-attachment @3@replaceable@3@file@4@replaceable@4@ @3@replaceable@3@options@4@replaceable@4@ --` | |
| 1340 | 1340 | Add or replace an attachment with the contents of |
| 1341 | 1341 | @1@replaceable@1@file@2@replaceable@2@. This may be specified more |
| 1342 | 1342 | than once. The following additional options may appear before the |
| 1343 | 1343 | ``--`` that ends this option: |
| 1344 | 1344 | |
| 1345 | - :samp:`--key=@1@replaceable@1@key@2@replaceable@2@` | |
| 1345 | + :samp:`--key=@3@replaceable@3@key@4@replaceable@4@` | |
| 1346 | 1346 | The key to use to register the attachment in the embedded files |
| 1347 | 1347 | table. Defaults to the last path element of |
| 1348 | 1348 | @1@replaceable@1@file@2@replaceable@2@. |
| 1349 | 1349 | |
| 1350 | - :samp:`--filename=@1@replaceable@1@name@2@replaceable@2@` | |
| 1350 | + :samp:`--filename=@3@replaceable@3@name@4@replaceable@4@` | |
| 1351 | 1351 | The file name to be used for the attachment. This is what is |
| 1352 | 1352 | usually displayed to the user and is the name most graphical PDF |
| 1353 | 1353 | viewers will use when saving a file. It defaults to the last path |
| 1354 | 1354 | element of @1@replaceable@1@file@2@replaceable@2@. |
| 1355 | 1355 | |
| 1356 | - :samp:`--creationdate=@1@replaceable@1@date@2@replaceable@2@` | |
| 1356 | + :samp:`--creationdate=@3@replaceable@3@date@4@replaceable@4@` | |
| 1357 | 1357 | The attachment's creation date in PDF format; defaults to the |
| 1358 | 1358 | current time. The date format is explained below. |
| 1359 | 1359 | |
| 1360 | - :samp:`--moddate=@1@replaceable@1@date@2@replaceable@2@` | |
| 1360 | + :samp:`--moddate=@3@replaceable@3@date@4@replaceable@4@` | |
| 1361 | 1361 | The attachment's modification date in PDF format; defaults to the |
| 1362 | 1362 | current time. The date format is explained below. |
| 1363 | 1363 | |
| 1364 | - :samp:`--mimetype=@1@replaceable@1@type/subtype@2@replaceable@2@` | |
| 1364 | + :samp:`--mimetype=@3@replaceable@3@type/subtype@4@replaceable@4@` | |
| 1365 | 1365 | The mime type for the attachment, e.g. ``text/plain`` or |
| 1366 | 1366 | ``application/pdf``. Note that the mimetype appears in a field |
| 1367 | 1367 | called ``/Subtype`` in the PDF but actually includes the full type |
| 1368 | 1368 | and subtype of the mime type. |
| 1369 | 1369 | |
| 1370 | - :samp:`--description=@1@replaceable@1@"text"@2@replaceable@2@` | |
| 1370 | + :samp:`--description=@3@replaceable@3@"text"@4@replaceable@4@` | |
| 1371 | 1371 | Descriptive text for the attachment, displayed by some PDF |
| 1372 | 1372 | viewers. |
| 1373 | 1373 | |
| ... | ... | @@ -1377,7 +1377,7 @@ from the command line. The following options are available: |
| 1377 | 1377 | :command:`qpdf` gives an error if an attachment |
| 1378 | 1378 | with that key is already present. |
| 1379 | 1379 | |
| 1380 | -:samp:`--remove-attachment=@1@replaceable@1@key@2@replaceable@2@` | |
| 1380 | +:samp:`--remove-attachment=@3@replaceable@3@key@4@replaceable@4@` | |
| 1381 | 1381 | Remove the specified attachment. This doesn't only remove the |
| 1382 | 1382 | attachment from the embedded files table but also clears out the file |
| 1383 | 1383 | specification. That means that any potential internal links to the |
| ... | ... | @@ -1385,16 +1385,16 @@ from the command line. The following options are available: |
| 1385 | 1385 | times. Run with :samp:`--verbose` to see status of |
| 1386 | 1386 | the removal. |
| 1387 | 1387 | |
| 1388 | -:samp:`--copy-attachments-from @1@replaceable@1@file@2@replaceable@2@ @1@replaceable@1@options@2@replaceable@2@ --` | |
| 1388 | +:samp:`--copy-attachments-from @3@replaceable@3@file@4@replaceable@4@ @3@replaceable@3@options@4@replaceable@4@ --` | |
| 1389 | 1389 | Copy attachments from another file. This may be specified more than |
| 1390 | 1390 | once. The following additional options may appear before the ``--`` |
| 1391 | 1391 | that ends this option: |
| 1392 | 1392 | |
| 1393 | - :samp:`--password=@1@replaceable@1@password@2@replaceable@2@` | |
| 1393 | + :samp:`--password=@3@replaceable@3@password@4@replaceable@4@` | |
| 1394 | 1394 | If required, the password needed to open |
| 1395 | 1395 | @1@replaceable@1@file@2@replaceable@2@ |
| 1396 | 1396 | |
| 1397 | - :samp:`--prefix=@1@replaceable@1@prefix@2@replaceable@2@` | |
| 1397 | + :samp:`--prefix=@3@replaceable@3@prefix@4@replaceable@4@` | |
| 1398 | 1398 | Only required if the file from which attachments are being copied |
| 1399 | 1399 | has attachments with keys that conflict with attachments already |
| 1400 | 1400 | in the file. In this case, the specified prefix will be prepended |
| ... | ... | @@ -1456,14 +1456,14 @@ output file. Mostly these are of use only to people who are very |
| 1456 | 1456 | familiar with the PDF file format or who are PDF developers. The |
| 1457 | 1457 | following options are available: |
| 1458 | 1458 | |
| 1459 | -:samp:`--compress-streams=@1@replaceable@1@[yn]@2@replaceable@2@` | |
| 1459 | +:samp:`--compress-streams=@3@replaceable@3@[yn]@4@replaceable@4@` | |
| 1460 | 1460 | By default, or with :samp:`--compress-streams=y`, |
| 1461 | 1461 | qpdf will compress any stream with no other filters applied to it |
| 1462 | 1462 | with the ``/FlateDecode`` filter when it writes it. To suppress this |
| 1463 | 1463 | behavior and preserve uncompressed streams as uncompressed, use |
| 1464 | 1464 | :samp:`--compress-streams=n`. |
| 1465 | 1465 | |
| 1466 | -:samp:`--decode-level=@1@replaceable@1@option@2@replaceable@2@` | |
| 1466 | +:samp:`--decode-level=@3@replaceable@3@option@4@replaceable@4@` | |
| 1467 | 1467 | Controls which streams qpdf tries to decode. The default is |
| 1468 | 1468 | :samp:`generalized`. The following options are |
| 1469 | 1469 | available: |
| ... | ... | @@ -1487,12 +1487,12 @@ following options are available: |
| 1487 | 1487 | specialized, decode streams with supported lossy filters; |
| 1488 | 1488 | currently this is just ``/DCTDecode`` (JPEG) |
| 1489 | 1489 | |
| 1490 | -:samp:`--stream-data=@1@replaceable@1@option@2@replaceable@2@` | |
| 1490 | +:samp:`--stream-data=@3@replaceable@3@option@4@replaceable@4@` | |
| 1491 | 1491 | Controls transformation of stream data. This option predates the |
| 1492 | 1492 | :samp:`--compress-streams` and |
| 1493 | 1493 | :samp:`--decode-level` options. Those options can be |
| 1494 | 1494 | used to achieve the same affect with more control. The value of |
| 1495 | - :samp:`@1@replaceable@1@option@2@replaceable@2@` may | |
| 1495 | + :samp:`@3@replaceable@3@option@4@replaceable@4@` may | |
| 1496 | 1496 | be one of the following: |
| 1497 | 1497 | |
| 1498 | 1498 | - :samp:`compress`: recompress stream data when |
| ... | ... | @@ -1519,7 +1519,7 @@ following options are available: |
| 1519 | 1519 | want to use it if you specify |
| 1520 | 1520 | :samp:`--compression-level`. |
| 1521 | 1521 | |
| 1522 | -:samp:`--compression-level=@1@replaceable@1@level@2@replaceable@2@` | |
| 1522 | +:samp:`--compression-level=@3@replaceable@3@level@4@replaceable@4@` | |
| 1523 | 1523 | When writing new streams that are compressed with ``/FlateDecode``, |
| 1524 | 1524 | use the specified compression level. The value of |
| 1525 | 1525 | :samp:`level` should be a number from 1 to 9 and is |
| ... | ... | @@ -1535,9 +1535,9 @@ following options are available: |
| 1535 | 1535 | normalization is enabled by default in QDF mode. Please see `QDF |
| 1536 | 1536 | Mode <#ref.qdf>`__ for additional discussion of QDF mode. |
| 1537 | 1537 | |
| 1538 | -:samp:`--object-streams=@1@replaceable@1@mode@2@replaceable@2@` | |
| 1538 | +:samp:`--object-streams=@3@replaceable@3@mode@4@replaceable@4@` | |
| 1539 | 1539 | Controls handling of object streams. The value of |
| 1540 | - :samp:`@1@replaceable@1@mode@2@replaceable@2@` may be | |
| 1540 | + :samp:`@3@replaceable@3@mode@4@replaceable@4@` may be | |
| 1541 | 1541 | one of the following: |
| 1542 | 1542 | |
| 1543 | 1543 | - :samp:`preserve`: preserve original object streams |
| ... | ... | @@ -1565,7 +1565,7 @@ following options are available: |
| 1565 | 1565 | See also :samp:`--preserve-unreferenced-resources`, |
| 1566 | 1566 | which does something completely different. |
| 1567 | 1567 | |
| 1568 | -:samp:`--remove-unreferenced-resources=@1@replaceable@1@option@2@replaceable@2@` | |
| 1568 | +:samp:`--remove-unreferenced-resources=@3@replaceable@3@option@4@replaceable@4@` | |
| 1569 | 1569 | The @1@replaceable@1@option@2@replaceable@2@ may be ``auto``, |
| 1570 | 1570 | ``yes``, or ``no``. The default is ``auto``. |
| 1571 | 1571 | |
| ... | ... | @@ -1608,7 +1608,7 @@ following options are available: |
| 1608 | 1608 | at least prevents it from removing compliance on already compliant |
| 1609 | 1609 | files. |
| 1610 | 1610 | |
| 1611 | -:samp:`--linearize-pass1=@1@replaceable@1@file@2@replaceable@2@` | |
| 1611 | +:samp:`--linearize-pass1=@3@replaceable@3@file@4@replaceable@4@` | |
| 1612 | 1612 | Write the first pass of linearization to the named file. The |
| 1613 | 1613 | resulting file is not a valid PDF file. This option is useful only |
| 1614 | 1614 | for debugging ``QPDFWriter``'s linearization code. When qpdf |
| ... | ... | @@ -1625,7 +1625,7 @@ following options are available: |
| 1625 | 1625 | with QDF mode or content normalization to make it easier to look at |
| 1626 | 1626 | all of a page's contents at once. |
| 1627 | 1627 | |
| 1628 | -:samp:`--flatten-annotations=@1@replaceable@1@option@2@replaceable@2@` | |
| 1628 | +:samp:`--flatten-annotations=@3@replaceable@3@option@4@replaceable@4@` | |
| 1629 | 1629 | This option collapses annotations into the pages' contents with |
| 1630 | 1630 | special handling for form fields. Ordinarily, an annotation is |
| 1631 | 1631 | rendered separately and on top of the page. Combining annotations |
| ... | ... | @@ -1704,15 +1704,15 @@ following options are available: |
| 1704 | 1704 | optimized as well. Use :samp:`--keep-inline-images` |
| 1705 | 1705 | to prevent inline images from being included. |
| 1706 | 1706 | |
| 1707 | -:samp:`--oi-min-width=@1@replaceable@1@width@2@replaceable@2@` | |
| 1707 | +:samp:`--oi-min-width=@3@replaceable@3@width@4@replaceable@4@` | |
| 1708 | 1708 | Avoid optimizing images whose width is below the specified amount. If |
| 1709 | 1709 | omitted, the default is 128 pixels. Use 0 for no minimum. |
| 1710 | 1710 | |
| 1711 | -:samp:`--oi-min-height=@1@replaceable@1@height@2@replaceable@2@` | |
| 1711 | +:samp:`--oi-min-height=@3@replaceable@3@height@4@replaceable@4@` | |
| 1712 | 1712 | Avoid optimizing images whose height is below the specified amount. |
| 1713 | 1713 | If omitted, the default is 128 pixels. Use 0 for no minimum. |
| 1714 | 1714 | |
| 1715 | -:samp:`--oi-min-area=@1@replaceable@1@area-in-pixels@2@replaceable@2@` | |
| 1715 | +:samp:`--oi-min-area=@3@replaceable@3@area-in-pixels@4@replaceable@4@` | |
| 1716 | 1716 | Avoid optimizing images whose pixel count (width × height) is below |
| 1717 | 1717 | the specified amount. If omitted, the default is 16,384 pixels. Use 0 |
| 1718 | 1718 | for no minimum. |
| ... | ... | @@ -1726,7 +1726,7 @@ following options are available: |
| 1726 | 1726 | :samp:`--keep-inline-images` to exclude inline images |
| 1727 | 1727 | from image optimization. |
| 1728 | 1728 | |
| 1729 | -:samp:`--ii-min-bytes=@1@replaceable@1@bytes@2@replaceable@2@` | |
| 1729 | +:samp:`--ii-min-bytes=@3@replaceable@3@bytes@4@replaceable@4@` | |
| 1730 | 1730 | Avoid converting inline images whose size is below the specified |
| 1731 | 1731 | minimum size to regular images. If omitted, the default is 1,024 |
| 1732 | 1732 | bytes. Use 0 for no minimum. |
| ... | ... | @@ -1744,7 +1744,7 @@ following options are available: |
| 1744 | 1744 | Mode <#ref.qdf>`__. Note that :samp:`--linearize` |
| 1745 | 1745 | disables QDF mode. |
| 1746 | 1746 | |
| 1747 | -:samp:`--min-version=@1@replaceable@1@version@2@replaceable@2@` | |
| 1747 | +:samp:`--min-version=@3@replaceable@3@version@4@replaceable@4@` | |
| 1748 | 1748 | Forces the PDF version of the output file to be at least |
| 1749 | 1749 | @1@replaceable@1@version@2@replaceable@2@. In other words, if the |
| 1750 | 1750 | input file has a lower version than the specified version, the |
| ... | ... | @@ -1762,7 +1762,7 @@ following options are available: |
| 1762 | 1762 | version ``1.7.8`` represents version 1.7 at extension level 8. Note |
| 1763 | 1763 | that minimal syntax checking is done on the command line. |
| 1764 | 1764 | |
| 1765 | -:samp:`--force-version=@1@replaceable@1@version@2@replaceable@2@` | |
| 1765 | +:samp:`--force-version=@3@replaceable@3@version@4@replaceable@4@` | |
| 1766 | 1766 | This option forces the PDF version to be the exact version specified |
| 1767 | 1767 | *even when the file may have content that is not supported in that |
| 1768 | 1768 | version*. The version number is interpreted in the same way as with |
| ... | ... | @@ -3877,7 +3877,7 @@ For a detailed list of changes, please see the file |
| 3877 | 3877 | that is out of spec but that works in most viewers anyway). |
| 3878 | 3878 | |
| 3879 | 3879 | - The option |
| 3880 | - :samp:`--password-file=@1@replaceable@1@filename@2@replaceable@2@` | |
| 3880 | + :samp:`--password-file=@3@replaceable@3@filename@4@replaceable@4@` | |
| 3881 | 3881 | can now be used to read the decryption password from a file. |
| 3882 | 3882 | You can use ``-`` as the file name to read the password from |
| 3883 | 3883 | standard input. This is an easier/more obvious way to read |
| ... | ... | @@ -3894,7 +3894,7 @@ For a detailed list of changes, please see the file |
| 3894 | 3894 | obtained by following the reference to the file spec object. |
| 3895 | 3895 | |
| 3896 | 3896 | - Add numeric option to :samp:`--collate`. If |
| 3897 | - :samp:`--collate=@1@replaceable@1@n@2@replaceable@2@` | |
| 3897 | + :samp:`--collate=@3@replaceable@3@n@4@replaceable@4@` | |
| 3898 | 3898 | is given, take pages in groups of |
| 3899 | 3899 | @1@replaceable@1@n@2@replaceable@2@ from the given files. |
| 3900 | 3900 | |
| ... | ... | @@ -4517,7 +4517,7 @@ For a detailed list of changes, please see the file |
| 4517 | 4517 | :samp:`--compression-level`. |
| 4518 | 4518 | |
| 4519 | 4519 | - The |
| 4520 | - :samp:`--compression-level=@1@replaceable@1@level@2@replaceable@2@` | |
| 4520 | + :samp:`--compression-level=@3@replaceable@3@level@4@replaceable@4@` | |
| 4521 | 4521 | sets the zlib compression level used for any streams compressed |
| 4522 | 4522 | by ``/FlateDecode``. Most effective when combined with |
| 4523 | 4523 | :samp:`--recompress-flate`. |
| ... | ... | @@ -4687,7 +4687,7 @@ For a detailed list of changes, please see the file |
| 4687 | 4687 | get it again. |
| 4688 | 4688 | |
| 4689 | 4689 | - New option |
| 4690 | - :samp:`--keep-files-open-threshold=@1@replaceable@1@count@2@replaceable@2@` | |
| 4690 | + :samp:`--keep-files-open-threshold=@3@replaceable@3@count@4@replaceable@4@` | |
| 4691 | 4691 | can be used to override number of files that qpdf will use to |
| 4692 | 4692 | trigger the behavior of not keeping all files open when merging |
| 4693 | 4693 | files. This may be necessary if your system allows fewer than |
| ... | ... | @@ -5148,7 +5148,7 @@ For a detailed list of changes, please see the file |
| 5148 | 5148 | - Command-line Enhancements |
| 5149 | 5149 | |
| 5150 | 5150 | - Add |
| 5151 | - :samp:`--keep-files-open=@1@replaceable@1@[yn]@2@replaceable@2@` | |
| 5151 | + :samp:`--keep-files-open=@3@replaceable@3@[yn]@4@replaceable@4@` | |
| 5152 | 5152 | to override default determination of whether to keep files open |
| 5153 | 5153 | when merging. Please see the discussion of |
| 5154 | 5154 | :samp:`--keep-files-open` in `Basic |
| ... | ... | @@ -5228,7 +5228,7 @@ For a detailed list of changes, please see the file |
| 5228 | 5228 | |
| 5229 | 5229 | - The :samp:`--rotate` option's syntax has been |
| 5230 | 5230 | extended to make the page range optional. If you specify |
| 5231 | - :samp:`--rotate=@1@replaceable@1@angle@2@replaceable@2@` | |
| 5231 | + :samp:`--rotate=@3@replaceable@3@angle@4@replaceable@4@` | |
| 5232 | 5232 | without specifying a page range, the rotation will be applied |
| 5233 | 5233 | to all pages. This can be especially useful for adjusting a PDF |
| 5234 | 5234 | created from a multi-page document that was scanned upside |
| ... | ... | @@ -5352,7 +5352,7 @@ For a detailed list of changes, please see the file |
| 5352 | 5352 | `Running QPDF <#ref.using>`__. |
| 5353 | 5353 | |
| 5354 | 5354 | - The option |
| 5355 | - :samp:`--linearize-pass1=@1@replaceable@1@file@2@replaceable@2@` | |
| 5355 | + :samp:`--linearize-pass1=@3@replaceable@3@file@4@replaceable@4@` | |
| 5356 | 5356 | has been added for debugging qpdf's linearization code. |
| 5357 | 5357 | |
| 5358 | 5358 | - The option :samp:`--coalesce-contents` can be | ... | ... |