• R/O
  • SSH

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Reference Documentation: PDF Publishing with GNU Troff


Commit MetaInfo

修訂87af6703595c8cc9caea9cfe91081fdc2bb98a21 (tree)
時間2021-11-18 23:39:54
作者Keith Marshall <keith@user...>
CommiterKeith Marshall

Log Message

Avoid unwanted line-breaks at hard hyphenation points.

* pdfmark.ms: Ensure that all explicitly hyphenated words are prefixed
by "\%", to make hard hyphens non-breaking.

Change Summary

差異

diff -r 787b45ec7250 -r 87af6703595c pdfmark.ms
--- a/pdfmark.ms Thu Nov 18 11:16:12 2021 +0000
+++ b/pdfmark.ms Thu Nov 18 14:39:54 2021 +0000
@@ -399,7 +399,7 @@
399399 in the document view pane, while a document outline should appear to the left,
400400 in the \(lqBookmarks\(rq pane.
401401 .IP \(bu
402-Adding document identification \(lqmeta\(hydata\(rq,
402+Adding document identification \%\(lqmeta\(hydata\(rq,
403403 which can be accessed, in \*[Acrobat]\~Reader,
404404 by inspecting the \(lqFile\^/\^Document\~Properties\^/\^Summary\(rq.
405405 .IP \(bu
@@ -695,14 +695,14 @@
695695 .pdfmark-manual
696696 for more information.
697697 .LP
698-It should be noted that the view controlling meta\(hydata, defined by the
698+It should be noted that the view controlling \%meta\(hydata, defined by the
699699 .CW pdfview
700700 macro, is not written immediately to the \*[PostScript] output stream,
701-but is stored in an internal meta\(hydata \(lqcache\(rq,
701+but is stored in an internal \%meta\(hydata \(lqcache\(rq,
702702 (simply implemented as a
703703 .CW groff
704704 diversion).
705-This \(lqcached\(lq meta\(hydata must be written out later, by invoking the
705+This \(lqcached\(lq \%meta\(hydata must be written out later, by invoking the
706706 .CW pdfsync
707707 macro,
708708 .\"
@@ -719,9 +719,9 @@
719719 .LP
720720 In addition to the
721721 .CW /DOCVIEW
722-class of meta\(hydata described above,
722+class of \%meta\(hydata described above,
723723 .XR docview ), (
724-we may also wish to include document identification meta\(hydata,
724+we may also wish to include document identification \%meta\(hydata,
725725 which belongs to the PDF
726726 .CW /DOCINFO
727727 class.
@@ -730,7 +730,7 @@
730730 .CW pdfinfo
731731 macro.
732732 As an example of how it is used,
733-the identification meta\(hydata attached to this document
733+the identification \%meta\(hydata attached to this document
734734 was specified using a macro sequence similar to:\(en
735735 .DS I
736736 .CW
@@ -761,7 +761,7 @@
761761 records specified with the
762762 .CW pdfinfo
763763 macro are not immediately written to the \*[PostScript] output stream;
764-they are stored in the same meta\(hydata cache as
764+they are stored in the same \%meta\(hydata cache as
765765 .CW /DOCVIEW
766766 specifications, until this cache is explicitly flushed,
767767 by invoking the
@@ -1388,9 +1388,9 @@
13881388 .XR set-format ). (
13891389 .IP \*[= Z]
13901390 Define the absolute position on the physical PDF output page,
1391-where the \(lqhot\(hyspot\(rq associated with an active link is to be placed.
1392-Invoked in pairs, marking the starting and ending PDF page co\(hyordinates
1393-for each link \(lqhot\(hyspot\(rq, this operator is rarely, if ever,
1391+where the \%\(lqhot\(hyspot\(rq associated with an active link is to be placed.
1392+Invoked in pairs, marking the starting and ending PDF page \%co\(hyordinates
1393+for each link \%\(lqhot\(hyspot\(rq, this operator is rarely, if ever,
13941394 specified directly by the user;
13951395 rather, appropriate
13961396 .CW pdfhref
@@ -1406,7 +1406,7 @@
14061406 .CW pdfhref
14071407 implementation provides only one such feature which requires initialization
14081408 \(em a helper macro which must be attached to a user supplied page trap handler,
1409-in order to support mapping of reference \(lqhot\(hyspots\(rq
1409+in order to support mapping of reference \%\(lqhot\(hyspots\(rq
14101410 which extend through a page transition;
14111411 .XR page-trap ). (
14121412 .QE
@@ -1513,7 +1513,7 @@
15131513 .CW URI ,
15141514 or the destination name associated with a PDF active link,
15151515 independently of the following text,
1516-which describes the link and demarcates the link \(lqhot\(hyspot\(rq.
1516+which describes the link and demarcates the link \%\(lqhot\(hyspot\(rq.
15171517 This option affects the behaviour of the
15181518 .CW pdfhref
15191519 macro's
@@ -1565,12 +1565,12 @@
15651565 .sp -\n(PDu
15661566 .IP \*[= -P\0 \(dqprefix\(hytext\(dq > <]
15671567 Specifies
1568-.CWI \(dqprefix\(hytext\(dq > <
1568+.CWI \(dqprefix\(hytext\(dq > \%<
15691569 to be attached to the
15701570 .EM start
15711571 of the text describing an active PDF document link,
15721572 with no intervening space, but without itself being included in the
1573-active area of the link \(lqhot\(hyspot\(rq;
1573+active area of the link \%\(lqhot\(hyspot\(rq;
15741574 it is effective with the
15751575 .CWB L \& \& \(rq \(lq
15761576 and
@@ -1582,9 +1582,9 @@
15821582 .sp -\n(PDu
15831583 .IP
15841584 Typically, this option would be used to insert punctuation before
1585-the link \(lqhot\(hyspot\(rq.
1585+the link \%\(lqhot\(hyspot\(rq.
15861586 Thus, there is little reason for the inclusion of spaces in
1587-.CWI \(dqprefix\(hytext\(dq > < ;
1587+.CWI \(dqprefix\(hytext\(dq > \%< ;
15881588 however, if such space is required, then the enclosing double quotes
15891589 .EM must
15901590 be specified, as indicated.
@@ -1593,12 +1593,12 @@
15931593 .sp -\n(PDu
15941594 .IP \*[= -A\0 \(dqaffixed\(hytext\(dq > <]
15951595 Specifies
1596-.CWI \(dqaffixed\(hytext\(dq > <
1596+.CWI \(dqaffixed\(hytext\(dq > \%<
15971597 to be attached to the
15981598 .EM end
15991599 of the text describing an active PDF document link,
16001600 with no intervening space, but without itself being included in the
1601-active area of the link \(lqhot\(hyspot\(rq;
1601+active area of the link \%\(lqhot\(hyspot\(rq;
16021602 it is effective with the
16031603 .CWB L \& \& \(rq \(lq
16041604 and
@@ -1610,9 +1610,9 @@
16101610 .sp -\n(PDu
16111611 .IP
16121612 Typically, this option would be used to insert punctuation after
1613-the link \(lqhot\(hyspot\(rq.
1613+the link \%\(lqhot\(hyspot\(rq.
16141614 Thus, there is little reason for the inclusion of spaces in
1615-.CWI \(dqaffixed\(hytext\(dq > < ;
1615+.CWI \(dqaffixed\(hytext\(dq > \%< ;
16161616 however, if such space is required, then the enclosing double quotes
16171617 .EM must
16181618 be specified, as indicated.
@@ -1716,13 +1716,13 @@
17161716 .IP \*[= -DF\0 dos\(hyfile > <]
17171717 Specifies the name of the file in which a link destination is defined,
17181718 using the file naming semantics of the
1719-.CW MS\(hyDOS \*(rg
1719+.CW \%MS\(hyDOS \*(rg
17201720 operating system.
17211721 When the PDF document is read on a machine
17221722 where the operating system uses the
1723-.CW MS\(hyDOS \*(rg
1723+.CW \%MS\(hyDOS \*(rg
17241724 file system, then
1725-.CWI dos\(hyfile > <
1725+.CWI dos\(hyfile > \%<
17261726 is used as the name of the file containing the reference destination,
17271727 overriding the
17281728 .CWI file > <
@@ -1739,7 +1739,7 @@
17391739 where the operating system uses the
17401740 .CW Macintosh \*(rg
17411741 file system, then
1742-.CWI mac\(hyfile > <
1742+.CWI mac\(hyfile > \%<
17431743 is used as the name of the file containing the reference destination,
17441744 overriding the
17451745 .CWI file > <
@@ -1755,7 +1755,7 @@
17551755 where the operating system uses
17561756 .CW POSIX
17571757 file naming semantics, then
1758-.CWI unix\(hyfile > <
1758+.CWI unix\(hyfile > \%<
17591759 is used as the name of the file containing the reference destination,
17601760 overriding the
17611761 .CWI file > <
@@ -1765,13 +1765,13 @@
17651765 .IP \*[= -WF\0 win\(hyfile > <]
17661766 Specifies the name of the file in which a link destination is defined,
17671767 using the file naming semantics of the
1768-.CW MS\(hyWindows \*(rg
1769-32\(hybit operating system.
1768+.CW \%MS\(hyWindows \*(rg
1769+\%32\(hybit operating system.
17701770 When the PDF document is read on a machine
17711771 where the operating system uses any of the
1772-.CW MS\(hyWindows \*(rg
1772+.CW \%MS\(hyWindows \*(rg
17731773 file systems, with long file name support, then
1774-.CWI win\(hyfile > <
1774+.CWI win\(hyfile > \%<
17751775 is used as the name of the file containing the reference destination,
17761776 overriding the
17771777 .CWI file > <
@@ -2097,7 +2097,7 @@
20972097 .CWI text
20982098 arguments are specified, then they will be inserted into the
20992099 .CW groff
2100-output stream, to define the text appearing in the \(lqhot\(hyspot\(rq
2100+output stream, to define the text appearing in the \%\(lqhot\(hyspot\(rq
21012101 region of the link;
21022102 this will be printed in the link colour specified by the string,
21032103 .CW PDFHREF.TEXT.COLOUR ,
@@ -2118,7 +2118,7 @@
21182118 .EM either
21192119 the
21202120 .CWB -D \& \& \~\c
2121-.CWBI dest\(hyname > <
2121+.CWBI dest\(hyname > \%<
21222122 option,
21232123 .EM or
21242124 the
@@ -2129,18 +2129,18 @@
21292129 may be omitted.
21302130 If the
21312131 .CWB -D \& \& \~\c
2132-.CWBI dest\(hyname > <
2132+.CWBI dest\(hyname > \%<
21332133 option is omitted, then the first word of
21342134 .CWI descriptive \& \& \~\c
21352135 .CWI text \& \& ,
21362136 i.e.\~all text up to but not including the first space,
21372137 will be interpreted as the
2138-.CWBI dest\(hyname > <
2138+.CWBI dest\(hyname > \%<
21392139 for the link; this text will also appear in the running text of the document,
21402140 within the active region of the link.
21412141 Alternatively, if the
21422142 .CWB -D \& \& \~\c
2143-.CWBI dest\(hyname > <
2143+.CWBI dest\(hyname > \%<
21442144 option
21452145 .EM is
21462146 specified, and
@@ -2165,10 +2165,10 @@
21652165 .LP
21662166 The
21672167 .CWB -P \& \& \~\c
2168-.CWBI prefix\(hytext > <
2168+.CWBI prefix\(hytext > \%<
21692169 and
21702170 .CWB -A \& \& \~\c
2171-.CWBI affixed\(hytext > <
2171+.CWBI affixed\(hytext > \%<
21722172 options may be used to specify additional text
21732173 which will be placed before and after the linked text respectively,
21742174 with no intervening space.
@@ -2264,14 +2264,14 @@
22642264 be specified when referring to a destination in an external PDF file,
22652265 the
22662266 .CWB -DF \& \& \~\c
2267-.CWBI dos\(hyfile > < ,
2267+.CWBI dos\(hyfile > \%< ,
22682268 .CWB -MF \& \& \~\c
2269-.CWBI mac\(hyfile > < ,
2269+.CWBI mac\(hyfile > \%< ,
22702270 .CWB -UF \& \& \~\c
2271-.CWBI unix\(hyfile > <
2271+.CWBI unix\(hyfile > \%<
22722272 and
22732273 .CWB -WF \& \& \~\c
2274-.CWBI win\(hyfile > <
2274+.CWBI win\(hyfile > \%<
22752275 options may be used to specify the location of the file
22762276 containing the reference destination,
22772277 in a variety of operating system dependent formats.
@@ -2290,22 +2290,22 @@
22902290 .CWBI file > <
22912291 option, and the document is read on the appropriate operating systems,
22922292 then the path names specified by
2293-.CWBI dos\(hyfile > < ,
2294-.CWBI mac\(hyfile > < ,
2295-.CWBI unix\(hyfile > <
2293+.CWBI dos\(hyfile > \%< ,
2294+.CWBI mac\(hyfile > \%< ,
2295+.CWBI unix\(hyfile > \%<
22962296 and
2297-.CWBI win\(hyfile > <
2297+.CWBI win\(hyfile > \%<
22982298 will be searched,
22992299 .EM instead
23002300 of the path name specified by
23012301 .CWBI file > < ,
23022302 for each of the
2303-.CW MS\(hyDOS \*(rg,
2303+.CW \%MS\(hyDOS \*(rg,
23042304 .CW Apple \*(rg
23052305 .CW Macintosh \*(rg,
23062306 .CW Unix \(tm
23072307 and
2308-.CW MS\(hyWindows \*(rg
2308+.CW \%MS\(hyWindows \*(rg
23092309 operating systems, respectively; see the
23102310 .pdfmark-manual ,
23112311 for further details.
@@ -2356,7 +2356,7 @@
23562356 .CW pdfhref
23572357 macro is invoked with the
23582358 .CWB W \& \& \(rq \(lq
2359-(for \(lqweb\(hylink\(rq) operator, rather than the
2359+(for \%\(lqweb\(hylink\(rq) operator, rather than the
23602360 .CWB L \& \& \(rq \(lq
23612361 operator; nevertheless, the invocation syntax is similar, having the form
23622362 .QP
@@ -2384,13 +2384,13 @@
23842384 format, while the
23852385 .CWI descriptive
23862386 .CWI text
2387-argument specifies the text which is to appear in the \(lqhot\(hyspot\(rq
2387+argument specifies the text which is to appear in the \%\(lqhot\(hyspot\(rq
23882388 region, and the
23892389 .CWB -P
2390-.CWBI prefix\(hytext > <
2390+.CWBI prefix\(hytext > \%<
23912391 and
23922392 .CWB -A
2393-.CWBI affixed\(hytext > <
2393+.CWBI affixed\(hytext > \%<
23942394 options have the same effect as in the case of local document links,
23952395 .XR link-intern ). (
23962396 .LP
@@ -2404,7 +2404,7 @@
24042404 .CWI descriptive
24052405 .CWI text
24062406 argument exactly defines the text
2407-which will appear within the \(lqhot\(hyspot\(rq region,
2407+which will appear within the \%\(lqhot\(hyspot\(rq region,
24082408 and this need not include the URI.
24092409 However, if the
24102410 .CWB -D \& \& \~\c
@@ -2418,7 +2418,7 @@
24182418 .EM exact
24192419 representation of the URI, which
24202420 .EM will ,
2421-therefore, appear as the entire content of the \(lqhot\(hyspot\(rq.
2421+therefore, appear as the entire content of the \%\(lqhot\(hyspot\(rq.
24222422 For example, we could introduce a reference to
24232423 .pdfhref W -D \*[GROFF-WEBSITE] -A , the groff web site
24242424 in which the actual URI is concealed, by using mark up such as:\(en
@@ -2512,16 +2512,16 @@
25122512 .XN -N page-trap -- Links with a Page Transition in the Active Region
25132513 .LP
25142514 When a link is placed near the bottom of a page,
2515-it is possible that its active region, or \(lqhot\(hyspot\(rq,
2515+it is possible that its active region, or \%\(lqhot\(hyspot\(rq,
25162516 may extend on to the next page.
25172517 In this situation, a page trap macro is required
25182518 to intercept the page transition, and to restart the mapping of
2519-the \(lqhot\(hyspot\(rq boundary on the new page.
2519+the \%\(lqhot\(hyspot\(rq boundary on the new page.
25202520 .LP
25212521 The
25222522 .CW pdfmark
25232523 macro package includes a suitable page trap macro, to satisfy this requirement.
2524-However, to avoid pre\(hyempting any other requirement the user may have for
2524+However, to avoid \%pre\(hyempting any other requirement the user may have for
25252525 a page transition trap, this is
25262526 .EM not
25272527 installed as an active page trap,
@@ -2626,7 +2626,7 @@
26262626 .CW pdfview
26272627 and
26282628 .CW pdfinfo
2629-\(lqmeta\(hydata\(rq,
2629+\%\(lqmeta\(hydata\(rq,
26302630 this \(lqmore appropriate time\(rq is explicitly chosen by the user;
26312631 in the case of document outline data,
26322632 .EM some
@@ -2652,7 +2652,7 @@
26522652 .LP
26532653 This form of invocation ensures that
26542654 .EM both
2655-the \(lqmeta\(hydata cache\(rq, containing
2655+the \%\(lqmeta\(hydata cache\(rq, containing
26562656 .CW pdfview
26572657 and
26582658 .CW pdfinfo
@@ -2669,8 +2669,8 @@
26692669 terminates.
26702670 .LP
26712671 Occasionally,
2672-it may be desirable to flush either the \(lqmeta\(hydata cache\(rq,
2673-without affecting the \(lqoutline cache\(rq, or vice\(hyversa,
2672+it may be desirable to flush either the \%\(lqmeta\(hydata cache\(rq,
2673+without affecting the \(lqoutline cache\(rq, or \%vice\(hyversa,
26742674 at a user specified time, prior to reaching the end of the document.
26752675 This may be accomplished, by invoking the
26762676 .CW pdfsync
@@ -2679,14 +2679,14 @@
26792679 .fam C
26802680 .B ".pdfsync M"
26812681 .LP
2682-to flush only the \(lqmeta\(hydata cache\(rq, or
2682+to flush only the \%\(lqmeta\(hydata cache\(rq, or
26832683 .QP
26842684 .fam C
26852685 .B ".pdfsync O"
26862686 .LP
26872687 to flush only the \(lqoutline cache\(rq.
26882688 .LP
2689-The \(lqmeta\(hydata cache\(rq can normally be safely flushed
2689+The \%\(lqmeta\(hydata cache\(rq can normally be safely flushed
26902690 in this manner, at any time
26912691 .EM after
26922692 output of the first page has started;